AOSP libhardware

AOSP 硬件抽象库。(AOSP hardware abstraction library)

  • Owner: aosp-mirror/platform_hardware_libhardware
  • Platform: Android, Linux
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Default (and possibly architecture dependents) HAL modules go here.

libhardware.so eventually should contain just the HAL hub
(hardware.c), everything in it should be rewritten as modules.

Modules are .so in /vendor/lib/hw/ and have a well defined naming
convention:

/vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.product.board>.so
/vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.board.platform>.so
/vendor/lib/hw/<*_HARDWARE_MODULE_ID>.<ro.arch>.so
/vendor/lib/hw/<*_HARDWARE_MODULE_ID>.default.so

They also have a well defined interface which lives in include/hardware/.

A module can have several variants: "default", "arch" and "board", and they're
loaded in the "board", "arch" and "default" order.
The source code for the "board" variant, usually lives under partners/...

The source code for "default" and "arch" would usually
live under hardware/modules/.

Overview

Name With Owneraosp-mirror/platform_hardware_libhardware
Primary LanguageC++
Program languageMakefile (Language Count: 4)
PlatformAndroid, Linux
License:Other
Release Count2169
Last Release Nameq_tzdata_aml_297100400 (Posted on 2024-04-29 10:31:32)
First Release Nameandroid-1.6_r1 (Posted on 2009-09-18 11:02:39)
Created At2008-10-21 18:20:40
Pushed At2024-05-03 14:12:45
Last Commit At2024-05-03 14:09:48
Stargazers Count90
Watchers Count31
Fork Count139
Commits Count6.2k
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private
To the top