eqs: add Dolby Blobs

This commit is contained in:
nishant6342 2024-02-03 10:57:08 +05:30 committed by davigamer987
parent d6895987dc
commit e9f79bd3d4
14 changed files with 148 additions and 1 deletions

View File

@ -25,6 +25,17 @@ cc_prebuilt_library_shared {
soc_specific: true,
}
android_app_import {
name: "MotoDolbyDax3",
owner: "motorola",
apk: "proprietary/system/app/MotoDolbyDax3/MotoDolbyDax3.apk",
overrides: ["MusicFX"],
certificate: "platform",
dex_preopt: {
enabled: false,
},
}
android_app_import {
name: "MotoSignatureApp",
owner: "motorola",
@ -129,6 +140,7 @@ prebuilt_etc_xml {
filename_from_src: true,
sub_dir: "vintf/manifest",
soc_specific: true,
}
cc_prebuilt_binary {
@ -167,3 +179,32 @@ cc_prebuilt_binary {
soc_specific: true,
}
android_app_import {
name: "daxService",
owner: "motorola",
apk: "proprietary/system_ext/priv-app/daxService/daxService.apk",
certificate: "platform",
dex_preopt: {
enabled: false,
},
privileged: true,
system_ext_specific: true,
}
dex_import {
name: "com.motorola.frameworks.core.addon",
owner: "motorola",
jars: ["proprietary/system/framework/com.motorola.frameworks.core.addon.jar"],
}
dex_import {
name: "moto-checkin",
owner: "motorola",
jars: ["proprietary/system/framework/moto-checkin.jar"],
}
dex_import {
name: "motoaudioeffectsdk",
owner: "motorola",
jars: ["proprietary/system/framework/motoaudioeffectsdk.jar"],
}

View File

@ -6,6 +6,7 @@ PRODUCT_SOONG_NAMESPACES += \
vendor/motorola/eqs
PRODUCT_COPY_FILES += \
vendor/motorola/eqs/proprietary/product/etc/default-permissions/default-permissions-com.motorola.dolby.dolbyui.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/default-permissions/default-permissions-com.motorola.dolby.dolbyui.xml \
vendor/motorola/eqs/proprietary/vendor/etc/permissions/com.motorola.camera3.content.ai.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.content.ai.xml \
vendor/motorola/eqs/proprietary/vendor/etc/permissions/com.motorola.camera3.eqs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.eqs.xml \
vendor/motorola/eqs/proprietary/vendor/etc/permissions/com.motorola.camera3.lens.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.motorola.camera3.lens.xml \
@ -15,11 +16,17 @@ PRODUCT_COPY_FILES += \
vendor/motorola/eqs/proprietary/product/etc/permissions/deviceowner-configuration-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/deviceowner-configuration-com.motorola.camera3.xml \
vendor/motorola/eqs/proprietary/product/etc/permissions/privapp-permissions-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-com.motorola.camera3.xml \
vendor/motorola/eqs/proprietary/product/etc/sysconfig/hiddenapi-whitelist-com.motorola.camera3.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/hiddenapi-whitelist-com.motorola.camera3.xml \
vendor/motorola/eqs/proprietary/system/etc/permissions/com.motorola.dolby.dolbyui.dax3.features.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.motorola.dolby.dolbyui.dax3.features.xml \
vendor/motorola/eqs/proprietary/system/etc/permissions/com.motorola.frameworks.core.addon.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.motorola.frameworks.core.addon.xml \
vendor/motorola/eqs/proprietary/system/etc/permissions/com.motorola.motosignature.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/com.motorola.motosignature.xml \
vendor/motorola/eqs/proprietary/system/etc/permissions/moto-checkin.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-checkin.xml \
vendor/motorola/eqs/proprietary/system/etc/permissions/moto-core_services.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-core_services.xml \
vendor/motorola/eqs/proprietary/system/etc/permissions/moto-settings.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/moto-settings.xml \
vendor/motorola/eqs/proprietary/system_ext/bin/motsettings:$(TARGET_COPY_OUT_SYSTEM_EXT)/bin/motsettings \
vendor/motorola/eqs/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/motorola/eqs/proprietary/system/etc/permissions/motoaudioeffectsdk.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/motoaudioeffectsdk.xml \
vendor/motorola/eqs/proprietary/system/etc/sysconfig/hiddenapi-whitelist-com.motorola.dolby.dolbyui.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/hiddenapi-whitelist-com.motorola.dolby.dolbyui.xml \
vendor/motorola/eqs/proprietary/system_ext/etc/permissions/com.dolby.daxservice.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/com.dolby.daxservice.xml \
vendor/motorola/eqs/proprietary/vendor/bin/STFlashTool:$(TARGET_COPY_OUT_VENDOR)/bin/STFlashTool \
vendor/motorola/eqs/proprietary/vendor/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-ets:$(TARGET_COPY_OUT_VENDOR)/bin/hw/android.hardware.biometrics.fingerprint@2.1-service-ets \
vendor/motorola/eqs/proprietary/vendor/bin/hw/motorola.hardware.camera.desktop@2.0-service:$(TARGET_COPY_OUT_VENDOR)/bin/hw/motorola.hardware.camera.desktop@2.0-service \
@ -653,7 +660,12 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \
android.hardware.secure_element@1.0-impl-gto \
MotoDolbyDax3 \
MotoSignatureApp \
daxService \
motoaudioeffectsdk \
com.motorola.frameworks.core.addon \
moto-checkin \
MotCamera3AI \
HotwordEnrollmentOKGoogleHEXAGON_WIDEBAND \
HotwordEnrollmentXGoogleHEXAGON_WIDEBAND \

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<exceptions>
<exception package="com.motorola.dolby.dolbyui">
<permission name="android.permission.POST_NOTIFICATIONS" fixed="false"/>
</exception>
</exceptions>

Binary file not shown.

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<!-- Feature for 2021 products. -->
<feature name="com.motorola.software.dolby.motodolbyui" />
<privapp-permissions package="com.motorola.dolby.dolbyui">
<permission name="android.permission.ACCESS_CHECKIN_PROPERTIES"/>
<permission name="com.motorola.permission.ACCESS_CHECKIN" />
</privapp-permissions>
</permissions>

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.motorola.frameworks.core.addon"
file="/system/framework/com.motorola.frameworks.core.addon.jar"/>
</permissions>

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="moto-checkin"
file="/system/framework/moto-checkin.jar"
/>
</permissions>

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="motoaudioeffectsdk"
file="/system/framework/motoaudioeffectsdk.jar"
/>
</permissions>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<config>
<hidden-api-whitelisted-app package="com.motorola.dolby.dolbyui" />
</config>

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--Copyright (C) 2018-2022 Dolby Laboratories
* This program is protected under international and U.S. copyright laws as
* an unpublished work. This program is confidential and proprietary to the
* copyright owners. Reproduction or disclosure, in whole or in part, or the
* production of derivative works therefrom without the express permission of
* the copyright owners is prohibited.
* Copyright (C) 2018-2022 by Dolby Laboratories.
* All rights reserved.
-->
<permissions>
<privapp-permissions package="com.dolby.daxservice">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
<permission name="android.permission.MANAGE_USERS"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
<permission name="android.permission.MODIFY_DEFAULT_AUDIO_EFFECTS"/>
<permission name="android.permission.QUERY_AUDIO_STATE"/>
<permission name="android.permission.BLUETOOTH_CONNECT" />
</privapp-permissions>
</permissions>