mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sapphire
synced 2026-02-01 11:00:12 +00:00
topaz: health: Rename hal to xiaomi to avoid compilation conflicts
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com> Change-Id: If8e525f681e20e5cede805ed6f5c975c3d23809c
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
cc_defaults {
|
||||
name: "android.hardware.health-service.qti-defaults",
|
||||
name: "android.hardware.health-service.xiaomi-defaults",
|
||||
relative_install_path: "hw",
|
||||
vintf_fragments: ["android.hardware.health-service.qti.xml"],
|
||||
vintf_fragments: ["android.hardware.health-service.xiaomi.xml"],
|
||||
vendor: true,
|
||||
recovery_available: true,
|
||||
|
||||
@@ -30,19 +30,19 @@ cc_defaults {
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "android.hardware.health-service.qti",
|
||||
name: "android.hardware.health-service.xiaomi",
|
||||
recovery: false,
|
||||
vendor: true,
|
||||
defaults: ["android.hardware.health-service.qti-defaults"],
|
||||
init_rc: ["android.hardware.health-service.qti.rc"],
|
||||
defaults: ["android.hardware.health-service.xiaomi-defaults"],
|
||||
init_rc: ["android.hardware.health-service.xiaomi.rc"],
|
||||
overrides: ["charger"],
|
||||
}
|
||||
|
||||
cc_binary {
|
||||
name: "android.hardware.health-service.qti_recovery",
|
||||
name: "android.hardware.health-service.xiaomi_recovery",
|
||||
vendor: false,
|
||||
recovery: true,
|
||||
defaults: ["android.hardware.health-service.qti-defaults"],
|
||||
init_rc: ["android.hardware.health-service.qti_recovery.rc"],
|
||||
defaults: ["android.hardware.health-service.xiaomi-defaults"],
|
||||
init_rc: ["android.hardware.health-service.xiaomi_recovery.rc"],
|
||||
overrides: ["charger.recovery"],
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
service vendor.health-default /vendor/bin/hw/android.hardware.health-service.qti
|
||||
service vendor.health-default /vendor/bin/hw/android.hardware.health-service.xiaomi
|
||||
class hal
|
||||
user system
|
||||
group system
|
||||
capabilities WAKE_ALARM BLOCK_SUSPEND
|
||||
file /dev/kmsg w
|
||||
|
||||
service vendor.charger /vendor/bin/hw/android.hardware.health-service.qti --charger
|
||||
service vendor.charger /vendor/bin/hw/android.hardware.health-service.xiaomi --charger
|
||||
class charger
|
||||
seclabel u:r:charger_vendor:s0
|
||||
user system
|
||||
@@ -1,4 +1,4 @@
|
||||
service vendor.health-recovery /system/bin/hw/android.hardware.health-service.qti_recovery
|
||||
service vendor.health-recovery /system/bin/hw/android.hardware.health-service.xiaomi_recovery
|
||||
class hal
|
||||
seclabel u:r:hal_health_default:s0
|
||||
user system
|
||||
@@ -3,7 +3,7 @@
|
||||
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||
*/
|
||||
|
||||
#define LOG_TAG "android.hardware.health-service.qti"
|
||||
#define LOG_TAG "android.hardware.health-service.xiaomi"
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <android/binder_interface_utils.h>
|
||||
|
||||
Reference in New Issue
Block a user