sm6150-common: Add hotword enrollment blobs

Change-Id: I7459f4f380997c4499c6ff3b6caa79e109441d92
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: donjohanliebert <donjohanliebert@gmail.com>
This commit is contained in:
Pranav Vashi 2024-10-21 00:34:56 +05:30 committed by donjohanliebert
parent 060e4e8fc4
commit 178dcb757d
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<?xml version="1.0" ?>
<permissions>
<privapp-permissions package="com.android.hotwordenrollment.okgoogle">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
</privapp-permissions>
<privapp-permissions package="com.android.hotwordenrollment.xgoogle">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.KEYPHRASE_ENROLLMENT_APPLICATION"/>
<permission name="android.permission.MANAGE_VOICE_KEYPHRASES"/>
</privapp-permissions>
</permissions>

View File

@ -271,6 +271,12 @@ vendor/lib64/vendor.qti.gnss@4.0-service.so
vendor/lib64/vendor.qti.gnss@4.0.so
vendor/lib64/vendor.qti.hardware.qccsyshal@1.0.so
# HotwordEnrollment
product/priv-app/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND/HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND.apk
product/priv-app/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND/HotwordEnrollmentXGoogleHEXAGON_WIDEBAND.apk
system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
system_ext/framework/com.android.hotwordenrollment.common.util.jar
# IMS
system_ext/lib64/lib-imsvideocodec.so
system_ext/lib64/lib-imsvt.so
@ -348,7 +354,13 @@ vendor/lib64/libqtikeymaster4.so
# Listen
vendor/lib/libadpcmdec.so
vendor/lib/libgcs-calwrapper.so
vendor/lib/libgcs-ipc.so
vendor/lib/libgcs-osal.so
vendor/lib/libgcs.so
vendor/lib/liblistensoundmodel2.so
vendor/lib/librice.so
vendor/lib/libmulawdec.so
vendor/lib/libsmwrapper.so
# Media

View File

@ -195,6 +195,10 @@ PRODUCT_PACKAGES += \
android.hardware.health-service.qti \
android.hardware.health-service.qti_recovery
# HotwordEnrollement app permissions
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/permissions/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
# Init scripts
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.rc \