sdm660-common: ir: Rebrand to Xiaomi SDM660

Change-Id: I20146c0bc065a460f5a86455ed9a21abce5f9417
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: OdSazib <odsazib@gmail.com>
This commit is contained in:
Sebastiano Barezzi 2021-09-13 01:27:22 +02:00 committed by pix106
parent 834610b11c
commit fa7fa65ffb
6 changed files with 9 additions and 6 deletions

View file

@ -5,11 +5,11 @@
//
cc_binary {
name: "android.hardware.ir@1.0-service",
name: "android.hardware.ir@1.0-service.xiaomi_sdm660",
defaults: ["hidl_defaults"],
relative_install_path: "hw",
init_rc: ["android.hardware.ir@1.0-service.rc"],
vintf_fragments: ["android.hardware.ir@1.0-service.xml"],
init_rc: ["android.hardware.ir@1.0-service.xiaomi_sdm660.rc"],
vintf_fragments: ["android.hardware.ir@1.0-service.xiaomi_sdm660.xml"],
srcs: [
"ConsumerIr.cpp",
"service.cpp",

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_TAG "ConsumerIrService"
#define LOG_TAG "ConsumerIrService.xiaomi_sdm660"
#include <android-base/logging.h>

View file

@ -1,4 +1,4 @@
service vendor.ir-hal-1-0 /vendor/bin/hw/android.hardware.ir@1.0-service
service vendor.ir-hal-1-0 /vendor/bin/hw/android.hardware.ir@1.0-service.xiaomi_sdm660
interface android.hardware.ir@1.0::IConsumerIr default
class hal
user system

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
#define LOG_TAG "android.hardware.ir@1.0-service"
#define LOG_TAG "android.hardware.ir@1.0-service.xiaomi_sdm660"
#include <android-base/logging.h>
#include <hidl/HidlTransportSupport.h>

View file

@ -42,6 +42,9 @@
/sys/devices/platform/kcal_ctrl.0(/.*)? u:object_r:kcal_dev:s0
/sys/bus/platform/drivers/kcal_ctrl(/.*)? u:object_r:kcal_dev:s0
# IR HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.ir@1\.0-service\.xiaomi_sdm660 u:object_r:hal_ir_default_exec:s0
# Light HAL
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_sdm660 u:object_r:hal_light_default_exec:s0