Lines Matching refs:device
9 in `device/<manufacturer>/<device>/device.mk`
11 1. If the device does not have a vendor-specific `libhealthd` AND does not
21 `device/<manufacturer>/<device>/health`
23 1. Create `device/<manufacturer>/<device>/health/Android.bp`
24 (or equivalent `device/<manufacturer>/<device>/health/Android.mk`)
28 name: "android.hardware.health@2.0-service.<device>",
29 init_rc: ["android.hardware.health@2.0-service.<device>.rc"],
67 1. Create `device/<manufacturer>/<device>/health/android.hardware.health@2.0-service.<device>.rc`
70 service vendor.health-hal-2-0 /vendor/bin/hw/android.hardware.health@2.0-service.<device>
78 1. Create `device/<manufacturer>/<device>/health/HealthService.cpp`:
87 1. If the device has a vendor-specific `libhealthd.<soc>`, add it to static_libs.
89 1. If the device does not have a vendor-specific `libhealthd`, add the following
104 1. If the device does not implement `IHealth.getDiskStats` and
107 1. If the device implements one of these two APIs, add and implement the
122 # device/<manufacturer>/<device>/sepolicy/vendor/file_contexts
123 …/vendor/bin/hw/android\.hardware\.health@2\.0-service\.<device> u:object_r:hal_health_default_exec…
125 # device/<manufacturer>/<device>/sepolicy/vendor/hal_health_default.te
126 # Add device specific permissions to hal_health_default domain, especially
127 # if a device-specific libhealthd is used and/or device-specific storage related
135 1. If the device does not have a vendor-specific `libhealthd`, nothing needs to
140 1. If the device does have a vendor-specific `libhealthd`, implement the following
141 module and include it in `PRODUCT_PACKAGES` (replace `<device>` with appropriate
147 name: "android.hardware.health@2.0-impl-<device>",
152 "libhealthd.<device>"
153 // Include the following or implement device-specific storage APIs
179 # device.mk
180 PRODUCT_PACKAGES += android.hardware.health@2.0-impl-<device>