Skip to main content
Android Open Source Project
Docs
  • What's new?
  • Release notes
  • Latest security bulletins
  • Latest Compatibility Definition Document (CDD)
  • Site updates
  • Getting Started
  • About
  • Start
  • Download
  • Build
  • Test
  • Create
  • Contribute
  • Community
  • Tools, build, and related reference
  • Security
  • Overview
  • Bulletins
  • Features
  • Testing
  • Best Practices
  • Core Topics
  • Architecture
  • Audio
  • Camera
  • Connectivity
  • Data
  • Display
  • Fonts
  • Graphics
  • Interaction
  • Media
  • Performance
  • Permissions
  • Power
  • Runtime
  • Settings
  • Storage
  • Tests
  • Updates
  • Virtualization
  • Compatibility
  • Compatibility Definition Document (CDD)
  • Compatibility Test Suite (CTS)
  • Android Devices
  • Cuttlefish
  • Enterprise
  • TV
  • Automotive
  • Get Started
  • Guidelines for Development
  • Development Tools
  • Testing Tools and Infrastructure
  • Release Details
  • Reference
  • HIDL
  • HAL
  • Trade Federation
  • Security Test Suite
Android Code Search
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
  • Documentation
What's New? Getting Started Security Core Topics Compatibility Android Devices Automotive Reference
Android Open Source Project
  • Docs
    • More
    • What's New?
    • Getting Started
    • Security
    • Core Topics
    • Compatibility
    • Android Devices
    • Automotive
    • Reference
  • Android Code Search
  • Overview
  • HIDL
    • Overview
  • HAL
    • Hardware Abstraction Layer
    • Data Structures
    • Data Structure Index
    • Data Fields
    • File List
    • Globals
    • Deprecated
  • Trade Federation
    • Class Index
    • Package Index
    • com.android.compatibility.common.tradefed.testtype
    • com.android.tradefed.auth
    • com.android.tradefed.build
    • com.android.tradefed.build.cache
    • com.android.tradefed.build.content
    • com.android.tradefed.build.gcs
    • com.android.tradefed.cache
    • com.android.tradefed.cache.remote
    • com.android.tradefed.cluster
    • com.android.tradefed.command
    • com.android.tradefed.command.console
    • com.android.tradefed.command.remote
    • com.android.tradefed.config
    • com.android.tradefed.config.filter
    • com.android.tradefed.config.gcs
    • com.android.tradefed.config.proxy
    • com.android.tradefed.config.remote
    • com.android.tradefed.config.yaml
    • com.android.tradefed.dependency
    • com.android.tradefed.device
    • com.android.tradefed.device.battery
    • com.android.tradefed.device.cloud
    • com.android.tradefed.device.connection
    • com.android.tradefed.device.contentprovider
    • com.android.tradefed.device.helper
    • com.android.tradefed.device.internal
    • com.android.tradefed.device.metric
    • com.android.tradefed.device.recovery
    • com.android.tradefed.error
    • com.android.tradefed.host
    • com.android.tradefed.host.gcs
    • com.android.tradefed.invoker
    • com.android.tradefed.invoker.logger
    • com.android.tradefed.invoker.sandbox
    • com.android.tradefed.invoker.shard
    • com.android.tradefed.invoker.shard.token
    • com.android.tradefed.invoker.tracing
    • com.android.tradefed.lite
    • com.android.tradefed.log
    • com.android.tradefed.monitoring
    • com.android.tradefed.monitoring.collector
    • com.android.tradefed.postprocessor
    • com.android.tradefed.result
    • com.android.tradefed.result.ddmlib
    • com.android.tradefed.result.error
    • com.android.tradefed.result.proto
    • com.android.tradefed.result.resultdb
    • com.android.tradefed.result.retry
    • com.android.tradefed.result.skipped
    • com.android.tradefed.result.suite
    • com.android.tradefed.retry
    • com.android.tradefed.sandbox
    • com.android.tradefed.service
    • com.android.tradefed.service.internal
    • com.android.tradefed.service.management
    • com.android.tradefed.suite.checker
    • com.android.tradefed.suite.checker.baseline
    • com.android.tradefed.targetprep
    • com.android.tradefed.targetprep.adb
    • com.android.tradefed.targetprep.app
    • com.android.tradefed.targetprep.companion
    • com.android.tradefed.targetprep.incremental
    • com.android.tradefed.targetprep.multi
    • com.android.tradefed.targetprep.suite
    • com.android.tradefed.targetprep.sync
    • com.android.tradefed.testtype
    • com.android.tradefed.testtype.binary
    • com.android.tradefed.testtype.coverage
    • com.android.tradefed.testtype.host
    • com.android.tradefed.testtype.junit4
    • com.android.tradefed.testtype.mobly
    • com.android.tradefed.testtype.pandora
    • com.android.tradefed.testtype.python
    • com.android.tradefed.testtype.retry
    • com.android.tradefed.testtype.rust
    • com.android.tradefed.testtype.suite
    • com.android.tradefed.testtype.suite.module
    • com.android.tradefed.testtype.suite.params
    • com.android.tradefed.testtype.suite.params.multiuser
    • com.android.tradefed.testtype.suite.retry
    • com.android.tradefed.util
    • com.android.tradefed.util.clockwork
    • com.android.tradefed.util.executor
    • com.android.tradefed.util.flag
    • com.android.tradefed.util.gcs
    • com.android.tradefed.util.hostmetric
    • com.android.tradefed.util.image
    • com.android.tradefed.util.keystore
    • com.android.tradefed.util.net
    • com.android.tradefed.util.proto
    • com.android.tradefed.util.sl4a
    • com.android.tradefed.util.statsd
    • com.android.tradefed.util.testmapping
    • com.android.tradefed.util.xml
    • com.android.tradefed.util.zip
  • Security Test Suite
    • Class Index
    • Package Index
    • com.android.sts.common
    • com.android.sts.common.tradefed.testtype
    • com.android.sts.common.util
  • What's new?
  • Release notes
  • Latest security bulletins
  • Latest Compatibility Definition Document (CDD)
  • Site updates
  • Getting Started
  • About
  • Start
  • Download
  • Build
  • Test
  • Create
  • Contribute
  • Community
  • Tools, build, and related reference
  • Security
  • Overview
  • Bulletins
  • Features
  • Testing
  • Best Practices
  • Core Topics
  • Architecture
  • Audio
  • Camera
  • Connectivity
  • Data
  • Display
  • Fonts
  • Graphics
  • Interaction
  • Media
  • Performance
  • Permissions
  • Power
  • Runtime
  • Settings
  • Storage
  • Tests
  • Updates
  • Virtualization
  • Compatibility
  • Compatibility Definition Document (CDD)
  • Compatibility Test Suite (CTS)
  • Android Devices
  • Cuttlefish
  • Enterprise
  • TV
  • Automotive
  • Get Started
  • Guidelines for Development
  • Development Tools
  • Testing Tools and Infrastructure
  • Release Details
  • Reference
  • HIDL
  • HAL
  • Trade Federation
  • Security Test Suite

Starting March 27, 2025, we recommend using android-latest-release instead of aosp-main to build and contribute to AOSP. For more information, see Changes to AOSP.

  • AOSP
  • Docs
  • Reference
Stay organized with collections Save and categorize content based on your preferences.

Android HAL Reference (legacy)

See the HAL guide for details about Android's Hardware Abstraction Layer (HAL).

  • Data Structures
  • Data Structure Index
  • Data Fields
  • File List
  • Globals
  • Deprecated

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2019-10-02 UTC.

  • Build

    • Android repository
    • Requirements
    • Downloading
    • Preview binaries
    • Factory images
    • Driver binaries
  • Connect

    • @Android on Twitter
    • @AndroidDev on Twitter
    • Android Blog
    • Google Security Blog
    • Platform on Google Groups
    • Building on Google Groups
    • Porting on Google Groups
  • Get help

    • Android Help Center
    • Pixel Help Center
    • www.android.com
    • Google Mobile Services
    • Stack Overflow
    • Issue Tracker
  • About Android
  • Community
  • Legal
  • License
  • Privacy
  • Site feedback
  • Manage cookies
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Polski
  • Português – Brasil
  • Tiếng Việt
  • Türkçe
  • Русский
  • עברית
  • العربيّة
  • فارسی
  • हिंदी
  • বাংলা
  • ภาษาไทย
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어