sm6150-common: Migrate to Xiaomi power HAL AIDL
Change-Id: I42170d51a517170b58d532addd9c38496e43457c
This commit is contained in:
parent
87351664e4
commit
7e0b1d8983
@ -1,5 +1,7 @@
|
||||
soong_namespace {
|
||||
imports: [
|
||||
"hardware/google/interfaces",
|
||||
"hardware/google/pixel",
|
||||
"hardware/xiaomi",
|
||||
],
|
||||
}
|
||||
|
@ -14,6 +14,8 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
BOARD_VENDOR := xiaomi
|
||||
|
||||
COMMON_PATH := device/xiaomi/sm6150-common
|
||||
|
||||
# Inherit from proprietary files
|
||||
|
@ -55,10 +55,11 @@ int open_ts_input() {
|
||||
} // anonymous namespace
|
||||
|
||||
namespace aidl {
|
||||
namespace android {
|
||||
namespace google {
|
||||
namespace hardware {
|
||||
namespace power {
|
||||
namespace impl {
|
||||
namespace pixel {
|
||||
|
||||
static constexpr int kInputEventWakeupModeOff = 4;
|
||||
static constexpr int kInputEventWakeupModeOn = 5;
|
||||
@ -97,8 +98,9 @@ bool setDeviceSpecificMode(Mode type, bool enabled) {
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace pixel
|
||||
} // namespace impl
|
||||
} // namespace power
|
||||
} // namespace hardware
|
||||
} // namespace android
|
||||
} // namespace google
|
||||
} // namespace aidl
|
||||
|
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
@ -19,6 +19,7 @@
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.xiaomi_sm6150 u:object_r:hal_fingerprint_default_exec:s0
|
||||
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.xiaomi_sm6150-ext u:object_r:hal_fingerprint_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.light@2\.0-service\.xiaomi_sm6150 u:object_r:hal_light_default_exec:s0
|
||||
/vendor/bin/hw/android\.hardware\.power-service\.xiaomi-libperfmgr u:object_r:hal_power_default_exec:s0
|
||||
/vendor/bin/hw/vendor\.lineage\.livedisplay@2\.1-service\.xiaomi_sm6150 u:object_r:hal_lineage_livedisplay_qti_exec:s0
|
||||
|
||||
# Remosaic
|
||||
|
@ -245,7 +245,7 @@ PRODUCT_ENFORCE_RRO_TARGETS += *
|
||||
|
||||
# Power
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.power-service-qti
|
||||
android.hardware.power-service.xiaomi-libperfmgr
|
||||
|
||||
# QTI
|
||||
PRODUCT_PACKAGES += \
|
||||
@ -283,6 +283,8 @@ PRODUCT_COPY_FILES += \
|
||||
# Soong namespaces
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
$(LOCAL_PATH) \
|
||||
hardware/google/interfaces \
|
||||
hardware/google/pixel \
|
||||
hardware/xiaomi
|
||||
|
||||
# Telephony
|
||||
|
Loading…
Reference in New Issue
Block a user