klee: Add HotwordEnrollment system_ext blobs

Ship HotwordEnrollmentX/YGoogleRISCV_WIDEBAND as system_ext priv-apps
plus com.android.hotwordenrollment.common.util library xml/jar, from
the HyperOS dump. Companion to device cherry-pick 26de3de ('Reapply
rodin: Import HotwordEnrollment blobs'). Enables GSA to see an
enrollment app so its decision maker can select the DSP path for
screen-off hotword; pairs with the soundtrigger props and VoW stack.

Change-Id: I095a2b58a565831365d770b76e0732007b61c1a8
Signed-off-by: kylieeXD <khayloaftck@gmail.com>
This commit is contained in:
kylieeXD committed 2026-09-20 02:53:29 +00:00
1 parent 148a05c5f7
commit a62ed90d26
6 files changed
+50

No files matched your search

+25
View File
@@ -38514,6 +38514,31 @@ android_app_import {
system_ext_specific: true,
}
android_app_import {
name: "HotwordEnrollmentXGoogleRISCV_WIDEBAND",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/HotwordEnrollmentXGoogleRISCV_WIDEBAND/HotwordEnrollmentXGoogleRISCV_WIDEBAND.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "HotwordEnrollmentYGoogleRISCV_WIDEBAND",
owner: "xiaomi",
apk: "proprietary/system_ext/priv-app/HotwordEnrollmentYGoogleRISCV_WIDEBAND/HotwordEnrollmentYGoogleRISCV_WIDEBAND.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
android_app_import {
name: "MtkGbaService",
owner: "xiaomi",
+4
View File
@@ -741,6 +741,8 @@ PRODUCT_COPY_FILES += \
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow.gva.tflite.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow.gva.tflite.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/permissions/com.mediatek.hardware.vow_dsp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.mediatek.hardware.vow_dsp.xml \
vendor/xiaomi/klee/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/klee/proprietary/system_ext/framework/com.android.hotwordenrollment.common.util.jar:$(TARGET_COPY_OUT_SYSTEM_EXT)/framework/com.android.hotwordenrollment.common.util.jar \
vendor/xiaomi/klee/proprietary/vendor/etc/pq_flag.xml:$(TARGET_COPY_OUT_VENDOR)/etc/pq_flag.xml \
vendor/xiaomi/klee/proprietary/vendor/etc/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
vendor/xiaomi/klee/proprietary/vendor/etc/sensor_diag.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/sensor_diag.cfg \
@@ -2303,6 +2305,8 @@ PRODUCT_PACKAGES += \
vendor.xiaomi.hardware.mediaeventgatherservice-V1-ndk \
com.google.android.widevine.nonupdatable \
ImsService \
HotwordEnrollmentXGoogleRISCV_WIDEBAND \
HotwordEnrollmentYGoogleRISCV_WIDEBAND \
VoiceCommand \
MtkGbaService \
MtkTelephonyAssist \
@@ -0,0 +1,21 @@
<?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>