# aosp-mirror/platform_frameworks_base

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/aosp-mirror-platform-frameworks-base).**

10,812 stars · 6,502 forks · Java · NOASSERTION · archived

## Links

- GitHub: https://github.com/aosp-mirror/platform_frameworks_base
- awesome-repositories: https://awesome-repositories.com/repository/aosp-mirror-platform-frameworks-base.md

## Description

This project provides the core framework and system API layer for the Android operating system. It consists of the fundamental Java and C++ libraries that define system behavior and establish the interface contracts required for system applications and hardware abstraction.

The project includes a runtime optimizer used to reduce startup time and improve execution speed by pre-compiling methods and configuring boot images. It also features a software quality toolchain that enforces code formatting, audits commit metadata, and manages API compatibility to ensure stable interface contracts across versions.

The codebase covers a broad range of system capabilities, including the AOSP build pipeline, protocol buffer integration for cross-language data exchange, and the management of core OS functionality. This includes tools for incremental cleaning, automated test orchestration, and host-side unit execution.

## Tags

### Operating Systems & Systems Programming

- [Core OS Frameworks](https://awesome-repositories.com/f/operating-systems-systems-programming/core-os-frameworks.md) — Provides the fundamental Java and C++ libraries that define the system behavior of the Android operating system. ([source](https://github.com/aosp-mirror/platform_frameworks_base#readme))
- [Operating System Frameworks](https://awesome-repositories.com/f/operating-systems-systems-programming/operating-system-frameworks.md) — Provides the fundamental Java and C++ libraries that define system behavior and APIs for the Android operating system.
- [Android OS Development](https://awesome-repositories.com/f/operating-systems-systems-programming/android-os-development.md) — Provides the core framework and system API layer that powers the Android operating system.
- [Boot Performance Optimizations](https://awesome-repositories.com/f/operating-systems-systems-programming/boot-performance-optimizations.md) — Implements strategies to reduce system startup time and memory overhead through optimized class preloading.
- [System API Layers](https://awesome-repositories.com/f/operating-systems-systems-programming/hardware-interfacing-drivers/system-api-layers.md) — Provides the stable interface contracts and restricted libraries that power system applications and hardware abstraction.
- [OS Framework Implementation](https://awesome-repositories.com/f/operating-systems-systems-programming/os-framework-implementation.md) — Implements the fundamental code and system API layer required to run the Android operating system. ([source](https://github.com/aosp-mirror/platform_frameworks_base/blob/main/METADATA))
- [Android Build Configurations](https://awesome-repositories.com/f/operating-systems-systems-programming/platform-development-integration/platform-integrations/android-build-configurations.md) — Defines the rules and settings for compiling source code, managing dependencies, and generating boot images.
- [System Library Compilation](https://awesome-repositories.com/f/operating-systems-systems-programming/system-library-compilation.md) — Compiles core source files into the fundamental system libraries that power the operating system. ([source](https://github.com/aosp-mirror/platform_frameworks_base/blob/main/Android.bp))

### Data & Databases

- [API Contract Validation](https://awesome-repositories.com/f/data-databases/json-schema-modeling/schema-validators/api-contract-validation.md) — Verifies that system interface contracts are stable and maintain compatibility across versions. ([source](https://github.com/aosp-mirror/platform_frameworks_base/blob/main/PREUPLOAD.cfg))
- [System](https://awesome-repositories.com/f/data-databases/json-schema-modeling/schema-validators/api-contract-validation/system.md) — Validates interface compatibility and enforces stable API contracts to ensure consistent system behavior across versions.

### DevOps & Infrastructure

- [Build Pipelines](https://awesome-repositories.com/f/devops-infrastructure/cicd-pipeline-automation/cicd-pipeline-management/build-pipelines.md) — Manages source code compilation, incremental cleaning, and automated test triggers within the AOSP build pipeline.

### Programming Languages & Runtimes

- [Ahead-Of-Time Compilation](https://awesome-repositories.com/f/programming-languages-runtimes/ahead-of-time-compilation.md) — Implements ahead-of-time compilation to optimize application startup and execution speed within the Android runtime.
- [Android Runtime Optimization](https://awesome-repositories.com/f/programming-languages-runtimes/android-runtime-optimization.md) — Improves application startup and execution speed by pre-compiling methods and managing memory allocation.
- [Compiler Optimizations](https://awesome-repositories.com/f/programming-languages-runtimes/compiler-interpreter-internals/compiler-infrastructure/compiler-optimizations.md) — Selects specific methods for pre-compilation to accelerate application startup and improve execution speed. ([source](https://github.com/aosp-mirror/platform_frameworks_base/tree/main/boot))
- [Pre-compiled Bytecode Integration](https://awesome-repositories.com/f/programming-languages-runtimes/compiler-interpreter-internals/compiler-infrastructure/compiler-optimizations/just-in-time-compilation/pre-compiled-bytecode-integration.md) — Integrates pre-compiled bytecode to bypass JIT compilation and accelerate application startup.
- [Preloading](https://awesome-repositories.com/f/programming-languages-runtimes/dynamic-class-creation/class-loading-mechanisms/preloading.md) — Defines classes for early initialization to optimize memory and reduce system startup time.
- [Runtime Optimizers](https://awesome-repositories.com/f/programming-languages-runtimes/runtime-optimizers.md) — Implements a runtime optimizer that uses pre-compilation and boot image configuration to accelerate application startup and execution.

### Software Engineering & Architecture

- [Binary Compatibility Validations](https://awesome-repositories.com/f/software-engineering-architecture/api-contract-definitions/api-contract-linting/binary-compatibility-validations.md) — Ensures stable interface contracts and binary compatibility across different Android system versions.
- [Boot Image Optimization](https://awesome-repositories.com/f/software-engineering-architecture/automatic-configuration/initial-boot-configurations/boot-image-optimization.md) — Configures boot images to define preloaded classes, optimizing memory allocation and reducing system startup time. ([source](https://github.com/aosp-mirror/platform_frameworks_base/tree/main/config))
- [Startup Optimizers](https://awesome-repositories.com/f/software-engineering-architecture/function-execution-engines/just-in-time-compilers/startup-optimizers.md) — Optimizes system startup and execution speed through pre-compilation and boot image configuration.
- [Compile-Time Code Generation](https://awesome-repositories.com/f/software-engineering-architecture/compile-time-code-generation.md) — Generates structured data libraries from protocol definitions during the build process to optimize runtime performance.
- [Serializer Code Generators](https://awesome-repositories.com/f/software-engineering-architecture/compile-time-code-generation/serializer-code-generators.md) — Generates serializer code at build time from Protocol Buffer definitions to improve cold-start performance.
- [Test Execution Triggers](https://awesome-repositories.com/f/software-engineering-architecture/naming-conventions/file/source-to-test-mappings/test-execution-triggers.md) — Assigns specific test suites to run during submission phases based on file patterns or target platforms. ([source](https://github.com/aosp-mirror/platform_frameworks_base/blob/main/TEST_MAPPING))

### Development Tools & Productivity

- [Build Toolchains](https://awesome-repositories.com/f/development-tools-productivity/build-toolchains.md) — Provides a comprehensive build toolchain for managing compilation, incremental cleaning, and automated test orchestration for the AOSP project.
- [Source Generators](https://awesome-repositories.com/f/development-tools-productivity/compilers-toolchains/source-compilation-tools/source-generators.md) — Automatically produces source code from protocol buffer definition files during the compilation process. ([source](https://github.com/aosp-mirror/platform_frameworks_base/blob/main/ProtoLibraries.bp))

### Testing & Quality Assurance

- [Code Quality Tools](https://awesome-repositories.com/f/testing-quality-assurance/code-quality-review/code-quality-tools.md) — Ships a software quality toolchain that enforces code formatting and audits commit metadata to maintain codebase integrity.
- [Host-Side Execution Environments](https://awesome-repositories.com/f/testing-quality-assurance/host-side-execution-environments.md) — Provides a lightweight virtual environment to verify system behavior without requiring physical hardware.
- [Host-Side Unit Testing](https://awesome-repositories.com/f/testing-quality-assurance/host-side-unit-testing.md) — Enables running logic in a lightweight host environment to verify behavior without needing a physical device.
- [Submission Test Triggers](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/execution-and-infrastructure/test-execution-runners/cli-test-runners/pattern-test-runners/test-selection-patterns/submission-test-triggers.md) — Triggers specific test suites based on file change patterns and target platforms during submission.
- [Unit Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/unit/unit-testing.md) — Executes logic in a lightweight host environment to verify code behavior without requiring a physical device. ([source](https://github.com/aosp-mirror/platform_frameworks_base/tree/main/ravenwood))
- [Quality Assurance Practices](https://awesome-repositories.com/f/testing-quality-assurance/testing-best-practices-methodologies/quality-assurance-practices.md) — Enforces style guides and audits commit metadata to maintain high codebase integrity.

### User Interface & Experience

- [System Feature Flags](https://awesome-repositories.com/f/user-interface-experience/read-only-modes/system-feature-flags.md) — Implements read-only system flags to ensure stable interface contracts during execution. ([source](https://github.com/aosp-mirror/platform_frameworks_base/blob/main/libcore-readonly.aconfig))
