sm8450-common: Add hotword blobs from cupid V816.0.3.0.ULCEUXM

This commit is contained in:
Arian 2024-03-12 14:22:30 +01:00
parent a1dcd9de22
commit c787ca3d1f
6 changed files with 57 additions and 0 deletions

View file

@ -84,6 +84,30 @@ android_app_import {
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND",
owner: "xiaomi",
apk: "proprietary/product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "HotwordEnrollmentXGoogleHEXAGON_WIDEBAND",
owner: "xiaomi",
apk: "proprietary/product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
product_specific: true,
}
android_app_import {
name: "ImsRcsService",
owner: "xiaomi",
@ -214,6 +238,13 @@ dex_import {
product_specific: true,
}
dex_import {
name: "com.android.hotwordenrollment.common.util",
owner: "xiaomi",
jars: ["proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar"],
system_ext_specific: true,
}
dex_import {
name: "com.qti.dpmframework",
owner: "xiaomi",

View file

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2018 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<permissions>
<library
name="com.android.hotwordenrollment.common.util"
file="/system_ext/framework/com.android.hotwordenrollment.common.util.jar"
/>
</permissions>

View file

@ -19,6 +19,7 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/sm8450-common/proprietary/system_ext/etc/init/tcmd.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/tcmd.rc \
vendor/xiaomi/sm8450-common/proprietary/system_ext/etc/init/vendor.qti.hardware.qccsyshal@1.2-service.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/vendor.qti.hardware.qccsyshal@1.2-service.rc \
vendor/xiaomi/sm8450-common/proprietary/system_ext/etc/init/wfdservice.rc:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/init/wfdservice.rc \
vendor/xiaomi/sm8450-common/proprietary/system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.android.hotwordenrollment.common.util.xml \
vendor/xiaomi/sm8450-common/proprietary/system_ext/etc/permissions/com.qti.dpmframework.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.qti.dpmframework.xml \
vendor/xiaomi/sm8450-common/proprietary/system_ext/etc/permissions/dpmapi.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/dpmapi.xml \
vendor/xiaomi/sm8450-common/proprietary/system_ext/etc/permissions/qcrilhook.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/qcrilhook.xml \
@ -1563,6 +1564,8 @@ PRODUCT_PACKAGES += \
TimeService \
com.qualcomm.qti.gpudrivers.taro.api31 \
uimgbaservice \
HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND \
HotwordEnrollmentXGoogleHEXAGON_WIDEBAND \
ImsRcsService \
PowerOffAlarm \
QCC \
@ -1576,6 +1579,7 @@ PRODUCT_PACKAGES += \
uimgbalibrary \
uimgbamanagerlibrary \
uimservicelibrary \
com.android.hotwordenrollment.common.util \
com.qti.dpmframework \
dpmapi \
qcrilhook \