Lines Matching refs:device
4 in `device/<manufacturer>/<device>/device.mk`
6 1. If the device does not have a vendor-specific `libhealthd` AND does not
16 `device/<manufacturer>/<device>/health`
18 1. Create `device/<manufacturer>/<device>/health/Android.bp`
19 (or equivalent `device/<manufacturer>/<device>/health/Android.mk`)
23 name: "android.hardware.health@2.0-service.<device>",
24 init_rc: ["android.hardware.health@2.0-service.<device>.rc"],
63 1. Create `device/<manufacturer>/<device>/health/android.hardware.health@2.0-service.<device>.rc`
66 service vendor.health-hal-2-0 /vendor/bin/hw/android.hardware.health@2.0-service.<device>
74 1. Create `device/<manufacturer>/<device>/health/HealthService.cpp`:
83 1. If the device has a vendor-specific `libhealthd.<soc>`, add it to static_libs.
85 1. If the device does not have a vendor-specific `libhealthd`, add the following
100 1. If the device does not implement `IHealth.getDiskStats` and
103 1. If the device implements one of these two APIs, add and implement the
118 # device/<manufacturer>/<device>/sepolicy/vendor/file_contexts
119 /vendor/bin/hw/android\.hardware\.health@2\.0-service\.<device> u:object_r:hal_health_default_exec:s0
121 # device/<manufacturer>/<device>/sepolicy/vendor/hal_health_default.te
122 # Add device specific permissions to hal_health_default domain, especially
123 # if a device-specific libhealthd is used and/or device-specific storage related
131 1. If the device does not have a vendor-specific `libhealthd`, nothing needs to
136 1. If the device does have a vendor-specific `libhealthd`, implement the following
137 module and include it in `PRODUCT_PACKAGES` (replace `<device>` with appropriate
143 name: "android.hardware.health@2.0-impl-<device>",
148 "libhealthd.<device>"
149 // Include the following or implement device-specific storage APIs
175 # device.mk
176 PRODUCT_PACKAGES += android.hardware.health@2.0-impl-<device>