Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d315268fbc |
@@ -16,4 +16,10 @@
|
||||
|
||||
PRODUCT_MAKEFILES := \
|
||||
$(LOCAL_DIR)/aosp_akita.mk \
|
||||
$(LOCAL_DIR)/aosp_akita_16k.mk \
|
||||
$(LOCAL_DIR)/aosp_akita_fullmte.mk \
|
||||
$(LOCAL_DIR)/factory_akita.mk \
|
||||
$(LOCAL_DIR)/lineage_akita.mk
|
||||
|
||||
COMMON_LUNCH_CHOICES := \
|
||||
aosp_akita-trunk_staging-userdebug
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += $(DEVICE_PATH)/aam_compatibility_matrix.xml
|
||||
|
||||
# Kernel modules
|
||||
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_BLOCKLIST_FILE := $(DEVICE_PATH)/modules.blocklist.vendor_kernel_boot
|
||||
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW := $(strip $(shell cat $(DEVICE_PATH)/modules.load.vendor_kernel_boot))
|
||||
|
||||
4
OWNERS
Normal file
4
OWNERS
Normal file
@@ -0,0 +1,4 @@
|
||||
per-file powerhint-akita.json = jenhaochen@google.com,wvw@google.com,joaodias@google.com
|
||||
|
||||
# per-file for Pixel device makefiles, see go/pixel-device-mk-owner-checklist for details.
|
||||
per-file *.mk,*/BoardConfig.mk,{**/,}Android.bp=file:device/google/gs-common:main:/MK_OWNERS
|
||||
2
PREUPLOAD.cfg
Normal file
2
PREUPLOAD.cfg
Normal file
@@ -0,0 +1,2 @@
|
||||
[Builtin Hooks]
|
||||
jsonlint = true
|
||||
10
aam_compatibility_matrix.xml
Normal file
10
aam_compatibility_matrix.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<compatibility-matrix version="1.0" type="framework">
|
||||
<hal format="aidl" optional="true">
|
||||
<name>vendor.google.aam</name>
|
||||
<version>1-2</version>
|
||||
<interface>
|
||||
<name>IAam</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
</compatibility-matrix>
|
||||
@@ -38,10 +38,16 @@ BOARD_KERNEL_CMDLINE += swiotlb=noforce
|
||||
BOARD_KERNEL_CMDLINE += disable_dma32=on
|
||||
|
||||
include device/google/zuma/BoardConfig-common.mk
|
||||
-include vendor/google_devices/zuma/prebuilts/BoardConfigVendor.mk
|
||||
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
|
||||
-include vendor/google_devices/akita/proprietary/BoardConfigVendor.mk
|
||||
include device/google/akita/sepolicy/akita-sepolicy.mk
|
||||
include device/google/akita/wifi/BoardConfig-wifi.mk
|
||||
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
-include device/google/common/etm/5_15/BoardUserdebugModules.mk
|
||||
endif
|
||||
|
||||
DEVICE_PATH := device/google/akita
|
||||
VENDOR_PATH := vendor/google/akita
|
||||
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
|
||||
|
||||
@@ -28,6 +28,8 @@ from extract_utils.main import (
|
||||
namespace_imports = [
|
||||
'device/google/akita',
|
||||
'hardware/google/av',
|
||||
'hardware/google/gchips',
|
||||
'hardware/google/graphics/common',
|
||||
'hardware/google/interfaces',
|
||||
'hardware/google/pixel',
|
||||
]
|
||||
@@ -43,7 +45,7 @@ lib_fixups: lib_fixups_user_type = {
|
||||
'com.google.edgetpu_app_service-V4-ndk',
|
||||
'com.google.edgetpu_vendor_service-V2-ndk',
|
||||
'vendor.google.whitechapel.audio.audioext@4.0',
|
||||
'vendor.google.whitechapel.audio.extension-V5-ndk',
|
||||
'vendor.google.whitechapel.audio.extension-V4-ndk',
|
||||
): lib_fixup_vendor_suffix,
|
||||
}
|
||||
|
||||
@@ -52,12 +54,6 @@ blob_fixups: blob_fixups_user_type = {
|
||||
.patch_file('osaifu-keitai.patch'),
|
||||
'vendor/etc/init/init.modem_logging_control.rc': blob_fixup()
|
||||
.regex_replace(' && property:ro.debuggable=0', ''),
|
||||
'vendor/lib64/libspeechenhancer.so': blob_fixup()
|
||||
.clear_symbol_version('AHardwareBuffer_allocate')
|
||||
.clear_symbol_version('AHardwareBuffer_describe')
|
||||
.clear_symbol_version('AHardwareBuffer_lock')
|
||||
.clear_symbol_version('AHardwareBuffer_release')
|
||||
.clear_symbol_version('AHardwareBuffer_unlock'),
|
||||
} # fmt: skip
|
||||
|
||||
extract_fns: extract_fns_user_type = {
|
||||
@@ -83,7 +79,7 @@ def fix_vendor_file_list(file_list: FileList):
|
||||
'vendor/lib64/com.google.edgetpu_app_service-V4-ndk.so',
|
||||
'vendor/lib64/com.google.edgetpu_vendor_service-V2-ndk.so',
|
||||
'vendor/lib64/vendor.google.whitechapel.audio.audioext@4.0.so',
|
||||
'vendor/lib64/vendor.google.whitechapel.audio.extension-V5-ndk.so',
|
||||
'vendor/lib64/vendor.google.whitechapel.audio.extension-V4-ndk.so',
|
||||
]
|
||||
|
||||
for file_path in module_suffix_file_paths:
|
||||
|
||||
@@ -9,15 +9,12 @@ product/etc/CarrierSettings/a1_bg.pb
|
||||
product/etc/CarrierSettings/a1_hr.pb
|
||||
product/etc/CarrierSettings/a1_mk.pb
|
||||
product/etc/CarrierSettings/a1_si.pb
|
||||
product/etc/CarrierSettings/a1mpn_at.pb
|
||||
product/etc/CarrierSettings/ahamo_jp.pb
|
||||
product/etc/CarrierSettings/airbus_de.pb
|
||||
product/etc/CarrierSettings/airbus_fr.pb
|
||||
product/etc/CarrierSettings/airtel_in.pb
|
||||
product/etc/CarrierSettings/ais_th.pb
|
||||
product/etc/CarrierSettings/alcom_fi.pb
|
||||
product/etc/CarrierSettings/alestra_mx.pb
|
||||
product/etc/CarrierSettings/aliv_bs.pb
|
||||
product/etc/CarrierSettings/altice_us.pb
|
||||
product/etc/CarrierSettings/alticeroaming_us.pb
|
||||
product/etc/CarrierSettings/andorratelecom_ad.pb
|
||||
@@ -28,17 +25,13 @@ product/etc/CarrierSettings/asda_gb.pb
|
||||
product/etc/CarrierSettings/assurance_us.pb
|
||||
product/etc/CarrierSettings/astca_as.pb
|
||||
product/etc/CarrierSettings/astoundbroadband_us.pb
|
||||
product/etc/CarrierSettings/att4g_mx.pb
|
||||
product/etc/CarrierSettings/att5g_us.pb
|
||||
product/etc/CarrierSettings/att5gsa_us.pb
|
||||
product/etc/CarrierSettings/att_mx.pb
|
||||
product/etc/CarrierSettings/att_us.pb
|
||||
product/etc/CarrierSettings/attbootstrap_us.pb
|
||||
product/etc/CarrierSettings/attmvnos_mx.pb
|
||||
product/etc/CarrierSettings/attmvnos_us.pb
|
||||
product/etc/CarrierSettings/axis_id.pb
|
||||
product/etc/CarrierSettings/bait_mx.pb
|
||||
product/etc/CarrierSettings/bark_us.pb
|
||||
product/etc/CarrierSettings/base_be.pb
|
||||
product/etc/CarrierSettings/batelco_bh.pb
|
||||
product/etc/CarrierSettings/bell_ca.pb
|
||||
@@ -59,7 +52,6 @@ product/etc/CarrierSettings/celcom_my.pb
|
||||
product/etc/CarrierSettings/cellcom_il.pb
|
||||
product/etc/CarrierSettings/cellcom_us.pb
|
||||
product/etc/CarrierSettings/cellcommno_us.pb
|
||||
product/etc/CarrierSettings/cellfie_ge.pb
|
||||
product/etc/CarrierSettings/celluarone_us.pb
|
||||
product/etc/CarrierSettings/chatr_ca.pb
|
||||
product/etc/CarrierSettings/chinamobile_hk.pb
|
||||
@@ -109,7 +101,6 @@ product/etc/CarrierSettings/entel_cl.pb
|
||||
product/etc/CarrierSettings/epic_mt.pb
|
||||
product/etc/CarrierSettings/eplus_de.pb
|
||||
product/etc/CarrierSettings/erate_no.pb
|
||||
product/etc/CarrierSettings/esimgo_gb.pb
|
||||
product/etc/CarrierSettings/esn_gb.pb
|
||||
product/etc/CarrierSettings/etisalat_ae.pb
|
||||
product/etc/CarrierSettings/euskaltel_es.pb
|
||||
@@ -125,7 +116,6 @@ product/etc/CarrierSettings/firstnetpacific2_us.pb
|
||||
product/etc/CarrierSettings/firstnetpacific_us.pb
|
||||
product/etc/CarrierSettings/fizz_ca.pb
|
||||
product/etc/CarrierSettings/fl1_li.pb
|
||||
product/etc/CarrierSettings/fliggsmobile_us.pb
|
||||
product/etc/CarrierSettings/foroyatele_fo.pb
|
||||
product/etc/CarrierSettings/free_fr.pb
|
||||
product/etc/CarrierSettings/free_gp.pb
|
||||
@@ -140,12 +130,10 @@ product/etc/CarrierSettings/giga_sg.pb
|
||||
product/etc/CarrierSettings/globe_ph.pb
|
||||
product/etc/CarrierSettings/gomobile_mt.pb
|
||||
product/etc/CarrierSettings/grameenphone_bd.pb
|
||||
product/etc/CarrierSettings/gta_us.pb
|
||||
product/etc/CarrierSettings/guuk_es.pb
|
||||
product/etc/CarrierSettings/h3_at.pb
|
||||
product/etc/CarrierSettings/h3_gb.pb
|
||||
product/etc/CarrierSettings/h3_ie.pb
|
||||
product/etc/CarrierSettings/h3_lk.pb
|
||||
product/etc/CarrierSettings/h3_se.pb
|
||||
product/etc/CarrierSettings/h3g27202_ie.pb
|
||||
product/etc/CarrierSettings/halebop_se.pb
|
||||
@@ -153,7 +141,6 @@ product/etc/CarrierSettings/helium_us.pb
|
||||
product/etc/CarrierSettings/help_at.pb
|
||||
product/etc/CarrierSettings/homobile_it.pb
|
||||
product/etc/CarrierSettings/hotmobile_il.pb
|
||||
product/etc/CarrierSettings/humane_us.pb
|
||||
product/etc/CarrierSettings/ice_no.pb
|
||||
product/etc/CarrierSettings/idea_in.pb
|
||||
product/etc/CarrierSettings/idmobile_gb.pb
|
||||
@@ -161,12 +148,9 @@ product/etc/CarrierSettings/iliad_it.pb
|
||||
product/etc/CarrierSettings/indosat_id.pb
|
||||
product/etc/CarrierSettings/inland_us.pb
|
||||
product/etc/CarrierSettings/iwireless_us.pb
|
||||
product/etc/CarrierSettings/izziatt_mx.pb
|
||||
product/etc/CarrierSettings/jazz_pk.pb
|
||||
product/etc/CarrierSettings/jazztel_es.pb
|
||||
product/etc/CarrierSettings/jcommobile_jp.pb
|
||||
product/etc/CarrierSettings/joonto_us.pb
|
||||
product/etc/CarrierSettings/kajeetmvno_us.pb
|
||||
product/etc/CarrierSettings/kddi5gsa_jp.pb
|
||||
product/etc/CarrierSettings/kddi_jp.pb
|
||||
product/etc/CarrierSettings/kddimvno5gsa_jp.pb
|
||||
@@ -198,15 +182,12 @@ product/etc/CarrierSettings/manxprepaid_im.pb
|
||||
product/etc/CarrierSettings/masmovil_es.pb
|
||||
product/etc/CarrierSettings/maxis_my.pb
|
||||
product/etc/CarrierSettings/mediacom_us.pb
|
||||
product/etc/CarrierSettings/megamovil_mx.pb
|
||||
product/etc/CarrierSettings/melita_mt.pb
|
||||
product/etc/CarrierSettings/meo_pt.pb
|
||||
product/etc/CarrierSettings/metropcs_us.pb
|
||||
product/etc/CarrierSettings/mettel_us.pb
|
||||
product/etc/CarrierSettings/mobifone_vn.pb
|
||||
product/etc/CarrierSettings/mobily_sa.pb
|
||||
product/etc/CarrierSettings/monacotelecom_mc.pb
|
||||
product/etc/CarrierSettings/movistar_cl.pb
|
||||
product/etc/CarrierSettings/movistar_co.pb
|
||||
product/etc/CarrierSettings/movistar_es.pb
|
||||
product/etc/CarrierSettings/movistar_mx.pb
|
||||
@@ -214,14 +195,12 @@ product/etc/CarrierSettings/mucho_ch.pb
|
||||
product/etc/CarrierSettings/mvnoconnect_us.pb
|
||||
product/etc/CarrierSettings/nema_fo.pb
|
||||
product/etc/CarrierSettings/netcomgroup_fr.pb
|
||||
product/etc/CarrierSettings/newww_mx.pb
|
||||
product/etc/CarrierSettings/nexphone_ch.pb
|
||||
product/etc/CarrierSettings/nextech_us.pb
|
||||
product/etc/CarrierSettings/no_sim.pb
|
||||
product/etc/CarrierSettings/nos_pt.pb
|
||||
product/etc/CarrierSettings/nova_gr.pb
|
||||
product/etc/CarrierSettings/nova_is.pb
|
||||
product/etc/CarrierSettings/nymobile_us.pb
|
||||
product/etc/CarrierSettings/o2_cz.pb
|
||||
product/etc/CarrierSettings/o2_de.pb
|
||||
product/etc/CarrierSettings/o2_sk.pb
|
||||
@@ -246,7 +225,6 @@ product/etc/CarrierSettings/orange_re.pb
|
||||
product/etc/CarrierSettings/orange_ro.pb
|
||||
product/etc/CarrierSettings/orange_sk.pb
|
||||
product/etc/CarrierSettings/others.pb
|
||||
product/etc/CarrierSettings/oxio_us.pb
|
||||
product/etc/CarrierSettings/paradisemobile_bm.pb
|
||||
product/etc/CarrierSettings/partner_il.pb
|
||||
product/etc/CarrierSettings/pcmobilebell_ca.pb
|
||||
@@ -266,15 +244,11 @@ product/etc/CarrierSettings/qlink_us.pb
|
||||
product/etc/CarrierSettings/r_es.pb
|
||||
product/etc/CarrierSettings/racc_es.pb
|
||||
product/etc/CarrierSettings/rakuten_jp.pb
|
||||
product/etc/CarrierSettings/reach_us.pb
|
||||
product/etc/CarrierSettings/reallycommunications_us.pb
|
||||
product/etc/CarrierSettings/redpocketatt_us.pb
|
||||
product/etc/CarrierSettings/redpockettmo_us.pb
|
||||
product/etc/CarrierSettings/republicwireless_us.pb
|
||||
product/etc/CarrierSettings/rjio_in.pb
|
||||
product/etc/CarrierSettings/robi_bd.pb
|
||||
product/etc/CarrierSettings/roccstar_us.pb
|
||||
product/etc/CarrierSettings/rockisland_us.pb
|
||||
product/etc/CarrierSettings/rogers5g_ca.pb
|
||||
product/etc/CarrierSettings/rogers_ca.pb
|
||||
product/etc/CarrierSettings/rogerswpn_ca.pb
|
||||
@@ -292,11 +266,9 @@ product/etc/CarrierSettings/skinny_nz.pb
|
||||
product/etc/CarrierSettings/skt_kr.pb
|
||||
product/etc/CarrierSettings/sky_gb.pb
|
||||
product/etc/CarrierSettings/sky_ie.pb
|
||||
product/etc/CarrierSettings/sky_mx.pb
|
||||
product/etc/CarrierSettings/skylo_zz.pb
|
||||
product/etc/CarrierSettings/smart_ph.pb
|
||||
product/etc/CarrierSettings/smartfren_id.pb
|
||||
product/etc/CarrierSettings/smartless_us.pb
|
||||
product/etc/CarrierSettings/smartone_hk.pb
|
||||
product/etc/CarrierSettings/smarty_gb.pb
|
||||
product/etc/CarrierSettings/softbank_jp.pb
|
||||
@@ -390,14 +362,12 @@ product/etc/CarrierSettings/truphone_zz.pb
|
||||
product/etc/CarrierSettings/tstar_tw.pb
|
||||
product/etc/CarrierSettings/turkcell_tr.pb
|
||||
product/etc/CarrierSettings/turktelekom_tr.pb
|
||||
product/etc/CarrierSettings/tusass_gl.pb
|
||||
product/etc/CarrierSettings/twm_tw.pb
|
||||
product/etc/CarrierSettings/u264a_ca.pb
|
||||
product/etc/CarrierSettings/u264a_us.pb
|
||||
product/etc/CarrierSettings/u264ab_ca.pb
|
||||
product/etc/CarrierSettings/u264ao_at.pb
|
||||
product/etc/CarrierSettings/u264ap_at.pb
|
||||
product/etc/CarrierSettings/ubixatt_mx.pb
|
||||
product/etc/CarrierSettings/ultra_us.pb
|
||||
product/etc/CarrierSettings/umobile_my.pb
|
||||
product/etc/CarrierSettings/unifi_my.pb
|
||||
@@ -407,10 +377,8 @@ product/etc/CarrierSettings/uqmobile5gsa_jp.pb
|
||||
product/etc/CarrierSettings/uqmobile_jp.pb
|
||||
product/etc/CarrierSettings/uscc_us.pb
|
||||
product/etc/CarrierSettings/verizon_us.pb
|
||||
product/etc/CarrierSettings/verizononsitelte_us.pb
|
||||
product/etc/CarrierSettings/verymobile_it.pb
|
||||
product/etc/CarrierSettings/viaero_us.pb
|
||||
product/etc/CarrierSettings/vianova_it.pb
|
||||
product/etc/CarrierSettings/videotron_ca.pb
|
||||
product/etc/CarrierSettings/viettel_vn.pb
|
||||
product/etc/CarrierSettings/vimla_se.pb
|
||||
@@ -444,9 +412,7 @@ product/etc/CarrierSettings/vodafone_ro.pb
|
||||
product/etc/CarrierSettings/vodafone_tr.pb
|
||||
product/etc/CarrierSettings/walmart_mx.pb
|
||||
product/etc/CarrierSettings/webbing_hk.pb
|
||||
product/etc/CarrierSettings/wim_mx.pb
|
||||
product/etc/CarrierSettings/windtre_it.pb
|
||||
product/etc/CarrierSettings/wom_cl.pb
|
||||
product/etc/CarrierSettings/xfinity2_us.pb
|
||||
product/etc/CarrierSettings/xfinity_us.pb
|
||||
product/etc/CarrierSettings/xfinitymso_us.pb
|
||||
@@ -455,7 +421,6 @@ product/etc/CarrierSettings/yesss_at.pb
|
||||
product/etc/CarrierSettings/yettel_bg.pb
|
||||
product/etc/CarrierSettings/yettel_hu.pb
|
||||
product/etc/CarrierSettings/yoigo_es.pb
|
||||
product/etc/CarrierSettings/yomobile_mx.pb
|
||||
product/etc/CarrierSettings/zain_bh.pb
|
||||
product/etc/CarrierSettings/zain_kw.pb
|
||||
product/etc/CarrierSettings/zain_sa.pb
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,9 +3,9 @@
|
||||
# product partition
|
||||
|
||||
# AiAi
|
||||
product/priv-app/AICorePrebuilt-aicore_20250130.00_RC01/AICorePrebuilt-aicore_20250130.00_RC01.apk;PRESIGNED
|
||||
product/priv-app/DeviceIntelligenceNetworkPrebuilt-astrea_20240329.00_RC02/DeviceIntelligenceNetworkPrebuilt-astrea_20240329.00_RC02.apk;PRESIGNED
|
||||
product/priv-app/DevicePersonalizationPrebuiltPixel2023-bfinal_aiai_20250217.00_RC08/DevicePersonalizationPrebuiltPixel2023-bfinal_aiai_20250217.00_RC08.apk;PRESIGNED
|
||||
product/priv-app/AICorePrebuilt/AICorePrebuilt.apk;PRESIGNED
|
||||
product/priv-app/DeviceIntelligenceNetworkPrebuilt-U.32_V.7_playstore_astrea_20240725.00_RC01/DeviceIntelligenceNetworkPrebuilt-U.32_V.7_playstore_astrea_20240725.00_RC01.apk;PRESIGNED
|
||||
product/priv-app/DevicePersonalizationPrebuiltPixel2023-U.32_V.7_playstore_aiai_20240725.00_RC08/DevicePersonalizationPrebuiltPixel2023-U.32_V.7_playstore_aiai_20240725.00_RC08.apk;PRESIGNED
|
||||
|
||||
# Audio
|
||||
product/etc/ambient/matcher_tah.leveldb
|
||||
@@ -68,7 +68,7 @@ product/etc/permissions/com.android.sdm.plugins.dcmo.xml
|
||||
product/etc/permissions/com.android.sdm.plugins.diagmon.xml
|
||||
product/lib64/libdmengine.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmengine.so
|
||||
product/lib64/libdmjavaplugin.so;SYMLINK=product/priv-app/DMService/lib/arm64/libdmjavaplugin.so
|
||||
product/priv-app/CarrierSettings_signed_53.0.733201674/CarrierSettings_signed_53.0.733201674.apk;PRESIGNED
|
||||
product/priv-app/CarrierSettings_signed_51.0.707712815/CarrierSettings_signed_51.0.707712815.apk;PRESIGNED
|
||||
product/priv-app/CarrierWifi/CarrierWifi.apk;PRESIGNED
|
||||
product/priv-app/ConnMO/ConnMO.apk
|
||||
product/priv-app/DCMO/DCMO.apk
|
||||
@@ -89,6 +89,11 @@ product/priv-app/AppDirectedSMSService/AppDirectedSMSService.apk;PRESIGNED
|
||||
product/priv-app/OemDmTrigger/OemDmTrigger.apk
|
||||
product/priv-app/WfcActivation/WfcActivation.apk;PRESIGNED
|
||||
|
||||
# system partition
|
||||
|
||||
# IMS
|
||||
system/bin/oem-iptables-init.sh
|
||||
|
||||
# system_ext partition
|
||||
|
||||
# Audio
|
||||
@@ -134,7 +139,7 @@ system_ext/etc/permissions/com.shannon.rcsservice.xml
|
||||
system_ext/lib64/libmediaadaptor.so
|
||||
system_ext/lib64/libpixelimsmedia.so
|
||||
system_ext/lib64/vendor.google.whitechapel.audio.audioext@4.0.so
|
||||
system_ext/lib64/vendor.google.whitechapel.audio.extension-V5-ndk.so
|
||||
system_ext/lib64/vendor.google.whitechapel.audio.extension-V4-ndk.so
|
||||
system_ext/priv-app/PixelImsMediaService/PixelImsMediaService.apk
|
||||
system_ext/priv-app/PixelQualifiedNetworksService/PixelQualifiedNetworksService.apk
|
||||
system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
|
||||
|
||||
@@ -40,8 +40,8 @@ bin/du
|
||||
bin/dump.f2fs
|
||||
bin/dump/dump_aoc
|
||||
bin/dump/dump_devfreq
|
||||
bin/dump/dump_display
|
||||
bin/dump/dump_display_logbuffer
|
||||
bin/dump/dump_exynos_display
|
||||
bin/dump/dump_fingerprint
|
||||
bin/dump/dump_modem
|
||||
bin/dump/dump_modemlog
|
||||
@@ -93,11 +93,15 @@ bin/gzip
|
||||
bin/head
|
||||
bin/hostname
|
||||
bin/hw/android.hardware.boot-service.default-pixel
|
||||
bin/hw/android.hardware.composer.hwc3-service.pixel
|
||||
bin/hw/android.hardware.drm-service.clearkey
|
||||
bin/hw/android.hardware.dumpstate-service
|
||||
bin/hw/android.hardware.gatekeeper-service.trusty
|
||||
bin/hw/android.hardware.gnss-service
|
||||
bin/hw/android.hardware.graphics.allocator-V2-service
|
||||
bin/hw/android.hardware.health-service.zuma
|
||||
bin/hw/android.hardware.health.storage-service.default
|
||||
bin/hw/android.hardware.memtrack-service.pixel
|
||||
bin/hw/android.hardware.nfc-service.st
|
||||
bin/hw/android.hardware.power-service.pixel-libperfmgr
|
||||
bin/hw/android.hardware.power.stats-service.pixel
|
||||
@@ -110,6 +114,7 @@ bin/hw/android.hardware.usb-service
|
||||
bin/hw/android.hardware.usb.gadget-service
|
||||
bin/hw/android.hardware.wifi-service
|
||||
bin/hw/disable_contaminant_detection.sh
|
||||
bin/hw/gnssd
|
||||
bin/hw/hostapd
|
||||
bin/hw/wpa_supplicant
|
||||
bin/hwclock
|
||||
@@ -170,6 +175,7 @@ bin/paste
|
||||
bin/patch
|
||||
bin/pgrep
|
||||
bin/pidof
|
||||
bin/pixelstats-vendor
|
||||
bin/pkill
|
||||
bin/pmap
|
||||
bin/predump_touch.sh
|
||||
@@ -264,10 +270,6 @@ boot_otas/boot_ota_16k.zip
|
||||
boot_otas/boot_ota_4k.zip
|
||||
build.prop
|
||||
etc/NOTICE.xml.gz
|
||||
etc/aconfig/flag.info
|
||||
etc/aconfig/flag.map
|
||||
etc/aconfig/flag.val
|
||||
etc/aconfig/package.map
|
||||
etc/aconfig_flags.pb
|
||||
etc/aidl/le_audio/aidl_audio_set_configurations.json
|
||||
etc/aidl/le_audio/aidl_audio_set_scenarios.json
|
||||
@@ -304,6 +306,7 @@ etc/bpf/filterPowerSupplyEvents.o
|
||||
etc/build_flags.json
|
||||
etc/default_volume_tables.xml
|
||||
etc/display_colordata_cal0.pb
|
||||
etc/display_colordata_cal2.pb
|
||||
etc/display_colordata_dev_cal0.pb
|
||||
etc/display_golden_external_display_cal2.pb
|
||||
etc/display_golden_google-ak3b_cal0.pb
|
||||
@@ -333,6 +336,7 @@ etc/init/android.hardware.boot-service.default-pixel.rc
|
||||
etc/init/android.hardware.drm-service.clearkey.rc
|
||||
etc/init/android.hardware.dumpstate-service.rc
|
||||
etc/init/android.hardware.gatekeeper-service.trusty.rc
|
||||
etc/init/android.hardware.graphics.allocator2-aidl-service.rc
|
||||
etc/init/android.hardware.health-service.zuma.rc
|
||||
etc/init/android.hardware.power-service.pixel-libperfmgr.rc
|
||||
etc/init/android.hardware.power.stats-service.pixel.rc
|
||||
@@ -355,10 +359,12 @@ etc/init/hw/init.akita.rc
|
||||
etc/init/hw/init.zuma.rc
|
||||
etc/init/hw/init.zuma.storage.rc
|
||||
etc/init/hw/init.zuma.usb.rc
|
||||
etc/init/hwc3-pixel.rc
|
||||
etc/init/init.aoc.rc
|
||||
etc/init/init.display_logbuffer.rc
|
||||
etc/init/init.efs.rc
|
||||
etc/init/init.fingerprint.dump.rc
|
||||
etc/init/init.gnss.rc
|
||||
etc/init/init.module.rc
|
||||
etc/init/init.persist.rc
|
||||
etc/init/init.pixel-mm-gs.rc
|
||||
@@ -371,9 +377,11 @@ etc/init/init.touch.predump.rc
|
||||
etc/init/libg3a_gabc.rc
|
||||
etc/init/libg3a_gaf.rc
|
||||
etc/init/libg3a_ghawb.rc
|
||||
etc/init/memtrack.rc
|
||||
etc/init/nfc-service-default.rc
|
||||
etc/init/pixel-mm-gki.rc
|
||||
etc/init/pixel-thermal-symlinks.rc
|
||||
etc/init/pixelstats-vendor.zuma.rc
|
||||
etc/init/rebalance_interrupts-vendor.gs101.rc
|
||||
etc/init/vndservicemanager.rc
|
||||
etc/le_audio_codec_capabilities.xml
|
||||
@@ -414,8 +422,9 @@ etc/permissions/android.hardware.camera.full.xml
|
||||
etc/permissions/android.hardware.camera.raw.xml
|
||||
etc/permissions/android.hardware.context_hub.xml
|
||||
etc/permissions/android.hardware.device_unique_attestation.xml
|
||||
etc/permissions/android.hardware.hardware_keystore.xml
|
||||
etc/permissions/android.hardware.hardware_keystore_V3.xml
|
||||
etc/permissions/android.hardware.keystore.app_attest_key.xml
|
||||
etc/permissions/android.hardware.location.gps.prebuilt.xml
|
||||
etc/permissions/android.hardware.nfc.ese.xml
|
||||
etc/permissions/android.hardware.nfc.hce.xml
|
||||
etc/permissions/android.hardware.nfc.hcef.xml
|
||||
@@ -483,7 +492,6 @@ etc/selinux/vendor_property_contexts
|
||||
etc/selinux/vendor_seapp_contexts
|
||||
etc/selinux/vendor_sepolicy.cil
|
||||
etc/selinux/vendor_service_contexts
|
||||
etc/selinux/vendor_tee_service_contexts
|
||||
etc/selinux/vndservice_contexts
|
||||
etc/spatializer/base
|
||||
etc/spatializer/mode_2_ch
|
||||
@@ -501,6 +509,7 @@ etc/vintf/manifest.xml
|
||||
etc/vintf/manifest/android.hardware.drm-service.clearkey.xml
|
||||
etc/vintf/manifest/android.hardware.dumpstate-service.xml
|
||||
etc/vintf/manifest/android.hardware.gatekeeper-service.trusty.xml
|
||||
etc/vintf/manifest/android.hardware.gnss@default.xml
|
||||
etc/vintf/manifest/android.hardware.health-service.zuma.xml
|
||||
etc/vintf/manifest/android.hardware.power-service.pixel.xml
|
||||
etc/vintf/manifest/android.hardware.power.stats-service.pixel.xml
|
||||
@@ -515,7 +524,12 @@ etc/vintf/manifest/android.hardware.wifi-service.xml
|
||||
etc/vintf/manifest/android.hardware.wifi.hostapd.xml
|
||||
etc/vintf/manifest/android.hardware.wifi.supplicant.xml
|
||||
etc/vintf/manifest/health-storage-default.xml
|
||||
etc/vintf/manifest/hwc3-default.xml
|
||||
etc/vintf/manifest/manifest.xml
|
||||
etc/vintf/manifest/manifest_gralloc_aidl2.xml
|
||||
etc/vintf/manifest/memtrack.xml
|
||||
etc/vintf/manifest/nfc-service-default.xml
|
||||
etc/vintf/manifest/pixel-display-default.xml
|
||||
etc/waves_config.ini
|
||||
etc/waves_preset.mps
|
||||
etc/wifi/coex_table.xml
|
||||
@@ -539,6 +553,7 @@ firmware/fast_switch3.txt
|
||||
firmware/fast_switch3.txt.txt
|
||||
firmware/fast_switch4.txt
|
||||
firmware/fast_switch4.txt.txt
|
||||
firmware/kepler.bin
|
||||
lib/modules/acpm_mbox_test.ko
|
||||
lib/modules/aoc_alsa_dev.ko
|
||||
lib/modules/aoc_channel_dev.ko
|
||||
@@ -595,6 +610,8 @@ lib/modules/sscoredump_test.ko
|
||||
lib/modules/st33spi.ko
|
||||
lib/modules/stmvl53l1.ko
|
||||
lib/modules/vh_preemptirq_long.ko
|
||||
lib64/android.frameworks.sensorservice-V1-ndk.so
|
||||
lib64/android.frameworks.sensorservice@1.0.so
|
||||
lib64/android.frameworks.stats-V1-ndk.so
|
||||
lib64/android.frameworks.stats-V2-ndk.so
|
||||
lib64/android.hardware.audio.common-V4-ndk.so
|
||||
@@ -608,10 +625,32 @@ lib64/android.hardware.drm-V1-ndk.so
|
||||
lib64/android.hardware.drm.common-V1-ndk.so
|
||||
lib64/android.hardware.dumpstate-V1-ndk.so
|
||||
lib64/android.hardware.gatekeeper-V1-ndk.so
|
||||
lib64/android.hardware.gnss-V3-ndk.so
|
||||
lib64/android.hardware.graphics.allocator-V2-ndk.so
|
||||
lib64/android.hardware.graphics.allocator@2.0.so
|
||||
lib64/android.hardware.graphics.allocator@3.0.so
|
||||
lib64/android.hardware.graphics.allocator@4.0.so
|
||||
lib64/android.hardware.graphics.common-V6-ndk.so
|
||||
lib64/android.hardware.graphics.common@1.0.so
|
||||
lib64/android.hardware.graphics.common@1.1.so
|
||||
lib64/android.hardware.graphics.common@1.2.so
|
||||
lib64/android.hardware.graphics.composer3-V4-ndk.so
|
||||
lib64/android.hardware.graphics.composer@2.1-resources.so
|
||||
lib64/android.hardware.graphics.composer@2.1.so
|
||||
lib64/android.hardware.graphics.composer@2.2-resources.so
|
||||
lib64/android.hardware.graphics.composer@2.2.so
|
||||
lib64/android.hardware.graphics.composer@2.3.so
|
||||
lib64/android.hardware.graphics.composer@2.4.so
|
||||
lib64/android.hardware.graphics.mapper@2.0.so
|
||||
lib64/android.hardware.graphics.mapper@2.1.so
|
||||
lib64/android.hardware.graphics.mapper@3.0.so
|
||||
lib64/android.hardware.graphics.mapper@4.0.so
|
||||
lib64/android.hardware.health-V4-ndk.so
|
||||
lib64/android.hardware.health.storage-V1-ndk.so
|
||||
lib64/android.hardware.memtrack-V1-ndk.so
|
||||
lib64/android.hardware.nfc-V1-ndk.so
|
||||
lib64/android.hardware.power-V1-ndk.so
|
||||
lib64/android.hardware.power-V2-ndk.so
|
||||
lib64/android.hardware.power-V6-ndk.so
|
||||
lib64/android.hardware.power.stats-V2-ndk.so
|
||||
lib64/android.hardware.power.stats-impl.gs-common.so
|
||||
@@ -645,15 +684,21 @@ lib64/android.media.audio.common.types-V4-ndk.so
|
||||
lib64/android.media.audio.eraser.types-V1-ndk.so
|
||||
lib64/android.system.keystore2-V1-ndk.so
|
||||
lib64/android.system.suspend-V1-ndk.so
|
||||
lib64/arm.graphics-V1-ndk.so
|
||||
lib64/com.google.hardware.pixel.display-V13-ndk.so
|
||||
lib64/hw/android.hardware.graphics.allocator-aidl-impl.so
|
||||
lib64/hw/android.hidl.memory@1.0-impl.so
|
||||
lib64/hw/audio.primary.default.so
|
||||
lib64/hw/gralloc.default.so
|
||||
lib64/hw/local_time.default.so
|
||||
lib64/hw/mapper.pixel.so
|
||||
lib64/hw/power.default.so
|
||||
lib64/hw/vibrator.default.so
|
||||
lib64/libExynosHWCService.so
|
||||
lib64/libOpenCL.so
|
||||
lib64/libaconfig_storage_read_api_cc.so
|
||||
lib64/libaho_corasick.dylib.so
|
||||
lib64/libacryl.so
|
||||
lib64/libacryl_hdr_plugin.so
|
||||
lib64/libandroid_log_sys.dylib.so
|
||||
lib64/libandroid_logger.dylib.so
|
||||
lib64/libaudio_aidl_conversion_common_ndk.so
|
||||
@@ -665,41 +710,48 @@ lib64/libbinderdebug.so
|
||||
lib64/libc++.so
|
||||
lib64/libcfg_if.dylib.so
|
||||
lib64/libcrypto.so
|
||||
lib64/libcurl.so
|
||||
lib64/libcutils.so
|
||||
lib64/libdisppower-pixel.so
|
||||
lib64/libdmabufheap.so
|
||||
lib64/libdrm.so
|
||||
lib64/libdrmresource.so
|
||||
lib64/libdump.so
|
||||
lib64/libdumpstateutil.so
|
||||
lib64/libeffects.so
|
||||
lib64/libeffectsconfig.so
|
||||
lib64/libenv_filter.dylib.so
|
||||
lib64/libenv_logger.dylib.so
|
||||
lib64/libext2_uuid.so
|
||||
lib64/libexynosdisplay.so
|
||||
lib64/libfmq.so
|
||||
lib64/libgatekeeper.so
|
||||
lib64/libgralloctypes.so
|
||||
lib64/libhardware.so
|
||||
lib64/libhardware_legacy.so
|
||||
lib64/libhidlbase.so
|
||||
lib64/libhwjpeg.so
|
||||
lib64/libion_google.so
|
||||
lib64/libjsoncpp.so
|
||||
lib64/libkeystore-engine-wifi-hidl.so
|
||||
lib64/liblibloading.dylib.so
|
||||
lib64/liblog_rust.dylib.so
|
||||
lib64/libmedia_helper.so
|
||||
lib64/libmemchr.dylib.so
|
||||
lib64/libmemtrack-pixel.so
|
||||
lib64/libnl.so
|
||||
lib64/libonce_cell.dylib.so
|
||||
lib64/libperfmgr.so
|
||||
lib64/libpixelatoms_defs.so
|
||||
lib64/libpixelhealth.so
|
||||
lib64/libpixelstats.so
|
||||
lib64/libpng.so
|
||||
lib64/libpower.so
|
||||
lib64/libprocessgroup.so
|
||||
lib64/libprotobuf-cpp-full-21.12.so
|
||||
lib64/libprotobuf-cpp-lite-21.12.so
|
||||
lib64/libreference-ril.so
|
||||
lib64/libregex.dylib.so
|
||||
lib64/libregex_syntax.dylib.so
|
||||
lib64/libril.so
|
||||
lib64/librilutils.so
|
||||
lib64/libsensorndkbridge.so
|
||||
lib64/libsparse.so
|
||||
lib64/libspeexresampler.so
|
||||
lib64/libssl.so
|
||||
@@ -707,7 +759,9 @@ lib64/libstagefright_foundation.so
|
||||
lib64/libstd.dylib.so
|
||||
lib64/libtinyxml2.so
|
||||
lib64/libtrusty.so
|
||||
lib64/libui.so
|
||||
lib64/libutils.so
|
||||
lib64/libvendorgraphicbuffer.so
|
||||
lib64/libvibratorutils.so
|
||||
lib64/libwifi-hal.so
|
||||
lib64/libwifi-system-iface.so
|
||||
@@ -853,8 +907,13 @@ lib64/libcodec2.so
|
||||
lib64/libcodec2_aidl.so
|
||||
lib64/libcodec2_hal_common.so
|
||||
lib64/libcodec2_hidl@1.0.so
|
||||
lib64/libcodec2_hidl@1.1.so
|
||||
lib64/libcodec2_hidl@1.2.so
|
||||
lib64/libcodec2_hidl_plugin.so
|
||||
lib64/libcodec2_soft_common.so
|
||||
lib64/libcodec2_vndk.so
|
||||
lib64/libexynosutils.so
|
||||
lib64/libexynosv4l2.so
|
||||
lib64/libmedia_ecoservice.so
|
||||
lib64/libmedia_omx.so
|
||||
lib64/libminijail.so
|
||||
@@ -862,9 +921,16 @@ lib64/libsfplugin_ccodec_utils.so
|
||||
lib64/libstagefright_aidl_bufferpool2.so
|
||||
lib64/libstagefright_bufferpool@2.0.1.so
|
||||
lib64/libstagefright_bufferqueue_helper.so
|
||||
lib64/libstagefright_omx.so
|
||||
lib64/libstagefright_omx_utils.so
|
||||
lib64/libstagefright_xmlparser.so
|
||||
|
||||
# Confirmation UI
|
||||
lib64/android.hardware.confirmationui-V1-ndk.so
|
||||
lib64/android.hardware.confirmationui-lib.trusty.so
|
||||
lib64/android.hardware.confirmationui@1.0.so
|
||||
lib64/libteeui_hal_support.so
|
||||
|
||||
# Contexthub
|
||||
lib64/android.hardware.contexthub-V3-ndk.so
|
||||
lib64/android.hardware.contexthub-V4-ndk.so
|
||||
@@ -873,32 +939,34 @@ lib64/chremetrics-cpp.so
|
||||
|
||||
# Experiments
|
||||
bin/pixel-experiments-recovery.sh
|
||||
etc/init/pixel-apf-experiment.rc
|
||||
etc/init/pixel-experiments-recovery.rc
|
||||
etc/init/pixel-kswapd-experiment.rc
|
||||
|
||||
# GPS
|
||||
etc/permissions/android.hardware.location.gps.prebuilt.xml
|
||||
lib64/android.hardware.gnss.measurement_corrections@1.0.so
|
||||
lib64/android.hardware.gnss.measurement_corrections@1.1.so
|
||||
lib64/android.hardware.gnss.visibility_control@1.0.so
|
||||
lib64/android.hardware.gnss-V3-ndk.so
|
||||
lib64/android.hardware.gnss@1.0.so
|
||||
lib64/android.hardware.gnss@1.1.so
|
||||
lib64/android.hardware.gnss@2.0.so
|
||||
lib64/android.hardware.gnss@2.1.so
|
||||
lib64/liblzma.so
|
||||
lib64/libunwindstack.so
|
||||
|
||||
# HIDL
|
||||
lib64/libhidltransport.so
|
||||
lib64/libhwbinder.so
|
||||
|
||||
# Identity credential
|
||||
lib64/libpuresoftkeymasterdevice.so
|
||||
lib64/libsoft_attestation_cert.so
|
||||
|
||||
# Json
|
||||
lib64/libjson.so
|
||||
|
||||
# Nos
|
||||
lib64/android.hardware.security.keymint-V3-ndk.so
|
||||
lib64/lib_android_keymaster_keymint_utils.so
|
||||
lib64/libcppbor.so
|
||||
lib64/libcppcose_rkp.so
|
||||
lib64/libkeymaster_messages.so
|
||||
lib64/libkeymaster_portable.so
|
||||
lib64/libkeymint.so
|
||||
lib64/libkeymint_support.so
|
||||
lib64/libkeymint_support_V3.so
|
||||
lib64/libnos.so
|
||||
lib64/libnos_client_citadel.so
|
||||
@@ -925,54 +993,40 @@ etc/init/android.hardware.security.secretkeeper.trusty.rc
|
||||
etc/vintf/manifest/android.hardware.security.secretkeeper.trusty.xml
|
||||
|
||||
# Sensors
|
||||
lib64/android.frameworks.sensorservice-V1-ndk.so
|
||||
lib64/android.frameworks.sensorservice@1.0.so
|
||||
lib64/hw/sensors.dynamic_sensor_hal.so
|
||||
lib64/libhidparser.so
|
||||
lib64/libsensorndkbridge.so
|
||||
|
||||
# Trusty
|
||||
lib64/android.trusty.stats.nw.setter-cpp.so
|
||||
lib64/libbinder_trusty.so
|
||||
lib64/libtrusty_metrics.so
|
||||
|
||||
# Misc interfaces
|
||||
lib64/android.frameworks.stats-V1-cpp.so
|
||||
lib64/android.hardware.authsecret-V1-ndk.so
|
||||
lib64/android.hardware.biometrics.common-V3-ndk.so
|
||||
lib64/android.hardware.biometrics.fingerprint-V3-ndk.so
|
||||
lib64/android.hardware.graphics.allocator-V2-ndk.so
|
||||
lib64/android.hardware.graphics.allocator@2.0.so
|
||||
lib64/android.hardware.graphics.allocator@3.0.so
|
||||
lib64/android.hardware.graphics.allocator@4.0.so
|
||||
lib64/android.hardware.gnss.measurement_corrections@1.0.so
|
||||
lib64/android.hardware.gnss.measurement_corrections@1.1.so
|
||||
lib64/android.hardware.gnss.visibility_control@1.0.so
|
||||
lib64/android.hardware.gnss@1.0.so
|
||||
lib64/android.hardware.gnss@1.1.so
|
||||
lib64/android.hardware.gnss@2.0.so
|
||||
lib64/android.hardware.gnss@2.1.so
|
||||
lib64/android.hardware.graphics.bufferqueue@1.0.so
|
||||
lib64/android.hardware.graphics.bufferqueue@2.0.so
|
||||
lib64/android.hardware.graphics.common-V6-ndk.so
|
||||
lib64/android.hardware.graphics.common@1.0.so
|
||||
lib64/android.hardware.graphics.common@1.1.so
|
||||
lib64/android.hardware.graphics.common@1.2.so
|
||||
lib64/android.hardware.graphics.composer3-V4-ndk.so
|
||||
lib64/android.hardware.graphics.composer@2.1-resources.so
|
||||
lib64/android.hardware.graphics.composer@2.1.so
|
||||
lib64/android.hardware.graphics.composer@2.2-resources.so
|
||||
lib64/android.hardware.graphics.composer@2.2.so
|
||||
lib64/android.hardware.graphics.composer@2.3.so
|
||||
lib64/android.hardware.graphics.composer@2.4.so
|
||||
lib64/android.hardware.graphics.mapper@2.0.so
|
||||
lib64/android.hardware.graphics.mapper@2.1.so
|
||||
lib64/android.hardware.graphics.mapper@3.0.so
|
||||
lib64/android.hardware.graphics.mapper@4.0.so
|
||||
lib64/android.hardware.health-V1-ndk.so
|
||||
lib64/android.hardware.input.common-V1-ndk.so
|
||||
lib64/android.hardware.input.processor-V1-ndk.so
|
||||
lib64/android.hardware.keymaster-V4-ndk.so
|
||||
lib64/android.hardware.memtrack-V1-ndk.so
|
||||
lib64/android.hardware.keymaster@3.0.so
|
||||
lib64/android.hardware.keymaster@4.0.so
|
||||
lib64/android.hardware.neuralnetworks-V4-ndk.so
|
||||
lib64/android.hardware.neuralnetworks@1.0.so
|
||||
lib64/android.hardware.neuralnetworks@1.1.so
|
||||
lib64/android.hardware.neuralnetworks@1.2.so
|
||||
lib64/android.hardware.neuralnetworks@1.3.so
|
||||
lib64/android.hardware.oemlock-V1-ndk.so
|
||||
lib64/android.hardware.power-V2-ndk.so
|
||||
lib64/android.hardware.power@1.0.so
|
||||
lib64/android.hardware.power@1.1.so
|
||||
lib64/android.hardware.power@1.2.so
|
||||
@@ -1004,17 +1058,12 @@ lib64/android.hidl.token@1.0-utils.so
|
||||
lib64/android.hidl.token@1.0.so
|
||||
lib64/com.google.hardware.pixel.display-V4-ndk.so
|
||||
lib64/com.google.hardware.pixel.display-V9-ndk.so
|
||||
lib64/com.google.hardware.pixel.display-V15-ndk.so
|
||||
lib64/hardware.google.ril_ext-V1-ndk.so
|
||||
|
||||
# Misc
|
||||
bin/dump/dump_gsc.sh
|
||||
lib64/libcurl.so
|
||||
lib64/libdrm.so
|
||||
lib64/libevent.so
|
||||
lib64/libgralloctypes.so
|
||||
lib64/libion.so
|
||||
lib64/libui.so
|
||||
|
||||
# Odex
|
||||
framework/oat/arm64/com.google.android.camera.experimental2023.odex
|
||||
@@ -1022,10 +1071,5 @@ framework/oat/arm64/com.google.android.camera.experimental2023.vdex
|
||||
|
||||
# Completely skip files that are not required
|
||||
|
||||
# Flood control
|
||||
bin/flood.control.hal
|
||||
etc/init/init.flood.control.rc
|
||||
etc/vintf/manifest/flood_control.xml
|
||||
|
||||
# Google
|
||||
etc/default-permissions/default-permissions_talkback.xml
|
||||
|
||||
20
akita_generic.mk
Normal file
20
akita_generic.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
#
|
||||
# Copyright 2024 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.
|
||||
#
|
||||
|
||||
$(call inherit-product, device/google/akita/device-akita.mk)
|
||||
|
||||
# preloaded_nanoapps.json
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google_contexthub/devices/p23_common
|
||||
@@ -20,10 +20,13 @@ USE_SWIFTSHADER := true
|
||||
BOARD_USES_SWIFTSHADER := true
|
||||
|
||||
$(call inherit-product, device/google/zuma/aosp_common.mk)
|
||||
$(call inherit-product, device/google/akita/device-akita.mk)
|
||||
$(call inherit-product, device/google/akita/akita_generic.mk)
|
||||
|
||||
PRODUCT_NAME := aosp_akita
|
||||
PRODUCT_DEVICE := akita
|
||||
PRODUCT_MODEL := AOSP on akita
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_MANUFACTURER := Google
|
||||
|
||||
DEVICE_MANIFEST_FILE := \
|
||||
device/google/akita/manifest.xml
|
||||
|
||||
8
aosp_akita_16k.mk
Normal file
8
aosp_akita_16k.mk
Normal file
@@ -0,0 +1,8 @@
|
||||
$(call inherit-product, device/google/akita/aosp_akita.mk)
|
||||
|
||||
PRODUCT_NAME := aosp_akita_16k
|
||||
|
||||
TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
TARGET_RW_FILE_SYSTEM_TYPE := ext4
|
||||
TARGET_BOOTS_16K := true
|
||||
|
||||
4
aosp_akita_fullmte.mk
Normal file
4
aosp_akita_fullmte.mk
Normal file
@@ -0,0 +1,4 @@
|
||||
include device/google/gs-common/mte/fullmte-pixel.mk
|
||||
$(call inherit-product, device/google/akita/aosp_akita.mk)
|
||||
|
||||
PRODUCT_NAME := aosp_akita_fullmte
|
||||
@@ -68,9 +68,6 @@
|
||||
<argument name="MCPS_TABLE" value="y" />
|
||||
</tuner>
|
||||
<tuner type="capture" name="gs_capture" />
|
||||
<tuner name="gsenet">
|
||||
<argument name="microphones" value="2" />
|
||||
</tuner>
|
||||
</tuners>
|
||||
|
||||
<latencies>
|
||||
|
||||
@@ -16,9 +16,33 @@
|
||||
|
||||
AUDIO_TABLE_FOLDER := akita
|
||||
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
PRODUCT_SOONG_NAMESPACES += device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
|
||||
PRODUCT_PACKAGES += audio_aidl_configs
|
||||
|
||||
else
|
||||
# Platform Configuration for AudioHAL / SoundTriggerHAL
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_bluetooth_legacy_hal.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_bluetooth_legacy_hal.xml \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_platform_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_configuration.xml \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/sound_trigger_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_configuration.xml \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_policy_configuration_le_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_le_offload_disabled.xml \
|
||||
frameworks/av/services/audiopolicy/config/bluetooth_with_le_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml
|
||||
|
||||
endif
|
||||
|
||||
# AudioEffectHAL Configuration
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml
|
||||
|
||||
# Mixer Path Configuration for AudioHAL
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/config/mixer_paths_ti.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_ti.xml
|
||||
|
||||
# Speaker firmware files
|
||||
SPK_FIRMWARE_PATH := $(AUDIO_TABLE_FOLDER)/cs35l41/fw
|
||||
SPK_FIRMWARE_FULL_PATH := device/google/akita/audio/$(SPK_FIRMWARE_PATH)
|
||||
@@ -37,9 +61,35 @@ PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/waves_config.ini \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/waves_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/waves_preset.mps
|
||||
|
||||
# userdebug specific
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/BLUETOOTH.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/BLUETOOTH.mods \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSFREE.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSFREE.mods \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HANDSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HANDSET.mods \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/fortemedia/HEADSET.mods:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/HEADSET.mods
|
||||
|
||||
#Bluenote files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/template.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/template.xml \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/bluenote/tuning_constraints_combination.xml:$(TARGET_COPY_OUT_VENDOR)/etc/aoc/tuning_constraints_combination.xml
|
||||
|
||||
# Mixer Path Configuration for Audio Speaker Calibration Tool crus_sp_cal
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/cs35l41/crus_sp_cal_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/crus_sp_cal_mixer_paths.xml
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_config.ini:$(TARGET_COPY_OUT_VENDOR)/etc/test_config.ini \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/waves/tests/test_preset.mps:$(TARGET_COPY_OUT_VENDOR)/etc/test_preset.mps
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
# Offload spatializer config
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/base:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/base \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_2_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_2_ch \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_6_ch:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_6_ch \
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_xaural:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_xaural
|
||||
device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/tuning/spatializer/mode_xaural:$(TARGET_COPY_OUT_VENDOR)/etc/spatializer/mode_xaural \
|
||||
|
||||
endif
|
||||
|
||||
66
audio/akita/config/audio_effects.xml
Normal file
66
audio/akita/config/audio_effects.xml
Normal file
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<audio_effects_conf version="2.0" xmlns="http://schemas.android.com/audio/audio_effects_conf/v2_0">
|
||||
<libraries>
|
||||
<library name="bundle" path="libbundlewrapper.so"/>
|
||||
<library name="reverb" path="libreverbwrapper.so"/>
|
||||
<library name="visualizer_sw" path="libvisualizer.so"/>
|
||||
<library name="downmix" path="libdownmix.so"/>
|
||||
<library name="dynamics_processing_sw" path="libdynproc.so"/>
|
||||
<library name="loudness_enhancer" path="libldnhncr.so"/>
|
||||
<library name="proxy" path="libeffectproxy.so"/>
|
||||
<library name="offload_effect" path="liboffloadeffect.so"/>
|
||||
<library name="haptic_generator" path="libhapticgenerator.so"/>
|
||||
</libraries>
|
||||
<effects>
|
||||
<effectProxy name="bassboost" library="proxy" uuid="2f0871a2-c93c-4824-9664-42eb2909f2ef">
|
||||
<libsw library="bundle" uuid="8631f300-72e2-11df-b57e-0002a5d5c51b"/>
|
||||
<libhw library="offload_effect" uuid="c7e3b29d-e797-4cf9-9912-17c1956510cc"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="virtualizer" library="proxy" uuid="626499c6-647e-455e-8c45-2d106e23c755">
|
||||
<libsw library="bundle" uuid="1d4033c0-8557-11df-9f2d-0002a5d5c51b"/>
|
||||
<libhw library="offload_effect" uuid="f8f88a03-fdf8-4554-8e60-77fbf8f2d3b0"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="equalizer" library="proxy" uuid="49004f03-3391-4c44-97dd-a043d526ea7d">
|
||||
<libsw library="bundle" uuid="ce772f20-847d-11df-bb17-0002a5d5c51b"/>
|
||||
<libhw library="offload_effect" uuid="50deaa30-4a83-4b1f-bfe3-dec6d605ede0"/>
|
||||
</effectProxy>
|
||||
<effect name="volume" library="bundle" uuid="119341a0-8469-11df-81f9-0002a5d5c51b"/>
|
||||
<effectProxy name="reverb_env_aux" library="proxy" uuid="b8154738-a0a1-4fc0-bb79-c845a3197739">
|
||||
<libsw library="reverb" uuid="4a387fc0-8ab3-11df-8bad-0002a5d5c51b"/>
|
||||
<libhw library="offload_effect" uuid="0c84bcd9-bce4-441b-ba9e-51f80897c949"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="reverb_env_ins" library="proxy" uuid="ba0f19fe-8790-4831-a58b-1f3299dd0bae">
|
||||
<libsw library="reverb" uuid="c7a511a0-a3bb-11df-860e-0002a5d5c51b"/>
|
||||
<libhw library="offload_effect" uuid="86d1877a-127f-4bdc-9665-c958903ad7b2"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="reverb_pre_aux" library="proxy" uuid="80974a8b-b3be-4c21-8c0b-b392a54e13bc">
|
||||
<libsw library="reverb" uuid="f29a1400-a3bb-11df-8ddc-0002a5d5c51b"/>
|
||||
<libhw library="offload_effect" uuid="4f90220c-9742-4467-a9d7-122f85c01195"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="reverb_pre_ins" library="proxy" uuid="c02d7dce-ca56-4aea-8c83-bbb53e5600e8">
|
||||
<libsw library="reverb" uuid="172cdf00-a3bc-11df-a72f-0002a5d5c51b"/>
|
||||
<libhw library="offload_effect" uuid="a2cf6b45-360b-49f3-94d7-fdb9837f89e8"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="visualizer" library="proxy" uuid="b27271d9-64d6-413c-b316-80005ad09008">
|
||||
<libsw library="visualizer_sw" uuid="d069d9e0-8329-11df-9168-0002a5d5c51b"/>
|
||||
<libhw library="offload_effect" uuid="99fb2ecb-3426-4a0e-8082-1a1da5604b7d"/>
|
||||
</effectProxy>
|
||||
<effectProxy name="dynamics_processing" library="proxy" uuid="dcf01474-8982-11ec-a8a3-0242ac120002">
|
||||
<libsw library="dynamics_processing_sw" uuid="e0e6539b-1781-7261-676f-6d7573696340"/>
|
||||
<libhw library="offload_effect" uuid="1bf15eb7-8f49-4fd8-8380-0767fd5680f3"/>
|
||||
</effectProxy>
|
||||
<effect name="downmix" library="downmix" uuid="93f04452-e4fe-41cc-91f9-e475b6d1d69f"/>
|
||||
<effect name="loudness_enhancer" library="loudness_enhancer" uuid="fa415329-2034-4bea-b5dc-5b381c8d1e2c"/>
|
||||
<effect name="aec" library="offload_effect" uuid="28c28780-ec8b-48b6-8590-8c84557d797d"/>
|
||||
<effect name="ns" library="offload_effect" uuid="62ff2836-d050-43c3-9c2d-94a73dad2c64"/>
|
||||
<effect name="haptic_generator" library="haptic_generator" uuid="97c4acd1-8b82-4f2f-832e-c2fe5d7a9931"/>
|
||||
</effects>
|
||||
<postprocess>
|
||||
</postprocess>
|
||||
<preprocess>
|
||||
<stream type="voice_communication">
|
||||
<apply effect="aec"/>
|
||||
<apply effect="ns"/>
|
||||
</stream>
|
||||
</preprocess>
|
||||
</audio_effects_conf>
|
||||
311
audio/akita/config/audio_platform_configuration.xml
Normal file
311
audio/akita/config/audio_platform_configuration.xml
Normal file
@@ -0,0 +1,311 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Copyright (c) 2019, The Linux Foundation. All rights reserved. -->
|
||||
<!-- -->
|
||||
<!-- Redistribution and use in source and binary forms, with or without -->
|
||||
<!-- modification, are permitted provided that the following conditions are -->
|
||||
<!-- met: -->
|
||||
<!-- * Redistributions of source code must retain the above copyright -->
|
||||
<!-- notice, this list of conditions and the following disclaimer. -->
|
||||
<!-- * Redistributions in binary form must reproduce the above -->
|
||||
<!-- copyright notice, this list of conditions and the following -->
|
||||
<!-- disclaimer in the documentation and/or other materials provided -->
|
||||
<!-- with the distribution. -->
|
||||
<!-- * Neither the name of The Linux Foundation nor the names of its -->
|
||||
<!-- contributors may be used to endorse or promote products derived -->
|
||||
<!-- from this software without specific prior written permission. -->
|
||||
<!-- -->
|
||||
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
|
||||
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
|
||||
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
|
||||
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
|
||||
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
|
||||
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
|
||||
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
|
||||
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
|
||||
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
|
||||
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
|
||||
<audio_platform_configuration>
|
||||
<hw_intf>
|
||||
<intf id="BE_HW_RX_INTF_0" name="TDM_RX_0" min_bit="24" min_chan="2" min_rate="48000" block_id="16"/>
|
||||
<intf id="BE_HW_RX_INTF_1" name="TDM_RX_1" min_bit="24" min_chan="2" min_rate="48000" block_id="17"/>
|
||||
<intf id="BE_HW_RX_INTF_2" name="USB_RX" min_bit="24" min_chan="2" min_rate="48000" block_id="20"/>
|
||||
<intf id="BE_HW_RX_INTF_3" name="I2S_RX_0" min_bit="24" min_chan="2" min_rate="48000" block_id="18"/>
|
||||
<!--intf id="BE_HW_RX_INTF_2" name="USB_RX" min_bit="24" min_chan="2" min_rate="48000" ctrl_config="USB device" ctrl_rate="Sample Rate" ctrl_bit="Bit Width" ctrl_chan="Channel"/-->
|
||||
<!--intf id="BE_HW_RX_INTF_3" name="BT_RX"/-->
|
||||
<intf id="BE_VIRTUAL_VOICE_RX_TUNING" block_id="19"/>
|
||||
<intf id="BE_VIRTUAL_VOICE_TX_TUNING" block_id="19"/>
|
||||
<intf id="BE_HW_TX_INTF_0" block_id="134,128,137"/>
|
||||
<intf id="BE_VIRTUAL_CRYSTAL_CLEAR_AUDIO_TUNING" block_id="138"/>
|
||||
</hw_intf>
|
||||
|
||||
<product_lists>
|
||||
<product name="Blackbird">
|
||||
<id value="18d1:5033"/>
|
||||
</product>
|
||||
<product name="Condor">
|
||||
<id value="18d1:5034"/>
|
||||
</product>
|
||||
<product name="Condor_Sprint">
|
||||
<id value="18d1:5038"/>
|
||||
</product>
|
||||
<product name="Condor_Sprint2">
|
||||
<id value="18d1:5036"/>
|
||||
</product>
|
||||
</product_lists>
|
||||
|
||||
<!-- The microphone capability is fake data -->
|
||||
<microphone_characteristics>
|
||||
<microphone device_id="builtin_mic_1" type="AUDIO_DEVICE_IN_BUILTIN_MIC" address="bottom" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
|
||||
group="0" index_in_the_group="0" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="93"
|
||||
frequencies="100.00 106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
|
||||
responses="-0.78 -0.71 -0.64 -0.60 -0.55 -0.50 -0.47 -0.42 -0.39 -0.36 -0.34 -0.33 -0.32 -0.29 -0.28 -0.28 -0.27 -0.25 -0.25 -0.24 -0.23 -0.23 -0.22 -0.22 -0.19 -0.17 -0.15 -0.15 -0.14 -0.14 -0.12 -0.11 -0.10 -0.10 -0.08 -0.07 -0.07 -0.04 -0.03 -0.01 0.00 0.04 0.06 0.07 0.08 0.13 0.09 0.14 0.19 0.23 0.28 0.29 0.31 0.37 0.88 0.86 0.77 0.78 0.84 0.86 1.05 1.12 1.18 1.25 1.43 1.66 1.83 2.02 2.23 2.59 2.84 3.35 4.01 6.82 6.62 6.42 7.30 8.23 7.54 12.68 13.76 18.69 19.68 20.90 23.70 25.10 21.65 16.18 18.84 25.44 23.48 23.22 24.89"
|
||||
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 0.0 1.0" geometric_location="0.0269 0.0058 0.0079" />
|
||||
<microphone device_id="builtin_mic_2" type="AUDIO_DEVICE_IN_BACK_MIC" address="back" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
|
||||
group="0" index_in_the_group="1" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
|
||||
frequencies="106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00 20000.00"
|
||||
responses="-0.75 -0.74 -0.69 -0.65 -0.62 -0.61 -0.56 -0.53 -0.50 -0.47 -0.43 -0.40 -0.37 -0.36 -0.33 -0.30 -0.28 -0.25 -0.24 -0.24 -0.24 -0.25 -0.24 -0.12 -0.10 -0.08 -0.09 -0.07 -0.07 -0.06 -0.06 -0.06 -0.05 -0.04 -0.05 -0.04 -0.01 0.02 0.02 0.00 0.02 0.03 0.07 0.10 0.10 0.13 0.01 0.01 0.10 0.11 0.19 0.24 0.38 0.46 0.26 0.27 0.43 0.76 0.75 1.09 1.09 0.94 1.06 1.21 1.47 1.45 1.36 2.07 2.85 2.90 3.85 4.65 5.84 5.46 6.15 7.50 8.30 10.62 12.70 16.65 20.95 25.41 26.32 20.20 16.60 11.24 7.85 7.62 20.19 7.32 2.87 5.18"
|
||||
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 1.0 0.0" geometric_location="0.0546 0.1456 0.00415" />
|
||||
<microphone device_id="builtin_mic_3" type="AUDIO_DEVICE_IN_BUILTIN_MIC" address="top" location="AUDIO_MICROPHONE_LOCATION_MAINBODY"
|
||||
group="0" index_in_the_group="2" directionality="AUDIO_MICROPHONE_DIRECTIONALITY_OMNI" num_frequency_responses="92"
|
||||
frequencies="100.00 106.00 112.00 118.00 125.00 132.00 140.00 150.00 160.00 170.00 180.00 190.00 200.00 212.00 224.00 236.00 250.00 265.00 280.00 300.00 315.00 335.00 355.00 375.00 400.00 425.00 450.00 475.00 500.00 530.00 560.00 600.00 630.00 670.00 710.00 750.00 800.00 850.00 900.00 950.00 1000.00 1060.00 1120.00 1180.00 1250.00 1320.00 1400.00 1500.00 1600.00 1700.00 1800.00 1900.00 2000.00 2120.00 2240.00 2360.00 2500.00 2650.00 2800.00 3000.00 3150.00 3350.00 3550.00 3750.00 4000.00 4250.00 4500.00 4750.00 5000.00 5300.00 5600.00 6000.00 6300.00 6700.00 7100.00 7500.00 8000.00 8500.00 9000.00 9500.00 10000.00 10600.00 11200.00 11800.00 12500.00 13200.00 14000.00 15000.00 16000.00 17000.00 18000.00 19000.00"
|
||||
responses="-9.24 -9.31 -9.39 -9.45 -9.46 -9.47 -9.50 -9.52 -9.51 -9.52 -9.51 -9.50 -9.49 -9.47 -9.48 -9.49 -9.48 -9.50 -9.51 -9.53 -9.55 -9.59 -9.63 -9.67 -9.58 -9.57 -9.65 -9.68 -9.71 -9.75 -9.79 -9.84 -9.87 -9.87 -9.90 -9.90 -9.91 -9.97 -10.01 -10.05 -9.85 -9.93 -9.94 -9.98 -10.04 -10.12 -10.28 -10.25 -10.01 -9.86 -9.81 -9.82 -9.61 -9.46 -8.27 -8.42 -8.98 -8.99 -8.82 -9.21 -8.92 -8.97 -9.30 -9.44 -9.52 -9.28 -9.09 -8.81 -7.02 -5.72 -5.30 -7.26 -8.39 -12.28 -8.23 -6.99 -5.52 -4.87 -3.82 -6.09 0.00 -2.15 -0.26 1.48 5.22 10.92 6.41 9.55 12.96 3.35 22.00 19.75"
|
||||
sensitivity="-37.0" max_spl="132.5" min_spl="28.5" orientation="0.0 0.0 1.0" geometric_location="0.0274 0.14065 0.0079" />
|
||||
</microphone_characteristics>
|
||||
|
||||
<!-- The microphone mapping of backend device is fake data -->
|
||||
<input_backend_cfg_mic_mapping>
|
||||
<backend_cfg in_cfg="IN_CAMCORDER_LANDSCAPE_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_CAMCORDER_PORTRAIT_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_CAMCORDER_SELFIE_LANDSCAPE_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_CAMCORDER_SELFIE_INVERT_LANDSCAPE_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_CAMCORDER_SELFIE_PORTRAIT_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_HANDSET_MIC_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_VOICECALL_HANDSET_MIC_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_VOICECALL_SPEAKER_MIC_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_USB_TTY_VCO_MIC_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED AUDIO_MICROPHONE_CHANNEL_MAPPING_PROCESSED"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_VOICE_RECOGN_MIC_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_UNPROCESSED_MIC_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_UNPROCESSED_DUAL_MIC_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
|
||||
</backend_cfg>
|
||||
<backend_cfg in_cfg="IN_UNPROCESSED_TRIPLE_MIC_BE_CFG">
|
||||
<mic_info mic_device_id="builtin_mic_1"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_2"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED"/>
|
||||
<mic_info mic_device_id="builtin_mic_3"
|
||||
channel_mapping="AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_UNUSED AUDIO_MICROPHONE_CHANNEL_MAPPING_DIRECT"/>
|
||||
</backend_cfg>
|
||||
</input_backend_cfg_mic_mapping>
|
||||
|
||||
<usecase_attr>
|
||||
<!-- for output with AUDIO_OUTPUT_FLAG_RAW, 40 periods * 48 frames/period * 2ch * 4(s32) = 15360 bytes -->
|
||||
<usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="false" period="48" period_num="40"/>
|
||||
<!-- for output with AUDIO_OUTPUT_FLAG_PRIMARY|AUDIO_OUTPUT_FLAG_FAST, 4 * 10ms buffer -->
|
||||
<usecase id="UC_LOW_LATENCY_PLAYBACK" dev1="1" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="4"/>
|
||||
<!-- for output with AUDIO_OUTPUT_FLAG_MMAP_NOIRQ, 40 periods * 48 frames/period(=1ms w/ 48k sample rate) * 2ch *4(float) = 15360 bytes -->
|
||||
<usecase id="UC_MMAP_PLAYBACK" dev1="0" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="40"/>
|
||||
<!-- for output with AUDIO_OUTPUT_FLAG_DEEP_BUFFER, 2 * 40ms buffer -->
|
||||
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="40" period_num="2"/>
|
||||
<!-- dev1: voice-call downlink dev2: voice-clal uplink -->
|
||||
<usecase id="UC_VOICE_CALL" dev1="4" dev2="11"/>
|
||||
<!-- for output with flag AUDIO_OUTPUT_SPATIALIZER -->
|
||||
<usecase id="UC_IMMERSIVE_PLAYBACK" dev1="30" dyn_path="true" dsp_vol="false" mmap="false" period="10" period_num="3"/>
|
||||
<!-- for output with AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD, 4 * 128KB buffer -->
|
||||
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" dev1="6" dyn_path="true" dsp_vol="true" mmap="false" period="131072" period_num="4" pre_proc_id="14"/>
|
||||
<!-- dev1: audio dev2: haptic -->
|
||||
<usecase id="UC_HAPTIC_AUDIO" dev1="2" dev2="7" period="10" period_num="4"/>
|
||||
<!-- for VOIP output, 4 * 10ms buffer -->
|
||||
<usecase id="UC_VOIP_PLAYBACK" dev1="16" dyn_path="true" dsp_vol="true" mmap="false" period="10" period_num="4" pcm_ch="2"/>
|
||||
<!-- for input -->
|
||||
<usecase id="UC_AUDIO_RECORD" dev1="8" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
|
||||
<usecase id="UC_HOSTLESS_UL" dev1="15"/>
|
||||
<!-- for VOIP input, 4 * 10ms buffer -->
|
||||
<usecase id="UC_VOIP_RECORD" dev1="17" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="2"/>
|
||||
<!-- for input wit AUDIO_INPUT_FLAG_FAST 480 periods * 1ms buffer, 16-bit, 2ch, buffer size 92160 bytes-->
|
||||
<usecase id="UC_LOW_LATENCY_AUDIO_RECORD" dev1="10" dyn_path="true" dsp_vol="false" mmap="true" period="1" period_num="480"/>
|
||||
<!-- for input wit AUDIO_INPUT_FLAG_MMAP_NOIRQ 240 periods * 1ms buffer, 32-bit,2 ch, buffer size 92160 bytes -->
|
||||
<usecase id="UC_MMAP_RECORD" dev1="9" dyn_path="true" mmap="true" period="1" period_num="240"/>
|
||||
<!-- for hifi -->
|
||||
<usecase id="UC_HIFI_PLAYBACK" dev1="25"/>
|
||||
<usecase id="UC_HIFI_RECORD" dev1="26"/>
|
||||
</usecase_attr>
|
||||
|
||||
<dsp_latency>
|
||||
<usecase id="UC_LOW_LATENCY_PLAYBACK" type="playback">
|
||||
<be_cfg be_id="OUT_SPEAKER_BE_CFG" latency="20000"/>
|
||||
<be_cfg be_id="OUT_USB_HEADSET_BE_CFG" latency="10000"/>
|
||||
<be_cfg be_id="OUT_USB_HEADPHONE_BE_CFG" latency="10000"/>
|
||||
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="10000"/>
|
||||
</usecase>
|
||||
|
||||
<usecase id="UC_DEEP_BUFFER_PLAYBACK" type="playback">
|
||||
<be_cfg be_id="OUT_SPEAKER_BE_CFG" latency="70000"/>
|
||||
<be_cfg be_id="OUT_USB_HEADSET_BE_CFG" latency="70000"/>
|
||||
<be_cfg be_id="OUT_USB_HEADPHONE_BE_CFG" latency="70000"/>
|
||||
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="180000"/>
|
||||
</usecase>
|
||||
|
||||
<usecase id="UC_COMPRESSED_OFFLOAD_PLAYBACK" type="playback">
|
||||
<be_cfg be_id="OUT_SPEAKER_BE_CFG" latency="40000"/>
|
||||
<be_cfg be_id="OUT_USB_HEADSET_BE_CFG" latency="40000"/>
|
||||
<be_cfg be_id="OUT_USB_HEADPHONE_BE_CFG" latency="40000"/>
|
||||
<be_cfg be_id="OUT_A2DP_BE_CFG" latency="70000"/>
|
||||
</usecase>
|
||||
|
||||
<usecase id="UC_AUDIO_RECORD" type="capture">
|
||||
<be_cfg be_id="IN_CAMCORDER_LANDSCAPE_BE_CFG" latency="160000"/>
|
||||
<be_cfg be_id="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG" latency="160000"/>
|
||||
<be_cfg be_id="IN_CAMCORDER_PORTRAIT_BE_CFG" latency="160000"/>
|
||||
<be_cfg be_id="IN_CAMCORDER_SELFIE_LANDSCAPE_BE_CFG" latency="160000"/>
|
||||
<be_cfg be_id="IN_CAMCORDER_SELFIE_INVERT_LANDSCAPE_BE_CFG" latency="160000"/>
|
||||
<be_cfg be_id="IN_CAMCORDER_SELFIE_PORTRAIT_BE_CFG" latency="160000"/>
|
||||
<be_cfg be_id="IN_BTSCO_MIC_BE_CFG" latency="40000"/>
|
||||
<be_cfg be_id="IN_BTSCO_MIC_NREC_BE_CFG" latency="40000"/>
|
||||
<be_cfg be_id="IN_BTSCO_MIC_WB_BE_CFG" latency="40000"/>
|
||||
<be_cfg be_id="IN_BTSCO_MIC_WB_NREC_BE_CFG" latency="40000"/>
|
||||
</usecase>
|
||||
</dsp_latency>
|
||||
|
||||
<soundcard_name name="google,aoc-snd-card" />
|
||||
<features>
|
||||
<feature name="BatteryThrottle=Type:BCL_VOLTAGE,Name:BCL_AUDIO_BAACL,Strategy:MediaSpeakerAndScreenOn"/>
|
||||
<feature name="PlaybackThermalThrottle=PollWaitMs:20000,ThermistorName:VIRTUAL-SKIN-SPEAKER,ThermistorType:UNKNOWN,ThrottlingSeverity:MODERATE"/>
|
||||
</features>
|
||||
|
||||
<cfg_attr>
|
||||
<cfg id="OUT_SPEAKER_BE_CFG" intf_name="TDM_RX_0" mux="HW_MUX_GP_0" tuning_id="2"/>
|
||||
<cfg id="OUT_HAC_HANDSET_BE_CFG" intf_name="TDM_RX_1" mux="HW_MUX_GP_1" be_path="hac-handset"/>
|
||||
<cfg id="OUT_USB_HEADSET_BE_CFG">
|
||||
<override product="Blackbird" tuning_id="22"/>
|
||||
<override product="Condor" tuning_id="33"/>
|
||||
</cfg>
|
||||
<cfg id="OUT_USB_TTY_FULL_BE_CFG" be_path="usb-headphone" codec_path="usb-headphone"/>
|
||||
<cfg id="OUT_USB_TTY_VCO_BE_CFG" be_path="usb-headphone" codec_path="usb-headphone"/>
|
||||
<cfg id="OUT_USB_TTY_HCO_BE_CFG" be_path="NULL" codec_path="voice-speaker"/>
|
||||
<cfg id="IN_USB_TTY_FULL_MIC_BE_CFG" be_path="usb-headset-mic" codec_path="usb-headset-mic" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_USB_TTY_VCO_MIC_BE_CFG" be_path="NULL" codec_path="voice-speaker-mic"/>
|
||||
<cfg id="IN_USB_TTY_HCO_MIC_BE_CFG" be_path="usb-headset-mic" codec_path="usb-headset-mic" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_SPK_VI_BE_CFG" codec_path="NULL" be_path="spk-vi"/>
|
||||
<cfg id="IN_HANDSET_MIC_BE_CFG" tuning_id="62"/>
|
||||
<cfg id="IN_HANDSET_DUAL_MIC_BE_CFG" tuning_id="63"/>
|
||||
<cfg id="IN_HANDSET_TRIPLE_MIC_BE_CFG" tuning_id="64"/>
|
||||
<cfg id="IN_CAMCORDER_LANDSCAPE_BE_CFG" tuning_id="70"/>
|
||||
<cfg id="IN_CAMCORDER_INVERT_LANDSCAPE_BE_CFG" tuning_id="71"/>
|
||||
<cfg id="IN_CAMCORDER_PORTRAIT_BE_CFG" tuning_id="72"/>
|
||||
<cfg id="IN_CAMCORDER_SELFIE_LANDSCAPE_BE_CFG" tuning_id="73"/>
|
||||
<cfg id="IN_CAMCORDER_SELFIE_INVERT_LANDSCAPE_BE_CFG" tuning_id="74"/>
|
||||
<cfg id="IN_CAMCORDER_SELFIE_PORTRAIT_BE_CFG" tuning_id="75"/>
|
||||
<cfg id="IN_CAMCORDER_MIC_BE_CFG" tuning_id="70"/>
|
||||
<cfg id="IN_CAMCORDER_TRIPLE_MIC_BE_CFG" tuning_id="70"/>
|
||||
<cfg id="IN_BTSCO_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_BTSCO_MIC_NREC_BE_CFG" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_BTSCO_MIC_WB_BE_CFG" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_BTSCO_MIC_WB_NREC_BE_CFG" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_VOICE_RECOGN_USB_HEADSET_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_USB_HEADSET_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_VOICECALL_USB_HEADSET_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
|
||||
<cfg id="IN_UNPROCESSED_USB_HEADSET_MIC_BE_CFG" mux="HW_MUX_GP_0"/>
|
||||
</cfg_attr>
|
||||
|
||||
<xlate_id>
|
||||
<item component="TUNING_COMPONENT_WAVES" id="2"/>
|
||||
<item component="TUNING_COMPONENT_FORTEMEDIA" id="3"/>
|
||||
<item component="TUNING_COMPONENT_CAMCORDER" id="6"/>
|
||||
</xlate_id>
|
||||
|
||||
<voip_db_mapping>
|
||||
<voip_path id="VOIP_RX_USB" value="0.01,0.02,0.04,0.1,0.21,0.47,1.0"/>
|
||||
</voip_db_mapping>
|
||||
|
||||
<device_handle>
|
||||
<handler libname="audio_bt_aoc.so"/>
|
||||
<handler libname="audio_usb_aoc.so" argu="MaxSamplingRate=96000,UnsupportedFormat=S24_LE"/>
|
||||
<handler libname="audio_hdmi_aoc.so"/>
|
||||
</device_handle>
|
||||
|
||||
<external_module>
|
||||
<module libname="audio_spk_35l41.so" argu="AcousticShockProtection"/>
|
||||
<module libname="audio_waves_aoc.so" argu="Sink=SPK:1 ThermistorsName=VIRTUAL-SKIN-SPEAKER"/>
|
||||
<module libname="audio_cca_aoc.so" argu="UnsupportBands=48000 ExSharedBands=48000 VoIPMode=Dl"/>
|
||||
<module libname="audio_fortemedia_aoc.so" argu="MCPS_TABLE=y DL_CH=y VoIP_DLCHs=SPK:2,USB:2,BT:2 VoIP_Rate=32000 SHARED_MODULE=1130578253"/>
|
||||
<module libname="audio_sounddose_aoc.so" argu="Blackbird,Condor=0,46.35,0.1950549451;54.6,57,0.98625"/>
|
||||
<module libname="liboffloadeffect.so"/>
|
||||
<module libname="audio_amcs_ext.so"/>
|
||||
<module libname="audio_bluenote_aoc.so"/>
|
||||
</external_module>
|
||||
</audio_platform_configuration>
|
||||
278
audio/akita/config/audio_policy_configuration.xml
Normal file
278
audio/akita/config/audio_policy_configuration.xml
Normal file
@@ -0,0 +1,278 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2020 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.
|
||||
-->
|
||||
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
<item>Speaker Safe</item>
|
||||
<item>Earpiece</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Voice Call And Telephony Rx</item>
|
||||
<item>Echo Ref In</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST"
|
||||
recommendedMuteDurationMs="40">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_OPUS"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="haptic" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_AB" />
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voice call tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voip_rx" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice call rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voip_tx" role="sink"
|
||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hifi_playback" role="source" />
|
||||
<mixPort name="hifi_input" role="sink" />
|
||||
<mixPort name="echo_ref_input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Headset" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Speaker" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT BLE Broadcast" type="AUDIO_DEVICE_OUT_BLE_BROADCAST" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_LC3">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BLE Headset Mic" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Speaker Safe"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Out"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT A2DP Headphones"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT BLE Headset"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT BLE Speaker"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="BT BLE Broadcast"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic,BLE Headset Mic"/>
|
||||
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
|
||||
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Bluetooth Audio HAL -->
|
||||
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
|
||||
<!-- Usb Audio HAL -->
|
||||
<module name="usbv2" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="usb_accessory output" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="USB Host Out"
|
||||
sources="usb_accessory output"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Remote Submix Audio HAL -->
|
||||
<xi:include href="r_submix_audio_policy_configuration.xml"/>
|
||||
</modules>
|
||||
<!-- End of Modules section -->
|
||||
<!-- Volume section -->
|
||||
<xi:include href="audio_policy_volumes.xml"/>
|
||||
<xi:include href="default_volume_tables.xml"/>
|
||||
<!-- End of Volume section -->
|
||||
</audioPolicyConfiguration>
|
||||
@@ -0,0 +1,233 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2020 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.
|
||||
-->
|
||||
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
<item>Speaker Safe</item>
|
||||
<item>Earpiece</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Voice Call And Telephony Rx</item>
|
||||
<item>Echo Ref In</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_OPUS"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="haptic" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_AB" />
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voice call tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voip_rx" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice call rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voip_tx" role="sink"
|
||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hifi_playback" role="source" />
|
||||
<mixPort name="hifi_input" role="sink" />
|
||||
<mixPort name="echo_ref_input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Speaker Safe"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
|
||||
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Bluetooth Audio HAL -->
|
||||
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
|
||||
<!-- Usb Audio HAL -->
|
||||
<module name="usbv2" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="usb_accessory output" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="USB Host Out"
|
||||
sources="usb_accessory output"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Remote Submix Audio HAL -->
|
||||
<xi:include href="r_submix_audio_policy_configuration.xml"/>
|
||||
</modules>
|
||||
<!-- End of Modules section -->
|
||||
<!-- Volume section -->
|
||||
<xi:include href="audio_policy_volumes.xml"/>
|
||||
<xi:include href="default_volume_tables.xml"/>
|
||||
<!-- End of Volume section -->
|
||||
</audioPolicyConfiguration>
|
||||
@@ -0,0 +1,230 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2020 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.
|
||||
-->
|
||||
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
<item>Speaker Safe</item>
|
||||
<item>Earpiece</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Voice Call And Telephony Rx</item>
|
||||
<item>Echo Ref In</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<!--mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
</mixPort-->
|
||||
<mixPort name="haptic" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_AB" />
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voice call tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voip_rx" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice call rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voip_tx" role="sink"
|
||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hifi_playback" role="source" />
|
||||
<mixPort name="hifi_input" role="sink" />
|
||||
<mixPort name="echo_ref_input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="Speaker Safe"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep buffer,haptic,voip_rx"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep buffer,haptic,voip_rx"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
|
||||
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- A2dp Audio HAL -->
|
||||
<xi:include href="a2dp_audio_policy_configuration_7_0.xml"/>
|
||||
<!-- Usb Audio HAL -->
|
||||
<module name="usbv2" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="usb_accessory output" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="USB Host Out"
|
||||
sources="usb_accessory output"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Remote Submix Audio HAL -->
|
||||
<xi:include href="r_submix_audio_policy_configuration.xml"/>
|
||||
</modules>
|
||||
<!-- End of Modules section -->
|
||||
<!-- Volume section -->
|
||||
<xi:include href="audio_policy_volumes.xml"/>
|
||||
<xi:include href="default_volume_tables.xml"/>
|
||||
<!-- End of Volume section -->
|
||||
</audioPolicyConfiguration>
|
||||
@@ -0,0 +1,258 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<!-- Copyright (C) 2020 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.
|
||||
-->
|
||||
<audioPolicyConfiguration version="7.0" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<globalConfiguration speaker_drc_enabled="false" call_screen_mode_supported="true" />
|
||||
<modules>
|
||||
<!-- Primary Audio HAL -->
|
||||
<module name="primary" halVersion="2.0">
|
||||
<attachedDevices>
|
||||
<item>Speaker</item>
|
||||
<item>Speaker Safe</item>
|
||||
<item>Earpiece</item>
|
||||
<item>Built-In Mic</item>
|
||||
<item>Built-In Back Mic</item>
|
||||
<item>Telephony Tx</item>
|
||||
<item>Voice Call And Telephony Rx</item>
|
||||
<item>Echo Ref In</item>
|
||||
</attachedDevices>
|
||||
<defaultOutputDevice>Speaker</defaultOutputDevice>
|
||||
<mixPorts>
|
||||
<mixPort name="primary output" role="source" flags="AUDIO_OUTPUT_FLAG_PRIMARY AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="deep buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="compressed_offload" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_COMPRESS_OFFLOAD AUDIO_OUTPUT_FLAG_NON_BLOCKING AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD">
|
||||
<profile name="" format="AUDIO_FORMAT_MP3"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_LC"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V1"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_AAC_HE_V2"
|
||||
samplingRates="8000 16000 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO AUDIO_CHANNEL_OUT_MONO"/>
|
||||
<profile name="" format="AUDIO_FORMAT_OPUS"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="haptic" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO_HAPTIC_AB" />
|
||||
</mixPort>
|
||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW AUDIO_OUTPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_out" role="source" flags="AUDIO_OUTPUT_FLAG_DIRECT AUDIO_OUTPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_FLOAT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="immersive_out" role="source" flags="AUDIO_OUTPUT_FLAG_SPATIALIZER">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall playback" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_INCALL_MUSIC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voice call tx" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_OUT_STEREO" />
|
||||
</mixPort>
|
||||
<mixPort name="voip_rx" role="source"
|
||||
flags="AUDIO_OUTPUT_FLAG_VOIP_RX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="primary input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hotword input" role="sink" flags="AUDIO_INPUT_FLAG_HW_HOTWORD" maxActiveCount="0" >
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="8000 11025 12000 16000 22050 24000 32000 44100 48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="incall capture" role="sink" maxActiveCount="2" maxOpenCount="2">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voice call rx" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="voip_tx" role="sink"
|
||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||
</mixPort>
|
||||
<mixPort name="fast input" role="sink" flags="AUDIO_INPUT_FLAG_RAW AUDIO_INPUT_FLAG_FAST">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="mmap_no_irq_in" role="sink" flags="AUDIO_INPUT_FLAG_MMAP_NOIRQ">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
<mixPort name="hifi_playback" role="source" />
|
||||
<mixPort name="hifi_input" role="sink" />
|
||||
<mixPort name="echo_ref_input" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
|
||||
samplingRates="48000"
|
||||
channelMasks="AUDIO_CHANNEL_IN_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<!-- Output devices declaration, i.e. Sink DEVICE PORT -->
|
||||
<devicePort tagName="Earpiece" type="AUDIO_DEVICE_OUT_EARPIECE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker" type="AUDIO_DEVICE_OUT_SPEAKER" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Speaker Safe" type="AUDIO_DEVICE_OUT_SPEAKER_SAFE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Car Kit" type="AUDIO_DEVICE_OUT_BLUETOOTH_SCO_CARKIT" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device Out" type="AUDIO_DEVICE_OUT_USB_DEVICE" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset Out" type="AUDIO_DEVICE_OUT_USB_HEADSET" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="HDMI Out" type="AUDIO_DEVICE_OUT_HDMI" role="sink">
|
||||
</devicePort>
|
||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||
</devicePort>
|
||||
<!-- Input devices declaration, i.e. Source DEVICE PORT -->
|
||||
<devicePort tagName="Built-In Mic" type="AUDIO_DEVICE_IN_BUILTIN_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Built-In Back Mic" type="AUDIO_DEVICE_IN_BACK_MIC" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT SCO Headset Mic" type="AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink"
|
||||
encodedFormats="AUDIO_FORMAT_OPUS AUDIO_FORMAT_AAC AUDIO_FORMAT_SBC">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100 48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Device In" type="AUDIO_DEVICE_IN_USB_DEVICE" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="USB Headset In" type="AUDIO_DEVICE_IN_USB_HEADSET" role="source">
|
||||
</devicePort>
|
||||
<!-- AUDIO_DEVICE_IN_VOICE_CALL and AUDIO_DEVICE_IN_TELEPHONY_RX are in the same value -->
|
||||
<devicePort tagName="Voice Call And Telephony Rx" type="AUDIO_DEVICE_IN_VOICE_CALL" role="source">
|
||||
</devicePort>
|
||||
<devicePort tagName="Echo Ref In" type="AUDIO_DEVICE_IN_ECHO_REFERENCE" role="source">
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<!-- route declaration, i.e. list all available sources for a given sink -->
|
||||
<routes>
|
||||
<route type="mix" sink="Speaker"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Speaker Safe"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Earpiece"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT A2DP Out"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out,immersive_out"/>
|
||||
<route type="mix" sink="BT A2DP Headphones"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out,immersive_out"/>
|
||||
<route type="mix" sink="BT A2DP Speaker"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload,raw,mmap_no_irq_out,immersive_out"/>
|
||||
<route type="mix" sink="USB Device Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="USB Headset Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,hifi_playback,compressed_offload,immersive_out"/>
|
||||
<route type="mix" sink="HDMI Out"
|
||||
sources="primary output,deep buffer,haptic,raw,mmap_no_irq_out,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Headset"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="BT SCO Car Kit"
|
||||
sources="primary output,deep buffer,haptic,voip_rx,compressed_offload"/>
|
||||
<route type="mix" sink="Telephony Tx" sources="incall playback,voice call tx" />
|
||||
<route type="mix" sink="primary input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="hotword input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="incall capture" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voice call rx" sources="Voice Call And Telephony Rx" />
|
||||
<route type="mix" sink="voip_tx"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In,BT SCO Headset Mic"/>
|
||||
<route type="mix" sink="fast input"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="mmap_no_irq_in"
|
||||
sources="Built-In Mic,Built-In Back Mic,USB Device In,USB Headset In"/>
|
||||
<route type="mix" sink="hifi_input" sources="USB Device In,USB Headset In" />
|
||||
<route type="mix" sink="echo_ref_input" sources="Echo Ref In"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Bluetooth Audio HAL -->
|
||||
<xi:include href="bluetooth_audio_policy_configuration_7_0.xml"/>
|
||||
<!-- Usb Audio HAL -->
|
||||
<module name="usbv2" halVersion="2.0">
|
||||
<mixPorts>
|
||||
<mixPort name="usb_accessory output" role="source">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</mixPort>
|
||||
</mixPorts>
|
||||
<devicePorts>
|
||||
<devicePort tagName="USB Host Out" type="AUDIO_DEVICE_OUT_USB_ACCESSORY" role="sink">
|
||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||
samplingRates="44100" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||
</devicePort>
|
||||
</devicePorts>
|
||||
<routes>
|
||||
<route type="mix" sink="USB Host Out"
|
||||
sources="usb_accessory output"/>
|
||||
</routes>
|
||||
</module>
|
||||
<!-- Remote Submix Audio HAL -->
|
||||
<xi:include href="r_submix_audio_policy_configuration.xml"/>
|
||||
</modules>
|
||||
<!-- End of Modules section -->
|
||||
<!-- Volume section -->
|
||||
<xi:include href="audio_policy_volumes.xml"/>
|
||||
<xi:include href="default_volume_tables.xml"/>
|
||||
<!-- End of Volume section -->
|
||||
</audioPolicyConfiguration>
|
||||
252
audio/akita/config/audio_policy_volumes.xml
Normal file
252
audio/akita/config/audio_policy_volumes.xml
Normal file
@@ -0,0 +1,252 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!-- Copyright (C) 2015 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.
|
||||
-->
|
||||
<!-- Volume section defines a volume curve for a given use case and device category.
|
||||
It contains a list of points of this curve expressing the attenuation in Millibels for a given
|
||||
volume index from 0 to 100.
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="">
|
||||
<point>0,-9600</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
-->
|
||||
|
||||
<volumes>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_VOICE_CALL" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5000</point>
|
||||
<point>33,-3500</point>
|
||||
<point>66,-2400</point>
|
||||
<point>100,-1600</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_SYSTEM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4000</point>
|
||||
<point>33,-2400</point>
|
||||
<point>66,-1200</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_RING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6589</point>
|
||||
<point>8,-5971</point>
|
||||
<point>12,-5619</point>
|
||||
<point>16,-5212</point>
|
||||
<point>20,-4833</point>
|
||||
<point>24,-4434</point>
|
||||
<point>28,-4141</point>
|
||||
<point>32,-3856</point>
|
||||
<point>36,-3611</point>
|
||||
<point>40,-3382</point>
|
||||
<point>44,-3143</point>
|
||||
<point>48,-2921</point>
|
||||
<point>52,-2695</point>
|
||||
<point>56,-2497</point>
|
||||
<point>60,-2308</point>
|
||||
<point>64,-2109</point>
|
||||
<point>68,-1893</point>
|
||||
<point>72,-1706</point>
|
||||
<point>76,-1474</point>
|
||||
<point>80,-1224</point>
|
||||
<point>84,-1000</point>
|
||||
<point>88,-786</point>
|
||||
<point>92,-581</point>
|
||||
<point>96,-275</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_MUSIC" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-4000</point>
|
||||
<point>33,-2400</point>
|
||||
<point>66,-1200</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_EXT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ALARM" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-4800</point>
|
||||
<point>33,-2400</point>
|
||||
<point>66,-1200</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EARPIECE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_NOTIFICATION" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_HEADSET_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>0,-2400</point>
|
||||
<point>33,-1600</point>
|
||||
<point>66,-800</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EARPIECE">
|
||||
<point>0,-4200</point>
|
||||
<point>33,-2800</point>
|
||||
<point>66,-1400</point>
|
||||
<point>100,0</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_BLUETOOTH_SCO" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-5000</point>
|
||||
<point>33,-3500</point>
|
||||
<point>66,-2400</point>
|
||||
<point>100,-1600</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ENFORCED_AUDIBLE" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEADSET">
|
||||
<point>1,-3000</point>
|
||||
<point>33,-2600</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1800</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_SPEAKER">
|
||||
<point>1,-6000</point>
|
||||
<point>33,-3000</point>
|
||||
<point>66,-2200</point>
|
||||
<point>100,-1600</point>
|
||||
</volume>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_SYSTEM_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_EXT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_DTMF" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_TTS" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="SILENT_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_NON_MUTABLE_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_NON_MUTABLE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ACCESSIBILITY" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_NON_MUTABLE_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="DEFAULT_DEVICE_CATEGORY_SPEAKER_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="DEFAULT_MEDIA_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_ASSISTANT" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="DEFAULT_HEARING_AID_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_REROUTING" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEADSET"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_SPEAKER"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EARPIECE"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_EXT_MEDIA"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
<volume stream="AUDIO_STREAM_PATCH" deviceCategory="DEVICE_CATEGORY_HEARING_AID"
|
||||
ref="FULL_SCALE_VOLUME_CURVE"/>
|
||||
</volumes>
|
||||
|
||||
926
audio/akita/config/mixer_paths.xml
Normal file
926
audio/akita/config/mixer_paths.xml
Normal file
@@ -0,0 +1,926 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Copyright (c) 2019, The Linux Foundation. All rights reserved. -->
|
||||
<!-- -->
|
||||
<!-- Redistribution and use in source and binary forms, with or without -->
|
||||
<!-- modification, are permitted provided that the following conditions are -->
|
||||
<!-- met: -->
|
||||
<!-- * Redistributions of source code must retain the above copyright -->
|
||||
<!-- notice, this list of conditions and the following disclaimer. -->
|
||||
<!-- * Redistributions in binary form must reproduce the above -->
|
||||
<!-- copyright notice, this list of conditions and the following -->
|
||||
<!-- disclaimer in the documentation and/or other materials provided -->
|
||||
<!-- with the distribution. -->
|
||||
<!-- * Neither the name of The Linux Foundation nor the names of its -->
|
||||
<!-- contributors may be used to endorse or promote products derived -->
|
||||
<!-- from this software without specific prior written permission. -->
|
||||
<!-- -->
|
||||
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
|
||||
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
|
||||
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
|
||||
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
|
||||
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
|
||||
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
|
||||
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
|
||||
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
|
||||
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
|
||||
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
|
||||
<mixer>
|
||||
<!-- Initial default value of ALSA command -->
|
||||
<!-- PCM timeout -->
|
||||
<ctl name="PCM Stream Wait Time in MSec" value="100"/>
|
||||
<ctl name="Voice PCM Stream Wait Time in MSec" value="500"/>
|
||||
|
||||
<!-- Enable it when AOC is ready to trim delay and padding -->
|
||||
<ctl name="Gapless Offload Enable" value="1"/>
|
||||
|
||||
<!-- TDM 0 setting -->
|
||||
<ctl name="TDM_0_RX Chan" value="Four"/>
|
||||
<ctl name="TDM_0_RX Format" value="S32_LE"/>
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_48K" />
|
||||
<ctl name="TDM_0_TX Chan" value="Four"/>
|
||||
<ctl name="TDM_0_TX Format" value="S32_LE"/>
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_48K" />
|
||||
|
||||
<!-- Haptic setting -->
|
||||
<ctl name="Haptics Source" value="PCM"/>
|
||||
<ctl name="HAPTIC_RX Format" value="S32_LE"/>
|
||||
<ctl name="HAPTIC_RX SlotFmt" value="S32_LE"/>
|
||||
<ctl name="HAPTIC_RX Chan" value="Four"/>
|
||||
<ctl name="HAPTIC_RX nSlot" value="Four"/>
|
||||
<ctl name="RX Slots" id="0" value="2"/>
|
||||
<ctl name="RX Slots" id="1" value="3"/>
|
||||
|
||||
<!-- Cirrus default 96K -->
|
||||
<ctl name="Default 96K" value="0"/>
|
||||
<ctl name="R Default 96K" value="0"/>
|
||||
|
||||
<!-- Cirrus Booster Amp TDM slot assignment-->
|
||||
<!-- RX slot -->
|
||||
<ctl name="ASPRX1 Slot Position" value="0"/>
|
||||
<ctl name="ASPRX2 Slot Position" value="1"/>
|
||||
<ctl name="R ASPRX1 Slot Position" value="1"/>
|
||||
<ctl name="R ASPRX2 Slot Position" value="0"/>
|
||||
<!-- TX slot -->
|
||||
<ctl name="ASPTX1 Slot Position" value="0"/>
|
||||
<ctl name="R ASPTX1 Slot Position" value="1"/>
|
||||
<ctl name="ASPTX2 Slot Position" value="2"/>
|
||||
<ctl name="R ASPTX2 Slot Position" value="3"/>
|
||||
<ctl name="ASPTX3 Slot Position" value="4"/>
|
||||
<ctl name="R ASPTX3 Slot Position" value="5"/>
|
||||
<ctl name="ASPTX4 Slot Position" value="6"/>
|
||||
<ctl name="R ASPTX4 Slot Position" value="7"/>
|
||||
|
||||
<!-- Cirrus Booster Amp DRE and VBST config-->
|
||||
<ctl name="VBSTMON Output Switch" value="1"/>
|
||||
<ctl name="R VBSTMON Output Switch" value="1"/>
|
||||
<ctl name="DRE DRE Switch" value="1"/>
|
||||
<ctl name="R DRE DRE Switch" value="1"/>
|
||||
|
||||
<!-- Cirrus Booster Amp Output Gain -->
|
||||
<ctl name="AMP PCM Gain" value="17"/>
|
||||
<ctl name="R AMP PCM Gain" value="17"/>
|
||||
<ctl name="Digital PCM Volume" value="817"/>
|
||||
<ctl name="R Digital PCM Volume" value="817"/>
|
||||
|
||||
<!-- Cirrus Booster Amp Power -->
|
||||
<ctl name="Main AMP Enable Switch" value="0"/>
|
||||
<ctl name="R Main AMP Enable Switch" value="0"/>
|
||||
|
||||
<!-- Cirrus Booster mode -->
|
||||
<ctl name="PCM Source" value="DSP"/>
|
||||
<ctl name="R PCM Source" value="DSP"/>
|
||||
<ctl name="DSP1 Firmware" value="Protection"/>
|
||||
<ctl name="R DSP1 Firmware" value="Protection"/>
|
||||
<ctl name="DSP RX1 Source" value="ASPRX1"/>
|
||||
<ctl name="DSP RX2 Source" value="ASPRX1"/>
|
||||
<ctl name="R DSP RX1 Source" value="ASPRX1"/>
|
||||
<ctl name="R DSP RX2 Source" value="ASPRX1"/>
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||
|
||||
<!-- Cirrus ASP TX source -->
|
||||
<ctl name="ASP TX1 Source" value="VMON" />
|
||||
<ctl name="R ASP TX1 Source" value="VMON" />
|
||||
<ctl name="ASP TX2 Source" value="IMON" />
|
||||
<ctl name="R ASP TX2 Source" value="IMON" />
|
||||
<ctl name="ASP TX3 Source" value="Zero" />
|
||||
<ctl name="R ASP TX3 Source" value="Zero" />
|
||||
<ctl name="ASP TX4 Source" value="Zero" />
|
||||
<ctl name="R ASP TX4 Source" value="Zero" />
|
||||
|
||||
<!-- Cirrus fast switch init -->
|
||||
<ctl name="Fast Use Case Switch Enable" value="0" />
|
||||
<ctl name="Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||
<ctl name="R Fast Use Case Switch Enable" value="0" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch5.txt" />
|
||||
|
||||
<!-- default EP volume -->
|
||||
<ctl name="PCM Playback Switch" value="1"/>
|
||||
<ctl name="PCM Playback Volume" value="10"/>
|
||||
|
||||
<!-- audio RX route initial/default value -->
|
||||
<ctl name="TDM_0_RX Mixer EP1" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP2" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP4" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP5" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP7" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer NoHost1" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer VOIP" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer RAW" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer IMSV" value="0"/>
|
||||
|
||||
<ctl name="TDM_1_RX Mixer EP1" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP2" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP3" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP4" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP5" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP6" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP7" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP8" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer NoHost1" value="0"/>
|
||||
|
||||
<ctl name="USB_RX Mixer EP1" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP2" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP3" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP4" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP5" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP6" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP7" value="0"/>
|
||||
<ctl name="USB_RX Mixer NoHost1" value="0"/>
|
||||
<ctl name="USB_RX Mixer VOIP" value="0"/>
|
||||
<ctl name="USB_RX Mixer HIFI" value="0"/>
|
||||
<ctl name="USB_RX Mixer RAW" value="0"/>
|
||||
<ctl name="USB_RX Mixer IMSV" value="0"/>
|
||||
|
||||
<ctl name="BT_RX Mixer EP1" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP2" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP3" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP4" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP5" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP6" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP7" value="0"/>
|
||||
<ctl name="BT_RX Mixer NoHost1" value="0"/>
|
||||
<ctl name="BT_RX Mixer VOIP" value="0"/>
|
||||
<ctl name="BT_RX Mixer RAW" value="0"/>
|
||||
<ctl name="BT_RX Mixer IMSV" value="0"/>
|
||||
|
||||
<ctl name="INCALL_RX Mixer EP1" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP2" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP3" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP4" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP5" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP6" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP7" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer NoHost1" value="0"/>
|
||||
|
||||
<ctl name="SINK_IDS" id="0" value="-1"/>
|
||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
||||
|
||||
<!-- audio TX route initial/default value -->
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer TDM_1_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="VOIP TX Mixer BT_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="VOIP TX Mixer USB_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0"/>
|
||||
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer I2S_2_TX" value="0"/>
|
||||
|
||||
<!-- AoC Mic setting -->
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="-40"/>
|
||||
|
||||
<!-- USB setting v2 -->
|
||||
<ctl name="USB Bus ID v2" value="1"/>
|
||||
<ctl name="USB Dev ID v2" value="2"/>
|
||||
<ctl name="USB Playback EP ID v2" value="1"/>
|
||||
<ctl name="USB Playback FORMAT v2" value="0"/>
|
||||
<ctl name="USB Playback SR v2" value="48000"/>
|
||||
<ctl name="USB Playback CH v2" value="2"/>
|
||||
<ctl name="USB Playback BW v2" value="24"/>
|
||||
<ctl name="USB Capture EP ID v2" value="1"/>
|
||||
<ctl name="USB Capture FORMAT v2" value="0"/>
|
||||
<ctl name="USB Capture SR v2" value="48000"/>
|
||||
<ctl name="USB Capture CH v2" value="1"/>
|
||||
<ctl name="USB Capture BW v2" value="16"/>
|
||||
|
||||
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON"/>
|
||||
<ctl name="Voice Call Mic Source" value="Builtin_MIC"/>
|
||||
<ctl name="Mic Spatial Module Enable" value="0"/>
|
||||
<ctl name="Audio Capture Eraser Enable" value="0"/>
|
||||
|
||||
<!-- audio PDM mic default state -->
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="Builtin_MIC"/>
|
||||
|
||||
<!-- audio Ultrasound mic default state -->
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
|
||||
<!-- sidetone controls -->
|
||||
<ctl name="Sidetone Enable" value="0"/>
|
||||
<ctl name="Sidetone Volume" value="-96"/>
|
||||
<ctl name="Sidetone Selected Mic" value="0"/>
|
||||
<ctl name="Sidetone EQ Stage Number" value="1"/>
|
||||
<!-- IEEE 754, value is in float -->
|
||||
<ctl name="Sidetone Biquad0" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
||||
|
||||
<ctl name="Incall Capture Stream0" value="Off"/>
|
||||
<ctl name="Incall Capture Stream1" value="Off"/>
|
||||
<ctl name="Incall Capture Stream2" value="Off"/>
|
||||
|
||||
<!-- These two controls control the muting function of mics and sinks during the voice call. -->
|
||||
<!-- They would be enabled by HAL. -->
|
||||
<ctl name="Incall Sink Mute" value="0"/>
|
||||
<ctl name="Incall Mic Mute" value="0"/>
|
||||
|
||||
<!-- Decoder Reference Enable is controlled in aoc_control -->
|
||||
<ctl name="Decoder Reference Enable" value="0"/>
|
||||
<ctl name="LVM Enable" value="0"/>
|
||||
|
||||
<!-- sidetone dynamic control -->
|
||||
<path name="sidetone-for handset">
|
||||
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
||||
<ctl name="Sidetone Biquad0" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad0" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad0" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad1" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad1" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad2" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad2" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad3" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad3" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad4" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad4" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
||||
<ctl name="Sidetone EQ Stage Number" value="5"/>
|
||||
<ctl name="Sidetone Volume" value="-90"/>
|
||||
<ctl name="Sidetone Enable" value="1"/>
|
||||
</path>
|
||||
|
||||
<!-- audio playback dynamic route -->
|
||||
<path name="deep-buffer-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playbackP bt">
|
||||
<ctl name="BT_RX Mixer EP6" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP6" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer EP2" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP bt">
|
||||
<ctl name="BT_RX Mixer EP2" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP2" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer RAW" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer RAW" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP bt">
|
||||
<ctl name="BT_RX Mixer RAW" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer EP1" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP1" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP bt">
|
||||
<ctl name="BT_RX Mixer EP1" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback">
|
||||
<ctl name="LVM Enable" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP">
|
||||
<path name="compress-offload-playback" />
|
||||
<ctl name="TDM_0_RX Mixer EP7" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP hac-handset">
|
||||
<path name="compress-offload-playback" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP bt">
|
||||
<path name="compress-offload-playback" />
|
||||
<ctl name="BT_RX Mixer EP7" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP usb-headphone">
|
||||
<path name="compress-offload-playback" />
|
||||
<ctl name="USB_RX Mixer EP7" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP hearing-aid">
|
||||
<path name="compress-offload-playback" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer IMSV" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="immersive-playbackP bt">
|
||||
<ctl name="BT_RX Mixer IMSV" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="immersive-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer IMSV" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP bt">
|
||||
<ctl name="BT_RX Mixer VOIP" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer VOIP" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="haptic-audioP">
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="1"/>
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="haptic-audioP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="haptic-audioP bt">
|
||||
<ctl name="BT_RX Mixer EP3" value="1"/>
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="haptic-audioP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP3" value="1"/>
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="hifi-playbackP">
|
||||
</path>
|
||||
|
||||
<path name="hifi-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer HIFI" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="hifi-recordC">
|
||||
</path>
|
||||
|
||||
<path name="hifi-recordC usb-headset-mic">
|
||||
</path>
|
||||
|
||||
<!-- audio capture dynamic route -->
|
||||
<path name="ultrasound-recordC">
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="audio-recordC">
|
||||
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="audio-recordC usb-headset-mic">
|
||||
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="audio-recordC bt-mic">
|
||||
<ctl name="EP1 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-recordC">
|
||||
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-recordC usb-headset-mic">
|
||||
<ctl name="VOIP TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-recordC bt-mic">
|
||||
<ctl name="VOIP TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<!-- voice-call dynamic route -->
|
||||
<path name="voice-callP">
|
||||
<ctl name="TDM_0_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callP bt">
|
||||
<ctl name="BT_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callP hearing-aid">
|
||||
<ctl name="INCALL_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callP call-screen">
|
||||
<ctl name="INCALL_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC">
|
||||
<ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC usb-headset-mic">
|
||||
<ctl name="EP4 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC bt-mic">
|
||||
<ctl name="EP4 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC hearing-aid">
|
||||
<ctl name="EP4 TX Mixer INCALL_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC call-screen">
|
||||
<ctl name="EP4 TX Mixer INCALL_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="hostless-ulC spk-vi">
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx-captureC">
|
||||
<ctl name="Incall Capture Stream0" value="DL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture1C uplink">
|
||||
<ctl name="Incall Capture Stream1" value="UL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture1C downlink">
|
||||
<ctl name="Incall Capture Stream1" value="DL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture1C call">
|
||||
<ctl name="Incall Capture Stream1" value="UL_DL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture2C uplink">
|
||||
<ctl name="Incall Capture Stream2" value="UL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture2C downlink">
|
||||
<ctl name="Incall Capture Stream2" value="DL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture2C call">
|
||||
<ctl name="Incall Capture Stream2" value="UL_DL"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-recordC">
|
||||
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-recordC usb-headset-mic">
|
||||
<ctl name="EP3 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-recordC bt-mic">
|
||||
<ctl name="EP3 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-recordC">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-recordC usb-headset-mic">
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-recordC bt-mic">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<!-- codec setting -->>
|
||||
<!-- Rx device -->
|
||||
<path name="handset">
|
||||
<ctl name="PCM Source" value="ASP"/>
|
||||
<ctl name="AMP PCM Gain" value="6"/>
|
||||
<ctl name="Main AMP Enable Switch" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-handset">
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="PCM Source" value="ASP"/>
|
||||
<ctl name="AMP PCM Gain" value="7"/>
|
||||
<ctl name="Main AMP Enable Switch" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-hac">
|
||||
<path name="voice-handset"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="speaker">
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="Main AMP Enable Switch" value="1"/>
|
||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||
<ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
|
||||
<ctl name="Fast Use Case Switch Enable" value="1" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
|
||||
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-post">
|
||||
<!-- load Bypass FIR -->
|
||||
<!--ctl name="Fast Use Case Delta File" value="fast_switch3.txt" />
|
||||
<ctl name="Fast Use Case Switch Enable" value="1" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
|
||||
<ctl name="R Fast Use Case Switch Enable" value="1" /-->
|
||||
</path>
|
||||
|
||||
<path name="hdmi">
|
||||
</path>
|
||||
|
||||
<path name="hdmi-post">
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker">
|
||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="ASPTX1 Slot Position" value="1"/>
|
||||
<ctl name="R ASPTX1 Slot Position" value="0"/>
|
||||
<!--<ctl name="R DSP RX2 Source" value="ASPRX2"/>-->
|
||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||
<ctl name="Main AMP Enable Switch" value="1"/>
|
||||
<ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
|
||||
<ctl name="Fast Use Case Switch Enable" value="1" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
|
||||
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||
<ctl name="Digital PCM Volume" value="817"/>
|
||||
<ctl name="R Digital PCM Volume" value="817"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-post">
|
||||
<!-- load Enable FIR -->
|
||||
<!--ctl name="Fast Use Case Delta File" value="fast_switch1.txt" />
|
||||
<ctl name="Fast Use Case Switch Enable" value="1" />
|
||||
<ctl name="R Fast Use Case Delta File" value="fast_switch2.txt" />
|
||||
<ctl name="R Fast Use Case Switch Enable" value="1" />
|
||||
<ctl name="Digital PCM Volume" value="800"/-->
|
||||
</path>
|
||||
|
||||
<path name="voice-dual-speaker">
|
||||
<!-- Speaker Separation -->
|
||||
<path name="voice-speaker" />
|
||||
<path name="voice-speaker-post" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-safe">
|
||||
<ctl name="R Boost Peak Current Limit" value="3.50A"/>
|
||||
<ctl name="R Main AMP Enable Switch" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="speaker-safe-post">
|
||||
<!-- load Bypass FIR -->
|
||||
<!--ctl name="R Fast Use Case Delta File" value="fast_switch4.txt" />
|
||||
<ctl name="R Fast Use Case Switch Enable" value="1" /-->
|
||||
</path>
|
||||
|
||||
<path name="usb-tty-full">
|
||||
</path>
|
||||
|
||||
<path name="usb-tty-hco">
|
||||
</path>
|
||||
|
||||
<path name="usb-tty-vco">
|
||||
</path>
|
||||
|
||||
<!-- Tx device -->
|
||||
<path name="handset-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="handset-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-handset-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-handset-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="speaker-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="speaker-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="camcorder-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="camcorder-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-recog-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-recog-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-recog-aec-mic">
|
||||
<ctl name="Audio Capture Eraser Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="ERASER"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-recog-aec-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-dual-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-dual-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-triple-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-triple-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
|
||||
</path>
|
||||
|
||||
<path name="ultrasound-mic">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
</path>
|
||||
|
||||
<path name="ultrasound-mic-post">
|
||||
</path>
|
||||
|
||||
<path name="bt-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="BT_MIC"/>
|
||||
<ctl name="Voice Call Mic Source" value="BT_MIC"/>
|
||||
</path>
|
||||
|
||||
<path name="bt-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
|
||||
<ctl name="Voice Call Mic Source" value="USB_MIC"/>
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<!-- cs35l41 specific path to load firmware in cs35l41.c -->
|
||||
<path name="cs35l41-load-protection-firmware-start">
|
||||
<!-- Enable it after get the protection firmware -->
|
||||
<ctl name="DSP Booted" value="0" />
|
||||
<ctl name="R DSP Booted" value="0" />
|
||||
<ctl name="DSP1 Preload Switch" value="0" />
|
||||
<ctl name="R DSP1 Preload Switch" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-load-protection-firmware-end">
|
||||
<!-- Enable it after get the protection firmware -->
|
||||
<ctl name="DSP1 Preload Switch" value="1" />
|
||||
<ctl name="R DSP1 Preload Switch" value="1" />
|
||||
</path>
|
||||
<!-- cs35l41 specific path to load firmware in cs35l41.c end-->
|
||||
</mixer>
|
||||
395
audio/akita/config/mixer_paths_factory.xml
Normal file
395
audio/akita/config/mixer_paths_factory.xml
Normal file
@@ -0,0 +1,395 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<mixer>
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="0" />
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="0" />
|
||||
<ctl name="I2S_0_RX Mixer EP3" value="0" />
|
||||
<ctl name="Main AMP Enable Switch" value="0" />
|
||||
<ctl name="R Main AMP Enable Switch" value="0" />
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="0" />
|
||||
<ctl name="DEFAULT_MIC_ID" value="0" />
|
||||
<ctl name="MIC0" value="0" />
|
||||
<ctl name="MIC1" value="0" />
|
||||
<ctl name="MIC2" value="0" />
|
||||
<ctl name="MIC3" value="0" />
|
||||
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_ON" />
|
||||
|
||||
<ctl name="TDM_0_RX Mixer US" value="0" />
|
||||
<ctl name="US Record Enable" value="0" />
|
||||
<ctl name="ASPRX1 Slot Position" value="0"/>
|
||||
<ctl name="R ASPRX1 Slot Position" value="1"/>
|
||||
<ctl name="USB Card" value="1"/>
|
||||
<ctl name="USB Device" value="0"/>
|
||||
<ctl name="USB Direction" value="0" />
|
||||
<ctl name="USB Memory Config" value="0" />
|
||||
|
||||
<path name="mfg-playback">
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback speaker">
|
||||
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="1" />
|
||||
<path name="mfg-playback" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback headphones">
|
||||
<ctl name="I2S_0_RX Mixer EP6" value="1" />
|
||||
<path name="mfg-playback" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-record">
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-record usb-headset-mic">
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
|
||||
<ctl name="USB Playback EP ID v2" value="0" />
|
||||
<ctl name="USB Capture EP ID v2" value="1" />
|
||||
<ctl name="USB Capture FORMAT v2" value="1" />
|
||||
<ctl name="USB Config To AoC v2" value="1"/>
|
||||
<ctl name="USB Card" value="1"/>
|
||||
<ctl name="USB Device" value="0"/>
|
||||
<ctl name="USB Direction" value="1" />
|
||||
<ctl name="USB Memory Config" value="1" />
|
||||
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="us-mfg-record">
|
||||
<ctl name="US Record Enable" value="1" />
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mic1-status">
|
||||
<ctl name="MIC0" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mic2-status">
|
||||
<ctl name="MIC2" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mic1-gain">
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic2-gain">
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic1-sw-gain">
|
||||
<ctl name="MIC Record Soft Gain (dB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic2-sw-gain">
|
||||
<ctl name="MIC Record Soft Gain (dB)" />
|
||||
</path>
|
||||
|
||||
<path name="usb-capture-gain">
|
||||
<ctl name="MIC Record Soft Gain (dB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic1-only">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="mic2-only">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC2" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="mic-all">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
<ctl name="MIC1" value="0" />
|
||||
<ctl name="MIC2" value="1" />
|
||||
<ctl name="MIC3" value="0" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="us-mic1-only">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="us-mic2-only">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC2" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="us-mic-all">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
<ctl name="MIC1" value="0" />
|
||||
<ctl name="MIC2" value="1" />
|
||||
<ctl name="MIC3" value="0" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-us-config">
|
||||
<ctl name="ASPRX1 Slot Position" value="2"/>
|
||||
<ctl name="R ASPRX1 Slot Position" value="3"/>
|
||||
</path>
|
||||
|
||||
<path name="amp_iv-only">
|
||||
<ctl name="R ASPTX1 Slot Position" value="2" />
|
||||
<ctl name="R ASPTX2 Slot Position" value="3" />
|
||||
<ctl name="R ASPTX3 Slot Position" value="6" />
|
||||
<ctl name="R ASPTX4 Slot Position" value="7" />
|
||||
<ctl name="ASPTX1 Slot Position" value="0" />
|
||||
<ctl name="ASPTX2 Slot Position" value="1" />
|
||||
<ctl name="ASPTX3 Slot Position" value="4" />
|
||||
<ctl name="ASPTX4 Slot Position" value="5" />
|
||||
<ctl name="R ASP TX1 Source" value="VMON" />
|
||||
<ctl name="R ASP TX2 Source" value="ASPRX1" />
|
||||
<ctl name="R ASP TX3 Source" value="Zero" />
|
||||
<ctl name="R ASP TX4 Source" value="Zero" />
|
||||
<ctl name="ASP TX1 Source" value="VMON" />
|
||||
<ctl name="ASP TX2 Source" value="ASPRX1" />
|
||||
<ctl name="ASP TX3 Source" value="Zero" />
|
||||
<ctl name="ASP TX4 Source" value="Zero" />
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="amp_iv1-only">
|
||||
<ctl name="R ASPTX1 Slot Position" value="4" />
|
||||
<ctl name="R ASPTX2 Slot Position" value="5" />
|
||||
<ctl name="R ASPTX3 Slot Position" value="6" />
|
||||
<ctl name="R ASPTX4 Slot Position" value="7" />
|
||||
<ctl name="ASPTX1 Slot Position" value="0" />
|
||||
<ctl name="ASPTX2 Slot Position" value="1" />
|
||||
<ctl name="ASPTX3 Slot Position" value="2" />
|
||||
<ctl name="ASPTX4 Slot Position" value="3" />
|
||||
<ctl name="R ASP TX1 Source" value="Zero" />
|
||||
<ctl name="R ASP TX2 Source" value="Zero" />
|
||||
<ctl name="R ASP TX3 Source" value="Zero" />
|
||||
<ctl name="R ASP TX4 Source" value="Zero" />
|
||||
<ctl name="ASP TX1 Source" value="VMON" />
|
||||
<ctl name="ASP TX2 Source" value="IMON" />
|
||||
<ctl name="ASP TX3 Source" value="VPMON" />
|
||||
<ctl name="ASP TX4 Source" value="ASPRX1" />
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="amp_iv2-only">
|
||||
<ctl name="R ASPTX1 Slot Position" value="0" />
|
||||
<ctl name="R ASPTX2 Slot Position" value="1" />
|
||||
<ctl name="R ASPTX3 Slot Position" value="2" />
|
||||
<ctl name="R ASPTX4 Slot Position" value="3" />
|
||||
<ctl name="ASPTX1 Slot Position" value="4" />
|
||||
<ctl name="ASPTX2 Slot Position" value="5" />
|
||||
<ctl name="ASPTX3 Slot Position" value="6" />
|
||||
<ctl name="ASPTX4 Slot Position" value="7" />
|
||||
<ctl name="R ASP TX1 Source" value="VMON" />
|
||||
<ctl name="R ASP TX2 Source" value="IMON" />
|
||||
<ctl name="R ASP TX3 Source" value="VPMON" />
|
||||
<ctl name="R ASP TX4 Source" value="ASPRX1" />
|
||||
<ctl name="ASP TX1 Source" value="Zero" />
|
||||
<ctl name="ASP TX2 Source" value="Zero" />
|
||||
<ctl name="ASP TX3 Source" value="Zero" />
|
||||
<ctl name="ASP TX4 Source" value="Zero" />
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="us-amp_iv-only">
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
<path name="amp_iv-only" />
|
||||
</path>
|
||||
|
||||
<path name="us-amp_iv1-only">
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
<path name="amp_iv1-only" />
|
||||
</path>
|
||||
|
||||
<path name="us-amp_iv2-only">
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
<path name="amp_iv2-only" />
|
||||
</path>
|
||||
|
||||
<path name="speaker1-status">
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker2-status">
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker1-gain">
|
||||
<ctl name="AMP PCM Gain" />
|
||||
</path>
|
||||
|
||||
<path name="speaker2-gain">
|
||||
<ctl name="R AMP PCM Gain" />
|
||||
</path>
|
||||
|
||||
<path name="usb-playback-gain">
|
||||
<ctl name="Headset Playback Volume" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-playback speaker">
|
||||
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="1" />
|
||||
<ctl name="ASPRX1 Slot Position" value="0" />
|
||||
<ctl name="R ASPRX1 Slot Position" value="1" />
|
||||
<ctl name="SINK_IDS" id="0" value="0" />
|
||||
<ctl name="SINK_IDS" id="1" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-playback headphones">
|
||||
<ctl name="I2S_0_RX Chan" value="Two" />
|
||||
<ctl name="I2S_0_RX Format" value="S32_LE" />
|
||||
<ctl name="I2S_0_RX Mixer EP3" value="1" />
|
||||
<ctl name="SINK_IDS" id="0" value="1" />
|
||||
<ctl name="SINK_IDS" id="1" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-playback usb-headphones">
|
||||
<ctl name="USB Dev ID v2" value="2" />
|
||||
<ctl name="USB Playback EP ID v2" value="1" />
|
||||
<ctl name="USB Capture EP ID v2" value="0" />
|
||||
<ctl name="USB Playback FORMAT v2" value="6" />
|
||||
<ctl name="USB Playback SR v2" value="48000" />
|
||||
<ctl name="USB Playback CH v2" value="2" />
|
||||
<ctl name="USB Playback BW v2" value="16" />
|
||||
<ctl name="USB Config To AoC v2" value="1" />
|
||||
<ctl name="USB Card" value="1"/>
|
||||
<ctl name="USB Device" value="0"/>
|
||||
<ctl name="USB Direction" value="0" />
|
||||
<ctl name="USB Memory Config" value="1" />
|
||||
<ctl name="USB_RX Mixer EP3" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="us-mfg-playback speaker">
|
||||
<path name="cs35l41-us-config" />
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_RX Mixer US" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker1-only">
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<path name="mfg-playback speaker" />
|
||||
<ctl name="AMP PCM Gain" value="17" />
|
||||
<ctl name="PCM Source" value="ASP" />
|
||||
</path>
|
||||
|
||||
<path name="speaker2-only">
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
<path name="mfg-playback speaker" />
|
||||
<ctl name="R AMP PCM Gain" value="17" />
|
||||
<ctl name="R PCM Source" value="ASP" />
|
||||
</path>
|
||||
|
||||
<path name="us-speaker1-only">
|
||||
<path name="us-mfg-playback speaker" />
|
||||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="us-speaker2-only">
|
||||
<path name="us-mfg-playback speaker" />
|
||||
<ctl name="R PCM Source" value="ASP" />
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="headphones">
|
||||
<ctl name="DAC1 MIXL DAC1 Switch" value="1" />
|
||||
<ctl name="DAC1 MIXR DAC1 Switch" value="1" />
|
||||
<ctl name="Stereo1 DAC MIXL DAC L1 Switch" value="1" />
|
||||
<ctl name="Stereo1 DAC MIXR DAC R1 Switch" value="1" />
|
||||
<ctl name="DAC L1 Source" value="Stereo1 DAC Mixer" />
|
||||
<ctl name="DAC R1 Source" value="Stereo1 DAC Mixer" />
|
||||
<ctl name="HPOL Playback Switch" value="1" />
|
||||
<ctl name="HPOR Playback Switch" value="1" />
|
||||
<path name="mfg-playback headphones" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-all">
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
<ctl name="R PCM Source" value="ASP" />
|
||||
<path name="mfg-playback speaker" />
|
||||
</path>
|
||||
|
||||
<path name="us-speaker-all">
|
||||
<path name="us-mfg-playback speaker" />
|
||||
<ctl name="PCM Source" value="ASP" />
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="R PCM Source" value="ASP" />
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-mic-speaker">
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
|
||||
<ctl name="SINK_IDS" id="0" value="0" />
|
||||
<ctl name="SINK_IDS" id="1" value="-1" />
|
||||
<path name="mfg-playback" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-mic-headphones">
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
|
||||
<ctl name="SINK_IDS" id="0" value="1" />
|
||||
<ctl name="SINK_IDS" id="1" value="-1" />
|
||||
<path name="mfg-playback" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-mic-usb-headphones">
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
|
||||
<ctl name="TDM_0_TX Format" value="S32_LE" />
|
||||
<ctl name="TDM_0_TX Chan" value="One" />
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-usb-mic-speaker">
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
|
||||
<ctl name="USB Capture FORMAT v2" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-usb-mic-usb-headphone">
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
|
||||
<ctl name="USB Capture FORMAT v2" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<pcm_id name="loopback-mic1" value="EP1 capture (*)"/>
|
||||
<pcm_id name="loopback-mic2" value="EP1 capture (*)"/>
|
||||
<pcm_id name="loopback-mic3" value="EP1 capture (*)"/>
|
||||
<pcm_id name="loopback-speaker1" value="EP3 playback (*)"/>
|
||||
<pcm_id name="loopback-speaker2" value="EP3 playback (*)"/>
|
||||
<pcm_id name="loopback-headphones" value="EP3 playback (*)"/>
|
||||
<pcm_id name="loopback-usb-headphones" value="EP3 playback (*)"/>
|
||||
<pcm_id name="loopback-usb-mic" value="EP1 capture (*)"/>
|
||||
<pcm_id name="loopback-amp_iv" value="nohost1 capture (*)"/>
|
||||
</mixer>
|
||||
368
audio/akita/config/mixer_paths_factory_ti.xml
Normal file
368
audio/akita/config/mixer_paths_factory_ti.xml
Normal file
@@ -0,0 +1,368 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<mixer>
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="0" />
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="0" />
|
||||
<ctl name="I2S_0_RX Mixer EP3" value="0" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="0" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="0" />
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="0" />
|
||||
<ctl name="DEFAULT_MIC_ID" value="0" />
|
||||
<ctl name="MIC0" value="0" />
|
||||
<ctl name="MIC1" value="0" />
|
||||
<ctl name="MIC2" value="0" />
|
||||
<ctl name="MIC3" value="0" />
|
||||
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_ON" />
|
||||
|
||||
<ctl name="TDM_0_RX Mixer US" value="0" />
|
||||
<ctl name="US Record Enable" value="0" />
|
||||
<ctl name="USB Card" value="1"/>
|
||||
<ctl name="USB Device" value="0"/>
|
||||
<ctl name="USB Direction" value="0" />
|
||||
<ctl name="USB Memory Config" value="0" />
|
||||
|
||||
<path name="mfg-playback">
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback speaker">
|
||||
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="1" />
|
||||
<path name="mfg-playback" />
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playback headphones">
|
||||
<ctl name="I2S_0_RX Mixer EP6" value="1" />
|
||||
<path name="mfg-playback" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-record">
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-record usb-headset-mic">
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
|
||||
<ctl name="USB Playback EP ID v2" value="0" />
|
||||
<ctl name="USB Capture EP ID v2" value="1" />
|
||||
<ctl name="USB Capture FORMAT v2" value="1" />
|
||||
<ctl name="USB Config To AoC v2" value="1"/>
|
||||
<ctl name="USB Card" value="1"/>
|
||||
<ctl name="USB Device" value="0"/>
|
||||
<ctl name="USB Direction" value="1" />
|
||||
<ctl name="USB Memory Config" value="1" />
|
||||
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="us-mfg-record">
|
||||
<ctl name="US Record Enable" value="1" />
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mic1-status">
|
||||
<ctl name="MIC0" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mic2-status">
|
||||
<ctl name="MIC1" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mic3-status">
|
||||
<ctl name="MIC2" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="mic1-gain">
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic2-gain">
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic3-gain">
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic1-sw-gain">
|
||||
<ctl name="MIC Record Soft Gain (dB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic2-sw-gain">
|
||||
<ctl name="MIC Record Soft Gain (dB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic3-sw-gain">
|
||||
<ctl name="MIC Record Soft Gain (dB)" />
|
||||
</path>
|
||||
|
||||
<path name="usb-capture-gain">
|
||||
<ctl name="MIC Record Soft Gain (dB)" />
|
||||
</path>
|
||||
|
||||
<path name="mic1-only">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="mic2-only">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC1" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="mic3-only">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC2" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="mic-all">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
<ctl name="MIC1" value="1" />
|
||||
<ctl name="MIC2" value="1" />
|
||||
<ctl name="MIC3" value="0" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="us-mic1-only">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="us-mic2-only">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC1" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="us-mic3-only">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="2" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC2" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="us-mic-all">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="2" />
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1" />
|
||||
<ctl name="MIC0" value="1" />
|
||||
<ctl name="MIC1" value="1" />
|
||||
<ctl name="MIC2" value="1" />
|
||||
<ctl name="MIC3" value="0" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-us-config">
|
||||
<ctl name="ASPRX1 Slot Position" value="2"/>
|
||||
<ctl name="R ASPRX1 Slot Position" value="3"/>
|
||||
</path>
|
||||
|
||||
<path name="amp_iv-only">
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="amp_iv1-only">
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="amp_iv2-only">
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="us-amp_iv-only">
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
<path name="amp_iv-only" />
|
||||
</path>
|
||||
|
||||
<path name="us-amp_iv1-only">
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
<path name="amp_iv1-only" />
|
||||
</path>
|
||||
|
||||
<path name="us-amp_iv2-only">
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
<path name="amp_iv2-only" />
|
||||
</path>
|
||||
|
||||
<path name="speaker1-status">
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker2-status">
|
||||
<ctl name="TAS256X ASI Right Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker1-gain">
|
||||
<ctl name="TAS256X AMP OUTPUT LVL LEFT" />
|
||||
</path>
|
||||
|
||||
<path name="speaker2-gain">
|
||||
<ctl name="TAS256X AMP OUTPUT LVL RIGHT" />
|
||||
</path>
|
||||
|
||||
<path name="usb-playback-gain">
|
||||
<ctl name="Headset Playback Volume" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-playback speaker">
|
||||
<ctl name="AoC Speaker Mixer ASP Mode" value="ASP_BYPASS" />
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="1" />
|
||||
<ctl name="SINK_IDS" id="0" value="0" />
|
||||
<ctl name="SINK_IDS" id="1" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-playback headphones">
|
||||
<ctl name="I2S_0_RX Chan" value="Two" />
|
||||
<ctl name="I2S_0_RX Format" value="S32_LE" />
|
||||
<ctl name="I2S_0_RX Mixer EP3" value="1" />
|
||||
<ctl name="SINK_IDS" id="0" value="1" />
|
||||
<ctl name="SINK_IDS" id="1" value="-1" />
|
||||
</path>
|
||||
|
||||
<path name="mfg-playback usb-headphones">
|
||||
<ctl name="USB Dev ID v2" value="2" />
|
||||
<ctl name="USB Playback EP ID v2" value="1" />
|
||||
<ctl name="USB Capture EP ID v2" value="0" />
|
||||
<ctl name="USB Playback FORMAT v2" value="6" />
|
||||
<ctl name="USB Playback SR v2" value="48000" />
|
||||
<ctl name="USB Playback CH v2" value="2" />
|
||||
<ctl name="USB Playback BW v2" value="16" />
|
||||
<ctl name="USB Config To AoC v2" value="1" />
|
||||
<ctl name="USB Card" value="1"/>
|
||||
<ctl name="USB Device" value="0"/>
|
||||
<ctl name="USB Direction" value="0" />
|
||||
<ctl name="USB Memory Config" value="1" />
|
||||
<ctl name="USB_RX Mixer EP3" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="us-mfg-playback speaker">
|
||||
<!--path name="cs35l41-us-config" /-->
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_96K" />
|
||||
<ctl name="TDM_0_RX Mixer US" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker1-only">
|
||||
<path name="mfg-playback speaker" />
|
||||
<ctl name="TAS256X AMP OUTPUT LVL LEFT" value="16" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker2-only">
|
||||
<path name="mfg-playback speaker" />
|
||||
<ctl name="TAS256X AMP OUTPUT LVL RIGHT" value="16" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="us-speaker1-only">
|
||||
<path name="us-mfg-playback speaker" />
|
||||
<ctl name="TAS256X AMP OUTPUT LVL LEFT" value="16" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="us-speaker2-only">
|
||||
<path name="us-mfg-playback speaker" />
|
||||
<ctl name="TAS256X AMP OUTPUT LVL RIGHT" value="16" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="headphones">
|
||||
<ctl name="DAC1 MIXL DAC1 Switch" value="1" />
|
||||
<ctl name="DAC1 MIXR DAC1 Switch" value="1" />
|
||||
<ctl name="Stereo1 DAC MIXL DAC L1 Switch" value="1" />
|
||||
<ctl name="Stereo1 DAC MIXR DAC R1 Switch" value="1" />
|
||||
<ctl name="DAC L1 Source" value="Stereo1 DAC Mixer" />
|
||||
<ctl name="DAC R1 Source" value="Stereo1 DAC Mixer" />
|
||||
<ctl name="HPOL Playback Switch" value="1" />
|
||||
<ctl name="HPOR Playback Switch" value="1" />
|
||||
<path name="mfg-playback headphones" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-all">
|
||||
<path name="mfg-playback speaker" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="us-speaker-all">
|
||||
<path name="us-mfg-playback speaker" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-mic-speaker">
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
|
||||
<ctl name="SINK_IDS" id="0" value="0" />
|
||||
<ctl name="SINK_IDS" id="1" value="-1" />
|
||||
<path name="mfg-playback" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-mic-headphones">
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
|
||||
<ctl name="SINK_IDS" id="0" value="1" />
|
||||
<ctl name="SINK_IDS" id="1" value="-1" />
|
||||
<path name="mfg-playback" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-mic-usb-headphones">
|
||||
<ctl name="MIC HW Gain At Lower Power Mode (cB)" value="-160" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
|
||||
<ctl name="TDM_0_TX Format" value="S32_LE" />
|
||||
<ctl name="TDM_0_TX Chan" value="One" />
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-usb-mic-speaker">
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
|
||||
<ctl name="USB Capture FORMAT v2" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="loopback-usb-mic-usb-headphone">
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC" />
|
||||
<ctl name="USB Capture FORMAT v2" value="1" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0" />
|
||||
</path>
|
||||
|
||||
<pcm_id name="loopback-mic1" value="EP1 capture (*)"/>
|
||||
<pcm_id name="loopback-mic2" value="EP1 capture (*)"/>
|
||||
<pcm_id name="loopback-mic3" value="EP1 capture (*)"/>
|
||||
<pcm_id name="loopback-speaker1" value="EP3 playback (*)"/>
|
||||
<pcm_id name="loopback-speaker2" value="EP3 playback (*)"/>
|
||||
<pcm_id name="loopback-headphones" value="EP3 playback (*)"/>
|
||||
<pcm_id name="loopback-usb-headphones" value="EP3 playback (*)"/>
|
||||
<pcm_id name="loopback-usb-mic" value="EP1 capture (*)"/>
|
||||
<pcm_id name="loopback-amp_iv" value="nohost1 capture (*)"/>
|
||||
</mixer>
|
||||
840
audio/akita/config/mixer_paths_ti.xml
Normal file
840
audio/akita/config/mixer_paths_ti.xml
Normal file
@@ -0,0 +1,840 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Copyright (c) 2019, The Linux Foundation. All rights reserved. -->
|
||||
<!-- -->
|
||||
<!-- Redistribution and use in source and binary forms, with or without -->
|
||||
<!-- modification, are permitted provided that the following conditions are -->
|
||||
<!-- met: -->
|
||||
<!-- * Redistributions of source code must retain the above copyright -->
|
||||
<!-- notice, this list of conditions and the following disclaimer. -->
|
||||
<!-- * Redistributions in binary form must reproduce the above -->
|
||||
<!-- copyright notice, this list of conditions and the following -->
|
||||
<!-- disclaimer in the documentation and/or other materials provided -->
|
||||
<!-- with the distribution. -->
|
||||
<!-- * Neither the name of The Linux Foundation nor the names of its -->
|
||||
<!-- contributors may be used to endorse or promote products derived -->
|
||||
<!-- from this software without specific prior written permission. -->
|
||||
<!-- -->
|
||||
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
|
||||
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
|
||||
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
|
||||
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
|
||||
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
|
||||
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
|
||||
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
|
||||
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
|
||||
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
|
||||
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
|
||||
<mixer>
|
||||
<!-- Initial default value of ALSA command -->
|
||||
<!-- PCM timeout -->
|
||||
<ctl name="PCM Stream Wait Time in MSec" value="100"/>
|
||||
<ctl name="Voice PCM Stream Wait Time in MSec" value="500"/>
|
||||
|
||||
<!-- Enable it when AOC is ready to trim delay and padding -->
|
||||
<!--ctl name="Gapless Offload Enable" value="1"/-->
|
||||
|
||||
<!-- TDM 0 setting -->
|
||||
<ctl name="TDM_0_RX Chan" value="Four"/>
|
||||
<ctl name="TDM_0_RX Format" value="S32_LE"/>
|
||||
<ctl name="TDM_0_RX Sample Rate" value="SR_48K" />
|
||||
<ctl name="TDM_0_TX Chan" value="Four"/>
|
||||
<ctl name="TDM_0_TX Format" value="S32_LE"/>
|
||||
<ctl name="TDM_0_TX Sample Rate" value="SR_48K" />
|
||||
|
||||
<!-- Haptic setting -->
|
||||
<ctl name="Haptics Source" value="PCM"/>
|
||||
<ctl name="HAPTIC_RX Format" value="S32_LE"/>
|
||||
<ctl name="HAPTIC_RX SlotFmt" value="S32_LE"/>
|
||||
<ctl name="HAPTIC_RX Chan" value="Four"/>
|
||||
<ctl name="HAPTIC_RX nSlot" value="Four"/>
|
||||
<ctl name="RX Slots" id="0" value="2"/>
|
||||
<ctl name="RX Slots" id="1" value="3"/>
|
||||
|
||||
<!-- Tas2562 settings -->
|
||||
<ctl name="TAS256X ASI Left Switch" value="0" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="0" />
|
||||
<ctl name="TAS256X ASI1 SEL LEFT" value="Left" />
|
||||
<ctl name="TAS256X ASI1 SEL RIGHT" value="Right" />
|
||||
<ctl name="TAS256X PLAYBACK VOLUME LEFT" value="55" />
|
||||
<ctl name="TAS256X PLAYBACK VOLUME RIGHT" value="55" />
|
||||
<ctl name="TAS256X AMP OUTPUT LVL LEFT" value="16" />
|
||||
<ctl name="TAS256X AMP OUTPUT LVL RIGHT" value="16" />
|
||||
<ctl name="TAS25XX_ALGO_PROFILE" value="MUSIC" />
|
||||
<ctl name="TAS25XX_ALGO_BYPASS" value="TRUE" />
|
||||
|
||||
<!-- default EP volume -->
|
||||
<ctl name="PCM Playback Switch" value="1"/>
|
||||
<ctl name="PCM Playback Volume" value="10"/>
|
||||
|
||||
<!-- audio RX route initial/default value -->
|
||||
<ctl name="TDM_0_RX Mixer EP1" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP2" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP4" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP5" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP7" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer NoHost1" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer VOIP" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer RAW" value="0"/>
|
||||
<ctl name="TDM_0_RX Mixer IMSV" value="0"/>
|
||||
|
||||
<ctl name="TDM_1_RX Mixer EP1" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP2" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP3" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP4" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP5" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP6" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP7" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer EP8" value="0"/>
|
||||
<ctl name="TDM_1_RX Mixer NoHost1" value="0"/>
|
||||
|
||||
<ctl name="USB_RX Mixer EP1" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP2" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP3" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP4" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP5" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP6" value="0"/>
|
||||
<ctl name="USB_RX Mixer EP7" value="0"/>
|
||||
<ctl name="USB_RX Mixer NoHost1" value="0"/>
|
||||
<ctl name="USB_RX Mixer VOIP" value="0"/>
|
||||
<ctl name="USB_RX Mixer HIFI" value="0"/>
|
||||
<ctl name="USB_RX Mixer RAW" value="0"/>
|
||||
<ctl name="USB_RX Mixer IMSV" value="0"/>
|
||||
|
||||
<ctl name="BT_RX Mixer EP1" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP2" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP3" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP4" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP5" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP6" value="0"/>
|
||||
<ctl name="BT_RX Mixer EP7" value="0"/>
|
||||
<ctl name="BT_RX Mixer NoHost1" value="0"/>
|
||||
<ctl name="BT_RX Mixer VOIP" value="0"/>
|
||||
<ctl name="BT_RX Mixer RAW" value="0"/>
|
||||
<ctl name="BT_RX Mixer IMSV" value="0"/>
|
||||
|
||||
<ctl name="INCALL_RX Mixer EP1" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP2" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP3" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP4" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP5" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP6" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer EP7" value="0"/>
|
||||
<ctl name="INCALL_RX Mixer NoHost1" value="0"/>
|
||||
|
||||
<ctl name="SINK_IDS" id="0" value="-1"/>
|
||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
||||
|
||||
<!-- audio TX route initial/default value -->
|
||||
<ctl name="EP1 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer TDM_0_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer TDM_1_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer TDM_1_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer BT_TX" value="0"/>
|
||||
<ctl name="VOIP TX Mixer BT_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer USB_TX" value="0"/>
|
||||
<ctl name="VOIP TX Mixer USB_TX" value="0"/>
|
||||
|
||||
<ctl name="EP1 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP2 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP3 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP5 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="EP6 TX Mixer INCALL_TX" value="0"/>
|
||||
<ctl name="NoHost1 TX Mixer INCALL_TX" value="0"/>
|
||||
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="0"/>
|
||||
<ctl name="EP4 TX Mixer I2S_2_TX" value="0"/>
|
||||
|
||||
<!-- AoC Mic setting -->
|
||||
<ctl name="MIC DC Blocker" value="1" />
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="0" />
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="-40"/>
|
||||
|
||||
<!-- USB setting v2 -->
|
||||
<ctl name="USB Bus ID v2" value="2"/>
|
||||
<ctl name="USB Dev ID v2" value="2"/>
|
||||
<ctl name="USB Playback EP ID v2" value="1"/>
|
||||
<ctl name="USB Playback FORMAT v2" value="0"/>
|
||||
<ctl name="USB Playback SR v2" value="48000"/>
|
||||
<ctl name="USB Playback CH v2" value="2"/>
|
||||
<ctl name="USB Playback BW v2" value="24"/>
|
||||
<ctl name="USB Capture EP ID v2" value="1"/>
|
||||
<ctl name="USB Capture FORMAT v2" value="0"/>
|
||||
<ctl name="USB Capture SR v2" value="48000"/>
|
||||
<ctl name="USB Capture CH v2" value="1"/>
|
||||
<ctl name="USB Capture BW v2" value="16"/>
|
||||
|
||||
<ctl name="AoC Modem Downlink ASRC Mode" value="ASP_ON"/>
|
||||
<ctl name="Voice Call Mic Source" value="Builtin_MIC"/>
|
||||
<ctl name="Mic Spatial Module Enable" value="0"/>
|
||||
<ctl name="Audio Capture Eraser Enable" value="0"/>
|
||||
|
||||
<!-- audio PDM mic default state -->
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="Builtin_MIC"/>
|
||||
|
||||
<!-- audio Ultrasound mic default state -->
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
|
||||
<!-- sidetone controls -->
|
||||
<ctl name="Sidetone Enable" value="0"/>
|
||||
<ctl name="Sidetone Volume" value="-96"/>
|
||||
<ctl name="Sidetone Selected Mic" value="0"/>
|
||||
<ctl name="Sidetone EQ Stage Number" value="1"/>
|
||||
<!-- IEEE 754, value is in float -->
|
||||
<ctl name="Sidetone Biquad0" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="0" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="1" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
||||
|
||||
<ctl name="Incall Capture Stream0" value="Off"/>
|
||||
<ctl name="Incall Capture Stream1" value="Off"/>
|
||||
<ctl name="Incall Capture Stream2" value="Off"/>
|
||||
|
||||
<!-- These two controls control the muting function of mics and sinks during the voice call. -->
|
||||
<!-- They would be enabled by HAL. -->
|
||||
<ctl name="Incall Sink Mute" value="0"/>
|
||||
<ctl name="Incall Mic Mute" value="0"/>
|
||||
|
||||
<!-- Decoder Reference Enable is controlled in aoc_control -->
|
||||
<ctl name="Decoder Reference Enable" value="0"/>
|
||||
<ctl name="LVM Enable" value="0"/>
|
||||
|
||||
<!-- sidetone dynamic control -->
|
||||
<path name="sidetone-for handset">
|
||||
<!-- 1065353216 = 0x3f800000 = 1.0 -->
|
||||
<ctl name="Sidetone Biquad0" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad0" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad0" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad0" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad1" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad1" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad1" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad2" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad2" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad2" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad3" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad3" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad3" id="5" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="0" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad4" id="1" value="1065353216"/>
|
||||
<ctl name="Sidetone Biquad4" id="2" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="3" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="4" value="0"/>
|
||||
<ctl name="Sidetone Biquad4" id="5" value="0"/>
|
||||
<ctl name="Sidetone EQ Stage Number" value="5"/>
|
||||
<ctl name="Sidetone Volume" value="-90"/>
|
||||
<ctl name="Sidetone Enable" value="1"/>
|
||||
</path>
|
||||
|
||||
<!-- audio playback dynamic route -->
|
||||
<path name="deep-buffer-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playbackP bt">
|
||||
<ctl name="BT_RX Mixer EP6" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP6" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="deep-buffer-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer EP2" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP bt">
|
||||
<ctl name="BT_RX Mixer EP2" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP2" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer RAW" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer RAW" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="raw-playbackP bt">
|
||||
<ctl name="BT_RX Mixer RAW" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer EP1" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP1" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP bt">
|
||||
<ctl name="BT_RX Mixer EP1" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playback">
|
||||
<ctl name="LVM Enable" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP">
|
||||
<path name="compress-offload-playback" />
|
||||
<ctl name="TDM_0_RX Mixer EP7" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP hac-handset">
|
||||
<path name="compress-offload-playback" />
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP bt">
|
||||
<path name="compress-offload-playback" />
|
||||
<ctl name="BT_RX Mixer EP7" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP usb-headphone">
|
||||
<path name="compress-offload-playback" />
|
||||
<ctl name="USB_RX Mixer EP7" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="compress-offload-playbackP hearing-aid">
|
||||
<path name="compress-offload-playback" />
|
||||
</path>
|
||||
|
||||
<path name="immersive-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer IMSV" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="immersive-playbackP bt">
|
||||
<ctl name="BT_RX Mixer IMSV" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="immersive-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer IMSV" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP">
|
||||
<ctl name="TDM_0_RX Mixer VOIP" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP bt">
|
||||
<ctl name="BT_RX Mixer VOIP" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer VOIP" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-playbackP hearing-aid">
|
||||
</path>
|
||||
|
||||
<path name="haptic-audioP">
|
||||
<ctl name="TDM_0_RX Mixer EP3" value="1"/>
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="haptic-audioP hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="haptic-audioP bt">
|
||||
<ctl name="BT_RX Mixer EP3" value="1"/>
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="haptic-audioP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP3" value="1"/>
|
||||
<ctl name="TDM_0_RX Mixer EP8" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="hifi-playbackP">
|
||||
</path>
|
||||
|
||||
<path name="hifi-playbackP usb-headphone">
|
||||
<ctl name="USB_RX Mixer HIFI" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="hifi-recordC">
|
||||
</path>
|
||||
|
||||
<path name="hifi-recordC usb-headset-mic">
|
||||
</path>
|
||||
|
||||
<!-- audio capture dynamic route -->
|
||||
<path name="ultrasound-recordC">
|
||||
<ctl name="EP5 TX Mixer INTERNAL_MIC_US_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="audio-recordC">
|
||||
<ctl name="EP1 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="audio-recordC usb-headset-mic">
|
||||
<ctl name="EP1 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="audio-recordC bt-mic">
|
||||
<ctl name="EP1 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-recordC">
|
||||
<ctl name="VOIP TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-recordC usb-headset-mic">
|
||||
<ctl name="VOIP TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voip-recordC bt-mic">
|
||||
<ctl name="VOIP TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<!-- voice-call dynamic route -->
|
||||
<path name="voice-callP">
|
||||
<ctl name="TDM_0_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callP bt">
|
||||
<ctl name="BT_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callP usb-headphone">
|
||||
<ctl name="USB_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callP hearing-aid">
|
||||
<ctl name="INCALL_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callP call-screen">
|
||||
<ctl name="INCALL_RX Mixer EP5" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC">
|
||||
<ctl name="EP4 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC usb-headset-mic">
|
||||
<ctl name="EP4 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC bt-mic">
|
||||
<ctl name="EP4 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC hearing-aid">
|
||||
<ctl name="EP4 TX Mixer INCALL_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-callC call-screen">
|
||||
<ctl name="EP4 TX Mixer INCALL_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="hostless-ulC spk-vi">
|
||||
<ctl name="NoHost1 TX Mixer TDM_0_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="telephony-rx-captureC">
|
||||
<ctl name="Incall Capture Stream0" value="DL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture1C uplink">
|
||||
<ctl name="Incall Capture Stream1" value="UL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture1C downlink">
|
||||
<ctl name="Incall Capture Stream1" value="DL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture1C call">
|
||||
<ctl name="Incall Capture Stream1" value="UL_DL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture2C uplink">
|
||||
<ctl name="Incall Capture Stream2" value="UL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture2C downlink">
|
||||
<ctl name="Incall Capture Stream2" value="DL"/>
|
||||
</path>
|
||||
|
||||
<path name="incall-capture2C call">
|
||||
<ctl name="Incall Capture Stream2" value="UL_DL"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-recordC">
|
||||
<ctl name="EP3 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-recordC usb-headset-mic">
|
||||
<ctl name="EP3 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="low-latency-recordC bt-mic">
|
||||
<ctl name="EP3 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-recordC">
|
||||
<ctl name="EP2 TX Mixer INTERNAL_MIC_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-recordC usb-headset-mic">
|
||||
<ctl name="EP2 TX Mixer USB_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="mmap-recordC bt-mic">
|
||||
<ctl name="EP2 TX Mixer BT_TX" value="1"/>
|
||||
</path>
|
||||
|
||||
<!-- codec setting -->>
|
||||
<!-- Rx device -->
|
||||
<path name="handset">
|
||||
<ctl name="TAS25XX_ALGO_BYPASS" value="TRUE" />
|
||||
<ctl name="TAS256X PLAYBACK VOLUME LEFT" value="55" />
|
||||
<ctl name="TAS256X PLAYBACK VOLUME RIGHT" value="55" />
|
||||
<ctl name="TAS256X AMP OUTPUT LVL LEFT" value="1" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="voice-handset">
|
||||
<ctl name="TAS25XX_ALGO_BYPASS" value="TRUE" />
|
||||
<ctl name="TAS256X PLAYBACK VOLUME LEFT" value="55" />
|
||||
<ctl name="TAS256X PLAYBACK VOLUME RIGHT" value="55" />
|
||||
<ctl name="TAS256X AMP OUTPUT LVL LEFT" value="1" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="voice-hac">
|
||||
<path name="voice-handset"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-hac-handset">
|
||||
</path>
|
||||
|
||||
<path name="speaker">
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-post">
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker">
|
||||
<ctl name="TAS25XX_ALGO_PROFILE" value="VOICE" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="0" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="voice-dual-speaker">
|
||||
<ctl name="TAS25XX_ALGO_PROFILE" value="VOICE" />
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-safe">
|
||||
<ctl name="TAS256X ASI Left Switch" value="1" />
|
||||
<ctl name="TAS256X ASI Right Switch" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="speaker-safe-post">
|
||||
</path>
|
||||
|
||||
<path name="usb-tty-full">
|
||||
</path>
|
||||
|
||||
<path name="usb-tty-hco">
|
||||
</path>
|
||||
|
||||
<path name="usb-tty-vco">
|
||||
</path>
|
||||
|
||||
<!-- Tx device -->
|
||||
<path name="handset-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="handset-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-handset-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-handset-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="speaker-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="speaker-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
<ctl name="MIC HW Gain At High Power Mode (cB)" value="130"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-speaker-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="camcorder-mic">
|
||||
<ctl name="Mic Spatial Module Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="camcorder-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-recog-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-recog-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="22"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-recog-aec-mic">
|
||||
<ctl name="Audio Capture Eraser Enable" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="ERASER"/>
|
||||
</path>
|
||||
|
||||
<path name="voice-recog-aec-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-dual-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-dual-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-triple-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="MIC DC Blocker" value="1"/>
|
||||
</path>
|
||||
|
||||
<path name="unprocessed-triple-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="5"/>
|
||||
</path>
|
||||
|
||||
<path name="ultrasound-mic">
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="2" value="-1"/>
|
||||
<ctl name="BUILDIN US MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
</path>
|
||||
|
||||
<path name="ultrasound-mic-post">
|
||||
</path>
|
||||
|
||||
<path name="bt-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="BT_MIC"/>
|
||||
<ctl name="Voice Call Mic Source" value="BT_MIC"/>
|
||||
</path>
|
||||
|
||||
<path name="bt-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-mic">
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="0" value="0"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="1" value="1"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="2" value="2"/>
|
||||
<ctl name="BUILDIN MIC ID CAPTURE LIST" id="3" value="-1"/>
|
||||
<ctl name="Audio Capture Mic Source" value="USB_MIC"/>
|
||||
<ctl name="Voice Call Mic Source" value="USB_MIC"/>
|
||||
</path>
|
||||
|
||||
<path name="usb-headset-mic-post">
|
||||
<ctl name="MIC Record Soft Gain (dB)" value="0"/>
|
||||
</path>
|
||||
|
||||
<!-- cs35l41 specific path to load firmware in cs35l41.c -->
|
||||
<path name="cs35l41-load-protection-firmware-start">
|
||||
<!-- Enable it after get the protection firmware -->
|
||||
<ctl name="DSP Booted" value="0" />
|
||||
<ctl name="R DSP Booted" value="0" />
|
||||
<ctl name="DSP1 Preload Switch" value="0" />
|
||||
<ctl name="R DSP1 Preload Switch" value="0" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-load-protection-firmware-end">
|
||||
<!-- Enable it after get the protection firmware -->
|
||||
<ctl name="DSP1 Preload Switch" value="1" />
|
||||
<ctl name="R DSP1 Preload Switch" value="1" />
|
||||
</path>
|
||||
<!-- cs35l41 specific path to load firmware in cs35l41.c end-->
|
||||
</mixer>
|
||||
33
audio/akita/config/sound_trigger_configuration.xml
Normal file
33
audio/akita/config/sound_trigger_configuration.xml
Normal file
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Copyright (c) 2020, The Linux Foundation. All rights reserved. -->
|
||||
<!-- -->
|
||||
<!-- Redistribution and use in source and binary forms, with or without -->
|
||||
<!-- modification, are permitted provided that the following conditions are -->
|
||||
<!-- met: -->
|
||||
<!-- * Redistributions of source code must retain the above copyright -->
|
||||
<!-- notice, this list of conditions and the following disclaimer. -->
|
||||
<!-- * Redistributions in binary form must reproduce the above -->
|
||||
<!-- copyright notice, this list of conditions and the following -->
|
||||
<!-- disclaimer in the documentation and/or other materials provided -->
|
||||
<!-- with the distribution. -->
|
||||
<!-- * Neither the name of The Linux Foundation nor the names of its -->
|
||||
<!-- contributors may be used to endorse or promote products derived -->
|
||||
<!-- from this software without specific prior written permission. -->
|
||||
<!-- -->
|
||||
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
|
||||
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
|
||||
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
|
||||
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
|
||||
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
|
||||
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
|
||||
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
|
||||
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
|
||||
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
|
||||
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
|
||||
<sound_trigger_hal_configuration>
|
||||
<supported_model>
|
||||
<model name="CLIENT_HOTWORD" uuid="7038ddc8-30f2-11e6-b0ac-40a8f03d3f15" model_type="keyphrase" bargein="true"/>
|
||||
<model name="CLIENT_AMBIENT_MUSIC" uuid="9f6ad62a-1f0b-11e7-87c5-40a8f03d3f15" model_type="generic" bargein="false"/>
|
||||
<model name="CLIENT_AMBIENT_MUSIC_BREAK" uuid="12caddb1-acdb-4dce-8cb0-2e95a2313aee" model_type="generic" bargein="false"/>
|
||||
</supported_model>
|
||||
</sound_trigger_hal_configuration>
|
||||
315
audio/akita/cs35l41/crus_sp_cal_mixer_paths.xml
Normal file
315
audio/akita/cs35l41/crus_sp_cal_mixer_paths.xml
Normal file
@@ -0,0 +1,315 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Copyright (c) 2018-2020, The Linux Foundation. All rights reserved. -->
|
||||
<!-- -->
|
||||
<!-- Redistribution and use in source and binary forms, with or without -->
|
||||
<!-- modification, are permitted provided that the following conditions are -->
|
||||
<!-- met: -->
|
||||
<!-- * Redistributions of source code must retain the above copyright -->
|
||||
<!-- notice, this list of conditions and the following disclaimer. -->
|
||||
<!-- * Redistributions in binary form must reproduce the above -->
|
||||
<!-- copyright notice, this list of conditions and the following -->
|
||||
<!-- disclaimer in the documentation and/or other materials provided -->
|
||||
<!-- with the distribution. -->
|
||||
<!-- * Neither the name of The Linux Foundation nor the names of its -->
|
||||
<!-- contributors may be used to endorse or promote products derived -->
|
||||
<!-- from this software without specific prior written permission. -->
|
||||
<!-- -->
|
||||
<!-- THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESS OR IMPLIED -->
|
||||
<!-- WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -->
|
||||
<!-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT -->
|
||||
<!-- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS -->
|
||||
<!-- BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -->
|
||||
<!-- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -->
|
||||
<!-- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -->
|
||||
<!-- BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -->
|
||||
<!-- OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN -->
|
||||
<!-- IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -->
|
||||
<mixer>
|
||||
<!-- Initial Values -->
|
||||
<!-- Preload Stage -->
|
||||
<ctl name="Main AMP Enable Switch" value="0" />
|
||||
<ctl name="DSP1 Preload Switch" value="0" />
|
||||
<ctl name="R Main AMP Enable Switch" value="0" />
|
||||
<ctl name="R DSP1 Preload Switch" value="0" />
|
||||
<!-- Clock-trigger Stage -->
|
||||
<ctl name="SINK_IDS" id="0" value="-1"/>
|
||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
||||
<ctl name="PCM Playback Volume" value="10"/>
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="0"/>
|
||||
|
||||
<!-- Preparation Stage -->
|
||||
<path name="crus-switch-fw-prepare">
|
||||
<ctl name="DRE DRE Switch" value="1" />
|
||||
<ctl name="VBSTMON Output Switch" value="1" />
|
||||
<ctl name="DSP Booted" value="0" />
|
||||
<ctl name="DSP1 Preload Switch" value="0" />
|
||||
<ctl name="R DRE DRE Switch" value="1" />
|
||||
<ctl name="R VBSTMON Output Switch" value="1" />
|
||||
<ctl name="R DSP Booted" value="0" />
|
||||
<ctl name="R DSP1 Preload Switch" value="0" />
|
||||
</path>
|
||||
|
||||
<!-- Preload Stage -->
|
||||
<path name="crus-fw-preload">
|
||||
<ctl name="DSP1 Preload Switch" value="1" />
|
||||
<ctl name="R DSP1 Preload Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="crus-fw-preload-amp1">
|
||||
<ctl name="DSP1 Preload Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="crus-fw-preload-amp2">
|
||||
<ctl name="R DSP1 Preload Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<!-- Firmware-switching Stage -->
|
||||
<path name="crus-switch-fw-Calibration">
|
||||
<ctl name="AMP PCM Gain" value="17" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
<ctl name="PCM Source" value="DSP" />
|
||||
<ctl name="DSP1 Firmware" value="Calibration" />
|
||||
<ctl name="R AMP PCM Gain" value="17" />
|
||||
<ctl name="R Digital PCM Volume" value="817" />
|
||||
<ctl name="R PCM Source" value="DSP" />
|
||||
<ctl name="R DSP1 Firmware" value="Calibration" />
|
||||
</path>
|
||||
|
||||
<path name="crus-switch-fw-Diagnostic">
|
||||
<ctl name="AMP PCM Gain" value="17" />
|
||||
<ctl name="Digital PCM Volume" value="817" />
|
||||
<ctl name="PCM Source" value="DSP" />
|
||||
<ctl name="DSP1 Firmware" value="Diagnostic" />
|
||||
<ctl name="R AMP PCM Gain" value="17" />
|
||||
<ctl name="R Digital PCM Volume" value="817" />
|
||||
<ctl name="R PCM Source" value="DSP" />
|
||||
<ctl name="R DSP1 Firmware" value="Diagnostic" />
|
||||
</path>
|
||||
|
||||
<path name="crus-switch-fw-Protection">
|
||||
<ctl name="PCM Source" value="DSP" />
|
||||
<ctl name="DSP1 Firmware" value="Protection" />
|
||||
<ctl name="R PCM Source" value="DSP" />
|
||||
<ctl name="R DSP1 Firmware" value="Protection" />
|
||||
</path>
|
||||
|
||||
<!-- DSP-initialization Stage -->
|
||||
<path name="crus-dsp-pre-calibration-amp1">
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="crus-dsp-pre-calibration-amp2">
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="crus-dsp-pre-calibration">
|
||||
<path name="crus-dsp-pre-calibration-amp1" />
|
||||
<path name="crus-dsp-pre-calibration-amp2" />
|
||||
</path>
|
||||
|
||||
<path name="crus-dsp-pre-diagnostic-amp1">
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="crus-dsp-pre-diagnostic-amp2">
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="crus-dsp-pre-diagnostic">
|
||||
<path name="crus-dsp-pre-diagnostic-amp1" />
|
||||
<path name="crus-dsp-pre-diagnostic-amp2" />
|
||||
</path>
|
||||
|
||||
<path name="crus-dsp-pre-protection">
|
||||
<ctl name="Main AMP Enable Switch" value="1" />
|
||||
<ctl name="R Main AMP Enable Switch" value="1" />
|
||||
</path>
|
||||
|
||||
<!-- Clock-trigger Stage -->
|
||||
<path name="platform-controls">
|
||||
<ctl name="PCM Playback Volume" value="1000"/>
|
||||
<ctl name="SINK_IDS" id="0" value="0"/>
|
||||
<ctl name="SINK_IDS" id="1" value="-1"/>
|
||||
<ctl name="TDM_0_RX Mixer EP6" value="1"/>
|
||||
</path>
|
||||
|
||||
<!-- Post loaded firmware -->
|
||||
<path name="crus-dsp-post-loading-fw">
|
||||
<ctl name="Main AMP Enable Switch" value="0" />
|
||||
<ctl name="R Main AMP Enable Switch" value="0" />
|
||||
</path>
|
||||
|
||||
<!-- Value & Information Fetch Stage -->
|
||||
<path name="platform-values">
|
||||
<ctl name="TDM_0_RX Format" />
|
||||
<ctl name="TDM_0_RX Chan" />
|
||||
<ctl name="TDM_0_RX Sample Rate" />
|
||||
<ctl name="PCM Playback Volume" />
|
||||
<ctl name="TDM_0_RX Mixer EP6" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-values">
|
||||
<ctl name="DRE DRE Switch" />
|
||||
<ctl name="R DRE DRE Switch" />
|
||||
<ctl name="VBSTMON Output Switch" />
|
||||
<ctl name="R VBSTMON Output Switch" />
|
||||
<ctl name="AMP PCM Gain" />
|
||||
<ctl name="R AMP PCM Gain" />
|
||||
<ctl name="Digital PCM Volume" />
|
||||
<ctl name="R Digital PCM Volume" />
|
||||
<ctl name="PCM Source" />
|
||||
<ctl name="R PCM Source" />
|
||||
<ctl name="DSP Booted" />
|
||||
<ctl name="R DSP Booted" />
|
||||
<ctl name="Main AMP Enable Switch" />
|
||||
<ctl name="R Main AMP Enable Switch" />
|
||||
<ctl name="DSP1 Preload Switch" />
|
||||
<ctl name="R DSP1 Preload Switch" />
|
||||
<ctl name="DSP1 Firmware" />
|
||||
<ctl name="R DSP1 Firmware" />
|
||||
</path>
|
||||
|
||||
|
||||
<!-- Note that the order of controls does matter because
|
||||
it should be matched to the structure defined in
|
||||
sp_cal_common.h -->
|
||||
<!--
|
||||
struct calibration_data {
|
||||
unsigned int cal_r;
|
||||
unsigned int cal_status;
|
||||
unsigned int cal_checksum;
|
||||
unsigned int cal_ambient;
|
||||
unsigned int amp_pcm_gain;
|
||||
unsigned int digital_pcm_gain;
|
||||
};
|
||||
-->
|
||||
<path name="cs35l41-dsp-amp1-calibration-values">
|
||||
<ctl name="DSP1 Calibration cd CAL_R" />
|
||||
<ctl name="DSP1 Calibration cd CAL_STATUS" />
|
||||
<ctl name="DSP1 Calibration cd CAL_CHECKSUM" />
|
||||
<ctl name="DSP1 Calibration cd CAL_AMBIENT" />
|
||||
<ctl name="AMP PCM Gain" />
|
||||
<ctl name="Digital PCM Volume" />
|
||||
|
||||
<!-- Only for debug print -->
|
||||
<ctl name="DSP1 Calibration cd CAL_SET_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp2-calibration-values">
|
||||
<ctl name="R DSP1 Calibration cd CAL_R" />
|
||||
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
|
||||
<ctl name="R DSP1 Calibration cd CAL_CHECKSUM" />
|
||||
<ctl name="R DSP1 Calibration cd CAL_AMBIENT" />
|
||||
<ctl name="R AMP PCM Gain" />
|
||||
<ctl name="R Digital PCM Volume" />
|
||||
|
||||
<!-- Only for debug print -->
|
||||
<ctl name="R DSP1 Calibration cd CAL_SET_STATUS" />
|
||||
</path>
|
||||
|
||||
<!--
|
||||
struct diagnostic_data {
|
||||
struct calibration_data calibration_data;
|
||||
unsigned int z_low_diff;
|
||||
unsigned int diag_f0;
|
||||
unsigned int diag_f0_status;
|
||||
};
|
||||
-->
|
||||
<path name="cs35l41-dsp-amp1-diagnostic-values">
|
||||
<!-- struct calibration_data START -->
|
||||
<ctl name="DSP1 Diagnostic cd CAL_R" />
|
||||
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
|
||||
<ctl name="DSP1 Diagnostic cd CAL_CHECKSUM" />
|
||||
<ctl name="DSP1 Diagnostic cd CAL_AMBIENT" />
|
||||
<ctl name="AMP PCM Gain" />
|
||||
<ctl name="Digital PCM Volume" />
|
||||
<!-- struct calibration_data END -->
|
||||
<ctl name="DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
|
||||
<ctl name="DSP1 Diagnostic cd DIAG_F0" />
|
||||
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
|
||||
|
||||
<!-- Only for debug print -->
|
||||
<ctl name="DSP1 Diagnostic cd CAL_SET_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp2-diagnostic-values">
|
||||
<!-- struct calibration_data START -->
|
||||
<ctl name="R DSP1 Diagnostic cd CAL_R" />
|
||||
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
|
||||
<ctl name="R DSP1 Diagnostic cd CAL_CHECKSUM" />
|
||||
<ctl name="R DSP1 Diagnostic cd CAL_AMBIENT" />
|
||||
<ctl name="R AMP PCM Gain" />
|
||||
<ctl name="R Digital PCM Volume" />
|
||||
<!-- struct calibration_data END -->
|
||||
<ctl name="R DSP1 Diagnostic cd DIAG_Z_LOW_DIFF" />
|
||||
<ctl name="R DSP1 Diagnostic cd DIAG_F0" />
|
||||
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
|
||||
|
||||
<!-- Only for debug print -->
|
||||
<ctl name="R DSP1 Diagnostic cd CAL_SET_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp1-protection-values">
|
||||
<!-- struct calibration_data START -->
|
||||
<ctl name="DSP1 Protection cd CAL_R" />
|
||||
<ctl name="DSP1 Protection cd CAL_STATUS" />
|
||||
<ctl name="DSP1 Protection cd CAL_CHECKSUM" />
|
||||
<ctl name="DSP1 Protection cd CAL_AMBIENT" />
|
||||
|
||||
<!-- These controls are unrelated so we can simply
|
||||
skip them
|
||||
<ctl name="AMP PCM Gain" />
|
||||
<ctl name="Digital PCM Volume" />
|
||||
-->
|
||||
<!-- struct calibration_data END -->
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp2-protection-values">
|
||||
<!-- struct calibration_data START -->
|
||||
<ctl name="R DSP1 Protection cd CAL_R" />
|
||||
<ctl name="R DSP1 Protection cd CAL_STATUS" />
|
||||
<ctl name="R DSP1 Protection cd CAL_CHECKSUM" />
|
||||
<ctl name="R DSP1 Protection cd CAL_AMBIENT" />
|
||||
|
||||
<!-- These controls are unrelated so we can simply
|
||||
skip them
|
||||
<ctl name="R AMP PCM Gain" />
|
||||
<ctl name="R Digital PCM Volume" />
|
||||
-->
|
||||
<!-- struct calibration_data END -->
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp1-calibration-completion">
|
||||
<ctl name="DSP1 Calibration cd CAL_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp2-calibration-completion">
|
||||
<ctl name="R DSP1 Calibration cd CAL_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp1-protection-completion">
|
||||
<ctl name="DSP1 Protection cd CAL_SET_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp2-protection-completion">
|
||||
<ctl name="R DSP1 Protection cd CAL_SET_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp1-diagnostic-completion">
|
||||
<ctl name="DSP1 Diagnostic cd CAL_STATUS" />
|
||||
<ctl name="DSP1 Diagnostic cd DIAG_F0_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp2-diagnostic-completion">
|
||||
<ctl name="R DSP1 Diagnostic cd CAL_STATUS" />
|
||||
<ctl name="R DSP1 Diagnostic cd DIAG_F0_STATUS" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp1-enable-status">
|
||||
<ctl name="Main AMP Enable Switch" />
|
||||
</path>
|
||||
|
||||
<path name="cs35l41-dsp-amp2-enable-status">
|
||||
<ctl name="R Main AMP Enable Switch" />
|
||||
</path>
|
||||
</mixer>
|
||||
23
audio/akita/factory-audio-tables.mk
Normal file
23
audio/akita/factory-audio-tables.mk
Normal file
@@ -0,0 +1,23 @@
|
||||
#
|
||||
# Copyright (C) 2020 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.
|
||||
#
|
||||
|
||||
AUDIO_FACTORY_TABLE_FOLDER := akita
|
||||
|
||||
# Mixer Path Configuration for Audio Factory
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml \
|
||||
device/google/akita/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory_ti.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory_ti.xml
|
||||
|
||||
409
audio/akita/tuning/bluenote/template.xml
Normal file
409
audio/akita/tuning/bluenote/template.xml
Normal file
@@ -0,0 +1,409 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<template>
|
||||
<modules>
|
||||
<module id="2" name="Waves">
|
||||
<param id="0" max="3" name="opMode_" type="uint32"/>
|
||||
</module>
|
||||
<module id="3" name="Forte">
|
||||
<param id="0" max="3" name="opMode_" type="uint32"/>
|
||||
</module>
|
||||
<module id="5" name="Auto Gain Control">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="1" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="1" id="3" name="chMask_" type="uint32"/>
|
||||
<param id="16" name="GainApplied" type="float"/>
|
||||
<param id="17" name="idealRMS" type="float"/>
|
||||
<param id="18" name="noiseGate" type="float"/>
|
||||
<param id="19" name="minGain" type="float"/>
|
||||
<param id="20" name="maxGain" type="float"/>
|
||||
<param id="21" name="longGainAtRt" type="uint32"/>
|
||||
<param id="22" name="GainAtRt" type="uint32"/>
|
||||
<param id="23" name="rmsTav" type="uint32"/>
|
||||
</module>
|
||||
<module id="6" name="Surround Record">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="3" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="7" id="3" name="chMask_" type="uint32"/>
|
||||
<param id="16" max="1" min="0" name="alpha" type="float"/>
|
||||
<param complex="true" id="17" name="ch0_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="18" name="ch1_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="19" name="ch2_profileL" size="1024" type="float"/>
|
||||
<param complex="true" id="20" name="ch0_profileR" size="1024" type="float"/>
|
||||
<param complex="true" id="21" name="ch1_profileR" size="1024" type="float"/>
|
||||
<param complex="true" id="22" name="ch2_profileR" size="1024" type="float"/>
|
||||
<param complex="true" id="23" name="ch0_profileAZ" size="1024" type="float"/>
|
||||
<param complex="true" id="24" name="ch1_profileAZ" size="1024" type="float"/>
|
||||
<param complex="true" id="25" name="ch2_profileAZ" size="1024" type="float"/>
|
||||
<struct id="26">
|
||||
<param default="1" name="ch_gain" type="float"/>
|
||||
<param default="1" name="zoom_gain" type="float"/>
|
||||
</struct>
|
||||
<param default="0" id="27" name="ch0_assignFrom" type="int32"/>
|
||||
<param default="1" id="28" name="ch1_assignFrom" type="int32"/>
|
||||
<param default="2" id="29" name="ch2_assignFrom" type="int32"/>
|
||||
<param default="0.333" id="30" max="1" min="0.01" name="alphaEnhancedRate" type="float"/>
|
||||
</module>
|
||||
<module id="7" name="Multi Channel IIR 2">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="3" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="1" id="3" name="chMask_" type="uint32"/>
|
||||
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
|
||||
<param id="17" name="coeff" size="300" type="float"/>
|
||||
<struct id="18">
|
||||
<param max="18" min="-96" name="gain" size="60" type="float"/>
|
||||
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
|
||||
<param max="200" min="0" name="qfactor" size="60" type="float"/>
|
||||
<param default="4" name="type" size="60" type="int32"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="11" name="Stationary Noise Suppression">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="2" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="3" id="3" name="chMask_" type="uint32"/>
|
||||
<param default="1" id="16" name="strength level" type="uint32"/>
|
||||
<param id="17" name="POWER_TIME_SMOOTH" type="float"/>
|
||||
<param id="18" name="RMS_TIME_SMOOTH" type="float"/>
|
||||
<param id="19" name="LOWER_BAND_THRESHOLD" size="257" type="float"/>
|
||||
<param id="20" name="UPPER_BAND_THRESHOLD" size="3" type="float"/>
|
||||
<param id="21" name="ATTACK_TIME" type="float"/>
|
||||
<param id="22" name="RELEASE_TIME" type="float"/>
|
||||
<param id="23" name="BIN_THRESHOLD" size="5" type="uint32"/>
|
||||
</module>
|
||||
<module id="14" name="Linear Gain">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="1" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="1" id="3" name="chMask_" type="uint32"/>
|
||||
<param id="16" name="Simple_gain" type="float"/>
|
||||
<param default="0" id="17" name="ch0_assignFrom" type="int32"/>
|
||||
<param default="1" id="18" name="ch1_assignFrom" type="int32"/>
|
||||
<param default="2" id="19" name="ch2_assignFrom" type="int32"/>
|
||||
</module>
|
||||
<module id="17" name="Wind Noise Reduction">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="2" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="3" id="3" name="chMask_" type="uint32"/>
|
||||
<param default="450" id="16" name="DECISION_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="50" id="17" name="DECISION_ATTACK_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="50" id="18" name="DECISION_RELEASE_HIGH_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="50" id="19" name="DECISION_RELEASE_LOW_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="700" id="20" name="DECISION_RELEASE_THRESHOLD" type="int32"/>
|
||||
<param default="0" id="21" name="DECISION_RANGE_OFFSET_FACTOR" type="int32"/>
|
||||
<param default="1000" id="22" name="DECISION_RANGE_SLOPE_FACTOR" type="int32"/>
|
||||
<param default="450" id="23" name="DECISION_GAIN_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="27" id="24" name="DECISION_DB_RANGE" type="int32"/>
|
||||
<param default="1000" id="25" name="MASTER_REDUCTION_FACTOR" type="int32"/>
|
||||
<param default="15" id="26" name="KEEP_NUM_OF_PREV_DECISIONS" type="int32"/>
|
||||
<param default="1000" id="27" name="DEC_PRE_GAIN" type="int32"/>
|
||||
<param default="16000" id="28" name="SUP_PRE_GAIN" type="int32"/>
|
||||
<param default="2" id="29" name="COHERENCE_ENABLE" type="int32"/>
|
||||
<param default="1" id="30" name="COHERENCE_START_BIN" type="int32"/>
|
||||
<param default="10" id="31" name="COHERENCE_END_BIN" type="int32"/>
|
||||
<param default="300" id="32" name="COHERENCE_THRESHOLD" type="int32"/>
|
||||
<param default="990" id="33" name="COHERENCE_FORGETTING_FACTOR" type="int32"/>
|
||||
<param default="0" id="34" name="DB_SCALING_FACTOR" type="int32"/>
|
||||
<param default="9" id="35" name="SEP_LAYER" type="int32"/>
|
||||
<param default="1" id="36" name="SP_GAIN_ENABLE" type="int32"/>
|
||||
<param default="15" id="37" name="SP_GAIN_MAX_BIN" type="int32"/>
|
||||
<param default="500" id="38" name="SP_GAIN_MIN" type="int32"/>
|
||||
<param default="200" id="39" name="SP_GAIN_TH_MIN" type="int32"/>
|
||||
<param default="450" id="40" name="SP_GAIN_TH_MAX" type="int32"/>
|
||||
<param default="800" id="41" name="SP_GAIN_SMOOTH" type="int32"/>
|
||||
<param default="3" id="42" name="SP_GAIN_FREQ_SMOOTH" type="int32"/>
|
||||
<param default="300" id="43" name="MASTER_MAX_SUP_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="1" id="44" name="GAIN_FREQ_SMOOTH" type="int32"/>
|
||||
<param default="2" id="45" name="GMIN_CURVE_TYPE" type="int32"/>
|
||||
<param default="55" id="46" name="GMIN_LINEAR_SPLIT_MID_POINT_BINR" type="int32"/>
|
||||
<param default="330" id="47" name="GMIN_LINEAR_SPLIT_MID_POINT_VAL" type="int32"/>
|
||||
<param default="1000" id="48" name="SP_OVERSUB_RATIO" type="int32"/>
|
||||
<param default="16" id="49" name="WIND_ENERGY_EST_COMPENSATION_GAIN" type="int32"/>
|
||||
<param default="2000" id="50" name="WIND_ENERGY_CURVE_SLOPE" type="int32"/>
|
||||
<param default="300" id="51" name="WIND_ENERGY_CURVE_OFFSET" type="int32"/>
|
||||
<param default="16000" id="52" name="WIND_ENERGY_CURVE_MIN" type="int32"/>
|
||||
<param default="16000" id="53" name="WIND_ENERGY_CURVE_MAX" type="int32"/>
|
||||
<param default="900" id="54" name="WIND_ENERGY_SMOOTHING" type="int32"/>
|
||||
<param default="144" id="55" name="WIND_ENERGY_NORM_DENOM" type="int32"/>
|
||||
<param default="600" id="56" name="WIND_ENERGY_CURVE_SCALED_TH_MIN" type="int32"/>
|
||||
<param default="900" id="57" name="WIND_ENERGY_CURVE_SCALED_TH_MAX" type="int32"/>
|
||||
<param default="1" id="58" name="ENABLE_ML_COMBI_WIND_ENERGY" type="int32"/>
|
||||
<param default="1" id="59" name="ENABLE_SP_COMBI_WIND_ENERGY" type="int32"/>
|
||||
<param default="1" id="60" name="ENALBE_SP_COMBI_OVERSUBTRACTION" type="int32"/>
|
||||
<param default="1" id="61" name="ENABLE_PRIORI_SNR" type="int32"/>
|
||||
<param default="1000" id="62" name="PRIORI_SNR_ML_TUNING" type="int32"/>
|
||||
<param default="15" id="63" name="DEC_PREV_NUM" type="int32"/>
|
||||
<param default="1" id="64" name="SSC_ENABLE" type="int32"/>
|
||||
<param default="930" id="65" name="SSC_SOFT_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="1600" id="66" name="SSC_OVERDRIVE" type="int32"/>
|
||||
<param default="3" id="67" name="SSC_MIN_FREQ" type="int32"/>
|
||||
<param default="130" id="68" name="SSC_MAX_FREQ" type="int32"/>
|
||||
<param default="700" id="69" name="SSC_PSD_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="12" id="70" name="SSC_SOFT_DECISION_MIN_FREQ" type="int32"/>
|
||||
<param default="450" id="71" name="SSC_SOFT_DECISION_MAX_FREQ" type="int32"/>
|
||||
<param default="5" id="72" name="SSC_KEEP_SAVED_PROB_SMOOTH_SIZE" type="int32"/>
|
||||
<param default="1000" id="73" name="GAIN_BOOSTING_COST" type="int32"/>
|
||||
<param default="450" id="74" name="GAIN_SMOOTHING_FACTOR" type="int32"/>
|
||||
<param default="150" id="75" name="FINAL_GAIN_SMOOTHING_OFFSET_FACTOR" type="int32"/>
|
||||
<param default="1" id="76" name="MUL_CH_SPEC_DIFF_ENABLE" type="int32"/>
|
||||
<param default="4" id="77" name="MUL_CH_SPEC_DIFF_CENTER_SPEC_SEL" type="int32"/>
|
||||
<param default="1000" id="78" name="MUL_CH_SPEC_DIFF_WIENER_OVERDRIVE" type="int32"/>
|
||||
<param default="2" id="79" name="MUL_CH_SPEC_DIFF_GAIN_COMB" type="int32"/>
|
||||
<param default="900" id="80" name="MUL_CH_SPEC_DIFF_TIME_SMOOTH" type="int32"/>
|
||||
</module>
|
||||
<module id="18" name="Multi Channel IIR 1">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="2" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="3" id="3" name="chMask_" type="uint32"/>
|
||||
<param default="3" id="16" max="3" min="1" name="numOfChannel" type="uint32"/>
|
||||
<param id="17" name="coeff" size="300" type="float"/>
|
||||
<struct id="18">
|
||||
<param max="18" min="-96" name="gain" size="60" type="float"/>
|
||||
<param max="24000" min="0" name="frequency" size="60" type="uint32"/>
|
||||
<param max="200" min="0" name="qfactor" size="60" type="float"/>
|
||||
<param default="4" name="type" size="60" type="int32"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="32" name="Single Band DRC">
|
||||
<param default="1" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="2" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="3" id="3" name="chMask_" type="uint32"/>
|
||||
<struct id="16">
|
||||
<param max="20" min="0" name="delay_ms" type="float"/>
|
||||
<param default="5" max="20" min="0" minInclusive="false" name="rms_ms" type="float"/>
|
||||
<param max="30" min="0" name="gain_dB" type="float"/>
|
||||
<param max="30" min="-30" name="Min_Gain_dB" type="float"/>
|
||||
<param default="1" max="3" min="1" name="numOfKnee" type="uint32"/>
|
||||
<param name="threadhold_dB" size="3" type="float"/>
|
||||
<param name="compressRatio" size="4" type="float"/>
|
||||
<param name="kneeWidth" size="3" type="float"/>
|
||||
<param name="attackTime_ms" size="4" type="float"/>
|
||||
<param name="releaseTime_ms" size="4" type="float"/>
|
||||
<param name="hysteresis" size="4" type="float"/>
|
||||
<param default="0" max="1" min="0" name="rms_manual_enable" type="uint32"/>
|
||||
<param default="0" max="2" min="0" name="rms_channel" type="uint32"/>
|
||||
</struct>
|
||||
<struct id="17">
|
||||
<param max="30" min="-30" name="limiter_gain_dB" type="float"/>
|
||||
<param max="0" min="-30" name="limiter_threadhold_dB" type="float"/>
|
||||
<param max="100" min="0" name="limiter_attackTime_ms" type="uint32"/>
|
||||
<param max="100" min="0" name="limiter_releaseTime_ms" type="uint32"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="40" name="Pixel Gain Controller">
|
||||
<param default="0" id="0" max="3" name="opMode_" type="uint32"/>
|
||||
<param default="48000" id="1" name="fs_" type="uint32"/>
|
||||
<param default="2" id="2" name="numCh_" type="uint32"/>
|
||||
<param default="3" id="3" name="chMask_" type="uint32"/>
|
||||
<struct id="16">
|
||||
<param name="crossover_iir_lp1" size="5" type="float"/>
|
||||
<param name="crossover_iir_hp1" size="5" type="float"/>
|
||||
<param name="crossover_iir_lp2" size="5" type="float"/>
|
||||
<param name="crossover_iir_hp2" size="5" type="float"/>
|
||||
<param default="250" max="1000" min="5" name="environment_rms_window_ms" type="int32"/>
|
||||
<param default="-40" max="0" name="environment_rms_threshold_db" type="float"/>
|
||||
<param default="10000" min="0" name="environment_rms_attack_release_ms" type="int32"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band0" type="float"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band1" type="float"/>
|
||||
<param default="1" min="0" name="environment_loudness_ratio_band2" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band0" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band0" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band0" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band0" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band0" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band0" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band0" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band0" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band0" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band1" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band1" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band1" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band1" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band1" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band1" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band1" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band1" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band1" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_lowaop_band2" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_lowaop_band2" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_lowaop_band2" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_lowaop_band2" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="2.0" min="0" name="drc_ratio_expander_lowaop_band2" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_lowaop_band2" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_expander_lowaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_lowaop_band2" type="float"/>
|
||||
<param default="350" min="0" name="drc_attack_ms_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_expander_lowaop_band2" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_upward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="12000" min="0" name="drc_release_ms_linear_lowaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_downward_compressor_lowaop_band2" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band0" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band0" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band0" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band0" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band0" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band0" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band0" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band0" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band0" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band0" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band1" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band1" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band1" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band1" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band1" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band1" type="float"/>
|
||||
<param default="6.0" min="0" name="drc_ratio_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band1" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band1" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band1" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band1" type="float"/>
|
||||
<param default="100" max="1000" min="5" name="drc_window_ms_highaop_band2" type="int32"/>
|
||||
<param default="28" name="drc_gain_db_highaop_band2" type="float"/>
|
||||
<param default="-20" name="drc_min_gain_db_highaop_band2" type="float"/>
|
||||
<param default="-70" name="drc_thres_db_expander_highaop_band2" type="float"/>
|
||||
<param default="-40" name="drc_thres_db_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="-36" name="drc_thres_db_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_expander_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="4.0" min="0" name="drc_knee_width_db_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="2.5" min="0" name="drc_ratio_expander_highaop_band2" type="float"/>
|
||||
<param default="1.5" min="0" name="drc_ratio_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="1.0" min="0" name="drc_ratio_linear_highaop_band2" type="float"/>
|
||||
<param default="9.0" min="0" name="drc_ratio_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_expander_highaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="500" min="0" name="drc_attack_ms_linear_highaop_band2" type="float"/>
|
||||
<param default="80" min="0" name="drc_attack_ms_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_expander_highaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_upward_compressor_highaop_band2" type="float"/>
|
||||
<param default="5000" min="0" name="drc_release_ms_linear_highaop_band2" type="float"/>
|
||||
<param default="8000" min="0" name="drc_release_ms_downward_compressor_highaop_band2" type="float"/>
|
||||
<param default="100" max="100" min="0" name="drc_delay_ms" type="int32"/>
|
||||
<param default="1" max="1" min="0" name="drc_use_peak_amplitude" type="int32"/>
|
||||
<param default="0" max="100" min="-100" name="drc_band1_minus_band2_max_gain_db" type="float"/>
|
||||
<param default="0" max="100" min="-100" name="drc_band3_minus_band2_max_gain_db" type="float"/>
|
||||
<param default="20" max="20" min="0" name="limiter_delay_ms" type="int32"/>
|
||||
<param default="-0.5" max="0" name="limiter_thres_db" type="float"/>
|
||||
<param default="0" name="limiter_gain_db" type="float"/>
|
||||
<param default="10" min="0" name="limiter_attack_time_ms" type="int32"/>
|
||||
<param default="50" min="0" name="limiter_release_time_ms" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band0" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band1" type="int32"/>
|
||||
<param default="1000" max="10000" min="100" name="drc_long_term_window_lower_ms_band2" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band0" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band1" type="int32"/>
|
||||
<param default="5000" max="10000" min="100" name="drc_long_term_window_upper_ms_band2" type="int32"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band0" type="float"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band1" type="float"/>
|
||||
<param default="-50" name="drc_long_term_window_lower_db_band2" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band0" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band1" type="float"/>
|
||||
<param default="-30" name="drc_long_term_window_upper_db_band2" type="float"/>
|
||||
</struct>
|
||||
</module>
|
||||
<module id="10000" name="Eraser">
|
||||
<param id="275" name="eraser_pre_gain" type="uint32"/>
|
||||
<param id="277" name="eraser_post_gain" type="uint32"/>
|
||||
<param id="279" name="non_eraser_gain" type="uint32"/>
|
||||
</module>
|
||||
<module id="10001" name="Cleaner">
|
||||
<param id="299" name="cleaner_post_gain" type="uint32"/>
|
||||
</module>
|
||||
<module id="10002" name="CHRE">
|
||||
<param id="297" name="chre_gain" type="uint32"/>
|
||||
<param id="345" name="chre_aec_timeout" type="uint32"/>
|
||||
<param id="346" name="chre_pdm_gain" type="int32"/>
|
||||
<param id="347" name="chre_aec_gain" type="int32"/>
|
||||
</module>
|
||||
</modules>
|
||||
<signalflows>
|
||||
<signalflow id="1" name="Spatial Audio">
|
||||
<block id="128">
|
||||
<moduleRef id="18"/>
|
||||
<moduleRef id="17"/>
|
||||
</block>
|
||||
<block id="134">
|
||||
<moduleRef id="14"/>
|
||||
<moduleRef id="11"/>
|
||||
<moduleRef id="6"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="5"/>
|
||||
<moduleRef id="40"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="2" name="General Mic Recording">
|
||||
<block id="137">
|
||||
<moduleRef id="14"/>
|
||||
<moduleRef id="7"/>
|
||||
<moduleRef id="5"/>
|
||||
<moduleRef id="40"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
<signalflow id="1000" name="Smart Feature">
|
||||
<block id="0">
|
||||
<moduleRef id="10000"/>
|
||||
<moduleRef id="10001"/>
|
||||
<moduleRef id="10002"/>
|
||||
</block>
|
||||
</signalflow>
|
||||
</signalflows>
|
||||
</template>
|
||||
1284
audio/akita/tuning/bluenote/tuning_constraints_combination.xml
Normal file
1284
audio/akita/tuning/bluenote/tuning_constraints_combination.xml
Normal file
File diff suppressed because it is too large
Load Diff
70077
audio/akita/tuning/fortemedia/BLUETOOTH.mods
Normal file
70077
audio/akita/tuning/fortemedia/BLUETOOTH.mods
Normal file
File diff suppressed because it is too large
Load Diff
64687
audio/akita/tuning/fortemedia/HANDSET.mods
Normal file
64687
audio/akita/tuning/fortemedia/HANDSET.mods
Normal file
File diff suppressed because it is too large
Load Diff
29652
audio/akita/tuning/fortemedia/HANDSFREE.mods
Normal file
29652
audio/akita/tuning/fortemedia/HANDSFREE.mods
Normal file
File diff suppressed because it is too large
Load Diff
107807
audio/akita/tuning/fortemedia/HEADSET.mods
Normal file
107807
audio/akita/tuning/fortemedia/HEADSET.mods
Normal file
File diff suppressed because it is too large
Load Diff
58
audio/akita/tuning/waves/tests/test_config.ini
Normal file
58
audio/akita/tuning/waves/tests/test_config.ini
Normal file
@@ -0,0 +1,58 @@
|
||||
########################################################################################################
|
||||
# (Optional) The supported features list for platform vendors to query from.
|
||||
# Platform vendors should call maxxaudio_qdsp_is_feature_supported with a string to query from the list.
|
||||
# This config has no effect in the MaxxAudioQdspHalController. It's only meaningful for platform vendors.
|
||||
# Putting any value other than 1 would be equivalent to not supported.
|
||||
########################################################################################################
|
||||
[HAL_SUPPORTED_FEATURES]
|
||||
CUSTOM_ACTION_256=1
|
||||
|
||||
########################################################################################################
|
||||
# This defined the options of supported sample rates.
|
||||
# This can be configured by Waves or platform vendor.
|
||||
########################################################################################################
|
||||
[HAL_SUPPORTED_SAMPLE_RATES]
|
||||
SR_COMMON = 48000
|
||||
|
||||
########################################################################################################
|
||||
# (Optional) The subtypes that applies to different angles(0, 90, 180, 270). Can be empty if not applicable.
|
||||
# This can be configured by Waves or platform vendor.
|
||||
########################################################################################################
|
||||
[HAL_ORIENTATION_SUBTYPES]
|
||||
OST_SPEAKER = 0:12,90:13,180:12,270:0|13
|
||||
|
||||
########################################################################################################
|
||||
# This defines available preset configurations.
|
||||
# This should be configured by Waves only unless platform vendor is familiar with MPS structure.
|
||||
########################################################################################################
|
||||
[HAL_SUPPORTED_PRESETS]
|
||||
SPEAKER_MUSIC = OM:1,SM:2,OST:OST_SPEAKER
|
||||
SPEAKER_SAFE_MUSIC = OM:10,SM:2,OST:OST_SPEAKER
|
||||
SPEAKER_SAFE_CALL = OM:10,SM:2,OST:OST_SPEAKER
|
||||
HEADSET_MUSIC = OM:2,SM:2
|
||||
|
||||
########################################################################################################
|
||||
# This defines available CONTROL configurations. Only define the CONTROL if you need it.
|
||||
# The numbers could vary from device to device.
|
||||
# This can be configured by Waves or platform vendor.
|
||||
########################################################################################################
|
||||
[HAL_SUPPORTED_CONTROLS]
|
||||
SPEAKER_INSTANCE = INSTANCE:1,DEV:0,SR:SR_COMMON,PRESET:SPEAKER_MUSIC|SPEAKER_SAFE_MUSIC|SPEAKER_SAFE_CALL
|
||||
A2DP_INSTANCE = INSTANCE:2,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
|
||||
USB_HEADPHONE_INSTANCE = INSTANCE:4,DEV:0,SR:SR_COMMON,PRESET:HEADSET_MUSIC
|
||||
|
||||
[COEFS_CONVERTER_SETTING]
|
||||
AlgFxPath=/vendor/lib/libAlgFx_HiFi3z.so
|
||||
AlgFxPath64=/vendor/lib64/libAlgFx_HiFi3z.so
|
||||
# do not modify the following if not necessary
|
||||
#AudioFormatType=0
|
||||
#AudioFormatChannels=2
|
||||
#AudioFormatSampleRate=48000
|
||||
#AudioFormatBitsPerSample=32
|
||||
#AudioFormatSampleSize=4
|
||||
#AudioFormatIncrement=8
|
||||
|
||||
[CUSTOM_ACTION_256]
|
||||
CASE_1=PRIORITY:0,NUMBERS:2:0|1,PRESET:SPEAKER_MUSIC
|
||||
CASE_2=PRIORITY:1,NUMBERS:1|2|4194304:2|3|4,PRESET:SPEAKER_SAFE_CALL
|
||||
CASE_3=PRIORITY:2,NUMBERS:1|4194304:0|1,PRESET:SPEAKER_SAFE_MUSIC
|
||||
BIN
audio/akita/tuning/waves/tests/test_preset.mps
Normal file
BIN
audio/akita/tuning/waves/tests/test_preset.mps
Normal file
Binary file not shown.
@@ -52,7 +52,6 @@
|
||||
<scenario encode="TwoChanStereo_32_2" decode="OneChanMono_32_2"/>
|
||||
<scenario encode="OneChanMono_32_2" decode="OneChanMono_32_2"/>
|
||||
<!-- broadcast -->
|
||||
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_48_2"/>
|
||||
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_24_2"/>
|
||||
<scenario encode="invalid" decode="invalid" broadcast="BcastStereo_16_2"/>
|
||||
</scenarioList>
|
||||
@@ -75,7 +74,6 @@
|
||||
<configuration name="OneChanMono_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="MONO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="TwoChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_TWO_CISES_PER_DEVICE"/>
|
||||
<configuration name="OneChanStereo_48_4" codecConfiguration="LC3_48k_4" strategyConfiguration="STEREO_ONE_CIS_PER_DEVICE"/>
|
||||
<configuration name="BcastStereo_48_2" codecConfiguration="LC3_48k_2" strategyConfiguration="BROADCAST_STEREO"/>
|
||||
<configuration name="BcastStereo_24_2" codecConfiguration="LC3_24k_2" strategyConfiguration="BROADCAST_STEREO"/>
|
||||
<configuration name="BcastStereo_16_2" codecConfiguration="LC3_16k_2" strategyConfiguration="BROADCAST_STEREO"/>
|
||||
</configurationList>
|
||||
|
||||
@@ -84,7 +84,6 @@ on property:vendor.all.modules.ready=1
|
||||
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_ms
|
||||
chown system system /sys/bus/i2c/devices/0-0043/default/f0_offset
|
||||
chown system system /sys/bus/i2c/devices/0-0043/default/owt_free_space
|
||||
chown system system /sys/bus/i2c/devices/0-0043/default/owt_lib_compat
|
||||
chown system system /sys/bus/i2c/devices/0-0043/default/f0_comp_enable
|
||||
chown system system /sys/bus/i2c/devices/0-0043/default/redc_comp_enable
|
||||
chown system system /sys/bus/i2c/devices/0-0043/default/delay_before_stop_playback_us
|
||||
|
||||
@@ -14,17 +14,29 @@
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
PRODUCT_RELEASE_CONFIG_MAPS += $(wildcard vendor/google_devices/release/phones/./pixel_2024_midyear/release_config_map.textproto)
|
||||
|
||||
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_KERNEL_AKITA_VERSION)
|
||||
TARGET_KERNEL_DIR := device/google/akita-kernels/evolution
|
||||
TARGET_BOARD_KERNEL_HEADERS := $(TARGET_KERNEL_DIR)/kernel-headers
|
||||
# Keeps flexibility for kasan and ufs builds
|
||||
TARGET_KERNEL_DIR ?= $(RELEASE_KERNEL_AKITA_DIR)
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_KERNEL_AKITA_DIR)/kernel-headers
|
||||
|
||||
ifneq ($(TARGET_BOOTS_16K),true)
|
||||
PRODUCT_16K_DEVELOPER_OPTION := true
|
||||
PRODUCT_16K_DEVELOPER_OPTION := $(RELEASE_GOOGLE_AKITA_16K_DEVELOPER_OPTION)
|
||||
endif
|
||||
|
||||
$(call inherit-product-if-exists, vendor/google_devices/akita/prebuilts/device-vendor-akita.mk)
|
||||
$(call inherit-product-if-exists, vendor/google_devices/zuma/prebuilts/device-vendor.mk)
|
||||
$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/device-vendor.mk)
|
||||
$(call inherit-product-if-exists, vendor/google_devices/akita/proprietary/akita/device-vendor-akita.mk)
|
||||
$(call inherit-product-if-exists, vendor/google_devices/akita/proprietary/device-vendor.mk)
|
||||
$(call inherit-product-if-exists, vendor/google_devices/akita/proprietary/WallpapersAkita.mk)
|
||||
|
||||
DEVICE_PACKAGE_OVERLAYS += device/google/akita/akita/overlay
|
||||
|
||||
ifeq ($(RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA),true)
|
||||
USE_AUDIO_HAL_AIDL := true
|
||||
endif
|
||||
|
||||
include device/google/akita/audio/akita/audio-tables.mk
|
||||
include device/google/zuma/device-shipping-common.mk
|
||||
@@ -160,6 +172,18 @@ PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.gms.dck.eligible_wcc=2 \
|
||||
ro.gms.dck.se_capability=1
|
||||
|
||||
# Bluetooth hci_inject test tool
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
hci_inject
|
||||
|
||||
# Bluetooth SAR test tool
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
sar_test
|
||||
|
||||
# Bluetooth EWP test tool
|
||||
PRODUCT_PACKAGES_ENG += \
|
||||
ewp_tool
|
||||
|
||||
# Bluetooth AAC VBR
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.a2dp_aac.vbr_supported=true
|
||||
@@ -221,19 +245,41 @@ PRODUCT_PRODUCT_PROPERTIES += \
|
||||
ro.support_one_handed_mode=true
|
||||
|
||||
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.bqr.event_mask=295006 \
|
||||
persist.bluetooth.bqr.vnd_quality_mask=29 \
|
||||
persist.bluetooth.bqr.vnd_trace_mask=0 \
|
||||
persist.bluetooth.vendor.btsnoop=true
|
||||
else
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
persist.bluetooth.bqr.event_mask=295006 \
|
||||
persist.bluetooth.bqr.vnd_quality_mask=16 \
|
||||
persist.bluetooth.bqr.vnd_trace_mask=0 \
|
||||
persist.bluetooth.vendor.btsnoop=false
|
||||
endif
|
||||
|
||||
# Enable Bluetooth AutoOn feature
|
||||
PRODUCT_PRODUCT_PROPERTIES += \
|
||||
bluetooth.server.automatic_turn_on=true
|
||||
|
||||
# HdMic Audio
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.vendor.app.audio.gsenet.version=1
|
||||
ifeq ($(USE_AUDIO_HAL_AIDL),true)
|
||||
# AIDL
|
||||
|
||||
else
|
||||
# HIDL
|
||||
|
||||
# Spatial Audio
|
||||
PRODUCT_PACKAGES += \
|
||||
libspatialaudio \
|
||||
librondo
|
||||
|
||||
# Sound Dose
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.audio.sounddose-vendor-impl \
|
||||
audio_sounddose_aoc \
|
||||
|
||||
endif
|
||||
|
||||
# Audio CCA property
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
@@ -281,8 +327,11 @@ PRODUCT_SOONG_NAMESPACES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
WifiOverlay2024Mid
|
||||
|
||||
# Trusty liboemcrypto.so
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/akita/prebuilts
|
||||
|
||||
# include GNSSD
|
||||
include device/google/akita/location/device-gnss.mk
|
||||
include device/google/akita/location/gnssd/device-gnss.mk
|
||||
|
||||
# Set zram size
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
@@ -293,6 +342,15 @@ PRODUCT_VENDOR_PROPERTIES += \
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.camera.increase_thread_priority_nodes_stop=true
|
||||
|
||||
# Fingerprint HAL
|
||||
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
|
||||
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_common.mk)
|
||||
ifeq ($(filter factory%, $(TARGET_PRODUCT)),)
|
||||
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_shipping.mk)
|
||||
else
|
||||
$(call inherit-product-if-exists, vendor/goodix/udfps/configuration/udfps_factory.mk)
|
||||
endif
|
||||
|
||||
# Display
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += vendor.display.lbe.supported=1
|
||||
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.surface_flinger.set_idle_timer_ms=1500
|
||||
@@ -301,7 +359,6 @@ PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.display.read_temp_interval=30
|
||||
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
persist.vendor.udfps.als_feed_forward_supported=true \
|
||||
persist.vendor.udfps.fps_touch_handler_supported=false \
|
||||
persist.vendor.udfps.lhbm_controlled_in_hal_supported=true
|
||||
|
||||
# Fingerprint exposure compensation
|
||||
@@ -375,6 +432,11 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
|
||||
PRODUCT_SYSTEM_PROPERTIES += \
|
||||
persist.settings.large_screen_opt.enabled=false
|
||||
|
||||
# ETM
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
$(call inherit-product-if-exists, device/google/common/etm/device-userdebug-modules.mk)
|
||||
endif
|
||||
|
||||
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
|
||||
PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
|
||||
|
||||
|
||||
@@ -24,18 +24,14 @@ include device/google/gs-common/wireless_charger/wireless_charger.mk
|
||||
|
||||
# Build necessary packages for vendor
|
||||
|
||||
# Dumpstate
|
||||
# Codec2
|
||||
PRODUCT_PACKAGES += \
|
||||
dump_gsc.sh
|
||||
libexynosv4l2
|
||||
|
||||
# Fingerprint
|
||||
PRODUCT_COPY_FILES += \
|
||||
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
||||
|
||||
# GPS
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.location.gps.prebuilt.xml
|
||||
|
||||
# Graphics
|
||||
PRODUCT_PACKAGES += \
|
||||
libEGL_angle \
|
||||
|
||||
@@ -4,13 +4,8 @@
|
||||
"target_path": "device/google/zuma"
|
||||
},
|
||||
{
|
||||
"remote": "evo-tensor",
|
||||
"repository": "device_google_akita-kernels_evolution",
|
||||
"target_path": "device/google/akita-kernels/evolution"
|
||||
},
|
||||
{
|
||||
"remote": "evo-tensor",
|
||||
"repository": "vendor_google_akita",
|
||||
"target_path": "vendor/google/akita"
|
||||
"repository": "device/google/akita-kernels/6.1",
|
||||
"target_path": "device/google/akita-kernels/6.1",
|
||||
"remote": "aosp-akita"
|
||||
}
|
||||
]
|
||||
|
||||
25
factory-images/generate-factory-images-package.sh
Executable file
25
factory-images/generate-factory-images-package.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright 2023 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.
|
||||
|
||||
source ../../../common/clear-factory-images-variables.sh
|
||||
BUILD=10978315
|
||||
DEVICE=akita
|
||||
PRODUCT=akita
|
||||
VERSION=ud2a.231020.001
|
||||
SRCPREFIX=signed-
|
||||
BOOTLOADER=akita-14.1-10943696
|
||||
RADIO=g5300o-231012-231016-B-10954749
|
||||
source ../../../common/generate-factory-images-common.sh
|
||||
37
factory_akita.mk
Normal file
37
factory_akita.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
#
|
||||
# Copyright 2021 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.
|
||||
#
|
||||
|
||||
TARGET_LINUX_KERNEL_VERSION := 5.15
|
||||
|
||||
$(call inherit-product, device/google/zuma/factory_common.mk)
|
||||
$(call inherit-product, device/google/akita/device-akita.mk)
|
||||
include device/google/akita/audio/akita/factory-audio-tables.mk
|
||||
|
||||
PRODUCT_NAME := factory_akita
|
||||
PRODUCT_DEVICE := akita
|
||||
PRODUCT_MODEL := Factory build on Akita
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_MANUFACTURER := Google
|
||||
|
||||
# default BDADDR for EVB only
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55"
|
||||
|
||||
# Factory binaries of camera
|
||||
PRODUCT_PACKAGES += fatp_ak3_wide_hat_tool
|
||||
|
||||
# preloaded_nanoapps.json
|
||||
PRODUCT_SOONG_NAMESPACES += vendor/google_contexthub/devices/factory
|
||||
@@ -28,8 +28,8 @@ TARGET_SCREEN_HEIGHT := 2400
|
||||
TARGET_SCREEN_WIDTH := 1080
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
BuildDesc="akita-user 16 BP2A.250805.005 13691446 release-keys" \
|
||||
BuildFingerprint=google/akita/akita:16/BP2A.250805.005/13691446:user/release-keys \
|
||||
BuildDesc="akita-user 15 BP1A.250505.005.B1 13277630 release-keys" \
|
||||
BuildFingerprint=google/akita/akita:15/BP1A.250505.005.B1/13277630:user/release-keys \
|
||||
DeviceProduct=$(DEVICE_CODENAME)
|
||||
|
||||
$(call inherit-product, $(VENDOR_PATH)/$(DEVICE_CODENAME)-vendor.mk)
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += \
|
||||
device/google/akita/location/device_framework_matrix_product.xml
|
||||
|
||||
# include customized gps config files
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/location/ca.pem:vendor/etc/gnss/ca.pem
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/location/gps_user.cfg:vendor/etc/gnss/gps.cfg
|
||||
81
location/gnssd/Android.bp
Normal file
81
location/gnssd/Android.bp
Normal file
@@ -0,0 +1,81 @@
|
||||
soong_namespace {
|
||||
}
|
||||
|
||||
package {
|
||||
default_applicable_licenses: ["vendor_samsung_slsi_gnss_license"],
|
||||
}
|
||||
|
||||
license {
|
||||
name: "vendor_samsung_slsi_gnss_license",
|
||||
visibility: [":__subpackages__"],
|
||||
license_kinds: [
|
||||
"legacy_by_exception_only", // by exception only
|
||||
"legacy_proprietary", // by exception only
|
||||
],
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "android.hardware.gnss-service",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/android.hardware.gnss-service"],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"libcutils",
|
||||
"liblog",
|
||||
"libutils",
|
||||
"android.frameworks.sensorservice-V1-ndk",
|
||||
"android.hardware.gnss-V3-ndk",
|
||||
"libsensorndkbridge",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
"libz",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
required: [
|
||||
"libsighandler",
|
||||
],
|
||||
init_rc: ["init.gnss.rc"],
|
||||
vintf_fragments: ["android.hardware.gnss@default.xml"],
|
||||
}
|
||||
|
||||
cc_prebuilt_binary {
|
||||
name: "gnssd",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["release/gnssd"],
|
||||
shared_libs: [
|
||||
"liblog",
|
||||
"libssl",
|
||||
"libcrypto",
|
||||
"libandroid_net",
|
||||
"libc++",
|
||||
"libc",
|
||||
"libm",
|
||||
"libdl",
|
||||
"libcurl",
|
||||
"libz",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "64",
|
||||
vendor: true,
|
||||
relative_install_path: "hw",
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
required: [
|
||||
"libcustomgnss",
|
||||
"libsighandler",
|
||||
],
|
||||
}
|
||||
7
location/gnssd/android.hardware.gnss@default.xml
Normal file
7
location/gnssd/android.hardware.gnss@default.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.gnss</name>
|
||||
<version>3</version>
|
||||
<fqname>IGnss/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
2
location/gnssd/device-gnss.mk
Normal file
2
location/gnssd/device-gnss.mk
Normal file
@@ -0,0 +1,2 @@
|
||||
$(call inherit-product-if-exists, device/google/akita/location/gnssd/gnss_release.mk)
|
||||
|
||||
28
location/gnssd/gnss_release.mk
Normal file
28
location/gnssd/gnss_release.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
# Enable coredump funtcion for all the ROM.
|
||||
$(call soong_config_set_bool,sighandler,coredump,true)
|
||||
# Enable pixel gnss hal service
|
||||
-include vendor/google/gnss/aidl_service/pixel_gnss_hal.mk
|
||||
|
||||
DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE += device/google/akita/location/gnssd/device_framework_matrix_product.xml
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
gnssd \
|
||||
android.hardware.gnss-service \
|
||||
android.hardware.location.gps.prebuilt.xml
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/location/gnssd/release/ca.pem:vendor/etc/gnss/ca.pem \
|
||||
device/google/akita/location/gnssd/release/kepler.bin:vendor/firmware/kepler.bin
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
device/google/akita/location/gnssd
|
||||
|
||||
ifneq (,$(filter eng, $(TARGET_BUILD_VARIANT)))
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/location/gnssd/release/gps.cfg:vendor/etc/gnss/gps.cfg
|
||||
PRODUCT_VENDOR_PROPERTIES += \
|
||||
vendor.gps.aol.enabled=true
|
||||
else
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/location/gnssd/release/gps_user.cfg:vendor/etc/gnss/gps.cfg
|
||||
endif
|
||||
36
location/gnssd/init.gnss.rc
Normal file
36
location/gnssd/init.gnss.rc
Normal file
@@ -0,0 +1,36 @@
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/gps 0771 system system
|
||||
mkdir /data/vendor/gps/logs 0771 gps system
|
||||
mkdir /data/vendor/gps/overlay 0777 gps system
|
||||
|
||||
# Directory for GPS
|
||||
rm /data/system/gps/gps_started
|
||||
rm /data/system/gps/glonass_started
|
||||
rm /data/system/gps/beidou_started
|
||||
rm /data/system/gps/smd_started
|
||||
rm /data/system/gps/sv_cno.info
|
||||
|
||||
# Permissions for gnss
|
||||
chmod 0660 /dev/gnss_ipc
|
||||
chown system system /dev/gnss_ipc
|
||||
chmod 0660 /dev/gnss_dump
|
||||
chown system system /dev/gnss_dump
|
||||
chmod 0660 /dev/gnss_boot
|
||||
chown system system /dev/gnss_boot
|
||||
chmod 0660 /sys/devices/platform/gnssif/coredump
|
||||
chown system system /sys/devices/platform/gnssif/coredump
|
||||
|
||||
# GPS daemon
|
||||
service gnssd /vendor/bin/hw/gnssd
|
||||
class main
|
||||
user gps
|
||||
group system inet net_raw wakelock sdcard_rw
|
||||
capabilities BLOCK_SUSPEND
|
||||
ioprio be 0
|
||||
seclabel u:r:gnssd:s0
|
||||
|
||||
service slsi_gnss_service /vendor/bin/hw/android.hardware.gnss-service
|
||||
class main
|
||||
user system
|
||||
group system gps
|
||||
|
||||
BIN
location/gnssd/release/android.hardware.gnss-service
Normal file
BIN
location/gnssd/release/android.hardware.gnss-service
Normal file
Binary file not shown.
22
location/gnssd/release/android.hardware.location.gps.xml
Normal file
22
location/gnssd/release/android.hardware.location.gps.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<!-- These are the location-related features for devices that include GPS. -->
|
||||
<permissions>
|
||||
<feature name="android.hardware.location" />
|
||||
<feature name="android.hardware.location.network" />
|
||||
<feature name="android.hardware.location.gps" />
|
||||
</permissions>
|
||||
7
location/gnssd/release/build.properties
Normal file
7
location/gnssd/release/build.properties
Normal file
@@ -0,0 +1,7 @@
|
||||
BUILD_TIMESTAMP_UTC=2024-12-02 20:55:44.202302
|
||||
USER_COMMIT=b6b33124ee635ea551601e3d5fb9bd0958c2bb21
|
||||
BASE_COMMIT=f40f31115750f412c4860692772ef6b0b4141105
|
||||
GNSS_SW_VER_BRANCH=R4.13
|
||||
GNSS_SW_VER_STRING=4.13.2_28_Release_248164
|
||||
WORD_SIZE=arm64
|
||||
ANDROID_VERSION=34
|
||||
BIN
location/gnssd/release/gnssd
Normal file
BIN
location/gnssd/release/gnssd
Normal file
Binary file not shown.
268
location/gnssd/release/gps.cfg
Normal file
268
location/gnssd/release/gps.cfg
Normal file
@@ -0,0 +1,268 @@
|
||||
############################################
|
||||
GlueLayer_ToolConfigSelection=3
|
||||
debug_console=1
|
||||
debug_enable=4
|
||||
mem_dump_to_node=1
|
||||
force_instant_logging=0
|
||||
user_ports_tcp_name=Autotest
|
||||
user_ports_tcp_port=7555
|
||||
debug_dir=/data/vendor/gps/logs
|
||||
############################################
|
||||
GlueLayer_IsGedKeyExist=1
|
||||
GlueLayer_EnableGnssCfgInterface=1
|
||||
|
||||
|
||||
uni_log_max_file_count=5
|
||||
uni_log_max_size_mb=20
|
||||
uni_log_total_max_size_mb=100
|
||||
|
||||
# to enable ism stream for GAAM
|
||||
ism_stream_enable=1
|
||||
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
|
||||
|
||||
gnss_device_type=K041
|
||||
gnss_device_patch_address=0
|
||||
gnss_device_patch_file=/vendor/firmware/kepler.bin
|
||||
|
||||
# send debug req on MCW oddity
|
||||
#Chip_Configuration_Io_Options=0x85
|
||||
|
||||
# Disable dynamic HSI
|
||||
Chip_Configuration_Dynamic_HSI=0
|
||||
|
||||
# borrow this field to force CP crash on GAL bad ISM
|
||||
#Chip_Configuration_WT1=1
|
||||
|
||||
# Chip_Configuration_TrackerDebugMode = 0x10
|
||||
GlueLayer_IsPlatformRefTimeEnable=1
|
||||
|
||||
# enables CHPP for SPI port
|
||||
# uncomment the *chpp* lines below (and comment gnss_device-data_port_kepslim_present above) to use SPI+CHPP
|
||||
# when using CHPP, make sure to enable the CHPP defines in build_settings.mak
|
||||
chpp_betp_client=1
|
||||
chpp_log_level=2
|
||||
gnss_device_data_port_chpp_spi_device=/dev/gnss_ipc
|
||||
gnss_device_data_port_chpp_present=1
|
||||
|
||||
### Update for VTS ###
|
||||
GlueLayer_YearOfHW=2023
|
||||
scheduling_enabled=1
|
||||
|
||||
### temporarily disable precise time aiding ###
|
||||
Chip_Configuration_AidingConfiguration=0x00020046
|
||||
|
||||
# VDR End condition (meter, meter, sec, sec)
|
||||
ChipCfg_VDR_high_end_Distance = 200
|
||||
ChipCfg_VDR_low_end_Distance = 200
|
||||
ChipCfg_VDR_high_end_Time = 20
|
||||
ChipCfg_VDR_low_end_Time = 20
|
||||
|
||||
# set shared reference clock for freq aiding (0x20)
|
||||
# enable dcxo (0x04)
|
||||
Chip_Configuration_RefClkControl=0x24
|
||||
|
||||
### Override for DCXO Cnom/TuneValue
|
||||
#Chip_Configuration_DCXOtuneValue=3200
|
||||
|
||||
### DCXO Optional Parameters. #####
|
||||
# Can specify Crystal type, and/or over-ride T0-inflection point ####
|
||||
#
|
||||
# Optionally specify DXCO Crystal type, and operation mode
|
||||
# 8 bits. Lower 4 bits Crystal ID# (0-15)
|
||||
# Upper 4 bits Poly Configuration: (0/1)
|
||||
# Poly Configuration: 0: Use CP's poly, 1: Force use of default manufactures polynomial
|
||||
### Crystal Types:
|
||||
## 0 - Unknown/Default
|
||||
## 1 - Kyocera CT1612RB
|
||||
## 2 - NDK NX1612SD CS12311
|
||||
## 3 - NDK NX1612SD CS13950
|
||||
## 4 - NDK NX1612SD CS15298
|
||||
## 5 - KDS 7CG07680A10
|
||||
## 6- TXC 0W76870003
|
||||
## E.g. Use Kyocera, and ignore CP's polynomial: DCXO_CrystalType=0x11
|
||||
## E.g. Use KDS, and Use CP's polynomial: DCXO_CrystalType=0x05
|
||||
Chip_Configuration_DCXO_CrystalType=0x11
|
||||
|
||||
## Optionally specify DXCO Inflection point temperature, ####
|
||||
# This will override any default value or value in Crystal type ####
|
||||
# Value is degrees C x 100 E.g. 2855 = 28.55 deg C
|
||||
# Range should be 2000 to 3100
|
||||
#Chip_Configuration_DCXO_InflectionPoint=2855
|
||||
|
||||
# disable spam dog to avoid loss of position request
|
||||
spam_dog_ms=0
|
||||
# disable HW watchdog
|
||||
Chip_Configuration_WatchdogPeriod = 0
|
||||
|
||||
# GPS= 0x0001 GLO= 0x0002 GALILEO=0x0004 BEIDOU=0x0008 SBAS=0x0010 QZSS=0x0020
|
||||
# MEMS Static Detect=0x4000 MEMS Heading=0x2000
|
||||
### 2C48 L1 only MCW ###
|
||||
Chip_Configuration_GNSSConstConstraintDef=0x602F
|
||||
Chip_Configuration_RfMiscCtrl=0x80008001
|
||||
|
||||
# Disable BDS in the U.S.
|
||||
bdsUsedInUSPolicy=2
|
||||
sbasUsedInUSPolicy=2
|
||||
qzssUsedInUSPolicy=2
|
||||
navicUsedInUSPolicy=2
|
||||
|
||||
# DVS: 0 = Disabled (default), 1 = Enabled
|
||||
# DFS: 0 = Disabled (default), 1 = Enabled
|
||||
Chip_Configuration_FeatureCfg_DVS = 1
|
||||
Chip_Configuration_FeatureCfg_DFS = 1
|
||||
# MTPL: 0 = Disabled, 1 = Enabled (default)
|
||||
Chip_Configuration_FeatureCfg_MTPL = 0
|
||||
|
||||
# This is a bitfield that will disable incoming interrupts for mailboxes
|
||||
# AP = 0x1
|
||||
# APM = 0x2
|
||||
# CP = 0x4
|
||||
# CHUB = 0x8
|
||||
# The CHUB on the neus continually triggers a bit so this is to prevent
|
||||
# it from continually waking the gnss.
|
||||
mailboxDisabled=0x0
|
||||
|
||||
### Specify RFIC ID for K40 ###
|
||||
# 55200001 = S5520 EVT1
|
||||
gnss_rfic_chip_id=55200001
|
||||
|
||||
# Uncomment to Disable SUPL
|
||||
#Aiding_AidingType=0
|
||||
# Uncomment to Disable SUPL (Ignore Android Framework Requests to Enable SUPL)
|
||||
#GlueLayer_EnableFwConfiguration=0
|
||||
|
||||
#Uncomment to disable SGEE
|
||||
#Sif_OperationMode=0
|
||||
|
||||
# Enables RTC time aiding from Host
|
||||
# 1 - enable, 0 - disable (default)
|
||||
UseRtcForAiding=1
|
||||
|
||||
# Min number of prior fixes needed for RTC time aiding
|
||||
rtc_min_num_of_fixes=10
|
||||
|
||||
# increase rtc uncertainty from Host to hedge against bad fixes
|
||||
additional_rtc_uncertainty_ms=10
|
||||
|
||||
# set to 1 for FW SGEE download - Requires Android FW to be properly configured
|
||||
Sif_UseFwXtraInterface=1
|
||||
|
||||
# Low power configurations
|
||||
# ACT C/No loss limit: 0dB to 15dB (0 = ACT is disabled by default) 3dB = 50% Duty Cycle, 6dB = 25% Duty Cycle, 9dB = 12.5% Duty Cycle
|
||||
Chip_Configuration_FeatureCfg_ACT = 5
|
||||
|
||||
ChipCfg_DspMemdumpEnable=1
|
||||
|
||||
Agnss_IsGloAidingEnable=0
|
||||
Agnss_SuplUseCpNi=1
|
||||
SETCaps_IsOtdoa=1
|
||||
SETCaps_IsLpp=1
|
||||
SETCaps_SuplUT1=20
|
||||
PosReq_Supl2Params_SuplNiUdpPort=7275
|
||||
GlueLayer_LPPCpBitmask=0xFF
|
||||
GlueLayer_IsCpLteNeighborCellEnable=1
|
||||
GlueLayer_isReqDBHFromFwRefLoc=1
|
||||
GlueLayer_isReqUBPFromPressureSensor=1
|
||||
GlueLayer_IsRilCIDReqEnable=0
|
||||
GlueLayer_IsMemsEnable=1
|
||||
GlueLayer_MeasCorrCap=7
|
||||
Chip_Configuration_mems_data_Configuration=5
|
||||
Chip_Configuration_FeatureCfg_ANDRD_MEAS_CORR_ENABLE=1
|
||||
CP_LocTech_PrimaryConst=0
|
||||
CP_LocTech_Constraints=1
|
||||
CP_LocTech_Requirements=0
|
||||
UP_LocTech_PrimaryConst=0
|
||||
UP_LocTech_Constraints=1
|
||||
UP_LocTech_Requirements=0
|
||||
SpotLogger_Allowed=0
|
||||
|
||||
RfPathLossDb_Ap=3500
|
||||
RfPathLossDb_Cp=3500
|
||||
NmeaBitmask=0x010003fff
|
||||
|
||||
# force engine to use entire response time for emergency session; default 0
|
||||
IsUseEntireRespTime911=1
|
||||
# force engine to engage high accuracy if entire response time used; default 0
|
||||
isForceHighAccuracyMode=1
|
||||
|
||||
# 0: Use calibrated Accel data 1: Use uncalibrated Accel data
|
||||
isUseUncalAccel=1
|
||||
|
||||
GNSS_CARRIER_CONFIG_BEGIN
|
||||
# DEFAULT
|
||||
GNSS_CARRIER_ID=0
|
||||
ENABLE_CAPS_OTDOA=1
|
||||
ENABLE_2G_CP_CAPS_MSA=1
|
||||
ENABLE_2G_CP_CAPS_MSB=1
|
||||
ENABLE_3G_CP_CAPS_MSA=1
|
||||
ENABLE_3G_CP_CAPS_MSB=1
|
||||
ENABLE_4G_CP_CAPS_MSA=1
|
||||
ENABLE_4G_CP_CAPS_MSB=1
|
||||
ENABLE_5G_CP_CAPS_MSA=1
|
||||
ENABLE_5G_CP_CAPS_MSB=1
|
||||
ENABLE_2G_UP_CAPS_MSA=1
|
||||
ENABLE_2G_UP_CAPS_MSB=1
|
||||
ENABLE_3G_UP_CAPS_MSA=1
|
||||
ENABLE_3G_UP_CAPS_MSB=1
|
||||
ENABLE_4G_UP_CAPS_MSA=1
|
||||
ENABLE_4G_UP_CAPS_MSB=1
|
||||
ENABLE_5G_UP_CAPS_MSA=0
|
||||
ENABLE_5G_UP_CAPS_MSB=0
|
||||
SUPL_SSL_METHOD=TLSv1_1
|
||||
SUPL_HMAC_HASH=SHA256
|
||||
SUPL_UT2_SEC=20
|
||||
SUPL_UT3_SEC=20
|
||||
ENABLE_LPP_CP=1
|
||||
ENABLE_LPP_UP=0
|
||||
ENABLE_LPPE_CP=3
|
||||
ENABLE_LPPE_UP=0
|
||||
ENABLE_NLP_IN_LPPE=1
|
||||
ENABLE_NLP_IN_AGNSS=0
|
||||
ENABLE_LPP_HA_GAD_SHAPE=0
|
||||
USE_EMER_PDN_FOR_EMER_SUPL=1
|
||||
CP_LOCTECH_CONSTRAINTS=1
|
||||
UP_LOCTECH_CONSTRAINTS=1
|
||||
# ATT
|
||||
GNSS_CARRIER_ID=1
|
||||
CP_LOCTECH_CONSTRAINTS=5
|
||||
# TMO
|
||||
GNSS_CARRIER_ID=2
|
||||
ENABLE_3G_CP_CAPS_MSA=0
|
||||
ENABLE_4G_CP_CAPS_MSA=0
|
||||
ENABLE_NLP_IN_LPPE=0
|
||||
ENABLE_NLP_IN_AGNSS=1
|
||||
ENABLE_LPP_HA_GAD_SHAPE=1
|
||||
CP_LOCTECH_CONSTRAINTS=5
|
||||
# VZW
|
||||
GNSS_CARRIER_ID=3
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_UP=3
|
||||
SUPL_UT2_SEC=10
|
||||
SUPL_UT3_SEC=30
|
||||
SUPL_SSL_METHOD=TLSv1_2
|
||||
# AIRTEL
|
||||
GNSS_CARRIER_ID=4
|
||||
# RAKUTEN
|
||||
GNSS_CARRIER_ID=5
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_UP=3
|
||||
# KDDI
|
||||
GNSS_CARRIER_ID=6
|
||||
ENABLE_LPP_CP=0
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_CP=0
|
||||
ENABLE_LPPE_UP=3
|
||||
# SBM
|
||||
GNSS_CARRIER_ID=7
|
||||
ENABLE_LPP_CP=0
|
||||
ENABLE_LPPE_CP=0
|
||||
ENABLE_5G_CP_CAPS_MSA=0
|
||||
ENABLE_5G_CP_CAPS_MSB=0
|
||||
USE_EMER_PDN_FOR_EMER_SUPL=0
|
||||
# DOCOMO
|
||||
GNSS_CARRIER_ID=8
|
||||
# LAB
|
||||
GNSS_CARRIER_ID=9
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_UP=3
|
||||
GNSS_CARRIER_CONFIG_END
|
||||
@@ -1,20 +1,15 @@
|
||||
GlueLayer_ToolConfigSelection=3
|
||||
debug_console=0
|
||||
debug_enable=0
|
||||
mem_dump_to_node=0
|
||||
mem_dump_to_node=1
|
||||
GlueLayer_IsGedKeyExist=1
|
||||
GlueLayer_EnableGnssCfgInterface=1
|
||||
GlueLayer_IsUseCustomGnssLib=1
|
||||
ism_stream_enable=1
|
||||
caplay_port_tcp_port=@GNSS_ISM_CAPTURE_PLAYBACK
|
||||
gnss_device_type=K041
|
||||
gnss_device_patch_address=0
|
||||
gnss_device_patch_file=/vendor/firmware/kepler.bin
|
||||
ChipCfg_Timemark_Option=0
|
||||
Is1PPSTimeSyncEnable=0
|
||||
Chip_Configuration_Dynamic_HSI=0
|
||||
Chip_Configuration_ubsan_opt=2
|
||||
Chip_Configuration_FeatureCfg_SDL_BYASS=1
|
||||
GlueLayer_IsPlatformRefTimeEnable=1
|
||||
chpp_betp_client=1
|
||||
chpp_log_level=0
|
||||
@@ -33,10 +28,10 @@ spam_dog_ms=0
|
||||
Chip_Configuration_WatchdogPeriod = 0
|
||||
Chip_Configuration_GNSSConstConstraintDef=0x602F
|
||||
Chip_Configuration_RfMiscCtrl=0x80008001
|
||||
bdsUsedPolicy=2
|
||||
sbasUsedPolicy=2
|
||||
qzssUsedPolicy=2
|
||||
navicUsedPolicy=2
|
||||
bdsUsedInUSPolicy=2
|
||||
sbasUsedInUSPolicy=2
|
||||
qzssUsedInUSPolicy=2
|
||||
navicUsedInUSPolicy=2
|
||||
Chip_Configuration_FeatureCfg_DVS = 1
|
||||
Chip_Configuration_FeatureCfg_DFS = 1
|
||||
Chip_Configuration_FeatureCfg_MTPL = 0
|
||||
@@ -45,29 +40,11 @@ gnss_rfic_chip_id=55200001
|
||||
UseRtcForAiding=1
|
||||
rtc_min_num_of_fixes=10
|
||||
additional_rtc_uncertainty_ms=10
|
||||
lal_metrics_interval_ms=0
|
||||
Sif_UseFwXtraInterface=1
|
||||
Chip_Configuration_FeatureCfg_ACT = 5
|
||||
SingleBandAcq=379
|
||||
MultiBandAcq=5
|
||||
SingleBandFullTrkNm=341
|
||||
SingleBandFullTrkUd=306
|
||||
MultiBandFullTrkNm=5
|
||||
MultiBandFullTrkUd=5
|
||||
SingleBandDutyCycleTrkNm=313
|
||||
SingleBandDutyCycleTrkUd=271
|
||||
MultiBandDutyCycleTrkNm=5
|
||||
MultiBandDutyCycleTrkUd=5
|
||||
SingleBandVddGnssNmTrk=73
|
||||
MultiBandVddGnssNmTrk=5
|
||||
SingleBandVddGnssUdTrk=36
|
||||
MultiBandVddGnssUdTrk=5
|
||||
ChipCfg_DspMemdumpEnable=1
|
||||
Agnss_IsGloAidingEnable=1
|
||||
Agnss_IsGalAidingEnable=1
|
||||
Agnss_IsBdsAidingEnable=1
|
||||
Agnss_IsGloAidingEnable=0
|
||||
Agnss_SuplUseCpNi=1
|
||||
Agnss_SuplAidIntvlCrossSess=1
|
||||
SETCaps_IsOtdoa=1
|
||||
SETCaps_IsLpp=1
|
||||
SETCaps_SuplUT1=20
|
||||
@@ -113,7 +90,7 @@ ENABLE_4G_UP_CAPS_MSA=1
|
||||
ENABLE_4G_UP_CAPS_MSB=1
|
||||
ENABLE_5G_UP_CAPS_MSA=0
|
||||
ENABLE_5G_UP_CAPS_MSB=0
|
||||
SUPL_SSL_METHOD=TLS_AUTO
|
||||
SUPL_SSL_METHOD=TLSv1_1
|
||||
SUPL_HMAC_HASH=SHA256
|
||||
SUPL_UT2_SEC=20
|
||||
SUPL_UT3_SEC=20
|
||||
@@ -121,17 +98,14 @@ ENABLE_LPP_CP=1
|
||||
ENABLE_LPP_UP=0
|
||||
ENABLE_LPPE_CP=3
|
||||
ENABLE_LPPE_UP=0
|
||||
ENABLE_NLP_ALONG_WITH_UBP=0
|
||||
ENABLE_NLP_IN_LPPE=1
|
||||
ENABLE_NLP_IN_AGNSS=0
|
||||
ENABLE_LPP_HA_GAD_SHAPE=0
|
||||
ENABLE_UNCSCALE_CP=0
|
||||
USE_EMER_PDN_FOR_EMER_SUPL=1
|
||||
CP_LOCTECH_CONSTRAINTS=1
|
||||
UP_LOCTECH_CONSTRAINTS=1
|
||||
GNSS_CARRIER_ID=1
|
||||
CP_LOCTECH_CONSTRAINTS=5
|
||||
ENABLE_UNCSCALE_CP=1
|
||||
GNSS_CARRIER_ID=2
|
||||
ENABLE_3G_CP_CAPS_MSA=0
|
||||
ENABLE_4G_CP_CAPS_MSA=0
|
||||
@@ -139,7 +113,6 @@ ENABLE_NLP_IN_LPPE=0
|
||||
ENABLE_NLP_IN_AGNSS=1
|
||||
ENABLE_LPP_HA_GAD_SHAPE=1
|
||||
CP_LOCTECH_CONSTRAINTS=5
|
||||
ENABLE_UNCSCALE_CP=1
|
||||
GNSS_CARRIER_ID=3
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_UP=3
|
||||
@@ -165,7 +138,4 @@ GNSS_CARRIER_ID=8
|
||||
GNSS_CARRIER_ID=9
|
||||
ENABLE_LPP_UP=1
|
||||
ENABLE_LPPE_UP=3
|
||||
GNSS_CARRIER_ID=10
|
||||
ENABLE_5G_CP_CAPS_MSA=0
|
||||
ENABLE_5G_CP_CAPS_MSB=0
|
||||
GNSS_CARRIER_CONFIG_END
|
||||
BIN
location/gnssd/release/kepler.bin
Normal file
BIN
location/gnssd/release/kepler.bin
Normal file
Binary file not shown.
116
manifest.xml
Normal file
116
manifest.xml
Normal file
@@ -0,0 +1,116 @@
|
||||
<manifest version="1.0" type="device" target-level="5">
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.audio</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>7.1</version>
|
||||
<interface>
|
||||
<name>IDevicesFactory</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.audio.effect</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>7.0</version>
|
||||
<interface>
|
||||
<name>IEffectsFactory</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.soundtrigger</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.3</version>
|
||||
<interface>
|
||||
<name>ISoundTriggerHw</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.media.omx</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IOmx</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
<interface>
|
||||
<name>IOmxStore</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.graphics.allocator</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>4.0</version>
|
||||
<interface>
|
||||
<name>IAllocator</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.graphics.composer</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.4</version>
|
||||
<interface>
|
||||
<name>IComposer</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.renderscript</name>
|
||||
<transport arch="32+64">passthrough</transport>
|
||||
<version>1.0</version>
|
||||
<interface>
|
||||
<name>IDevice</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format = "hidl">
|
||||
<name>android.hardware.dumpstate</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>1.1</version>
|
||||
<interface>
|
||||
<name>IDumpstateDevice</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.bluetooth.audio</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.1</version>
|
||||
<interface>
|
||||
<name>IBluetoothAudioProvidersFactory</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.boot</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.2::IBootControl/default</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.neuralnetworks</name>
|
||||
<transport>hwbinder</transport>
|
||||
<fqname>@1.3::IDevice/google-edgetpu</fqname>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>android.hardware.health</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>2.1</version>
|
||||
<interface>
|
||||
<name>IHealth</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<hal format="hidl">
|
||||
<name>vendor.google.whitechapel.audio.audioext</name>
|
||||
<transport>hwbinder</transport>
|
||||
<version>3.0</version>
|
||||
<interface>
|
||||
<name>IAudioExt</name>
|
||||
<instance>default</instance>
|
||||
</interface>
|
||||
</hal>
|
||||
<kernel target-level="6"/>
|
||||
</manifest>
|
||||
@@ -111,17 +111,7 @@
|
||||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 2,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPULittleClusterResponseTimeMs",
|
||||
"Path": "/sys/devices/system/cpu/cpu0/cpufreq/sched_pixel/response_time_ms",
|
||||
"Values": [
|
||||
"9",
|
||||
"13"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
@@ -161,17 +151,7 @@
|
||||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUMidClusterResponseTimeMs",
|
||||
"Path": "/sys/devices/system/cpu/cpu4/cpufreq/sched_pixel/response_time_ms",
|
||||
"Values": [
|
||||
"52",
|
||||
"56"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
@@ -211,17 +191,7 @@
|
||||
"2000",
|
||||
"500"
|
||||
],
|
||||
"DefaultIndex": 3,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUBigClusterResponseTimeMs",
|
||||
"Path": "/sys/devices/system/cpu/cpu8/cpufreq/sched_pixel/response_time_ms",
|
||||
"Values": [
|
||||
"178",
|
||||
"180"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
@@ -304,70 +274,6 @@
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "AutoMigrationMarginsEnable",
|
||||
"Path": "/proc/vendor_sched/auto_migration_margins_enable",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "AutoDvfsHeadroomEnable",
|
||||
"Path": "/proc/vendor_sched/auto_dvfs_headroom_enable",
|
||||
"Values": [
|
||||
"0",
|
||||
"1"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "TARampupMultiplier",
|
||||
"Path": "/proc/vendor_sched/groups/ta/rampup_multiplier",
|
||||
"Values": [
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "AdpfRampupMultiplier",
|
||||
"Path": "/proc/vendor_sched/adpf_rampup_multiplier",
|
||||
"Values": [
|
||||
"0",
|
||||
"1",
|
||||
"2",
|
||||
"3",
|
||||
"4",
|
||||
"5",
|
||||
"6",
|
||||
"7",
|
||||
"8"
|
||||
],
|
||||
"DefaultIndex": 8,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "PerTaskMaxIowaitBoost",
|
||||
"Path": "/proc/vendor_sched/per_task_iowait_boost_max_value",
|
||||
"Values": [
|
||||
"0",
|
||||
"512"
|
||||
],
|
||||
"DefaultIndex": 1,
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "CPUUClampMaxFilterEnable",
|
||||
"Path": "/proc/vendor_sched/uclamp_max_filter_enable",
|
||||
@@ -994,26 +900,6 @@
|
||||
"20 40"
|
||||
],
|
||||
"ResetOnInit": true
|
||||
},
|
||||
{
|
||||
"Name": "AAModeProperty",
|
||||
"Path": "vendor.powerhal.mode.aa",
|
||||
"Values": [
|
||||
"1",
|
||||
"0"
|
||||
],
|
||||
"ResetOnInit": true,
|
||||
"Type": "Property"
|
||||
},
|
||||
{
|
||||
"Name": "SYSTEM_UI_ADPF_PROFILES",
|
||||
"Path": "<AdpfConfig>:SYSTEM_UI",
|
||||
"Values": [
|
||||
"SYSTEM_UI_PROFILE"
|
||||
],
|
||||
"DefaultIndex": 0,
|
||||
"ResetOnInit": true,
|
||||
"Type": "Event"
|
||||
}
|
||||
],
|
||||
"Actions": [
|
||||
@@ -1231,12 +1117,6 @@
|
||||
"Duration": 5000,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 5000,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "CPUSkipMask",
|
||||
@@ -1340,12 +1220,6 @@
|
||||
"Duration": 2000,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_EXTEND",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 2000,
|
||||
"Value": "4"
|
||||
},
|
||||
{
|
||||
"PowerHint": "LAUNCH_PMU",
|
||||
"Node": "PMU_POLL",
|
||||
@@ -1511,12 +1385,6 @@
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_INACTIVE",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_LAUNCH",
|
||||
"Node": "CPUSkipMask",
|
||||
@@ -1937,42 +1805,6 @@
|
||||
"Duration": 0,
|
||||
"Value": "cam2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "5000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "CPUMidClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "CPUBigClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_EXTREME",
|
||||
"Node": "CPUDVFSHeadroom",
|
||||
@@ -2141,42 +1973,6 @@
|
||||
"Duration": 0,
|
||||
"Value": "cam2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "5000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUMidClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUBigClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_HIGH",
|
||||
"Node": "CPUUtilThreshold",
|
||||
@@ -2369,42 +2165,6 @@
|
||||
"Duration": 0,
|
||||
"Value": "cam1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "5000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CPUMidClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CPUBigClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_STANDARD",
|
||||
"Node": "CPUUtilThreshold",
|
||||
@@ -2495,42 +2255,6 @@
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "5000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPUMidClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPUBigClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_LOW",
|
||||
"Node": "CPUDVFSHeadroom",
|
||||
@@ -2741,24 +2465,6 @@
|
||||
"Duration": 0,
|
||||
"Value": "1100"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_STREAMING_VIDEO_CALL",
|
||||
"Node": "CPUDVFSHeadroom",
|
||||
@@ -3025,12 +2731,6 @@
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "AUTOMOTIVE_PROJECTION",
|
||||
"Node": "AAModeProperty",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "FGPreferIdle",
|
||||
@@ -3042,48 +2742,6 @@
|
||||
"Type": "EndHint",
|
||||
"Value": "DISPLAY_UPDATE_IMMINENT"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Type": "MaskHint",
|
||||
"Value":"DISPLAY_UPDATE_IMMINENT",
|
||||
"EnableProperty": "vendor.powerhal.mode.aa"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Type": "MaskHint",
|
||||
"Value":"CPU_LOAD_RESET",
|
||||
"EnableProperty": "vendor.powerhal.mode.aa"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "AdpfRampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "CPULittleClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "13"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "CPUMidClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "56"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_IDLE",
|
||||
"Node": "CPUBigClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "180"
|
||||
},
|
||||
{
|
||||
"PowerHint": "DISPLAY_UPDATE_IMMINENT",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
@@ -3186,54 +2844,6 @@
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "TARampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "1"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "AdpfRampupMultiplier",
|
||||
"Duration": 0,
|
||||
"Value": "2"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "CPULittleClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "9"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "CPUMidClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "52"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "CPUBigClusterResponseTimeMs",
|
||||
"Duration": 0,
|
||||
"Value": "178"
|
||||
},
|
||||
{
|
||||
"PowerHint": "GAME",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "THERMAL_VIRTUAL-SKIN-HINT_LIGHT",
|
||||
"Node": "PMU_POLL",
|
||||
@@ -3420,42 +3030,6 @@
|
||||
"Duration": 2000,
|
||||
"Value": "44"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "AutoMigrationMarginsEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "AutoDvfsHeadroomEnable",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "PerTaskMaxIowaitBoost",
|
||||
"Duration": 0,
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "CPULittleClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "5000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "CPUMidClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "CPUBigClusterDownRateLimitUs",
|
||||
"Duration": 0,
|
||||
"Value": "20000"
|
||||
},
|
||||
{
|
||||
"PowerHint": "CAMERA_PROJECT11",
|
||||
"Node": "PowerHALCameraRunning",
|
||||
@@ -3610,14 +3184,14 @@
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 231,
|
||||
"UclampMin_LoadUp": 480,
|
||||
"UclampMin_LoadReset": 480,
|
||||
"UclampMin_High": 480,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 83333330,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 15.0,
|
||||
"GpuBoost": true,
|
||||
@@ -3646,14 +3220,14 @@
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 231,
|
||||
"UclampMin_LoadUp": 480,
|
||||
"UclampMin_LoadReset": 480,
|
||||
"UclampMin_High": 480,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 111111110,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 15.0,
|
||||
"GpuBoost": true,
|
||||
@@ -3682,14 +3256,14 @@
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 231,
|
||||
"UclampMin_LoadUp": 480,
|
||||
"UclampMin_LoadReset": 480,
|
||||
"UclampMin_High": 480,
|
||||
"UclampMin_Low": 2,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 166666660,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 15.0,
|
||||
"GpuBoost": true,
|
||||
@@ -3706,42 +3280,79 @@
|
||||
"MaxRecordsNum": 300
|
||||
},
|
||||
{
|
||||
"Name": "SYSTEM_UI_PROFILE",
|
||||
"PID_On": true,
|
||||
"PID_Po": 2.0,
|
||||
"PID_Pu": 0.5,
|
||||
"PID_I": 0.0,
|
||||
"PID_I_Init": 200,
|
||||
"PID_I_High": 512,
|
||||
"PID_I_Low": -30,
|
||||
"PID_Do": 500.0,
|
||||
"PID_Du": 0.0,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 231,
|
||||
"UclampMin_LoadUp": 730,
|
||||
"UclampMin_LoadReset": 730,
|
||||
"UclampMin_High": 480,
|
||||
"UclampMin_Low": 2,
|
||||
"UclampMax_EfficientBase": 500,
|
||||
"UclampMax_EfficientOffset": 200,
|
||||
"Name": "UiHighBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 0,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"ReportingRateLimitNs": 166666660,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 250,
|
||||
"UclampMin_High": 196,
|
||||
"UclampMin_Low": 196,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 15.0,
|
||||
"GpuBoost": true,
|
||||
"GpuCapacityBoostMax": 25000,
|
||||
"HeuristicBoost_On": true,
|
||||
"HBoostModerateJankThreshold": 2,
|
||||
"HBoostOffMaxAvgDurRatio": 4.0,
|
||||
"HBoostSevereJankPidPu": 0.3,
|
||||
"HBoostSevereJankThreshold": 8,
|
||||
"HBoostUclampMinCeilingRange": [480, 722],
|
||||
"HBoostUclampMinFloorRange": [230, 410],
|
||||
"JankCheckTimeFactor": 1.2,
|
||||
"LowFrameRateThreshold": 25,
|
||||
"MaxRecordsNum": 300
|
||||
"StaleTimeFactor": 5.0,
|
||||
"GpuBooost" : false
|
||||
},
|
||||
{
|
||||
"Name": "UiLowBoostWithoutPid",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 250,
|
||||
"UclampMin_High": 52,
|
||||
"UclampMin_Low": 52,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0,
|
||||
"GpuBooost" : false
|
||||
},
|
||||
{
|
||||
"Name": "UiLowNoneBoost",
|
||||
"PID_On": false,
|
||||
"PID_Po": 0,
|
||||
"PID_Pu": 0,
|
||||
"PID_I": 0,
|
||||
"PID_I_Init": 0,
|
||||
"PID_I_High": 0,
|
||||
"PID_I_Low": 0,
|
||||
"PID_Do": 0,
|
||||
"PID_Du": 0,
|
||||
"SamplingWindow_P": 1,
|
||||
"SamplingWindow_I": 1,
|
||||
"SamplingWindow_D": 1,
|
||||
"UclampMin_On": true,
|
||||
"UclampMin_Init": 250,
|
||||
"UclampMin_High": 0,
|
||||
"UclampMin_Low": 0,
|
||||
"ReportingRateLimitNs": 1,
|
||||
"EarlyBoost_On": false,
|
||||
"EarlyBoost_TimeFactor": 0.0,
|
||||
"TargetTimeFactor": 1.0,
|
||||
"StaleTimeFactor": 5.0,
|
||||
"GpuBooost" : false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
2
rro_overlays/NfcOverlay/OWNERS
Normal file
2
rro_overlays/NfcOverlay/OWNERS
Normal file
@@ -0,0 +1,2 @@
|
||||
# Bug component: 48448
|
||||
include platform/packages/apps/Nfc:/OWNERS
|
||||
4
rro_overlays/WifiOverlay/OWNERS
Normal file
4
rro_overlays/WifiOverlay/OWNERS
Normal file
@@ -0,0 +1,4 @@
|
||||
# People who can approve changes for submission
|
||||
kumachang@google.com
|
||||
wangroger@google.com
|
||||
hsuvictor@google.com
|
||||
3
self-extractors/METADATA
Normal file
3
self-extractors/METADATA
Normal file
@@ -0,0 +1,3 @@
|
||||
third_party {
|
||||
license_type: NOTICE
|
||||
}
|
||||
12
self-extractors/PART1
Normal file
12
self-extractors/PART1
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# Usage is subject to the enclosed license agreement
|
||||
|
||||
echo
|
||||
echo The license for this software will now be displayed.
|
||||
echo You must agree to this license before using this software.
|
||||
echo
|
||||
echo -n Press Enter to view the license
|
||||
read dummy
|
||||
echo
|
||||
|
||||
more << __EOF__
|
||||
22
self-extractors/PART2
Normal file
22
self-extractors/PART2
Normal file
@@ -0,0 +1,22 @@
|
||||
__EOF__
|
||||
|
||||
if test $? != 0
|
||||
then
|
||||
echo ERROR: Couldn\'t display license file 1>&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\
|
||||
read typed
|
||||
|
||||
if test "$typed" != I\ ACCEPT
|
||||
then
|
||||
echo
|
||||
echo You didn\'t accept the license. Extraction aborted.
|
||||
exit 2
|
||||
fi
|
||||
|
||||
echo
|
||||
|
||||
12
self-extractors/PART3
Normal file
12
self-extractors/PART3
Normal file
@@ -0,0 +1,12 @@
|
||||
|
||||
if test $? != 0
|
||||
then
|
||||
echo
|
||||
echo ERROR: Couldn\'t extract files. 1>&2
|
||||
exit 3
|
||||
else
|
||||
echo
|
||||
echo Files extracted successfully.
|
||||
fi
|
||||
exit 0
|
||||
|
||||
2
self-extractors/PROLOGUE
Normal file
2
self-extractors/PROLOGUE
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
#
|
||||
15
self-extractors/extract-lists.txt
Normal file
15
self-extractors/extract-lists.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
google_devices)
|
||||
TO_EXTRACT="\
|
||||
IMAGES/vbmeta_vendor.img \
|
||||
IMAGES/vendor.img \
|
||||
IMAGES/vendor_dlkm.img \
|
||||
RADIO/bootloader.img \
|
||||
RADIO/radio.img \
|
||||
system_ext/etc/permissions/com.shannon.imsservice.xml \
|
||||
system_ext/etc/permissions/com.shannon.rcsservice.xml \
|
||||
system_ext/lib64/libmediaadaptor.so \
|
||||
system_ext/priv-app/ShannonRcs/ShannonRcs.apk \
|
||||
system_ext/priv-app/ShannonIms/ShannonIms.apk \
|
||||
"
|
||||
;;
|
||||
|
||||
1
self-extractors/google_devices/COPYRIGHT
Normal file
1
self-extractors/google_devices/COPYRIGHT
Normal file
@@ -0,0 +1 @@
|
||||
# (C) Google Inc.
|
||||
264
self-extractors/google_devices/LICENSE
Normal file
264
self-extractors/google_devices/LICENSE
Normal file
@@ -0,0 +1,264 @@
|
||||
THIS DEVELOPER SOFTWARE LICENSE AGREEMENT (THE "AGREEMENT") IS A LEGALLY
|
||||
BINDING AGREEMENT BETWEEN Google Inc. ("LICENSOR") AND
|
||||
YOU OR THE LEGAL ENTITY YOU REPRESENT ("You" or its possessive, "Your"). BY
|
||||
TYPING "I ACCEPT" WHERE INDICATED YOU ACKNOWLEDGE THAT YOU HAVE READ THIS
|
||||
AGREEMENT, UNDERSTAND IT AND AGREE TO BE BOUND BY ITS TERMS AND CONDITIONS.
|
||||
IF YOU DO NOT AGREE TO THESE TERMS YOU MUST DISCONTINUE THE INSTALLATION
|
||||
PROCESS AND YOU SHALL NOT USE THE SOFTWARE OR RETAIN ANY COPIES OF THE
|
||||
SOFTWARE OR DOCUMENTATION. ANY USE OR POSSESSION OF THE SOFTWARE BY YOU IS
|
||||
SUBJECT TO THE TERMS AND CONDITIONS SET FORTH IN THIS AGREEMENT. IF THE
|
||||
SOFTWARE IS INSTALLED ON A COMPUTER OWNED BY A CORPORATION OR OTHER LEGAL
|
||||
ENTITY, THEN YOU REPRESENT AND WARRANT THAT YOU HAVE THE AUTHORITY TO BIND
|
||||
SUCH ENTITY TO THE TERMS AND CONDITIONS OF THIS AGREEMENT.
|
||||
|
||||
1. Special Definitions
|
||||
|
||||
a. The term "Android" means the open source mobile platform, software
|
||||
stack, operating system, middleware, application programming
|
||||
interfaces and mobile applications under the trade-name "Android"
|
||||
distributed at Android.com.
|
||||
|
||||
b. The term "Android Applications" means a software application or
|
||||
open-source contribution developed by You, designed to operate with
|
||||
Android that does not contain or incorporate any of the Software.
|
||||
|
||||
c. The term "Authorized Android Enabled Device" means only the device
|
||||
identified on the site from which You downloaded the Software.
|
||||
The term "Software" means the Licensor's proprietary software and
|
||||
libraries in object code form, designed for use on the Authorized
|
||||
Android Enabled Device.
|
||||
|
||||
d. The term "Authorized Android Enabled Device Software" means a
|
||||
packaged build for Authorized Android Enabled Devices, consisting
|
||||
of files suitable for installation on an Authorized Android Enabled
|
||||
Device using a mechanism such as fastboot mode or recovery mode.
|
||||
|
||||
2. License Grant
|
||||
|
||||
a. Subject to the terms of this Agreement, Licensor hereby grants to
|
||||
You, free of charge, a non-exclusive, non-sublicensable,
|
||||
non-transferable, limited copyright license, during the term of
|
||||
this Agreement, to download, install and use the Software
|
||||
internally in machine-readable (i.e., object code) form and the
|
||||
Documentation for non-commercial use on an Authorized Android
|
||||
Enabled Device and non-commercial redistribution for academic
|
||||
purposes only of a reasonable number of copies of the Authorized
|
||||
Android Enabled Device Software (the "Limited Purpose"). You may
|
||||
grant your end users the right to use the Software for
|
||||
non-commercial purposes on an Authorized Android Enabled Device.
|
||||
The license to the Software granted to You hereunder is solely for
|
||||
the Limited Purpose set forth in this section, and the Software
|
||||
shall not be used for any other purpose.
|
||||
|
||||
3. Restrictions
|
||||
|
||||
a. Retention of Rights. The entire right, title and interest in the
|
||||
Software shall remain with Licensor and, unless specified in
|
||||
writing hereunder, no rights are granted to any of the Software.
|
||||
Except for the right to use the Software for the Limited Purpose,
|
||||
the delivery of the Software to You does not convey to You any
|
||||
intellectual property rights in the Software, including, but not
|
||||
limited to any rights under any patent, trademark, copyright, or
|
||||
trade secret. Neither the delivery of the Software to You nor any
|
||||
terms set forth herein shall be construed to grant to You, either
|
||||
expressly, by implication or by way of estoppel, any license under
|
||||
any patents or other intellectual property rights covering or
|
||||
relating to any other product or invention or any combination of
|
||||
the Software with any other product. Any rights not expressly
|
||||
granted to You herein are reserved by Licensor.
|
||||
|
||||
b. No Commercialization or Distribution of the Software and
|
||||
Documentation. Except as expressly provided in Section 2 of this
|
||||
Agreement, You shall have no right to (i) copy, disclose,
|
||||
distribute, publically perform, publically display, transfer,
|
||||
alter, modify, translate, disassemble, decompile, reverse engineer,
|
||||
or adapt the Software and Documentation, or any portion thereof, or
|
||||
create any derivative works based thereon; (ii) rent, lease,
|
||||
assign, sublicense, resell, disclose or otherwise transfer the
|
||||
Software and Documentation in whole or in part to any third party
|
||||
(iii) use the Software and Documentation except for the Limited
|
||||
Purpose, (iv) remove or alter any of the copyright or proprietary
|
||||
notices contained in any of the Software and Documentation. For the
|
||||
purposes of clarity, nothing in this Agreement prohibits You from
|
||||
making and distributing Android Applications under commercial or
|
||||
non-commercial terms, provided that You shall not contain,
|
||||
incorporate, and/or compile the Software or any of its derivative
|
||||
works, in whole or in part, into Your Android Applications and/or
|
||||
any software/devices created by You or by third parties acting on
|
||||
Your behalf. You and any such third party shall comply with all of
|
||||
the terms and conditions of this Agreement.
|
||||
|
||||
c. No Reverse Engineering. Except for any portions of the Software
|
||||
provided to You in source code format and except for any third
|
||||
party code distributed with the Software that is licensed under
|
||||
contrary terms, You will not reverse engineer, disassemble,
|
||||
decompile, or translate the Software, or otherwise attempt to
|
||||
derive the source code version of the Software, except if and to
|
||||
the extent expressly permitted under any applicable law.
|
||||
|
||||
d. Third Party Software. You agree that Android may contain third
|
||||
party software. You agree that you may not distribute such third
|
||||
party software for any purpose without appropriate licenses from
|
||||
the applicable third party or parties.
|
||||
|
||||
e. No Transfer or Assignment. You shall not assign any of its rights
|
||||
or obligations under this Agreement. Any attempted assignment in
|
||||
contravention of this Section shall be void.
|
||||
|
||||
f. Licensor shall retain all title, ownership and Intellectual
|
||||
Property Rights in and to the Software and any derivative thereof.
|
||||
"Intellectual Property Rights" shall mean all patent, copyright,
|
||||
trade secret, trademark and other proprietary and intellectual
|
||||
property rights, including moral rights.
|
||||
|
||||
g. Neither this Agreement, nor any act by Licensor or its Affiliates
|
||||
persuant to this Agreement or relating to the Software (including,
|
||||
without limitation, the provision by Licensor or its Affiliates of
|
||||
the Software) shall provide to You any license or any other rights
|
||||
whatsoever under any patents, trademarks, trade secrets, copyrights
|
||||
or any other intellectual property rights of Licensor or its
|
||||
Affiliates, except for the copyrights expressly set forth in this
|
||||
Agreement. You understand and agree that:
|
||||
|
||||
h. Neither this Agreement, nor delivery of the Software alone or in
|
||||
combination with any Licensor ASIC grants you any right to
|
||||
practice, or any other right at all with respect to, any patent of
|
||||
Licensor or its Affiliates, and
|
||||
|
||||
i. A separating license agreement from Motorola Incorporated is needed
|
||||
to use or practice any patent of Licensor or its Affiliates.
|
||||
|
||||
j. You agree not to contend in any context that, as a result of the
|
||||
provision or use of this software, either Licensor or Affiliate has
|
||||
any obligation to extend, or Licensor or any other party has
|
||||
obtained any right to, any license, whether express or implied,
|
||||
with respect to any patent of Licensor or its Affiliates for any
|
||||
purpose. For the purposes of this agreement, "Affiliate" means
|
||||
(i) any corporation or any other legal entity that owns, directly
|
||||
or indirectly, more than fifty percent (50%) of the shares, equity
|
||||
interest or other securities of any entity entitled to vote for
|
||||
election of directors (or other managing authority), or (ii) any
|
||||
corporation or any other legal entity fifty percent (50%) or more
|
||||
of whose shares, equity interest, or other securities entitled to
|
||||
vote for election of directors (or other managing authority) is
|
||||
owned or controlled by an entity, either directly or indirectly.
|
||||
|
||||
4. Indemnity
|
||||
|
||||
a. You agree to indemnify and hold harmless Licensor, Google, and
|
||||
their officers, directors, customers, employees and successors and
|
||||
assigns (each an "Indemnified Party") against any and all claims,
|
||||
demands, causes of action, losses, liabilities, damages, costs and
|
||||
expenses, incurred by the Indemnified Party (including but not
|
||||
limited to costs of defense, investigation and reasonable
|
||||
attorney's fees) arising out of, resulting from or related to
|
||||
(i) any software, products, documentation, content, materials or
|
||||
derivative works created or developed by You using the Software
|
||||
which causes an infringement of any patent, copyright, trademark,
|
||||
trade secret, or other property, publicity or privacy rights of any
|
||||
third parties arising in any jurisdiction anywhere in the world,
|
||||
(ii) the download, distribution, installation, storage, execution,
|
||||
use or transfer of such software, products, documentation, content,
|
||||
materials or derivative works by any person or entity, and/or
|
||||
(iii) any breach of this Agreement by You. If requested by an
|
||||
Indemnified Party, You agree to defend such Indemnified Party in
|
||||
connection with any third party claims, demands, or causes of
|
||||
action resulting from, arising out of or in connection with any of
|
||||
the foregoing.
|
||||
|
||||
5. Limitation of Liability
|
||||
|
||||
a. TO THE MAXIMUM EXTENT PERMITTED UNDER APPLICABLE LAWS, UNDER NO
|
||||
CIRCUMSTANCES, INCLUDING WITHOUT LIMITATION NEGLIGENCE, SHALL
|
||||
LICENSOR, GOOGLE, THEIR AFFILIATES AND/OR ITS DIRECTORS, OFFICERS,
|
||||
EMPLOYEES OR AGENTS BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
|
||||
SPECIAL, PUNITIVE OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
|
||||
LIMITED TO DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS
|
||||
INTERRUPTION, LOSS OF BUSINESS INFORMATION AND THE LIKE) ARISING
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR ANY DOWNLOAD,
|
||||
INSTALLATION OR USE OF, OR INABILITY TO USE, THE SOFTWARE, EVEN IF
|
||||
LICENSOR OR GOOGLE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR
|
||||
EXCLUSION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO
|
||||
THE ABOVE LIMITATION OR EXCLUSION MAY NOT APPLY OR MAY BE LIMITED.
|
||||
IN NO EVENT SHALL LICENSOR'S OR GOOGLE'S TOTAL AGGREGATE LIABILITY
|
||||
TO YOU FOR ANY AND ALL DAMAGES, LOSSES, CLAIMS AND CAUSES OF
|
||||
ACTIONS (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE,
|
||||
INDEMNIFICATION OR OTHERWISE) EXCEED ONE HUNDRED U.S. DOLLARS
|
||||
(US$100). THE LIMITATIONS SET FORTH IN THIS PARAGRAPH SHALL BE
|
||||
DEEMED TO APPLY TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW.
|
||||
THE PARTIES HAVE FULLY CONSIDERED THE FOREGOING ALLOCATION OF RISK
|
||||
AND FIND IT REASONABLE, AND THAT THE FOREGOING LIMITATIONS IN THIS
|
||||
PARAGRAPH ARE AN ESSENTIAL BASIS OF THE BARGAIN BETWEEN THE
|
||||
PARTIES.
|
||||
|
||||
6. No Warranty
|
||||
|
||||
a. LICENSOR AND GOOGLE MAKE NO WARRANTIES, EXPRESS OR IMPLIED, WITH
|
||||
RESPECT TO THE SOFTWARE AND DOCUMENTATION PROVIDED UNDER THIS
|
||||
AGREEMENT, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF
|
||||
MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR AGAINST
|
||||
INFRINGEMENT, OR ANY EXPRESS OR IMPLIED WARRANTY ARISING OUT OF
|
||||
TRADE USAGE OR OUT OF A COURSE OF DEALING OR COURSE OF PERFORMANCE.
|
||||
NOTHING CONTAINED IN THIS AGREEMENT SHALL BE CONSTRUED AS A
|
||||
WARRANTY OR REPRESENTATION BY LICENSOR (I) AS TO THE VALIDITY OR
|
||||
SCOPE OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT
|
||||
AND (II) THAT ANY MANUFACTURE OR USE WILL BE FREE FROM INFRINGEMENT
|
||||
OF PATENTS, COPYRIGHTS OR OTHER INTELLECTUAL PROPERTY RIGHTS OF
|
||||
OTHERS, AND IT SHALL BE THE SOLE RESPONSIBILITY OF YOU TO MAKE SUCH
|
||||
DETERMINATION AS IS NECESSARY WITH RESPECT TO THE ACQUISITION OF
|
||||
LICENSES UNDER PATENTS AND OTHER INTELLECTUAL PROPERTY OF THIRD
|
||||
PARTIES. LICENSOR AND GOOGLE SHALL NOT HAVE ANY OBLIGATION TO
|
||||
PROVIDE ANY TECHNICAL SUPPORT OF THE SOFTWARE UNDER THIS AGREEMENT.
|
||||
|
||||
7. Term and Termination
|
||||
|
||||
a. This Agreement shall be effective on the date You accept this
|
||||
Agreement and shall remain in effect until terminated as provided
|
||||
herein. You may terminate the Agreement at any time by deleting and
|
||||
destroying all copies of the Software and all related information
|
||||
in Your possession or control. This Agreement terminates
|
||||
immediately and automatically, with or without notice, if You fail
|
||||
to comply with any provision hereof. Additionally, Licensor may at
|
||||
any time terminate this Agreement, without cause, upon notice to
|
||||
You. Upon termination You must delete or destroy all copies of the
|
||||
Software in Your possession, and the license granted to You in this
|
||||
Agreement shall terminate. Sections 3, 4, 5, 6 and 8 shall survive
|
||||
the termination of this Agreement.
|
||||
|
||||
8. Miscellaneous
|
||||
|
||||
a. Governing Law. This Agreement is governed and interpreted in
|
||||
accordance with the laws of the State of California without giving
|
||||
effect to its conflict of laws provisions. The United Nations
|
||||
Convention on Contracts for the International Sale of Goods is
|
||||
expressly disclaimed and shall not apply. Any claim arising out of
|
||||
or related to this Agreement must be brought exclusively in a
|
||||
federal or state court located in Santa Clara County, California
|
||||
and You consent to the jurisdiction and venue of such courts.
|
||||
|
||||
b. Waiver and Severability. The failure of either party to require
|
||||
performance by the other party of any provision of this Agreement
|
||||
shall not affect the full right to require such performance at any
|
||||
time thereafter; nor shall the waiver by either party of a breach
|
||||
of any provision of this Agreement be taken or held to be a waiver
|
||||
of the provision itself. Severability. If any provision of this
|
||||
Agreement is unenforceable or invalid under any applicable law or
|
||||
is so held by applicable court decision, such unenforceability or
|
||||
invalidity shall not render this Agreement unenforceable or invalid
|
||||
as a whole, and such provision shall be changed and interpreted so
|
||||
as to best accomplish the objectives of such unenforceable or
|
||||
invalid provision within the limits of applicable law or
|
||||
applicable court decisions.
|
||||
|
||||
c. Amendment and Modification. This Agreement and any of its terms and
|
||||
provisions may only be amended, modified, supplemented or waived in
|
||||
a writing signed by both parties hereto.
|
||||
|
||||
d. Compliance with Laws. You shall comply with all applicable laws,
|
||||
rules, and regulations in connection with its activities under this
|
||||
Agreement.
|
||||
|
||||
e. Entire Agreement. This Agreement completely and exclusively states
|
||||
the agreement between You and Licensor regarding this subject
|
||||
matter.
|
||||
41
self-extractors/google_devices/staging/Android.bp.txt
Normal file
41
self-extractors/google_devices/staging/Android.bp.txt
Normal file
@@ -0,0 +1,41 @@
|
||||
// Copyright (C) 2023 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.
|
||||
|
||||
soong_namespace {
|
||||
}
|
||||
|
||||
cc_prebuilt_library_shared {
|
||||
name: "libmediaadaptor",
|
||||
arch: {
|
||||
arm64: {
|
||||
srcs: ["lib64/libmediaadaptor.so"],
|
||||
shared_libs: [
|
||||
"libandroid_runtime",
|
||||
"libbinder",
|
||||
"libc++",
|
||||
"liblog",
|
||||
"libmedia",
|
||||
"libnativehelper",
|
||||
"libstagefright",
|
||||
"libutils",
|
||||
],
|
||||
},
|
||||
},
|
||||
compile_multilib: "both",
|
||||
system_ext_specific: true,
|
||||
strip: {
|
||||
none: true,
|
||||
},
|
||||
}
|
||||
|
||||
57
self-extractors/google_devices/staging/Android.mk.template
Normal file
57
self-extractors/google_devices/staging/Android.mk.template
Normal file
@@ -0,0 +1,57 @@
|
||||
#
|
||||
# Copyright (C) 2023 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.
|
||||
#
|
||||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
ifneq ($(filter akita,$(TARGET_DEVICE)),)
|
||||
$(call add-radio-file,bootloader.img)
|
||||
$(call add-radio-file,radio.img)
|
||||
endif
|
||||
|
||||
ifneq ($(filter akita,$(TARGET_DEVICE)),)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_MODULE := ShannonIms
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_BUILT_MODULE_STEM := package.apk
|
||||
LOCAL_SYSTEM_EXT_MODULE := true
|
||||
LOCAL_PRIVILEGED_MODULE := true
|
||||
LOCAL_MODULE_OWNER := samsung
|
||||
LOCAL_MODULE_CLASS := APPS
|
||||
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
|
||||
LOCAL_CERTIFICATE := PRESIGNED
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
|
||||
LOCAL_MODULE := ShannonRcs
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_BUILT_MODULE_STEM := package.apk
|
||||
LOCAL_SYSTEM_EXT_MODULE := true
|
||||
LOCAL_PRIVILEGED_MODULE := true
|
||||
LOCAL_MODULE_OWNER := samsung
|
||||
LOCAL_MODULE_CLASS := APPS
|
||||
LOCAL_SRC_FILES := $(LOCAL_MODULE).apk
|
||||
LOCAL_CERTIFICATE := PRESIGNED
|
||||
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
||||
LOCAL_LICENSE_CONDITIONS := notice
|
||||
LOCAL_NOTICE_FILE := $(LOCAL_PATH)/../COPYRIGHT $(LOCAL_PATH)/../LICENSE
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
endif
|
||||
37
self-extractors/google_devices/staging/BoardConfigPartial.mk
Normal file
37
self-extractors/google_devices/staging/BoardConfigPartial.mk
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 2023 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.
|
||||
|
||||
BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/akita/proprietary/vendor.img
|
||||
|
||||
BOARD_PREBUILT_VENDOR_DLKMIMAGE := vendor/google_devices/akita/proprietary/vendor_dlkm.img
|
||||
|
||||
TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm
|
||||
|
||||
BOARD_AVB_VBMETA_VENDOR := vendor
|
||||
BOARD_AVB_VBMETA_VENDOR_KEY_PATH := external/avb/test/data/testkey_rsa2048.pem
|
||||
BOARD_AVB_VBMETA_VENDOR_ALGORITHM := SHA256_RSA2048
|
||||
BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX := $(PLATFORM_SECURITY_PATCH_TIMESTAMP)
|
||||
BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 3
|
||||
|
||||
AB_OTA_PARTITIONS += \
|
||||
vbmeta_vendor \
|
||||
vendor \
|
||||
vendor_dlkm \
|
||||
|
||||
-include vendor/google/tools/android-info.mk
|
||||
ifdef USE_ANDROID_INFO
|
||||
TARGET_BOARD_INFO_FILE := vendor/google_devices/akita/android-info.txt
|
||||
endif
|
||||
|
||||
VENDOR_BLOBS_LICENSE := vendor/google_devices/akita/LICENSE
|
||||
30
self-extractors/google_devices/staging/device-partial.mk
Normal file
30
self-extractors/google_devices/staging/device-partial.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
# Copyright 2023 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.
|
||||
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
vendor/google_devices/akita/proprietary \
|
||||
|
||||
# AOSP packages required by the blobs
|
||||
PRODUCT_PACKAGES := \
|
||||
ShannonIms \
|
||||
ShannonRcs \
|
||||
|
||||
PRODUCT_PACKAGES += \
|
||||
libmediaadaptor \
|
||||
|
||||
# blob(s) necessary for akita hardware
|
||||
PRODUCT_COPY_FILES := \
|
||||
vendor/google_devices/akita/proprietary/com.shannon.imsservice.xml:system_ext/etc/permissions/com.shannon.imsservice.xml:samsung \
|
||||
vendor/google_devices/akita/proprietary/com.shannon.rcsservice.xml:system_ext/etc/permissions/com.shannon.rcsservice.xml:samsung \
|
||||
|
||||
6
self-extractors/root/android-info.txt
Normal file
6
self-extractors/root/android-info.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
require board=akita
|
||||
require version-bootloader=akita-14.1-10943696
|
||||
|
||||
|
||||
|
||||
require version-baseband=g5300o-231012-231016-B-10954749
|
||||
15
self-extractors/root/proprietary/BoardConfigVendor.mk
Normal file
15
self-extractors/root/proprietary/BoardConfigVendor.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2023 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.
|
||||
|
||||
-include vendor/google_devices/akita/BoardConfigPartial.mk
|
||||
15
self-extractors/root/proprietary/device-vendor.mk
Normal file
15
self-extractors/root/proprietary/device-vendor.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
# Copyright 2023 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.
|
||||
|
||||
$(call inherit-product-if-exists, vendor/google_devices/akita/device-partial.mk)
|
||||
142
uwb/UWB-calibration.conf
Normal file
142
uwb/UWB-calibration.conf
Normal file
@@ -0,0 +1,142 @@
|
||||
[CCC]version=2
|
||||
[CCC]ant0.ch5.prf64.pdoa_iso_rf2_rf1=0
|
||||
[CCC]ant0.ch5.prf64.pdoa_iso_rf1_rf2=0
|
||||
[CCC]ant0.ch9.prf64.pdoa_iso_rf2_rf1=0
|
||||
[CCC]ant0.ch9.prf64.pdoa_iso_rf1_rf2=0
|
||||
[CCC]ant0.ch5.prf64.pdoa_offset=0
|
||||
[CCC]ant0.ch9.prf64.pdoa_offset=0
|
||||
[CCC]ant0.ch5.prf64.pll_locking_code=0
|
||||
[CCC]ant0.ch9.prf64.pll_locking_code=0
|
||||
[CCC]id=0
|
||||
[CCC]wifi_coex_time_gap=10
|
||||
[CCC]ap_coop_mode=1
|
||||
[CCC]antenna_selection=4
|
||||
ant0.ch5.prf16.ant_delay=16450
|
||||
ant0.ch5.prf16.tx_power=0
|
||||
ant0.ch5.prf16.pg_count=0
|
||||
ant0.ch5.prf16.pg_delay=0
|
||||
ant0.ch5.prf64.ant_delay=16450
|
||||
ant0.ch5.prf64.tx_power=0
|
||||
ant0.ch5.prf64.pg_count=0
|
||||
ant0.ch5.prf64.pg_delay=0
|
||||
ant0.ch9.prf16.ant_delay=16450
|
||||
ant0.ch9.prf16.tx_power=0
|
||||
ant0.ch9.prf16.pg_count=0
|
||||
ant0.ch9.prf16.pg_delay=0
|
||||
ant0.ch9.prf64.ant_delay=16450
|
||||
ant0.ch9.prf64.tx_power=0
|
||||
ant0.ch9.prf64.pg_count=0
|
||||
ant0.ch9.prf64.pg_delay=0
|
||||
ant0.port=0
|
||||
ant0.selector_gpio=7
|
||||
ant0.selector_gpio_value=0
|
||||
ant1.ch5.prf16.ant_delay=16450
|
||||
ant1.ch5.prf16.tx_power=0
|
||||
ant1.ch5.prf16.pg_count=0
|
||||
ant1.ch5.prf16.pg_delay=0
|
||||
ant1.ch5.prf64.ant_delay=16450
|
||||
ant1.ch5.prf64.tx_power=0
|
||||
ant1.ch5.prf64.pg_count=0
|
||||
ant1.ch5.prf64.pg_delay=0
|
||||
ant1.ch9.prf16.ant_delay=16450
|
||||
ant1.ch9.prf16.tx_power=0
|
||||
ant1.ch9.prf16.pg_count=0
|
||||
ant1.ch9.prf16.pg_delay=0
|
||||
ant1.ch9.prf64.ant_delay=16450
|
||||
ant1.ch9.prf64.tx_power=0
|
||||
ant1.ch9.prf64.pg_count=0
|
||||
ant1.ch9.prf64.pg_delay=0
|
||||
ant1.port=0
|
||||
ant1.selector_gpio=7
|
||||
ant1.selector_gpio_value=1
|
||||
ant2.ch5.prf16.ant_delay=16450
|
||||
ant2.ch5.prf16.tx_power=0
|
||||
ant2.ch5.prf16.pg_count=0
|
||||
ant2.ch5.prf16.pg_delay=0
|
||||
ant2.ch5.prf64.ant_delay=16450
|
||||
ant2.ch5.prf64.tx_power=0
|
||||
ant2.ch5.prf64.pg_count=0
|
||||
ant2.ch5.prf64.pg_delay=0
|
||||
ant2.ch9.prf16.ant_delay=16450
|
||||
ant2.ch9.prf16.tx_power=0
|
||||
ant2.ch9.prf16.pg_count=0
|
||||
ant2.ch9.prf16.pg_delay=0
|
||||
ant2.ch9.prf64.ant_delay=16450
|
||||
ant2.ch9.prf64.tx_power=0
|
||||
ant2.ch9.prf64.pg_count=0
|
||||
ant2.ch9.prf64.pg_delay=0
|
||||
ant2.port=1
|
||||
ant2.selector_gpio=6
|
||||
ant2.selector_gpio_value=0
|
||||
ant3.ch5.prf16.ant_delay=16450
|
||||
ant3.ch5.prf16.tx_power=0
|
||||
ant3.ch5.prf16.pg_count=0
|
||||
ant3.ch5.prf16.pg_delay=0
|
||||
ant3.ch5.prf64.ant_delay=16450
|
||||
ant3.ch5.prf64.tx_power=0
|
||||
ant3.ch5.prf64.pg_count=0
|
||||
ant3.ch5.prf64.pg_delay=0
|
||||
ant3.ch9.prf16.ant_delay=16450
|
||||
ant3.ch9.prf16.tx_power=0
|
||||
ant3.ch9.prf16.pg_count=0
|
||||
ant3.ch9.prf16.pg_delay=0
|
||||
ant3.ch9.prf64.ant_delay=16450
|
||||
ant3.ch9.prf64.tx_power=0
|
||||
ant3.ch9.prf64.pg_count=0
|
||||
ant3.ch9.prf64.pg_delay=0
|
||||
ant3.port=1
|
||||
ant3.selector_gpio=6
|
||||
ant3.selector_gpio_value=1
|
||||
ant0.ant1.ch5.pdoa_offset=0
|
||||
ant0.ant1.ch9.pdoa_offset=0
|
||||
ant0.ant2.ch5.pdoa_offset=0
|
||||
ant0.ant2.ch9.pdoa_offset=0
|
||||
ant1.ant2.ch5.pdoa_offset=2173
|
||||
ant1.ant2.ch9.pdoa_offset=3555
|
||||
ant0.ant3.ch5.pdoa_offset=0
|
||||
ant0.ant3.ch9.pdoa_offset=0
|
||||
ant1.ant3.ch5.pdoa_offset=3845
|
||||
ant1.ant3.ch9.pdoa_offset=647
|
||||
ant2.ant3.ch5.pdoa_offset=0
|
||||
ant2.ant3.ch9.pdoa_offset=0
|
||||
ch5.pll_locking_code=0
|
||||
ch9.pll_locking_code=0
|
||||
ant1.ant2.ch5.pdoa_lut=3d:ea:7b:0a:66:ea:c3:09:a4:ea:0a:09:cd:ea:66:08:0a:eb:ae:07:33:eb:f6:06:48:eb:52:06:71:eb:9a:05:c3:eb:e1:04:e1:ec:29:04:c3:ef:85:03:a4:f4:cd:02:14:f8:14:02:b8:fa:5c:01:8f:fc:b8:00:e1:fe:00:00:48:01:48:ff:85:03:a4:fe:ae:05:ec:fd:00:08:33:fd:d7:09:7b:fc:85:0b:d7:fb:0a:0d:1f:fb:66:0e:66:fa:33:0f:ae:f9:00:10:0a:f9:a4:10:52:f8:1f:11:9a:f7:5c:11:f6:f6:9a:11:3d:f6:ae:11:85:f5
|
||||
ant1.ant2.ch9.pdoa_lut=c3:ed:7b:0a:29:ee:c3:09:3d:ee:0a:09:cd:ee:66:08:c3:ef:ae:07:f6:f0:f6:06:3d:f2:52:06:52:f2:9a:05:cd:f2:e1:04:5c:f3:29:04:c3:f3:85:03:b8:f4:cd:02:71:f7:14:02:52:fa:5c:01:85:fd:b8:00:00:00:00:00:0a:01:48:ff:5c:01:a4:fe:14:02:ec:fd:5c:03:33:fd:48:05:7b:fc:b8:06:d7:fb:14:08:1f:fb:33:09:66:fa:ec:09:ae:f9:3d:0a:0a:f9:0a:0b:52:f8:1f:0b:9a:f7:48:0b:f6:f6:85:0b:3d:f6:9a:0b:85:f5
|
||||
ant1.ant3.ch5.pdoa_lut=66:ec:7b:0a:e1:ec:c3:09:14:ee:0a:09:d7:ef:66:08:8f:f2:ae:07:00:f6:f6:06:cd:f6:52:06:33:f7:9a:05:d7:f7:e1:04:48:f9:29:04:33:fd:85:03:d7:fd:cd:02:3d:fe:14:02:ec:ff:5c:01:14:00:b8:00:3d:00:00:00:cd:02:48:ff:29:04:a4:fe:a4:04:ec:fd:85:05:33:fd:e1:06:7b:fc:b8:08:d7:fb:14:0a:1f:fb:e1:0a:66:fa:1f:0b:0a:f9:1f:0b:ae:f9:5c:0b:52:f8:c3:0b:9a:f7:52:0c:f6:f6:0a:0d:3d:f6:00:0e:85:f5
|
||||
ant1.ant3.ch9.pdoa_lut=0a:ef:7b:0a:c3:ef:c3:09:00:f0:0a:09:14:f0:66:08:7b:f0:ae:07:48:f1:f6:06:00:f2:52:06:c3:f3:9a:05:00:f6:e1:04:d7:f7:29:04:1f:f9:85:03:ae:f9:cd:02:e1:fa:14:02:e1:fc:5c:01:b8:fe:b8:00:c3:ff:00:00:00:02:48:ff:5c:05:a4:fe:52:08:ec:fd:14:0a:33:fd:e1:0a:7b:fc:14:0c:d7:fb:14:0e:1f:fb:1f:0f:66:fa:00:10:ae:f9:b8:10:0a:f9:29:12:52:f8:00:14:9a:f7:7b:16:f6:f6:d7:17:3d:f6:29:18:85:f5
|
||||
xtal_trim=23
|
||||
temperature_reference=85
|
||||
smart_tx_power=1
|
||||
auto_sleep_margin=20000
|
||||
restricted_channels=0
|
||||
[HAL]aoa_capability=1
|
||||
[HAL]ant_sets.ch5.range.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.range.rx_ant_set_ranging = 3
|
||||
[HAL]ant_sets.ch5.range.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch5.range.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch5.azimuth.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.azimuth.rx_ant_set_ranging = 3
|
||||
[HAL]ant_sets.ch5.azimuth.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch5.azimuth.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.range.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.range.rx_ant_set_ranging = 3
|
||||
[HAL]ant_sets.ch9.range.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch9.range.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch5.elevation.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch5.elevation.rx_ant_set_ranging = 1
|
||||
[HAL]ant_sets.ch5.elevation.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch5.elevation.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.elevation.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.elevation.rx_ant_set_ranging = 1
|
||||
[HAL]ant_sets.ch9.elevation.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch9.elevation.tx_ant_set_ranging = 0
|
||||
[HAL]ant_sets.ch9.azimuth.rx_ant_set_nonranging = 6
|
||||
[HAL]ant_sets.ch9.azimuth.rx_ant_set_ranging = 3
|
||||
[HAL]ant_sets.ch9.azimuth.tx_ant_set_nonranging = 0
|
||||
[HAL]ant_sets.ch9.azimuth.tx_ant_set_ranging = 0
|
||||
[HAL]minimum_system_offset_uwbtime0=500
|
||||
coex_gpio=4
|
||||
coex_delay_us=1000
|
||||
coex_margin_us=500
|
||||
coex_interval_us=2000
|
||||
21
uwb/uwb_calibration.mk
Normal file
21
uwb/uwb_calibration.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
#
|
||||
# Copyright (C) 2021 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.
|
||||
|
||||
LOCAL_UWB_CAL_DIR=device/google/akita/uwb
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration.conf \
|
||||
$(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration-unknown.conf \
|
||||
$(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/UWB-calibration-default.conf \
|
||||
@@ -31,7 +31,6 @@ WIFI_AVOID_IFACE_RESET_MAC_CHANGE := true
|
||||
WIFI_FEATURE_HOSTAPD_11AX := true
|
||||
BOARD_HOSTAPD_CONFIG_80211W_MFP_OPTIONAL := true
|
||||
WIFI_HIDL_UNIFIED_SUPPLICANT_SERVICE_RC_ENTRY := true
|
||||
WIFI_BRCM_OPEN_SOURCE_MULTI_AKM := enabled
|
||||
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/google/akita/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
||||
|
||||
Reference in New Issue
Block a user