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:
parent
834610b11c
commit
fa7fa65ffb
6 changed files with 9 additions and 6 deletions
|
@ -5,11 +5,11 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
cc_binary {
|
cc_binary {
|
||||||
name: "android.hardware.ir@1.0-service",
|
name: "android.hardware.ir@1.0-service.xiaomi_sdm660",
|
||||||
defaults: ["hidl_defaults"],
|
defaults: ["hidl_defaults"],
|
||||||
relative_install_path: "hw",
|
relative_install_path: "hw",
|
||||||
init_rc: ["android.hardware.ir@1.0-service.rc"],
|
init_rc: ["android.hardware.ir@1.0-service.xiaomi_sdm660.rc"],
|
||||||
vintf_fragments: ["android.hardware.ir@1.0-service.xml"],
|
vintf_fragments: ["android.hardware.ir@1.0-service.xiaomi_sdm660.xml"],
|
||||||
srcs: [
|
srcs: [
|
||||||
"ConsumerIr.cpp",
|
"ConsumerIr.cpp",
|
||||||
"service.cpp",
|
"service.cpp",
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define LOG_TAG "ConsumerIrService"
|
#define LOG_TAG "ConsumerIrService.xiaomi_sdm660"
|
||||||
|
|
||||||
#include <android-base/logging.h>
|
#include <android-base/logging.h>
|
||||||
|
|
||||||
|
|
|
@ -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
|
interface android.hardware.ir@1.0::IConsumerIr default
|
||||||
class hal
|
class hal
|
||||||
user system
|
user system
|
|
@ -4,7 +4,7 @@
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* 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 <android-base/logging.h>
|
||||||
#include <hidl/HidlTransportSupport.h>
|
#include <hidl/HidlTransportSupport.h>
|
||||||
|
|
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
|
@ -42,6 +42,9 @@
|
||||||
/sys/devices/platform/kcal_ctrl.0(/.*)? u:object_r:kcal_dev:s0
|
/sys/devices/platform/kcal_ctrl.0(/.*)? u:object_r:kcal_dev:s0
|
||||||
/sys/bus/platform/drivers/kcal_ctrl(/.*)? 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
|
# Light HAL
|
||||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_sdm660 u:object_r:hal_light_default_exec:s0
|
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_sdm660 u:object_r:hal_light_default_exec:s0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue