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:
chrisl7
2023-09-30 01:36:47 +00:00
committed by boedhack99
parent 8b5988ede6
commit cf4170bf04
5 changed files with 12 additions and 12 deletions

View File

@@ -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"],
}

View File

@@ -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

View File

@@ -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

View File

@@ -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>