776 Commits
udc ... bka

Author SHA1 Message Date
6d992e3140 akita: Initialize for Evolution X 11.x
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-09-26 04:55:53 +00:00
LuK1337
4b0baef963 akita: We don't support udfps touch handler
This commit fixes broken UDFPS on gs101/gs201/zuma. The breakage is a
combination of two changes: The A16 UDFPS HAL fallback switching from
false to true, and the introduction of
`topic:fingerprint-halHandlesDisplayTouches`.

When HAL sets halHandlesDisplayTouches to true, its onPointerDown() /
onPointerUp() methods won't be called, which in this case will simply
break it.

This went unnoticed on Android 15 because the HAL defaulted to false and
the fps_touch_handler_supported property was not set.

Change-Id: If24475b5f14b7f02b90774be6acf20865285f1ab
Signed-off-by: AnierinB <anierin@evolution-x.org>
2025-08-28 21:09:37 +00:00
Michael Bestas
d230af1b99 akita: Drop prebuilt kernel dependency
Change-Id: I2d13a62ac9f5f35220b6b2bdb64a4fe1da54044e
2025-08-28 16:17:12 +03:00
Michael Bestas
56d0b78408 Update fingerprint/build description from BP2A.250805.005
Change-Id: I4e9d2540f861df5ecbb92efd8115d858ada105e3
2025-08-13 02:22:24 +00:00
Michael Bestas
84def1e52c akita: Remove dependency on 16K release flag
Change-Id: I0e9f7977990fe63edcf843e0e6ed2c58580a5e30
2025-07-30 03:01:12 +03:00
Michael Bestas
1b3aa0825d Update fingerprint/build description from BP2A.250705.008
Change-Id: I3f978eb5d37a2b5f0b158c2a523b959a895ec5f2
2025-07-09 16:02:41 +03:00
Michael Bestas
0f73cc5de5 akita: Remove HIDL audio configuration
Change-Id: I45e4f8521c352fe05b247040be9001b2e0e1ae93
2025-06-26 07:54:32 +03:00
Michael Bestas
ff21e0bae4 akita: Remove unused UWB configuration
Change-Id: I99c094cf2b129d780b5f9d27b9e398354a82f7b6
2025-06-26 07:53:54 +03:00
Michael Bestas
95205d4359 akita: Drop flood control HAL
We are missing the sepolicy for it and it's disabled

Change-Id: I22f2055e74ecfd3115cd035e685245ca0d6202e2
2025-06-26 07:53:47 +03:00
Michael Bestas
80867fa7b5 akita: Remove non-existent vendor includes
Change-Id: I1bc76430d30259984f4eb91907be61ef39646c27
2025-06-26 07:53:38 +03:00
Michael Bestas
3a88bc0708 akita: Remove userdebug/eng configuration
Change-Id: I3739e6e099681c667c80723f0f6e3197923ff762
2025-06-26 07:53:13 +03:00
Michael Bestas
e5525a192d akita: Remove factory scripts & self-extractors
Change-Id: I64f34481d9d3a41f5c01b5a9a3cd27db2cd10866
2025-06-26 07:52:16 +03:00
Michael Bestas
c0de1a6cd1 akita: Remove all boards except akita
Change-Id: Ib34dd38d55f39e9a61c0f61d9c659e07494177a1
2025-06-26 07:52:08 +03:00
Michael Bestas
b80ecc6b78 akita: Remove AOSP gerrit configuration
Change-Id: I3bf3987b08a710ddf278cae5243946fae70fce6a
2025-06-26 07:51:49 +03:00
Michael Bestas
f6fb26b84e Update fingerprint/build description from BP2A.250605.031.A2
Change-Id: Ica481b26ac4c316e4ff1a53ee38fe556ae86335a
2025-06-26 07:51:36 +03:00
Michael Bestas
a9dfe05dfc akita: Update powerhint.json from BP2A
Change-Id: I3aa8cb97c1bc2fdbedb6783a11b99e6c759caa41
2025-06-26 07:48:38 +03:00
Michael Bestas
86cfde933c akita: Update audio_platform_configuration from BP2A
Change-Id: I4c8e34994130bfe1b52c2ccfd9775c73bce00906
2025-06-26 07:48:31 +03:00
Michael Bestas
d260c41a08 akita: Update gps configuration from BP2A
Change-Id: If17af64c96227a9655a0e6e287cc311bd62b4c4f
2025-06-26 07:48:25 +03:00
Michael Bestas
0cb074b1ad akita: Move libspeechenhancer to vendor
Change-Id: I7b254dd9ecc64e5535011a9014ac541ab83e788f
2025-06-26 07:48:19 +03:00
Michael Bestas
0bc7c6f5db akita: Update proprietary files setup for 16
Change-Id: I915a8192f5694d03ddbd2a6d4c6ea5033669500a
2025-06-26 07:48:02 +03:00
Michael Bestas
0f3b7f4f8c akita: Restore location FCM
Change-Id: Icd71d5dee7fba63b5005f63a469e9fda44108769
2025-06-26 07:47:07 +03:00
Michael Bestas
5bdd5f603d Revert "Add aam HAL to compatibility matrix"
This reverts commit f2f3cb5cb6.

Reason for revert: This lives in device/google/gs-common now

Change-Id: I4b8d483ccf24c2f233d1c34952df50df2b2aa9f4
2025-06-26 07:46:50 +03:00
Michael Bestas
9b209ba71d Merge tag 'aml_tz6_351400020' into staging/lineage-23.0_merge-aml_tz6_351400020
aml_tz6_351400020 (13155446,com.google.android.go.tzdata6,com.google.android.tzdata6)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ9i73wAKCRDorT+BmrEO
# eG7xAJ9CPSm34eQpSAaTYHlZIwAp2vKMDQCfbZTHjSKsuRupOP2GRkM8vGTX2j8=
# =9Gn2
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Mar 18 02:18:39 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Edwin Tung (4) and others
# Via Android Build Coastguard Worker (9) and others
* tag 'aml_tz6_351400020':
  Remove old unused VINTF manifest file
  gps: Enable MSA for KDDI
  powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
  ADPF:akita: use tagged ADPF profile for SYSTEM_UI.
  ADPF:akita: remove unused adpf profiles.
  powerhint: Enable auto migration margins/dvfs headroom by default
  gps: official release 4.15.4_2_250116_R1_252585
  powerhint: Mask hints in AA and DISPLAY_IDLE
  Add support 48_2 capability for broadcast audio configuration.
  Enable open source multi akm for specific Broadcom project
  gps: official release 4.15.1_35_241209_R1_247899
  gps: add certificate file for carrier
  akita: add libspeechenhancer for recorder.
  gps: official release 4.13.2_28_Release_248164
  Vibrator: Add permissions for owt_lib_compat

 Conflicts:
	location/gnssd/Android.bp
	location/gnssd/gnss_release.mk
	location/gnssd/release/android.hardware.gnss-service
	location/gnssd/release/build.properties
	location/gnssd/release/gnssd
	location/gnssd/release/kepler.bin

Change-Id: I889781cd0c7e73e89f864cef1b27b349e38bc1fd
2025-06-23 05:16:33 +03:00
Michael Bestas
7fd97e6183 Update fingerprint/build description from BP1A.250505.005.B1
Change-Id: I37e7214472a58a7335776cee979d8a00f799d14c
2025-05-07 06:18:39 +03:00
Michael Bestas
3c9f3cec4c Update fingerprint/build description from BP1A.250405.007.B1
Change-Id: I0ce809c8b8ab3e5af7094eb0f0f80800ab5b7ded
2025-04-11 19:34:52 +03:00
Michael Bestas
c073396e0d Update fingerprint/build description from BP1A.250305.019
Change-Id: I16747d457c4acf1d001eb249c0d81863f6b5c44b
2025-03-11 16:08:32 +02:00
Michael Bestas
c07a096854 Update lineage.dependencies
Change-Id: Ia0b3e1e20ee5d728694f341fdaba12cbd59c3b61
2025-03-10 19:06:20 +02:00
Michael Bestas
a90436fd0b Include missing GNSS sepolicy
Change-Id: I0b99da9950d7e631767943cf40e8fd562b947e33
2025-03-09 12:18:58 +02:00
Michael Bestas
93b12139c4 Include missing vibrator sepolicy
Change-Id: Iac3a36e884dc1747d4fd0a60b418ffbf3779ffdb
2025-03-09 12:18:32 +02:00
Michael Bestas
9a75d9463b akita: Add missing GNSS property
Change-Id: Ib6a90cf36bff5707ecd01ce4a7b57157c1d792a7
2025-03-09 12:17:46 +02:00
Michael Bestas
363fc72dba proprietary-files: BP1A.250305.019
Change-Id: Ia34e908e39ae2a9426d6fad929de6a38acb95b69
2025-03-09 12:17:46 +02:00
Michael Bestas
126e654fbf Merge tag 'android-15.0.0_r20' into staging/lineage-22.2_merge-android-15.0.0_r20
Android 15.0.0 Release 20 (BP1A.250305.019)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ8eo5wAKCRDorT+BmrEO
# eIXhAJ4mfjUCscB+WvwlGwTWo6/csukdbQCeJjsFIOdz0nUx08DZbAIxtr+nE3k=
# =4imu
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Mar  5 03:29:11 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [ultimate]

# By Wayne Lin (4) and others
# Via Android Build Coastguard Worker (28) and others
* tag 'android-15.0.0_r20': (27 commits)
  gps: add certificate file for carrier
  gps: official release 4.13.2_28_Release_248164
  Add a way to disable auto prefer fit for launch.
  audio: align volume curve
  [BT] Update LEA allow list
  gps: support Galileo in CP NILR for ATT and TMO
  Revert "powerhint: enable auto_prefer_idle in games"
  Revert "gps: set default SUPL SSL method to SSLv23"
  Enable multi-codec architecture for Akita
  gps: Enable coredump report for user ROM
  akita: add microphone info for aidl hal.
  Disable Wifi BugReport for subsystem restart
  [NFC] Enable STNFC_ACTIVERW_TIMER
  Revert "gps: Enable coredump report for user ROM"
  gps: Enable coredump report for user ROM
  gps: set default SUPL SSL method to SSLv23
  Enable CDPreferHighCap for CAMERA_STREAMING_HIGH for akita
  powerhint: enable auto_prefer_idle in games
  Enable TA and FG prefer idle for some camera streams
  [akita] Define CAMERA_MULTICAM_BOOST
  ...

 Conflicts:
	location/gnssd/Android.bp

Change-Id: Idda2b49078a7389131a8b7318288054a2e54de68
2025-03-09 11:03:41 +02:00
Android Build Coastguard Worker
9b1e93228c Snap for 13025264 from 2ac5530932 to mainline-tzdata6-release
Change-Id: I44a26d37a19c9749111a79ea2255aac3de180582
2025-02-06 14:19:48 -08:00
Devin Moore
2ac5530932 Remove old unused VINTF manifest file am: d3de836f4e am: 5cf8be209e
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3478770

Change-Id: I4d69baed6176a741bfc190af0074c8cda56713ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 10:47:41 -08:00
Devin Moore
5cf8be209e Remove old unused VINTF manifest file am: d3de836f4e
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3478770

Change-Id: I7e6efef9aaacc528024dd22b8c982053f8c88017
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2025-02-06 10:22:41 -08:00
Devin Moore
d3de836f4e Remove old unused VINTF manifest file
This file is out of date and unused, so remove it.
It's targeting Android R FCM and declaring old HIDL versions of HALs
that these devices do not use.

Test: m
Bug: 388074589
Change-Id: I764d2022875cb30ff985f5fdb39296e36b6ca8d7
2025-02-05 17:38:42 +00:00
Michael Bestas
7548e07dd0 Update fingerprint/build description from AP4A.250205.002
Change-Id: Id9454fd2e30fb3375f080aaa48df02a14366cc6f
2025-02-05 18:02:41 +02:00
Guibing Cai
29d9da0d8e Merge "powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values" into main 2025-02-04 15:06:02 -08:00
Guibing Cai
137b3c0cf6 Merge changes from topic "p23-system-ui-profile" into main
* changes:
  ADPF:akita: use tagged ADPF profile for SYSTEM_UI.
  ADPF:akita: remove unused adpf profiles.
2025-02-04 15:05:36 -08:00
Edwin Tung
cb17bccca2 gps: Enable MSA for KDDI
Bug: 392784914

Flag: EXEMPT GNSS configuration changes
Test: AGPS MSA
Change-Id: I5523420c1e7d555a806e0b286cad4077f2d01811
2025-02-04 07:57:00 +08:00
guibing
7c926f7fb3 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: adb shell dumpsys android.hardware.power.IPower/default
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I72b48c620713e8dd5d4dd688caf9f01e7020966b
2025-02-03 19:48:19 +00:00
guibing
6aef16af26 ADPF:akita: use tagged ADPF profile for SYSTEM_UI.
- Add a event node for SYSTEM_UI;
- Add a separate SYSTEM_UI profile.

Bug: 393196667
Test: adb shell dumpsys android.hardware.power.IPower/default
Flag: NONE powerhal doesn't have a flag yet
Change-Id: Ie7df5f87b163dd002b74fcd69332f0a8e7a26ef4
2025-02-03 19:48:19 +00:00
guibing
cb6d75503b ADPF:akita: remove unused adpf profiles.
Bug: 393196667
Test: adb shell dumpsys android.hardware.power.IPower/default
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I3d9b5a65f76ed3d8602e2d6b987831ba95a7cdd8
2025-01-30 23:25:49 +00:00
Qais Yousef
690039f44d powerhint: Enable auto migration margins/dvfs headroom by default
And reduce DownRateLimitUs to 500us as the system should be more
reactive now when something needs to rampup quickly.

Enable pertask iowait boost too as with auto dvfs headroom enabled all
tasks will start form 0 util_avg and this could impact iowait tasks
without this being enabled to help them migrate up to bigger cores.

Camera use cases should still use their own default DownRateLimitUs and
disable this feature to keep their dvfs_headroom tuning intact.

Bug: 392622882
Flag: EXEMPT powerhints are not compatible with flagging
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: Iaf81e74c9c3b0e4a57b1708981ad878810189b20
2025-01-28 17:06:25 +00:00
Michael Bestas
85e5b5ee9d akita: Add more Pixel camera prebuilts
These are present on stock since QPR1

Change-Id: I58ba2d30d28d4c9cd525f1e1d4ddb353eaaf9db0
2025-01-24 13:50:40 +02:00
Treehugger Robot
a0f795582b Merge "gps: official release 4.15.4_2_250116_R1_252585" into main 2025-01-20 06:32:06 -08:00
Edwin Tung
40d5b106c3 gps: official release 4.15.4_2_250116_R1_252585
Bug: 368976843

Flag: EXEMPT GNSS configuration changes
Test: b/388952007
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: Ie1e5e2a4a4594824b596fe689c3678f5c9604641
2025-01-20 00:11:38 -08:00
Paulsu Su
5924f4edcc powerhint: Mask hints in AA and DISPLAY_IDLE
This CL adds a powerhint for AA mode to mask storming hint. DISPLAY_IDLE masks DISPLAY_UPDATE_IMMINENT and CPU_LOAD_RESET when Android Auto property is set. When navigation in Android Auto, the two hint with action to boost memlat is costly.

Bug: 380188115 
Change-Id: I825a56ac32a0ecdc8b441af9cb64e81b1d04f9a6
Test: Local test with desktop_head_unit_internal
Flag: EXEMPT powerhint change
2025-01-13 19:01:52 -08:00
Michael Bestas
1f5d926ec7 Add missing IWLAN packages
Change-Id: I671e4f057eb3fbe94f63dc16bf697867278e3eb2
2025-01-14 00:39:43 +02:00
Michael Bestas
51ae72929e Update fingerprint/build description from AP4A.250105.002
Change-Id: If8d5bc60256afd27a58a4600f91131fc177f3dab
2025-01-08 12:11:01 +02:00
Treehugger Robot
4e9f3cdc98 Merge "Enable open source multi akm for specific Broadcom project" into main 2025-01-07 21:30:22 -08:00
Michael Bestas
7b33f9dafb Merge tag 'android-15.0.0_r10' into staging/lineage-22.1_merge-android-15.0.0_r10
Android 15.0.0 release 10

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ32YyAAKCRDorT+BmrEO
# ePlaAJ0e35blR43FZRJYjW2a6l3V6suEnwCfUU6AJX2S0nIJH8JToIxuG0Y5WEI=
# =1WYB
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Jan  7 23:12:40 2025 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Can't check signature: No public key

# By TeYuan Wang
# Via Android Build Coastguard Worker
* tag 'android-15.0.0_r10':
  Set the fcc cdev_ceiling to 1A before disable charge

Change-Id: I83cbba33dd806b6b6eba0c748d54a71600037045
2025-01-08 03:25:23 +02:00
Android Build Coastguard Worker
aa7df41cfd Snap for 12872597 from 23173658e5 to mainline-tzdata6-release
Change-Id: Ice8558be65259cbe84943e1cd4c418574046807d
2025-01-06 04:34:04 -08:00
Silen Sun
23173658e5 Merge "Add support 48_2 capability for broadcast audio configuration." into main 2024-12-30 18:36:29 -08:00
silens
edec912886 Add support 48_2 capability for broadcast audio configuration.
Test: build
Bug: 385681962
Flag: EXEMPT only modify device config file
Change-Id: I32914479893666a5412faac2f302076855cd0a56
2024-12-30 12:51:15 +08:00
Android Build Coastguard Worker
ce53c431b4 Merge cherrypicks of ['googleplex-android-review.googlesource.com/30936924'] into 25Q1-release.
Change-Id: I26310039d2d86ad104ea24afe0bfb625541e55cb
2024-12-26 19:06:36 -08:00
Wayne Lin
3eb1621f47 gps: add certificate file for carrier
Bug: 384709358
Test: confirm certificate is included
Flag: EXEMPT bug fix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2959396e87bc5f01b0db1de3c679a52fe2c8d233)
Merged-In: I1980cf603a213333a96f79cfc4a2bc3d3c1e5265
Change-Id: I1980cf603a213333a96f79cfc4a2bc3d3c1e5265
2024-12-26 18:59:17 -08:00
Isaac Chiou
7ef30c66cd Enable open source multi akm for specific Broadcom project
For cross akm roaming function, we have two ways in supplicant :
1. Open source way.
2. Broadcom specific way.

Originally, Broadcom projects follow way 2 due to the limitation of the driver.
For now, we plan to move all Broadcom projects to follow way 1 to make supplicant code clean and downsteam without conflict.

For those projects which is ready for way 1, we control it to follow way 1 with WIFI_BRCM_OPEN_SOURCE_MULTI_AKM config.
For the rest of Broadcom projects, we still follow way 2 until the multiple AKMs is fully supported by driver and verified.

For ongoing Broadcom project, we also need to exercise the open source path in supplicant to do multiple AKM configuration to comply with WFA Wifi 7 AKM24 specification (b/331896542 ).

Bug: 246871098
Test: AU drop test
Test: Cross AKM roaming test
Flag: EXEMPT enable control flag for aosp akms
Change-Id: I8a7b2bde2a584eaa544203bdd8303e77439ee3cc
2024-12-25 01:00:19 -08:00
Edwin Tung
198634f36c gps: official release 4.15.1_35_241209_R1_247899
Bug: 381815085
Test: atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Flag: EXEMPT bug fix

Change-Id: I5446fe9b80f30cef5525f345680a59ea628531f4
2024-12-25 16:20:47 +08:00
Wayne Lin
2959396e87 gps: add certificate file for carrier
Bug: 384709358
Test: confirm certificate is included
Flag: EXEMPT bug fix
Change-Id: I1980cf603a213333a96f79cfc4a2bc3d3c1e5265
2024-12-17 19:40:51 -08:00
Rios Kao
c6044e297f Merge "akita: add libspeechenhancer for recorder." into main 2024-12-17 01:36:58 -08:00
Xin Li
899bf7fcc1 [automerger skipped] Merge 24Q4 into AOSP main am: f8c0a9fcd5 -s ours am: 522558aa7e -s ours
am skip reason: Merged-In I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0 with SHA-1 9cfd39b3e7 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/29710264

Change-Id: Iad1fd90533ecbe9eb3d391a25883896f6bdecb1f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 20:40:24 -08:00
Xin Li
522558aa7e [automerger skipped] Merge 24Q4 into AOSP main am: f8c0a9fcd5 -s ours
am skip reason: Merged-In I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0 with SHA-1 9cfd39b3e7 is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3413342

Change-Id: Iddb5720e7d62ac4bd9c014069de337bf15bf57ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-12-13 19:38:07 -08:00
Xin Li
f8c0a9fcd5 Merge 24Q4 into AOSP main
Bug: 370570306
Merged-In: I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0
Change-Id: I201b1b5be16526adc56bff9b92eb8573fafd1275
2024-12-13 11:15:07 -08:00
Android Build Coastguard Worker
1d9b34276d Merge cherrypicks of ['googleplex-android-review.googlesource.com/30695352'] into 25Q1-release.
Change-Id: I590d69e9ca8077bf427f877e2bc934e70d39bf18
2024-12-12 16:42:17 -08:00
Edwin Tung
b67c5540dc gps: official release 4.13.2_28_Release_248164
Bug: 373743481
Bug: 316151601

Test: b/382153324
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a4c06cbead9073d6bf10ee244a4cc2dc0fb649ec)
Merged-In: I0af3dae2012afcfe250dc43a826662c03850127b
Change-Id: I0af3dae2012afcfe250dc43a826662c03850127b
2024-12-12 16:20:03 -08:00
Rios Kao
e8d261f6ee akita: add libspeechenhancer for recorder.
note: library version 20241203_1624_RC01

Test: end-to-end test
Bug: 383647553
Flag: EXEMPT back porting existed feature.
Change-Id: If13996c049be653a9c17d69f789ef07838b5be24
2024-12-11 19:45:28 -08:00
Michael Bestas
6b6bb944ea proprietary-files: AP4A.241205.013
Change-Id: Ia0d253867c9fafa277404610923457b1056c035f
2024-12-11 15:40:38 +02:00
Michael Bestas
16cb72ad85 Update fingerprint/build description from AP4A.241205.013
Change-Id: I0be6eae62b38477c7eacf15776dc50ef78e43064
2024-12-11 04:12:23 +02:00
Michael Bestas
5de40bab2f Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eF7zAJ9TnEbt93YFkRDXnMyd+rxjTtfPsACeNsSO+mAweM7l/pSPalx+SfabUQk=
# =qy14
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2483 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Edwin Tung (1) and Frank Yu (1)
# Via Android Build Coastguard Worker (5) and others
* tag 'android-15.0.0_r6':
  Move hal_radio_ext_service related policy to gs-common.
  gps: allow gnssd set gps property and read rild property

Change-Id: I5de43c37a6a7f7741f390644bca6075573c97727
2024-12-11 03:47:54 +02:00
Michael Bestas
0ba204c415 Merge tag 'android-15.0.0_r6' into staging/lineage-22.0_merge-android-15.0.0_r6
Android 15.0.0 Release 6 (AP4A.241205.013)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZ1IssQAKCRDorT+BmrEO
# eL74AKCNQVfSGVAUQFp6Iksi4QQeQpz7cgCeIHeeLWlhg7qq95QZMtZ1tHQfTBI=
# =iiyJ
# -----END PGP SIGNATURE-----
# gpg: Signature made Fri Dec  6 00:44:01 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2483 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Ankur Bakshi (11) and others
# Via Android Build Coastguard Worker (52) and others
* tag 'android-15.0.0_r6': (72 commits)
  [Akita] Regulation e-label for Akita
  Adjust the charging throttling target to 41C
  Set the fcc cdev_ceiling to 1A before disable charge
  Adjust the charging throttling target to 41C
  Set the fcc cdev_ceiling to 1A before disable charge
  audio: add uninisialized mixer control
  Adjust the charging throttling target to 41C
  Set the fcc cdev_ceiling to 1A before disable charge
  akita: udfps: remove the redundant properties
  Update product id for Akita
  Symlink current prebuilt folder to android root
  audio: update AIDL configs and add spatializer configs
  Enable auto prefer idle
  Set big core to group_cfs_skip_mask for sys group by default
  Set big core to cpu skip mask by default
  Delete mapper4 manifest
  audio: power optimization for deepbuffer playback
  audio: fix the noise of raw-playback in 16kB page mode
  gps: official release 4.13.2_27_Release_232879
  Remove unused trunk folder
  ...

 Conflicts:
	device-akita.mk
	location/gnssd/release/android.hardware.gnss-service
	location/gnssd/release/gnssd
	location/gnssd/release/kepler.bin

Change-Id: Ibc6bfc1917a52d41259f5943fe2a548ea8ebb8b9
2024-12-11 03:47:49 +02:00
Nathan Kulczak
5b0884acdf Merge "Vibrator: Add permissions for owt_lib_compat" into main 2024-12-10 17:44:25 +00:00
Treehugger Robot
1c1af165fc Merge "gps: official release 4.13.2_28_Release_248164" into main 2024-12-10 01:46:38 +00:00
Android Build Coastguard Worker
4b6e11fe6d Snap for 12770256 from 33b4eae970 to 25Q1-release
Change-Id: I9af6765fa8f9e81f9a776b197acc0c83b51743c6
2024-12-10 00:31:11 +00:00
Dmitry Skiba
33b4eae970 Merge "Add a way to disable auto prefer fit for launch." into main 2024-12-09 19:00:58 +00:00
Android Build Coastguard Worker
ba3e8d1b9a Snap for 12763142 from e2baaa6bf2 to 25Q1-release
Change-Id: Ic2e8638a059c8bcfca75f8f09f1f0177f38d6892
2024-12-07 02:03:23 +00:00
Dmitry Skiba
79cd618b08 Add a way to disable auto prefer fit for launch.
This change introduces "is APF enabled" system properties, and
uses them as trigger conditions for APF nodes / pre-APF nodes.

By default APF nodes are active, and pre-APF nodes are inactive,
which maintains the situation before this change.

A future experiment will flip "is APF enabled" system properties,
deactivating APF nodes and activating pre-APF nodes. For more
info see go/pixel-perf-apf-experiment.

Bug: 365855872
Test: set vendor.powerhal.apf_enabled=false, vendor.powerhal.apf_disabled=true, observe auto_prefer_fit
procfs value staying "false" and instead preferred_idle_mask_mid
changing to 0x1ff during app launches
Flag: NONE powerhint change does not support flags
Change-Id: Iedf4e9283c2e5f20ae818abfcf475fefe953c9c8
Signed-off-by: Dmitry Skiba <dskiba@google.com>
2024-12-06 07:43:30 +00:00
David Li
e2baaa6bf2 audio: align volume curve
Bug: 382270418
Test: n/a
Flag: EXEMPT bugfix
Change-Id: Ifde6afaeba992aced99aa7e7596dcfb88f1cc727
2024-12-06 03:15:22 +00:00
Alexander Koskovich
50c75c942d Add oem-iptables-init.sh for Wi-Fi calling in airplane mode
This was added recently in Android 15, see the following commit:
fbf009b886

Issue: calyxos#2813
Change-Id: I853f087347795e1d8932db2020f8a69fb5d97fa6
2024-12-05 02:50:40 +02:00
Edwin Tung
a4c06cbead gps: official release 4.13.2_28_Release_248164
Bug: 373743481
Bug: 316151601

Test: b/382153324
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I0af3dae2012afcfe250dc43a826662c03850127b
2024-12-04 11:21:44 +08:00
Android Build Coastguard Worker
ac633ab94b Snap for 12715656 from 33717cd2ae to 25Q1-release
Change-Id: I8926db8cfc22d7789eab87ce2b421f6f4d33d71e
2024-11-27 00:02:40 +00:00
kuanyuhuang
33717cd2ae [BT] Update LEA allow list
Add Samsung Galaxy Buds 3 Pro into LE audio allow list.

Bug: 380369263
Test: build and check system property
Flag: NONE system property change only
Change-Id: I9219ad42db8143fbf80c4a31b7fcd7ed28b56ec8
2024-11-26 03:07:55 +00:00
Android Build Coastguard Worker
e72de986ec Snap for 12710726 from 81ef84b597 to 25Q1-release
Change-Id: Ib1c17b07fc27997f40bb177eaadbc9ac344c582d
2024-11-26 02:02:15 +00:00
Xin Li
81ef84b597 [automerger skipped] Merge ab/AP4A.240925.013 into aosp-main-future am: 900ad12984 -s ours
am skip reason: Merged-In I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0 with SHA-1 a89b8037bd is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/30533630

Change-Id: I8124eda65926b9c759a35ab19ae73828fbb75d70
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-25 18:19:10 +00:00
Android Build Coastguard Worker
fdcc45d769 Snap for 12702769 from 8d0c53a641 to 25Q1-release
Change-Id: I7b7c6fadabdb430d5da925fc8dc882dacdd496fb
2024-11-23 02:02:02 +00:00
Android Build Coastguard Worker
63e6f1f1d2 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28952185'] into 24Q4-release.
Change-Id: If552db697f8ead10227ad8a523b4e963ffa296ab
2024-11-22 21:05:19 +00:00
TeYuan Wang
16f0fdeb2c Set the fcc cdev_ceiling to 1A before disable charge
Flag: EXEMPT tuning changes
Bug: 359334468
Test: verified by emul_temp
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6c209b9f12f789a2f4a6ac1b8cbf89737cd8c9d4)
Merged-In: Ie8134847ca37eed8f925109abcb9d0afcde6d863
Change-Id: Ie8134847ca37eed8f925109abcb9d0afcde6d863
2024-11-22 20:59:07 +00:00
Wayne Lin
8d0c53a641 gps: support Galileo in CP NILR for ATT and TMO
Bug: 376045485
Test: verify pass in b/375338595#comment10
Change-Id: Ic1e49b625614d4356b01a8251caaf15d994b2e6c
2024-11-22 03:11:20 +00:00
Android Build Coastguard Worker
246e62e75e Snap for 12695596 from b57fddb0b5 to 25Q1-release
Change-Id: Iaf72e93c32c07162d58099586aac385da28ebb59
2024-11-22 00:02:03 +00:00
Xin Li
900ad12984 Merge ab/AP4A.240925.013 into aosp-main-future
Bug: 370570306
Merged-In: I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0
Change-Id: I098bc3afe076f45d3d684bc8f780765a84e6a012
2024-11-21 15:09:58 -08:00
Treehugger Robot
b57fddb0b5 Merge "Revert "powerhint: enable auto_prefer_idle in games"" into main 2024-11-21 19:47:31 +00:00
Kame(TeYuan) Wang
137c188062 Revert "powerhint: enable auto_prefer_idle in games"
Revert submission 29817358-p23_auto_prefer_idle

Reason for revert: Power efficiency regression

Reverted changes: /q/submissionid:29817358-p23_auto_prefer_idle

Bug: 372961087
Test: manual testing
Change-Id: I840c146903434e310cf5db09c2530c5816bf4b81
2024-11-21 18:23:30 +00:00
Cheng Chang
3654fb0d5f Merge "gps: Enable coredump report for user ROM" into main 2024-11-21 00:39:46 +00:00
Android Build Coastguard Worker
43efab3248 Snap for 12687986 from b76d20850c to 25Q1-release
Change-Id: I07a0341e19f2720da3c9b7e00716b95f65624146
2024-11-21 00:02:16 +00:00
Isaac Chiou
b76d20850c Merge "Disable Wifi BugReport for subsystem restart" into main 2024-11-20 12:58:29 +00:00
Treehugger Robot
41e5ee40be Merge "Revert "gps: set default SUPL SSL method to SSLv23"" into main 2024-11-20 10:40:38 +00:00
Wayne Lin
d1b4263642 Revert "gps: set default SUPL SSL method to SSLv23"
Revert submission 30245457-b372373466_set-SSLv23-default-for-SUPL

Reason for revert: SUPL SI failure

Reverted changes: /q/submissionid:30245457-b372373466_set-SSLv23-default-for-SUPL

Bug: 379788380
Change-Id: I7ab274e27071554f47a9eae999efa6357f3e16a0
2024-11-19 09:20:14 +00:00
Android Build Coastguard Worker
11377f42bb Snap for 12673321 from b0ae6ee036 to 25Q1-release
Change-Id: Icca66a94717b034490809854174f65e8efffa195
2024-11-19 00:06:00 +00:00
Bao Do
b0ae6ee036 Enable multi-codec architecture for Akita
This allow Akita to use the multi-codec architecture and fix Largo
gaming scenaio issues.

Bug: 369982194
Test: Check file location
Flag: NONE system property change only
Change-Id: I0d0e0bc873e65283f0162bbf43d1fdff3867c694
2024-11-18 14:31:49 +08:00
Android Build Coastguard Worker
abafd31a09 Snap for 12658558 from 29c1ddaf99 to 25Q1-release
Change-Id: I9701df47ba3f88db767afa3719d5ff9f34a0af21
2024-11-15 00:02:12 +00:00
Cheng Chang
0074216f27 gps: Enable coredump report for user ROM
In the user ROM, coredump file won't upload to server. Only for crash info statistic.

flag: EXEMPT the function has been verified at userdebug ROM.
Bug: 378004800
Bug: 377446770
Test: b/378004800 abtd to check sepolicy
Test: b/377446770#comment1 verified the coredump function on user ROM.
Change-Id: I917f494eac9e5a185dc503880d4f7d695e8651f3
2024-11-14 09:41:39 +00:00
Xin Li
29c1ddaf99 [automerger skipped] Merge 24Q4 (ab/12406339) into aosp-main-future am: a9b0ffae6f -s ours
am skip reason: Merged-In I72cc0a70f4e8156635bc2c25d11f01223e0ce0f5 with SHA-1 3c5ccfde3d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/30283693

Change-Id: I35414406e3e8f26357fbd7ce5608fba724244902
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-11-14 00:29:00 +00:00
Android Build Coastguard Worker
431b709f1d Snap for 12644741 from fc0cf5e673 to 25Q1-release
Change-Id: I95d19987a5c990515db0208c3e245b56c19afeb6
2024-11-13 00:02:13 +00:00
Rios Kao
fc0cf5e673 Merge "akita: add microphone info for aidl hal." into main 2024-11-12 09:25:42 +00:00
Rios Kao
684c38403f akita: add microphone info for aidl hal.
Test: atest VtsHalAudioCoreTargetTest
Bug: 377832994
Flag: EXEMPT bugfix
Change-Id: Ic6c3844edf0c2a50175822c2f56855bbf1d7a401
2024-11-12 07:42:55 +00:00
Android Build Coastguard Worker
617e15d524 Snap for 12630846 from f34455d5c1 to 25Q1-release
Change-Id: Ie2a57bb7aa4a093a065e0dd8c5731a8e39fda3da
2024-11-09 02:02:29 +00:00
Isaac Chiou
846a5a7fd8 Disable Wifi BugReport for subsystem restart
Flag: EXEMPT gated by overlay
Bug: 373594936
Test: Manuel test, trigger SSR and won't create bugreport automatically
Change-Id: I6e985866363038d36d79e969d7c50f0d6d29cf5e
2024-11-08 09:54:59 +00:00
Kyle Hsiao
f34455d5c1 [NFC] Enable STNFC_ACTIVERW_TIMER
Bug: 378004423
Test: Manual
Flag: EXEMPT bugfix
Change-Id: I395abcad3d1751f311c3292cbec7545bac5b794e
2024-11-08 05:24:53 +00:00
Android Build Coastguard Worker
8f72d67a6d Snap for 12623742 from dafb00540d to 25Q1-release
Change-Id: I239867cc9ea6d6363f86c28796fa9a86c43664d5
2024-11-08 00:02:16 +00:00
Liana Kazanova (xWF)
dafb00540d Merge "Revert "gps: Enable coredump report for user ROM"" into main 2024-11-07 19:35:34 +00:00
Liana Kazanova (xWF)
f4ee85cdc9 Revert "gps: Enable coredump report for user ROM"
Revert submission 30245461-ssrdump_user

Reason for revert:DroidMonitor: Potential culprit for http://b/377907307 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted

Reverted changes: /q/submissionid:30245461-ssrdump_user

Change-Id: I6aa0ce06e4a0c0502f53620b9042b5a13959360b
2024-11-07 17:57:11 +00:00
Michael Bestas
1da9c08742 Update fingerprint/build description from AP3A.241105.007
Change-Id: I50084b56cf046ea53bb75564725f95a2c32804b1
2024-11-07 15:17:11 +02:00
Chirayu Desai
8c0c391e53 proprietary-files-vendor: AP3A.241105.007
Change-Id: Iacd1421166dea865118b4820fa22261195daa6f0
2024-11-07 15:03:32 +02:00
Michael Bestas
806d2723bd Merge tag 'android-15.0.0_r4' into staging/lineage-22.0_merge-android-15.0.0_r4
Android 15.0.0 release 4

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZyveQAAKCRDorT+BmrEO
# eOQVAJ41wC2zEdIBYX3o93shTIK7qk/4KQCfanSpGIKeUVFp5storgT8qABSvuI=
# =VXB0
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Nov  6 23:23:12 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2338 signatures in the past
#      3 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Peter Lin (2) and tomhsu (1)
# Via Android Build Coastguard Worker
* tag 'android-15.0.0_r4':
  [Akita] Regulation e-label for Akita
  display: add display therm sysfs node and interval time
  display: update the rr_regamma for temperature compensation

Change-Id: I0a9aaeccbc30fb1596939a9a96c4265119d70b85
2024-11-07 14:55:23 +02:00
Cheng Chang
d0d1fc2a0b Merge "gps: Enable coredump report for user ROM" into main 2024-11-07 08:47:34 +00:00
Android Build Coastguard Worker
5acf93ec7e Snap for 12616459 from 8547e6d20e to 25Q1-release
Change-Id: Icd38f0819f78977c4b7e51cfab09ba4d5f1001b8
2024-11-07 00:05:06 +00:00
Xin Li
a9b0ffae6f Merge 24Q4 (ab/12406339) into aosp-main-future
Bug: 370570306
Merged-In: I72cc0a70f4e8156635bc2c25d11f01223e0ce0f5
Change-Id: Iaf9f1e5c011ca6e262d6b6e1dd1a1ade934ab983
2024-11-06 10:31:16 -08:00
Cosmin Tanislav
563f050caf akita: switch to python extract-utils
Change-Id: Ia2d6a0235d9343d7de0ef69d4197cac7f276af84
2024-11-06 13:03:59 +02:00
Cheng Chang
3e51fb39d4 gps: Enable coredump report for user ROM
In the user ROM, coredump file won't upload to server. Only for crash info statistic.

flag: EXEMPT the function has been verified at userdebug ROM.
Bug: 377446770
Test: b/377446770#comment1 verified the coredump function on user ROM.
Change-Id: I0e3048872c83b4538e97681313866322984ccdba
2024-11-05 10:33:23 +00:00
Android Build Coastguard Worker
0964e007ce Snap for 12605939 from 08ea9e3069 to mainline-tzdata6-release
Change-Id: I9f8128c922324e9501bc77b3fc524932851efddd
2024-11-05 10:08:29 +00:00
Wayne Lin
8547e6d20e gps: set default SUPL SSL method to SSLv23
Bug: 372373466
Test: SUPL NI test verify pass
Change-Id: Icc1b235e3bc853664025e2b6272e2219e8c0e2ff
2024-11-05 16:05:16 +08:00
Android Build Coastguard Worker
9d5dbea7d1 Snap for 12594757 from 08ea9e3069 to 25Q1-release
Change-Id: Ia42a7929772a4a646efb4f882c724e7ee06827dd
2024-11-02 01:02:08 +00:00
Michael Bestas
b58e77eb9a akita: Enable ELF checks for c2 codec libs
Change-Id: I7702c3104fde477e27a18998982605673de29aee
2024-11-01 05:15:16 +02:00
Treehugger Robot
08ea9e3069 Merge "Set the fcc cdev_ceiling to 1A before disable charge" into main 2024-10-31 23:19:43 +00:00
Michael Bestas
fa546f6de1 akita: Copy touch modules to vendor_kernel_boot
Makes touch work in recovery
goodix_brl_touch requires heatmap & goog_touch_interface symbols too

Co-authored-by: Nicholas Lim <nicknitewolf@lineageos.org>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Iaa5a158af827732b13ab79b60bed2f319ce56391
2024-10-27 12:12:17 +02:00
Android Build Coastguard Worker
bf6aa4b083 Snap for 12559614 from cfbfa0a365 to 25Q1-release
Change-Id: I63384d10822fec3a732921f960fdf90bd6c83815
2024-10-26 01:06:44 +00:00
Michael Bestas
a4b0d6dc89 akita: Add PixelImsMediaService
Change-Id: I2bf94759e28bea4ca8afe4d79bc5c6328f84e51d
2024-10-26 03:53:14 +03:00
Alexander Koskovich
e3c5d49055 akita: Add PixelDisplayServiceOverlay
Extracted from AP3A.241005.015

Change-Id: I533319a8d61cc67f9111f133f49cdc727eb27ece
2024-10-26 03:53:08 +03:00
Nathan Kulczak
59dcdec662 Vibrator: Add permissions for owt_lib_compat
Add permissions to access owt_lib_compat sysfs attribute

Bug: 346570576
Flag: vendor.vibrator.hal.flags.enable_pwle_v2
Test: Flash to device and use access sysfs
Change-Id: I558a6a7fa537afd2e2e503b7263ce66c0639547a
Signed-off-by: Nathan Kulczak <nathankulczak@google.com>
2024-10-23 05:12:48 +00:00
Hong-Yen Lo
cfbfa0a365 Enable CDPreferHighCap for CAMERA_STREAMING_HIGH for akita
Test: 1080p60 power and perf, 4k60 power
Bug: 371210260
Flag: EXEMPT resource file only change
Change-Id: I2429f7f1ea07b877f095d3ba0954cd6851df2884
2024-10-22 08:35:27 +00:00
Ethan Chen
eff056c3fa akita: Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 01:35:54 +03:00
Michael Bestas
25d8a2b995 akita: Disable Wi-Fi verbose logging by default
Change-Id: Iafe9f4b83d157906ca6b9114db52ab27b1a01878
2024-10-20 01:35:53 +03:00
Michael Bestas
46fc59039b akita: Add lineage.dependencies
Change-Id: Iab5f4f4b2d98606e4f658c69e8f16f73ce7924bb
2024-10-20 01:35:53 +03:00
jabashque
dc13fe1fce akita: Enable Osaifu-Keitai on non-Japanese SKUs
https://github.com/kormax/osaifu-keitai-google-pixel/

Test 1 & 2 on a Global SKU Google Pixel 6a (bluejay):
- Observe that Osaifu-Keitai doesn't function WITHOUT this change.
- Observe that Osaifu-Keitai functions normally WITH this change.

Test 3 & 4 on a Japanese SKU Google Pixel Fold (felix):
- Observe that Osaifu-Keitai functions normally WITHOUT this change.
- Observe that Osaifu-Keitai continues to function normally WITH this change.

Change-Id: I9faac2e130714a41e6922b62d2019dae0d615a3b
Signed-off-by: AnierinB <anierin@evolution-x.org>
2024-10-20 01:35:53 +03:00
Michael Bestas
3256f91bac akita: Include gnss compatibility matrix
Change-Id: I8eafa892b42831681a54b3d6e80a26f4fb0ef57a
2024-10-20 01:35:53 +03:00
Michael Bestas
cd62869543 Initial aam policy
Change-Id: I81cf99339193df3ed5341fb34e338363cd63fa24
2024-10-20 01:35:53 +03:00
Michael Bestas
f2f3cb5cb6 Add aam HAL to compatibility matrix
Change-Id: I778cd13c318afc6048fff4b317bb6974dcc0da24
2024-10-20 01:35:53 +03:00
Tommy Webb
bf38f4e0ad overlay: Update IWLAN config with IMS changes in zuma
Resolve issues with VoWiFi (Wi-Fi Calling) for Pixel 8 series, which
now uses a different proprietary package for its qualified networks
service.

Issue: calyxos#1324
Change-Id: Ie2984ff22cf786eb82a536bfb1d9ffaff15ae079
2024-10-20 01:35:53 +03:00
Michael Bestas
560e875059 akita: overlay: Configure aux cameras for Aperture
Change-Id: I3d1c93057b5c2a1ba09c06a945d538d2043f30fd
2024-10-20 01:35:53 +03:00
Tommy Webb
92d8cd8d37 overlay: Limit max fingerprints to 4 per user
Trying to add more than 4 fingerprints per user causes the Udfps
overlay to not appear and shows the following message in logs:
`E Biometrics/EnrollClient: Reached enrollment limit`.

Issue: calyxos#1630
Change-Id: I26707d5b50b28d032b117e22ba703c5fc0dfe3a2
2024-10-20 01:35:53 +03:00
Bruno Martins
d0befaa189 overlay: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2024-10-20 01:35:52 +03:00
Danny Lin
c589cf9622 overlay: Settings: Enable Smooth Display setting
Pixel 8a (akita) has peak refresh rates higher than
60 Hz, so allow users to toggle high-refresh rate like on stock.

Change-Id: I7fcbb905b61575de8c5e9d9a935463932551fb6a
2024-10-20 01:35:52 +03:00
Michael Bestas
fa70bb7185 Include wireless_charger makefile
This includes the required sepolicy and compatibility matrix
in the build.

Change-Id: I3096357c5f45e664a7b39870fdc053e48d1361ad
2024-10-20 01:35:52 +03:00
Michael Bestas
72ed3b8481 location: Enable ELF checks
Change-Id: I19f682c8c917af4f47dfed3f9de272fc35d72294
2024-10-20 01:35:52 +03:00
Chirayu Desai
bf188f9b7a akita: Set up proprietary files extraction
* The proprietary files lists are generated by comparing stock partition
  contents with AOSP generated partitions.

Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Co-authored-by: Cosmin Tanislav <demonsingur@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I17b78ccf212d8364070c40fe3c7d06d4048e3fe4
2024-10-20 01:35:52 +03:00
Ethan Chen
09521f13e0 Declare EUICC permissions
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Co-authored-by: razorloves <razorloves@gmail.com>
Change-Id: I323dce8b848b44e45ed21002950059e58719113c
2024-10-20 01:35:38 +03:00
Chirayu Desai
f2907fd5f8 Add initial Lineage product makefiles
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I0781b6d4d74680ce7f0d860048871da7c2d43fb6
2024-10-20 01:35:37 +03:00
emilchung
4c453191f9 Remove obsolete source of sensor of AK3.
These files are not used anymore, removed them.

Bug: 245007498
Test: build pass and check the build on AK3.
Change-Id: I1c5bf048413954c752e60fddf1b0fa6114d84708
2024-10-20 01:29:29 +03:00
Herbert Xue
3dacf6724b Remove device/google/akita/Android.mk
There is no other Android.mk under device/google/akita. So this
Android.mk can be removed.

Bug: 351712146
Test: presubmit
Change-Id: I5823c5228e1706a9aef1ec93c3825458fe4cbd19
2024-10-20 01:29:29 +03:00
Herbert Xue
5e997d7a63 Remove self-extractors/google_devices/staging/Android.mk
Keep Android.mk.template up to date.

Bug: 351712146
Test: make
Change-Id: Ice4e61bf2e34e495fe5a386117f9c802b5786e64
2024-10-20 01:29:29 +03:00
Herbert Xue
db19972b9f Convert sensors.akita to Android.bp
Bug: 351252378
Test: lunch aosp_akita-trunk_staging-eng && m sensors.akita
Change-Id: I8f2743771995826b1bf14720bd2333f9257bc9e3
2024-10-20 01:29:29 +03:00
Michael Bestas
03a8f12d68 akita: Update sepolicy path
Change-Id: Ia24ef37000ed9e1cdf994a32447b0250e3f89186
2024-10-20 01:29:28 +03:00
Michael Bestas
ca0f37cb9a Merge tag 'android-15.0.0_r2' into staging/lineage-22.0_merge-android-15.0.0_r2
Android 15.0.0 Release 2 (AP3A.241005.015)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZw2AjwAKCRDorT+BmrEO
# eBRsAJwNfZ4Pz8nbu48UKzQeBKFsmoYBPACfT1cK2Fj9yd5n7nkybHM+NiKVsnU=
# =Q2Kw
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon Oct 14 23:35:27 2024 EEST
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2631 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Edwin Tung (1) and Lokesh Kumar Goel (1)
# Via Android Build Coastguard Worker
* tag 'android-15.0.0_r2':
  akita: Add build_flags based properties for SMR/EMR build
  gps: update gps 4.13.2_26

Change-Id: Idb8b00e366b546f2e546fd9a4feeb6f1ddea35dc
2024-10-19 00:51:27 +03:00
Android Build Coastguard Worker
3331a2e1e5 Snap for 12508860 from 933ab6323a to 25Q1-release
Change-Id: I853a1f8f17d82b85151f80db44d0340675535b65
2024-10-16 23:01:56 +00:00
Ali K. Zadeh
933ab6323a Merge "[akita] Define CAMERA_MULTICAM_BOOST" into main 2024-10-15 23:10:57 +00:00
Android Build Coastguard Worker
01ef70ce0c Snap for 12496712 from 8960e3eb31 to 25Q1-release
Change-Id: I4e674d27d6580b41ad2cbe233e5d348cf4b75c0e
2024-10-14 23:02:17 +00:00
TeYuan Wang
8960e3eb31 powerhint: enable auto_prefer_idle in games
Bug: 372961087
Test: manual testing
Flag: NONE powerhint config change
Change-Id: I79251b43b1b3409b941ad45162847dece245cc9e
2024-10-11 22:02:30 +00:00
Android Build Coastguard Worker
e419037441 Snap for 12482619 from e5f155a3e3 to 25Q1-release
Change-Id: Ibf6cc78b3b00a07709b8d212f12dd9a76e15b4ec
2024-10-10 23:01:58 +00:00
Rick Yiu
e5f155a3e3 Enable TA and FG prefer idle for some camera streams
These streams do not disable TA or FG prefer idle, so restore it.

Bug: 236868627
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: I200c45f1422dc9e7a82620e27e2885c9afe3cfb8
2024-10-10 11:18:07 +00:00
Ali K. Zadeh
b22f973ff0 [akita] Define CAMERA_MULTICAM_BOOST
This CL defines CAMERA_MULTICAM_BOOST (with the same settings as the
existing CAMERA_ZOOMING_BOOST). Having both definitions is necessary to
be able to transition from zooming boost to multicam boost. Once the
multicam boost flag is fully rolled out, we can remove the
CAMERA_ZOOMING_BOOST.

Bug: 347829135
Test: adb logcat
Flag: EXEMPT resource file only change
Change-Id: I89f58da3836001f6dd5e566eb1520e785ac8f3de
2024-10-09 18:17:19 +00:00
Android Build Coastguard Worker
89ddbd04ba Snap for 12465365 from f1c0db2260 to 25Q1-release
Change-Id: I5f6d7e5030e8b4d339c1c3c65b0805f4b1b587bf
2024-10-07 23:02:09 +00:00
Treehugger Robot
f1c0db2260 Merge "Use auto prefer fit for launch" into main 2024-10-07 16:17:20 +00:00
Michael Bestas
f5abfaac68 Add .gitupstream
Change-Id: I2c0ab4e6b31282f6d8be88942c4fe9c38871d7d0
2024-10-07 12:48:18 +03:00
Michael Bestas
bdf5c62ddb Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: 23ea2af6db
git-subtree-split: 7cf65388f7
Change-Id: Ic33f6c8d9de77d76b7cf976e1d02519e5539f4db
2024-10-07 12:42:07 +03:00
Android Build Coastguard Worker
bbfa2d27fa Snap for 12462067 from 17d81da955 to mainline-tzdata6-release
Change-Id: Ied78051d58cfc82c8906938e35eacfa9936c6704
2024-10-07 08:56:06 +00:00
Ravi Jain
17d81da955 Merge "Remove vibrator HAL service" into main 2024-10-07 06:57:59 +00:00
Android Build Coastguard Worker
71750ec907 Merge cherrypicks of ['googleplex-android-review.googlesource.com/29680738'] into 24Q4-release.
Change-Id: I044b999156222d28ab2da0a2b2b7c4ef38d9137d
2024-10-04 23:04:10 +00:00
tomhsu
9cfd39b3e7 [Akita] Regulation e-label for Akita
Flag: EXEMPT updated e-label
Bug: 330446872
Test: manual test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a89b8037bdc40759312bd9dd9988ec864c871436)
Merged-In: I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0
Change-Id: I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0
2024-10-04 22:43:06 +00:00
Android Build Coastguard Worker
582e8c53cf Merge cherrypicks of ['googleplex-android-review.googlesource.com/29680738'] into 24Q3-release.
Change-Id: I4b8ce7d4d921fddee46756355205fef10b654a72
2024-10-04 03:35:45 +00:00
tomhsu
9be758ecfb [Akita] Regulation e-label for Akita
Flag: EXEMPT updated e-label
Bug: 330446872
Test: manual test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a89b8037bdc40759312bd9dd9988ec864c871436)
Merged-In: I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0
Change-Id: I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0
2024-10-04 03:35:33 +00:00
Android Build Coastguard Worker
142ea146a1 Snap for 12451942 from 839a8bef89 to 25Q1-release
Change-Id: I0665990169e29d541bea1bebe2d0d2b6f1c42bae
2024-10-03 23:01:42 +00:00
Treehugger Robot
839a8bef89 Merge "[Akita] Regulation e-label for Akita" into main 2024-10-03 18:02:22 +00:00
tomhsu
a89b8037bd [Akita] Regulation e-label for Akita
Flag: EXEMPT updated e-label
Bug: 330446872
Test: manual test
Change-Id: I4971b72eac0a3efbf7d7491a5ae10b3c647dc4a0
2024-10-03 16:23:56 +00:00
Android Build Coastguard Worker
e5016c27f0 Snap for 12445464 from 79c45015f7 to 25Q1-release
Change-Id: I5fcf829df4757446e813ef1c08ca2e09e00ecfe3
2024-10-02 23:02:23 +00:00
Treehugger Robot
79c45015f7 Merge "dumpstate: touch: Init using touch_predump" into main 2024-10-02 08:57:00 +00:00
Ravi Jain
4a3690493c Remove vibrator HAL service
Remove from device mk files due to relocation to vendor directory.

Bug: 362659323
Test: Build Pass
Flag: EXEMPT refactor
Change-Id: I62211d93a1fa6d2585447612e45742a78442b03b
2024-10-01 15:31:47 +00:00
Baligh Uddin
48c8082ac4 Update PRODUCT_RELEASE_CONFIG_MAPS assignments to mark git project boundary
BUG: 370592570
Test: TH
Flag: EXEMPT <Cleanup>
Change-Id: I28d1fc2b0d2d0cb15d5f9c3619e96dd1799d70ed
2024-10-01 14:41:17 +00:00
Android Build Coastguard Worker
bcfaf2843e Snap for 12433810 from d368e19d3c to 25Q1-release
Change-Id: Ie46f079dc4a7a5c38ba408bc6e51be3c51536213
2024-09-30 23:02:17 +00:00
Akshay Cadambi
d368e19d3c Disable stereo spatialization.
Bug: 365846274
Flag: com.android.media.audio.stereo_spatialization
Change-Id: I9be396952bee41bb748a95681c452664406fc959
2024-09-27 03:07:37 +00:00
Android Build Coastguard Worker
22c466d846 [coastguard skipped] Merge sparse cherrypicks from sparse-12410718-L88300030006635990 into 24Q4-release.
COASTGUARD_SKIP: I78389eb878e2bc78d6a5a017535cf2184d1099ff
COASTGUARD_SKIP: I538d02210cb9196c395f91a44d32aba2916b3a50

Change-Id: I01bd193bcc5f9ab424ac9a37bc4b4f6aef2ee453
2024-09-24 23:44:16 +00:00
Android Build Coastguard Worker
68168435dc Merge cherrypicks of ['googleplex-android-review.googlesource.com/28950030'] into sparse-12410718-L88300030006635990.
SPARSE_CHANGE: I538d02210cb9196c395f91a44d32aba2916b3a50

Change-Id: I78389eb878e2bc78d6a5a017535cf2184d1099ff
2024-09-24 23:43:05 +00:00
TeYuan Wang
b4373963fe Adjust the charging throttling target to 41C
Flag: EXEMPT tuning changes
Bug: 359334468
Test: verified by emul_temp
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2836c68e1c6b3cadcaa251caf59b845b97eedf68)
Merged-In: I538d02210cb9196c395f91a44d32aba2916b3a50
Change-Id: I538d02210cb9196c395f91a44d32aba2916b3a50
2024-09-24 23:42:49 +00:00
Android Build Coastguard Worker
d0f2256de9 [coastguard skipped] Merge sparse cherrypicks from sparse-12396123-L68000030006663300 into 24Q4-release.
COASTGUARD_SKIP: Ie8134847ca37eed8f925109abcb9d0afcde6d863
COASTGUARD_SKIP: Idb895495cae1dc1c2f27e23f205287e3220eaa22

Change-Id: I2c2bd8847a91d76788be50a9c8dd0aab87d9f84d
2024-09-24 23:36:19 +00:00
Android Build Coastguard Worker
58dec40e5a Merge cherrypicks of ['googleplex-android-review.googlesource.com/28952185'] into sparse-12396123-L68000030006663300.
SPARSE_CHANGE: Ie8134847ca37eed8f925109abcb9d0afcde6d863

Change-Id: Idb895495cae1dc1c2f27e23f205287e3220eaa22
2024-09-24 23:34:12 +00:00
TeYuan Wang
94b1edb68d Set the fcc cdev_ceiling to 1A before disable charge
Flag: EXEMPT tuning changes
Bug: 359334468
Test: verified by emul_temp
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6c209b9f12f789a2f4a6ac1b8cbf89737cd8c9d4)
Merged-In: Ie8134847ca37eed8f925109abcb9d0afcde6d863
Change-Id: Ie8134847ca37eed8f925109abcb9d0afcde6d863
2024-09-24 23:32:23 +00:00
Android Build Coastguard Worker
59418447db Snap for 12410317 from 6110ece056 to 25Q1-release
Change-Id: I95301725ad5c9f2aa5586337d91c325eed610f4d
2024-09-24 23:02:01 +00:00
Android Build Coastguard Worker
86f1caea4d Snap for 12404440 from 6110ece056 to 24Q4-release
Change-Id: I641bb146992b9739402c1bd1bc5cbf9057717d28
2024-09-23 23:01:52 +00:00
David Li
6110ece056 Merge "audio: add uninisialized mixer control" into main 2024-09-23 01:53:40 +00:00
Android Build Coastguard Worker
79a1c37c47 [coastguard skipped] Merge sparse cherrypicks from sparse-12397189-L51400030006589017 into 24Q4-release.
COASTGUARD_SKIP: I538d02210cb9196c395f91a44d32aba2916b3a50
COASTGUARD_SKIP: I9337a05c28b913660f295c5a4fc862b40acea09f

Change-Id: I14e8479dcd10883648a13b4345ee0958eb2741e9
2024-09-20 21:01:42 +00:00
Android Build Coastguard Worker
b265f59f7a Merge cherrypicks of ['googleplex-android-review.googlesource.com/28950030'] into sparse-12397189-L51400030006589017.
SPARSE_CHANGE: I538d02210cb9196c395f91a44d32aba2916b3a50

Change-Id: I9337a05c28b913660f295c5a4fc862b40acea09f
2024-09-20 21:00:26 +00:00
TeYuan Wang
ec8f4a68ad Adjust the charging throttling target to 41C
Flag: EXEMPT tuning changes
Bug: 359334468
Test: verified by emul_temp
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2836c68e1c6b3cadcaa251caf59b845b97eedf68)
Merged-In: I538d02210cb9196c395f91a44d32aba2916b3a50
Change-Id: I538d02210cb9196c395f91a44d32aba2916b3a50
2024-09-20 21:00:11 +00:00
Android Build Coastguard Worker
54a2cac0ed [coastguard skipped] Merge sparse cherrypicks from sparse-12396123-L06400030006591465 into 24Q4-release.
COASTGUARD_SKIP: Ie8134847ca37eed8f925109abcb9d0afcde6d863
COASTGUARD_SKIP: Ie4ec6eb5ec243c2ec057e0cf1559fe6c1c9f7c6c

Change-Id: If120843bd6194299e20781bfa139862a11fdc248
2024-09-20 20:51:59 +00:00
Android Build Coastguard Worker
32c9b4aca1 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28952185'] into sparse-12396123-L06400030006591465.
SPARSE_CHANGE: Ie8134847ca37eed8f925109abcb9d0afcde6d863

Change-Id: Ie4ec6eb5ec243c2ec057e0cf1559fe6c1c9f7c6c
2024-09-20 20:50:50 +00:00
TeYuan Wang
a94d0c37bd Set the fcc cdev_ceiling to 1A before disable charge
Flag: EXEMPT tuning changes
Bug: 359334468
Test: verified by emul_temp
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6c209b9f12f789a2f4a6ac1b8cbf89737cd8c9d4)
Merged-In: Ie8134847ca37eed8f925109abcb9d0afcde6d863
Change-Id: Ie8134847ca37eed8f925109abcb9d0afcde6d863
2024-09-20 20:50:32 +00:00
Android Build Coastguard Worker
6269b908c8 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28545142', 'googleplex-android-review.googlesource.com/28545143'] into 24Q3-release.
Change-Id: I4295ae1d80213daf531ef116e5d9e169f1dc8bd4
2024-09-20 18:41:00 +00:00
Peter Lin
7e06ab80d8 display: add display therm sysfs node and interval time
Bug: 343141590
Flag: NONE add new property
Test: check the display temperature work
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:241a41e10a26e62e01bda0b9b3eeab9cf5770994)
Cherry-pick temp_rr_regamma to 24Q3
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6dd6b14a31197e4cb285ba26b0d557418b4f8238)
Merged-In: I73da615708fe202542203131a688d00833551142
Change-Id: I73da615708fe202542203131a688d00833551142
2024-09-20 18:34:30 +00:00
Peter Lin
25d5726041 display: update the rr_regamma for temperature compensation
Added 50/80 nits rr_regamma for 0 ~ 52 degree temperature.

Bug: 343141590
Flag: Flag: NONE profile update
Test: adb shell /vendor/bin/dumpsys displaycolor -v
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:28b4fa2868badde653403fc70a98dab444816727)
Cherry-pick temp_rr_regamma to 24Q3
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c29b3e4f66a729b72e33e30016e26c93f8424d3c)
Merged-In: I905b5e2fa1d51b6cbdd10f69cbf9d0f1fcc4fd1f
Change-Id: I905b5e2fa1d51b6cbdd10f69cbf9d0f1fcc4fd1f
2024-09-20 18:34:13 +00:00
David Li
3c5ccfde3d audio: add uninisialized mixer control
Bug: 362904466
Test: mm
Flag: build.RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA
Change-Id: I72cc0a70f4e8156635bc2c25d11f01223e0ce0f5
2024-09-19 02:58:54 +00:00
Rick Yiu
13d9ccb178 Use auto prefer fit for launch
Enable auto prefer fit for high prio tasks when app launch, and tune
uclmap min settings for different task prio.

Bug: 353885521
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: I8aa7187b7178626ed8bf0e04fd7a9a46d1247bd3
2024-09-16 15:03:27 +00:00
Android Build Coastguard Worker
545ad3a855 Snap for 12370120 from 6eff65b75f to 25Q1-release
Change-Id: Ib162938a29d210373d35c6df1d1e7e6a2d48580e
2024-09-14 23:00:48 +00:00
Android Build Coastguard Worker
aedc2e4255 Snap for 12361654 from 6eff65b75f to 24Q4-release
Change-Id: If77b9b74199cbd35a5d0d61b7e0925a09b6c1e77
2024-09-12 23:01:00 +00:00
David Li
6eff65b75f Merge "audio: update AIDL configs and add spatializer configs" into main 2024-09-12 07:47:25 +00:00
Miller Liang
749aa9d005 Merge "audio: fix the noise of raw-playback in 16kB page mode" into main 2024-09-12 01:26:14 +00:00
Android Build Coastguard Worker
e01021f31f Snap for 12342105 from 0926106d33 to 24Q4-release
Change-Id: I14e2fde7dde6ebc1394707d4b23244fb20af8712
2024-09-09 23:01:19 +00:00
Android Build Coastguard Worker
2c8c2db2d5 [coastguard skipped] Merge sparse cherrypicks from sparse-12342007-L29200030006336399 into 24Q4-release.
COASTGUARD_SKIP: I328f6571e81cc1a3fd4c9616a0382c320cf63a71
COASTGUARD_SKIP: I538d02210cb9196c395f91a44d32aba2916b3a50

Change-Id: I792df8d407e02712d83998d82d0483207e53bd68
2024-09-09 19:44:44 +00:00
Android Build Coastguard Worker
d01c536efd Merge cherrypicks of ['googleplex-android-review.googlesource.com/28950030'] into sparse-12342007-L29200030006336399.
SPARSE_CHANGE: I538d02210cb9196c395f91a44d32aba2916b3a50

Change-Id: I328f6571e81cc1a3fd4c9616a0382c320cf63a71
2024-09-09 19:43:32 +00:00
TeYuan Wang
3ee41a57a8 Adjust the charging throttling target to 41C
Flag: EXEMPT tuning changes
Bug: 359334468
Test: verified by emul_temp
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2836c68e1c6b3cadcaa251caf59b845b97eedf68)
Merged-In: I538d02210cb9196c395f91a44d32aba2916b3a50
Change-Id: I538d02210cb9196c395f91a44d32aba2916b3a50
2024-09-09 19:43:19 +00:00
Android Build Coastguard Worker
4e64fcfed6 [coastguard skipped] Merge sparse cherrypicks from sparse-12333322-L48300030006371089 into 24Q4-release.
COASTGUARD_SKIP: Ie8134847ca37eed8f925109abcb9d0afcde6d863
COASTGUARD_SKIP: I5153f293df9fca688b98c27facae561d8832f0c6

Change-Id: I84f6d78970edf341e5df586e571ce11f30f780a3
2024-09-09 19:38:18 +00:00
Android Build Coastguard Worker
d401b5e3ef Merge cherrypicks of ['googleplex-android-review.googlesource.com/28952185'] into sparse-12333322-L48300030006371089.
SPARSE_CHANGE: Ie8134847ca37eed8f925109abcb9d0afcde6d863

Change-Id: I5153f293df9fca688b98c27facae561d8832f0c6
2024-09-09 19:36:41 +00:00
TeYuan Wang
c7f2fe13cb Set the fcc cdev_ceiling to 1A before disable charge
Flag: EXEMPT tuning changes
Bug: 359334468
Test: verified by emul_temp
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6c209b9f12f789a2f4a6ac1b8cbf89737cd8c9d4)
Merged-In: Ie8134847ca37eed8f925109abcb9d0afcde6d863
Change-Id: Ie8134847ca37eed8f925109abcb9d0afcde6d863
2024-09-09 19:36:28 +00:00
TeYuan Wang
6c209b9f12 Set the fcc cdev_ceiling to 1A before disable charge
Flag: EXEMPT tuning changes
Bug: 359334468
Test: verified by emul_temp
Change-Id: Ie8134847ca37eed8f925109abcb9d0afcde6d863
2024-09-09 17:11:52 +00:00
Treehugger Robot
0926106d33 Merge "akita: udfps: remove the redundant properties" into main 2024-09-09 02:41:03 +00:00
Android Build Coastguard Worker
f9d9fe02f7 Snap for 12337407 from f057658eb1 to 25Q1-release
Change-Id: I84427b64de97930ae6afc0d855b13103c00e7fc7
2024-09-07 23:00:52 +00:00
Android Build Coastguard Worker
65b9f40661 Snap for 12337246 from 6696ec41df to 24Q4-release
Change-Id: Ic2be61422f6133de30b8f4cec03d02345e03e716
2024-09-07 21:01:02 +00:00
Android Build Coastguard Worker
286dde974b Snap for 12337246 from f057658eb1 to 24Q4-release
Change-Id: I1d7c45f65bd6ec87b787cd0c065117ddc13aa29e
2024-09-07 21:01:00 +00:00
Treehugger Robot
f057658eb1 Merge "Enable auto prefer idle" into main 2024-09-07 17:19:40 +00:00
Xin Li
495839a150 [automerger skipped] Merge 24Q3 to AOSP main am: 85cb6602f0 -s ours am: 956b78a1e9 -s ours
am skip reason: Merged-In Id805d68ec83e20703ba5dfa2f21909b7e09f51bb with SHA-1 0d565e9700 is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3258512

Change-Id: I0650f0dad3532010ea47f43cc7cc294ba16c040a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 04:45:57 +00:00
Xin Li
6696ec41df [automerger skipped] Merge 24Q3 to AOSP main am: 060cd91fad -s ours am: 91a5497967 -s ours
am skip reason: Merged-In I3f56acd12a4ab98bd5595c25098b544c14fbf25c with SHA-1 1ea2cd5f49 is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita-sepolicy/+/3254334

Change-Id: I6c92c264460bb20b49c29f0fff7b566d1aa67f2e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 04:35:40 +00:00
Xin Li
956b78a1e9 [automerger skipped] Merge 24Q3 to AOSP main am: 85cb6602f0 -s ours
am skip reason: Merged-In Id805d68ec83e20703ba5dfa2f21909b7e09f51bb with SHA-1 0d565e9700 is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3258512

Change-Id: I116de88ef524bed0ea193c8492aa58c7f4a450a3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:25:38 +00:00
Xin Li
91a5497967 [automerger skipped] Merge 24Q3 to AOSP main am: 060cd91fad -s ours
am skip reason: Merged-In I3f56acd12a4ab98bd5595c25098b544c14fbf25c with SHA-1 1ea2cd5f49 is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita-sepolicy/+/3254334

Change-Id: I742fda52043c1c46de46988ac6d2a9bec1104e05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-09-07 03:17:28 +00:00
Android Build Coastguard Worker
89942110ee Snap for 12335440 from dc1f1587a3 to 24Q4-release
Change-Id: Iaaba18ada8d6537bca73014e17a5c377a9405b52
2024-09-07 02:31:29 +00:00
Wei Wang
dc1f1587a3 Merge "Set big core to group_cfs_skip_mask for sys group by default" into main 2024-09-06 21:35:01 +00:00
Wei Wang
365cb7f121 Merge "Set big core to cpu skip mask by default" into main 2024-09-06 21:34:54 +00:00
Treehugger Robot
53a206673c Merge "Symlink current prebuilt folder to android root" into main 2024-09-06 10:36:12 +00:00
KRIS CHEN
312ee96e1a akita: udfps: remove the redundant properties
Bug: 303400748
Test: manual
Change-Id: Idf7abb2b3fa31581513e1c21f349c462cec20087
2024-09-06 08:36:23 +00:00
Koli Lin
e43fe2dc05 Update product id for Akita
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: Ie90c08e3d8ebd69683e33f50f8469d3c2cd2a19e
2024-09-06 07:51:00 +00:00
Robin Peng
1b7929b379 Symlink current prebuilt folder to android root
The Android are now based on Trunk Stable world and Pixel prebuilts CLs
also needs to reply with this which controlled by the flag which results:
- the flag value might be different on each branches
- the flag value are mostly different on each release configuration
- for local builds, ENGs' needs to figure out the correct location
  of current prebuilts by checking through entire prebuilt textproto
  files

To alleviate this problem, create an symlink file under android root
indicates current prebuilt path after invoke the android lunch cmd.

Bug: 364831620
Flag: EXEMPT export current prebuilt path
Change-Id: Ifee23fecf7bbdecf8a0651deff588ac459f03f8f
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-09-06 07:37:15 +00:00
Xin Li
85cb6602f0 Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
Change-Id: If520cfa9351213b3ffa50341fb7816a17c4dd8a8
2024-09-05 17:02:36 -07:00
Xin Li
060cd91fad Merge 24Q3 to AOSP main
Bug: 357762254
Merged-In: I3f56acd12a4ab98bd5595c25098b544c14fbf25c
Change-Id: I6b0f21720bd011203fe2f908d924a91d873c9c04
2024-09-05 17:02:36 -07:00
David Li
aeb71c6b1c audio: update AIDL configs and add spatializer configs
Bug: 362904466
Test: mm
Flag: build.RELEASE_PIXEL_AIDL_AUDIO_HAL_ZUMA
Change-Id: I89c275233d9d52853a9e57ea7db4ae9b43af3c7e
2024-09-05 04:29:20 +00:00
Rick Yiu
03b02b9d9d Enable auto prefer idle
Also disable prefer idle for TA and FG by default.

Bug: 236868627
Flag: NONE powerhint change does not support flags
Test: build pass
Change-Id: I36695fdf1531b3aa4d3856abf23819e1f95e20ca
2024-09-03 15:31:27 +00:00
Rick Yiu
aa1d0e00c9 Set big core to group_cfs_skip_mask for sys group by default
Let sys group tasks will run less in big core by default.

Bug: 328210236
Test: build pass
Flag: NONE powerhint change does not support flags
Change-Id: Ic1092af7b22905595be42756112a2959bfcd0b79
2024-09-03 15:31:06 +00:00
Rick Yiu
e22506213c Set big core to cpu skip mask by default
Also reset the mask for launch and other camera streaming modes that
do not use it.

Bug: 248621289
Test: build pass
Flag: NONE powerhint change does not support flags
Change-Id: If69d19b4f8f7003bae4a268f19acf4fab18adb5b
2024-09-03 15:26:36 +00:00
Android Build Coastguard Worker
0415fa19a4 Snap for 12305894 from 7305a6be0a to 24Q4-release
Change-Id: I069dd7653c725da275eb503ea4427ac3fe61d08d
2024-08-31 21:01:02 +00:00
Wei Wang
7305a6be0a Merge "powerhint: Lower CAM uclamp min" into main 2024-08-31 03:10:57 +00:00
Android Build Coastguard Worker
d5d1306bed Snap for 12304452 from e4925d6e30 to 24Q4-release
Change-Id: Iff4b2b69011ea5ddd2c98c08dcd251a246438c28
2024-08-31 01:01:23 +00:00
Treehugger Robot
e4925d6e30 Merge "Delete mapper4 manifest" into main 2024-08-30 01:30:01 +00:00
Android Build Coastguard Worker
f8d56f492f Snap for 12296955 from 466f303cbe to 24Q4-release
Change-Id: I3aefa4feb087b1b3d97ec6d2e6b3847e2002903e
2024-08-29 23:01:04 +00:00
Android Build Coastguard Worker
fce3ba9bfa Snap for 12296955 from d8762ba318 to 24Q4-release
Change-Id: I382ffd761932663b8a4f6fc7eb72888ccc74c2ed
2024-08-29 23:01:03 +00:00
Ankit Goyal
c32df0cd0f Delete mapper4 manifest
Bug: 362183626
Flag: EXEMPT manifest update
Test: Boot to home on shiba
Change-Id: I6277113dd4293da5184a614533d031fc3e0764bb
2024-08-29 05:59:48 +00:00
JJ Lee
d8762ba318 Merge "audio: power optimization for deepbuffer playback" into main 2024-08-29 04:43:56 +00:00
Treehugger Robot
ccaa8a00e3 Merge "gps: official release 4.13.2_27_Release_232879" into main 2024-08-28 23:02:43 +00:00
Android Build Coastguard Worker
41770d8141 [coastguard skipped] Merge sparse cherrypicks from sparse-12210230-L10500030006138850 into 24Q3-release.
COASTGUARD_SKIP: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
COASTGUARD_SKIP: Ib176bbbe9828f4d9947abaee8f7b1a931755b04c

Change-Id: I412466f369a38860912964155630992b187d98e1
2024-08-28 20:16:26 +00:00
Android Build Coastguard Worker
c5c1f64ae0 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27089804'] into sparse-12210230-L10500030006138850.
SPARSE_CHANGE: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb

Change-Id: Ib176bbbe9828f4d9947abaee8f7b1a931755b04c
2024-08-28 20:13:55 +00:00
Lokesh Kumar Goel
8d2e6c8b07 akita: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_AKITA
Bug: 155105803
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e48ec128c9eec3bfdb3299b3387d06107acdad05)
Merged-In: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
Change-Id: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
2024-08-28 20:12:57 +00:00
JJ Lee
24e7065452 audio: power optimization for deepbuffer playback
Bug: 249436330
Test: build pass, cts pass, regression test pass
Flag: EXEMPT bugfix
Change-Id: Iacf4ad1ade7148491b24e7bd0f1e423f0a6d34de
Signed-off-by: JJ Lee <leejj@google.com>
2024-08-28 08:23:08 +00:00
Frank Yu
466f303cbe Move hal_radio_ext_service related policy to gs-common.
Bug: 361210953
Change-Id: I9a9c8ab3bfc0a7e0aef12cc386dfb436c0bbd4b1
Test: verify with test ROM.
Flag: EXEMPT sepolicy refactor
2024-08-26 11:27:08 +00:00
millerliang
41caed926d audio: fix the noise of raw-playback in 16kB page mode
To fix the noise of raw-playback in 16KB page mode,
we change to use non-mmaped mode.

Bug: 355285548
Flag: EXEMPT : bugfix
Test: Local test, ABTD
Change-Id: Ie5acab613906c1fd0f1de285ca13654421b7870b
2024-08-24 08:39:26 +00:00
Edwin Tung
096a54b08c gps: official release 4.13.2_27_Release_232879
Bug: 356028226

Test: b/361473281
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: If9daf5f369a79f6e06c4e56872a77c0fc806ce84
2024-08-22 14:10:03 +08:00
Android Build Coastguard Worker
bb21b3c291 Snap for 12260156 from 2d9369c23c to 24Q4-release
Change-Id: Icf10aa94c0cd1c9babbff29e733064258eb8a5ba
2024-08-21 23:01:38 +00:00
Desmond Huang
2d9369c23c Remove unused trunk folder
Flag: build.RELEASE_KERNEL_AKITA_DIR
Bug: 357752868
Change-Id: I4da65023a0fb19b0c7af7c98560e974d853d4e7c
2024-08-21 13:51:01 +08:00
Android Build Coastguard Worker
65f4060cde Merge cherrypicks of ['googleplex-android-review.googlesource.com/28440170'] into 24Q3-release.
Change-Id: I84571a63b2015b8eec0cb31bbf542cf1f601fe10
2024-08-21 00:08:22 +00:00
Edwin Tung
6747021c81 gps: update gps 4.13.2_26
Fix Gnss hang issue
Fix no RSTD measurement in UP

Bug: 347616122
Bug: 352227728

Test: b/354866563
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:368e52924bc82aef56893d7e7461ccb738e9f6b2)
Merged-In: I32e5c2a888e68f51e67758df6c2d776335a5b960
Change-Id: I32e5c2a888e68f51e67758df6c2d776335a5b960
2024-08-21 00:06:54 +00:00
Android Build Coastguard Worker
c2f49f02d4 Snap for 12247339 from f630a6cf27 to 24Q4-release
Change-Id: I25f97a4a012ef839c2789c20f83ec6187b765c49
2024-08-19 23:01:42 +00:00
Peter (YM)
f630a6cf27 Merge "thermal: read thermistor temp from sysfs" into main 2024-08-19 04:10:06 +00:00
Android Build Coastguard Worker
fe6313585f Snap for 12238800 from 6e093ed60f to mainline-tzdata6-release
Change-Id: I375761d441b557cbd3152b6542eac4fca95e8593
2024-08-16 12:55:34 +00:00
Peter (YM)
382c6c8daf thermal: read thermistor temp from sysfs
- avoid wrong sensor value reading for thermalHAL

Bug: 327327502
Test: Build to boot to home
Flag: EXEMPT (bug 337358613)
Change-Id: I65144ff01008f936a7ad33687ad77115d322c07b
Signed-off-by: Peter (YM) <peterym@google.com>
2024-08-16 06:30:37 +00:00
Android Build Coastguard Worker
6277e8e9d5 Snap for 12235414 from 6e093ed60f to 24Q4-release
Change-Id: I457fc177358fd50abb09687d5fd53ced5f4b7e5c
2024-08-15 23:01:27 +00:00
Ankur Bakshi
6e093ed60f Merge changes from topic "sep-svn-set2" into main
* changes:
  Update Akita SVN to 21
  Update Akita SVN to 20
  Update Akita SVN to 19
2024-08-15 00:48:50 +00:00
Ankur Bakshi
4a643c40f2 Update Akita SVN to 21
Bug: 352170103
Change-Id: Idb534193fb4c0b52fc34401e2d85e2f3d4021623
Flag: EXEMPT bugfix
2024-08-14 23:34:19 +00:00
Ankur Bakshi
2e9c431048 Update Akita SVN to 20
Bug: 352170103
Change-Id: I0e287cac7a872f4cabfbd236d1864f89ddac45df
Flag: EXEMPT bugfix
2024-08-14 23:33:08 +00:00
Ankur Bakshi
392c47e3aa Update Akita SVN to 19
Bug: 352170103
Change-Id: I54a6a09bc86975cd77b2f809c931ea90f991c6e0
Flag: EXEMPT bugfix
2024-08-14 23:32:04 +00:00
Android Build Coastguard Worker
10c29d9d96 Snap for 12229688 from 8a5f0c9898 to 24Q4-release
Change-Id: I1738b4b4bd2e14e6fdc30bfb0f4acaf8152dcfa7
2024-08-14 23:01:33 +00:00
Treehugger Robot
8a5f0c9898 Merge "Revert "audio: correct mixer table for voice-*-mic"" into main 2024-08-14 01:28:33 +00:00
Xin Li
982a540dbe [automerger skipped] Mark 24Q3 (ab/AP3A.240905.015) as merged am: fa7858c419 -s ours
am skip reason: Merged-In Id805d68ec83e20703ba5dfa2f21909b7e09f51bb with SHA-1 e48ec128c9 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/28784994

Change-Id: I5ac230c8736046b0f3e44b772e43889cf2826e4d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-14 00:44:37 +00:00
Android Build Coastguard Worker
bdb2e1bdf2 Snap for 12224018 from e76b7b176b to 24Q4-release
Change-Id: I4b0476cd2e25453295f5d61a31d61b70371dd329
2024-08-13 23:01:46 +00:00
Android Build Coastguard Worker
4cfec45a60 Snap for 12224018 from 3a9d63c79a to 24Q4-release
Change-Id: Idd46643d8c160b4fc8b677333114c739f2a72973
2024-08-13 23:01:45 +00:00
Xin Li
fa7858c419 Mark 24Q3 (ab/AP3A.240905.015) as merged
Bug: 347831320
Merged-In: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
Change-Id: Iad2f43d521e666996adf429afd315fd8c28e7773
2024-08-13 15:41:16 -07:00
George Verhaegen
4ffbc58406 Revert "audio: correct mixer table for voice-*-mic"
This reverts commit 9343660fd6.

Reason for revert: ag/28698138 was not needed

Bug: 346324901
Flag: EXEMPT : bugfix
Test: AK3 with tap point AMixMODEM:VP_IN
Change-Id: Ifd2fc82764d8e657656a60f494828389d7c934b8
2024-08-13 13:59:44 +00:00
Android Build Coastguard Worker
70df2e9114 Snap for 12217053 from 25a1493a40 to 24Q4-release
Change-Id: I09f0b54c633e7e2db4e0ca5cd9027cc94f204403
2024-08-12 23:06:07 +00:00
Jay
7e5048c6c2 powerhint: Lower CAM uclamp min
Current CAM uclamp min is beyond MID clusters capacity when
CAM2 energy model is used. This causes most of camera HAL threads
scheduled on big cluster only with CAM2 EM profile.

Lowering CAM uclamp min so it is within MID clusters capacity for
both energe model

Flag: EXEMPT tuning changes
Test: check camera trace with proper uclamp value
Bug: 350629738
Change-Id: Id50149316baf2dd91b664d730e7f7753ffece5a2
2024-08-12 22:56:15 +00:00
Xin Li
3a9d63c79a [automerger skipped] Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future am: ed53b184c4 -s ours
am skip reason: Merged-In I968c21293ca3cd5e2c7031166509724906e4e564 with SHA-1 9084edda20 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/28710527

Change-Id: I69c7f53b88161be73669188542cc1782b54005a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:03:41 +00:00
Xin Li
45369756ff [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 504721a6cd -s ours
am skip reason: Merged-In I968c21293ca3cd5e2c7031166509724906e4e564 with SHA-1 9084edda20 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/28710527

Change-Id: Ice29ea46b4b45d02d915e33fded95077e651eb4e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:02:05 +00:00
Xin Li
e76b7b176b [automerger skipped] Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future am: 97bf24bb65 -s ours
am skip reason: Merged-In I3f56acd12a4ab98bd5595c25098b544c14fbf25c with SHA-1 44e54aee9f is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/28712418

Change-Id: I20783f800287d141a9414682cc97bb66cfe22043
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-12 21:01:47 +00:00
Xin Li
ed53b184c4 Merge "Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future" into aosp-main-future 2024-08-12 17:14:32 +00:00
Sam Ou
25a1493a40 Merge "thermal: Remove bcl related tzones" into main 2024-08-12 12:32:35 +00:00
Android Build Coastguard Worker
5c974a4509 Snap for 12210778 from 7f43f82ef4 to 24Q4-release
Change-Id: I9a11331f34e306aed37b5b54fc27be8f98b078a4
2024-08-10 01:06:11 +00:00
Cyan_Hsieh
7f43f82ef4 update OWNERS to include Android.bp am: 2fb039222d am: e590a3132a
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3214124

Change-Id: I58527f518217b6c63514740a5ce759d68b06c4b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:40 +00:00
Cyan_Hsieh
c878b04a19 [automerger skipped] Switch makefile owners to MK_OWNERS am: 4b3022b6f8 -s ours am: 85bd2e8781 -s ours
am skip reason: Merged-In I49eb74361be6c0ddf7a609b4615f6bdf45e47b51 with SHA-1 a1c5570236 is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3106781

Change-Id: I80c3c498609502cc3e37585b58a7b433bd78843f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 11:07:34 +00:00
Cyan_Hsieh
e590a3132a update OWNERS to include Android.bp am: 2fb039222d
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3214124

Change-Id: Ibe68afacc18af717d823b966eaf7e89a36c34583
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:11 +00:00
Cyan_Hsieh
85bd2e8781 [automerger skipped] Switch makefile owners to MK_OWNERS am: 4b3022b6f8 -s ours
am skip reason: Merged-In I49eb74361be6c0ddf7a609b4615f6bdf45e47b51 with SHA-1 a1c5570236 is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3106781

Change-Id: I348e326abb0fbf3e96078b06f331b2915f7631c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-09 10:49:02 +00:00
Cyan_Hsieh
2fb039222d update OWNERS to include Android.bp
Flag: EXEMPT only changing OWNERS
Bug: 357036384
Merged-In: Ife930565aa1794cd33c9a8aa6eea698f40c743bc
Change-Id: Ife930565aa1794cd33c9a8aa6eea698f40c743bc
2024-08-09 08:47:57 +00:00
Cyan_Hsieh
4b3022b6f8 Switch makefile owners to MK_OWNERS
Bug: 278167548
Merged-In: I49eb74361be6c0ddf7a609b4615f6bdf45e47b51
Change-Id: I49eb74361be6c0ddf7a609b4615f6bdf45e47b51
2024-08-09 08:47:30 +00:00
Android Build Coastguard Worker
cd9cbb0061 Snap for 12205827 from 61f122eca1 to 24Q4-release
Change-Id: Ie7f5ee8b0b81496d8df8bfc43e12a2e9e35d9093
2024-08-09 01:01:08 +00:00
Xin Li
97bf24bb65 Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: I3f56acd12a4ab98bd5595c25098b544c14fbf25c
Change-Id: I85737b9684d24594d16ed1349fab663bfb221857
2024-08-08 11:15:35 -07:00
Xin Li
504721a6cd Merge 24Q3 (ab/AP3A.240905.001) to aosp-main-future
Bug: 347831320
Merged-In: I968c21293ca3cd5e2c7031166509724906e4e564
Change-Id: I077f25a7901879ab15e1ee633c76fbe7fba05e71
2024-08-08 11:15:35 -07:00
Juan Yescas
61f122eca1 16kb: Add aosp_akita_16k target am: 8016091b11 am: 1991cf0023
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3211926

Change-Id: I2c10d75fdbdeb0ebc00457bbe5dfbc7dad15d9f1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-08 15:42:19 +00:00
Juan Yescas
1991cf0023 16kb: Add aosp_akita_16k target am: 8016091b11
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3211926

Change-Id: Ic461d653067ef4b2df99f593b8b488d8eb5becdc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-08-08 15:26:01 +00:00
George Verhaegen
9343660fd6 audio: correct mixer table for voice-*-mic
Should use 3 channels even with only 2 mics

Bug: 346324901
Flag: EXEMPT : bugfix
Test: AK3
Change-Id: Ifc593d13e89a7e84445735557575888a66281c4e
Signed-off-by: George Verhaegen <verhaegen@google.com>
2024-08-08 13:23:54 +01:00
Android Build Coastguard Worker
23ea2af6db [coastguard skipped] Merge sparse cherrypicks from sparse-12192237-L48700030005686605 into 24Q3-release.
COASTGUARD_SKIP: I16a41b444468fa08f36e41b4658547b9f7682e46
COASTGUARD_SKIP: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb

Change-Id: Ia6e145cc2842007e75b89f3faed97fc68c193bb7
2024-08-08 05:07:38 +00:00
Android Build Coastguard Worker
c8edb671c4 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27089804'] into sparse-12192237-L48700030005686605.
SPARSE_CHANGE: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb

Change-Id: I16a41b444468fa08f36e41b4658547b9f7682e46
2024-08-08 05:05:43 +00:00
Lokesh Kumar Goel
0d565e9700 akita: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_AKITA
Bug: 155105803
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e48ec128c9eec3bfdb3299b3387d06107acdad05)
Merged-In: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
Change-Id: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
2024-08-08 05:04:42 +00:00
Treehugger Robot
a0b95b8f05 Merge "audio: update mixer table for re-mapping mics on Akita" into main 2024-08-08 02:04:28 +00:00
Juan Yescas
8016091b11 16kb: Add aosp_akita_16k target
Add the AOSP 16kb akita target. This target boots
directly in 16kb page size mode.

Bug: 350606564
Test: $ source build/envsetup.sh
      $ lunch aosp_akita_16k-trunk_staging-userdebug
      $ get_build_var PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO
      true
      $ get_build_var PRODUCT_MAX_PAGE_SIZE_SUPPORTED

      $ get_build_var TARGET_BOOTS_16K
      true
      $ get_build_var TARGET_MAX_PAGE_SIZE_SUPPORTED
      16384
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
      $ m
Flag: EXEMPT bugfix

Change-Id: Iaa01f8a6567bd1fdae16c16d388294581956b1bf
2024-08-07 15:58:54 -07:00
Android Build Coastguard Worker
33e012f352 Snap for 12190349 from 8a264145c1 to 24Q4-release
Change-Id: I726a308d26031227817222991f0b728bbad9af87
2024-08-06 23:01:42 +00:00
Juan Yescas
8a264145c1 Verify that akita prebuilts are 16kb compatible
Set the product flaG PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE to
verify that akita prebuilts are 16kb compatible.

Bug: 342466032
Test: Build target
Flag: EXEMPT bugfix
Change-Id: If2eb6a67147f383c2a97b14d3f99d51e006785ce
2024-08-06 04:18:32 +00:00
samou
b1257dd9d6 thermal: Remove bcl related tzones
Flag: EXEMPT tuning changes
Bug: 349935208
Test: Confirm boot
Change-Id: Iad49f5a64fc8bde9922dbed740c0aea9cec8a5e5
Signed-off-by: samou <samou@google.com>
2024-08-06 03:51:14 +00:00
Lokesh Kumar Goel
75c6c26bb4 Merge "akita: Add build_flags based properties for SMR/EMR build" into main 2024-08-06 02:13:44 +00:00
Android Build Coastguard Worker
7b224b6796 Snap for 12180713 from 9bc74a0fa0 to 24Q4-release
Change-Id: I646359a0883898cb5fae2771910ea1d6ac06fef4
2024-08-03 23:00:59 +00:00
Android Build Coastguard Worker
ad0e53148c Snap for 12177962 from 037eb92829 to 24Q4-release
Change-Id: Icc1de0d376a0f6391d680e1fdc6ca5e359621272
2024-08-03 03:01:11 +00:00
Treehugger Robot
9bc74a0fa0 Merge "haptics: Update output distortion gain" into main 2024-08-03 01:59:58 +00:00
Treehugger Robot
037eb92829 Merge "gps: update gps 4.13.2_26" into main 2024-08-02 13:09:30 +00:00
Lokesh Kumar Goel
e48ec128c9 akita: Add build_flags based properties for SMR/EMR build
Flag: build.RELEASE_IS_SMR
Flag: build.RELEASE_IS_EMR
Flag: build.RELEASE_BASE_OS_AKITA
Bug: 155105803
Change-Id: Id805d68ec83e20703ba5dfa2f21909b7e09f51bb
2024-07-31 16:53:42 +00:00
Chris Paulo
444da33fb7 haptics: Update output distortion gain
Recommended output distortion gain is 0.29.

Bug: 328799172
Test: getprop | grep hapticgenerator
Flag: EXEMPT bugfix
Change-Id: I42116f8e793bc340fb7ce9426b68559d32fd8a16
2024-07-30 10:38:02 -07:00
Android Build Coastguard Worker
1e6d7fb2ce Snap for 12153359 from f60409dd23 to 24Q4-release
Change-Id: Ia76f4afbc0a2eefe7c8b9146f756e084d158a3c2
2024-07-29 23:01:27 +00:00
Gil Liu
f60409dd23 Merge "display: add display therm sysfs node and interval time" into main 2024-07-29 06:10:28 +00:00
Gil Liu
7a5258b0f4 Merge "display: update the rr_regamma for temperature compensation" into main 2024-07-29 06:10:28 +00:00
Peter Lin
241a41e10a display: add display therm sysfs node and interval time
Bug: 343141590
Flag: NONE add new property
Test: check the display temperature work
Change-Id: I73da615708fe202542203131a688d00833551142
2024-07-28 15:40:40 +00:00
Android Build Coastguard Worker
664543ea04 Snap for 12148957 from 01ca137c88 to 24Q4-release
Change-Id: I98a5e9dc3c362589b8d1b09c83a007d88df89a89
2024-07-27 21:01:08 +00:00
Treehugger Robot
01ca137c88 Merge "Adpf:akita: switch to multitier heuristic boost." into main 2024-07-27 00:58:12 +00:00
guibing
9b8ff033a0 Adpf:akita: switch to multitier heuristic boost.
Bug: 344685639
Test: Checked the trace file running on the device.
Flag: NONE powerhal doesn't have a flag yet
Change-Id: I69d3bafbd982c53c3cabbbd18d264f68179c098f
2024-07-26 23:18:59 +00:00
Android Build Coastguard Worker
47ace89fb8 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27366598', 'googleplex-android-review.googlesource.com/27630616', 'googleplex-android-review.googlesource.com/27697257', 'googleplex-android-review.googlesource.com/27696927', 'googleplex-android-review.googlesource.com/27695889', 'googleplex-android-review.googlesource.com/28086916', 'googleplex-android-review.googlesource.com/28321249', 'googleplex-android-review.googlesource.com/28321743', 'googleplex-android-review.googlesource.com/28319880'] into 24Q3-release.
Change-Id: I0388aa6f3be19409494efaeba54e86891c7348c0
2024-07-25 04:16:07 +00:00
Ankur Bakshi
674d3b4ce0 Update Akita SVN to 18
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9084edda20a7683fde83642b24904b3e6f4705fd)
Merged-In: I968c21293ca3cd5e2c7031166509724906e4e564
Change-Id: I968c21293ca3cd5e2c7031166509724906e4e564
2024-07-25 04:03:05 +00:00
Ankur Bakshi
f90d4b3a3b Update Akita SVN to 17
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b563711f742596a61e5a446441e18e033561c95d)
Merged-In: Icc34ff13970b95fa3b60149356650271b74ff084
Change-Id: Icc34ff13970b95fa3b60149356650271b74ff084
2024-07-25 04:02:53 +00:00
Ankur Bakshi
3c29bf5af2 Update Akita SVN to 16
Bug: 352170103
Flag: EXEMPT bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:4dcd183e6dff40647c0152fcb674a6f9fd8312b5)
Merged-In: Ib48ae8e7a23ecb1bb03b19f91ee29fc800a614eb
Change-Id: Ib48ae8e7a23ecb1bb03b19f91ee29fc800a614eb
2024-07-25 04:02:42 +00:00
Lokesh Kumar Goel
fa210a0165 akita: Use build_flags for SVN
Flag: build.RELEASE_SVN_AKITA
Bug: 332726030
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b04f5d3274477e116ba475bf27a1ff7e13efb7e0)
Merged-In: Ia8a7f80c40eb39c8b2cf835ac7733da1585731d7
Change-Id: Ia8a7f80c40eb39c8b2cf835ac7733da1585731d7
2024-07-25 04:02:31 +00:00
Ankur Bakshi
b28873773c Update Akita SVN to 15
Bug: 336526332
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:be8299afa7b31c1ea6e9527f12626717f9f03f32)
Merged-In: I86942ff5e49632bc7813b895d19c7bc8a554ff81
Change-Id: I86942ff5e49632bc7813b895d19c7bc8a554ff81
2024-07-25 04:02:20 +00:00
Ankur Bakshi
c2ad08e131 Update Akita SVN to 14
Bug: 336526332
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e88cb1b2926110a244d5630e0774c4deccff2e56)
Merged-In: I33aa4b1b2b00f4345b02a1c0e8ab8c77de6a0437
Change-Id: I33aa4b1b2b00f4345b02a1c0e8ab8c77de6a0437
2024-07-25 04:02:08 +00:00
Ankur Bakshi
c7db664538 Update Akita SVN to 13
Bug: 336526332
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:dfd155f5f03f5fee3183162422eefb71575e3baf)
Merged-In: I58d0f6263c5d73ec3c18d3532464e94e71100bc7
Change-Id: I58d0f6263c5d73ec3c18d3532464e94e71100bc7
2024-07-25 04:01:57 +00:00
Ankur Bakshi
f18f94e2f8 Update Akita SVN to 12
Bug: 336526332
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:f482f4a83a5a1d81e38f16ad90bcb5f6f6ec3bb9)
Merged-In: If2b1a9b5daa7aa1f207906025ac9493fc66dfb5e
Change-Id: If2b1a9b5daa7aa1f207906025ac9493fc66dfb5e
2024-07-25 04:01:46 +00:00
Ankur Bakshi
414f3140e5 Update Akita SVN to 11
Bug: 336526332
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ea5dd2637c27f8145bcbe45a37ac5623a247083f)
Merged-In: I7df163d0597f4327ef1748157e1607e2d89e705c
Change-Id: I7df163d0597f4327ef1748157e1607e2d89e705c
2024-07-25 04:01:34 +00:00
Android Build Coastguard Worker
e85f074408 Snap for 12135134 from 5e5442acd8 to 24Q4-release
Change-Id: I003a5cb42d64b76ee0638c1d5991708a26ce9514
2024-07-24 23:01:32 +00:00
Herbert Xue
5e5442acd8 Remove device/google/akita/Android.mk am: 40558d54a9 am: 5058468c06
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3189161

Change-Id: I4186cc52c476a281f2de016c5222024fc5768031
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-24 19:38:06 +00:00
Herbert Xue
5058468c06 Remove device/google/akita/Android.mk am: 40558d54a9
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3189161

Change-Id: I29e8e20988d9e854cfa07ca4c6a329014b2cd417
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-24 19:23:25 +00:00
Edwin Tung
368e52924b gps: update gps 4.13.2_26
Fix Gnss hang issue
Fix no RSTD measurement in UP

Bug: 347616122
Bug: 352227728

Test: b/354866563
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I32e5c2a888e68f51e67758df6c2d776335a5b960
2024-07-23 17:09:13 +08:00
Herbert Xue
40558d54a9 Remove device/google/akita/Android.mk
There is no other Android.mk under device/google/akita. So this
Android.mk can be removed.

Bug: 351712146
Test: presubmit
Change-Id: I5823c5228e1706a9aef1ec93c3825458fe4cbd19
2024-07-23 15:11:22 +08:00
Android Build Coastguard Worker
9c8c78e0c5 Snap for 12116631 from 754c2c6966 to 24Q4-release
Change-Id: Ib719c9b866c021ba0f3a9dc167f881881e52e6e6
2024-07-20 01:01:22 +00:00
Android Build Coastguard Worker
8a7129015b Merge cherrypicks of ['googleplex-android-review.googlesource.com/28305586'] into 24Q3-release.
Change-Id: I0db44969c9811200d976eda5a6f3a131a27df5ed
2024-07-19 20:04:46 +00:00
Hsiu-Chang Chen
9ab43a497b Wifi: Disable Indoor Channel for Peer Network
Bug: 352658713
Test: Regression test, Indoor channel test
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:6b74554155f7249df51bc3f2f9dee35718e9af1f)
Merged-In: I586032246a87609b5b9485b307b44f45bc720459
Change-Id: I586032246a87609b5b9485b307b44f45bc720459
2024-07-19 19:55:37 +00:00
Android Build Coastguard Worker
b27bd34bd1 Snap for 12110738 from 2549e3bf86 to 24Q4-release
Change-Id: I39df903c79d9e744d9a2c1deec2741a971e1cbb6
2024-07-18 23:01:21 +00:00
Ankur Bakshi
754c2c6966 Merge changes from topic "sep-svn-set1" into main
* changes:
  Update Akita SVN to 18
  Update Akita SVN to 17
  Update Akita SVN to 16
2024-07-18 21:44:23 +00:00
Treehugger Robot
2549e3bf86 Merge "Update antenna position coordinates" into main 2024-07-18 16:03:03 +00:00
Kyle Hsiao
068a028536 Update antenna position coordinates
Bug: 353895373
Test: manual
Flag: EXEMPT bugfix
Change-Id: I5d535ff3eefa3f76588a42aea4a8119f07fdce36
2024-07-18 13:09:53 +00:00
Treehugger Robot
013229a8dd Merge "Wifi: Disable Indoor Channel for Peer Network" into main 2024-07-18 03:36:51 +00:00
Android Build Coastguard Worker
bf3257dcee Snap for 12098010 from 6818e84612 to 24Q4-release
Change-Id: I3e91f084a81102e7c0b66c9fb5a2757d4c16ce3c
2024-07-16 23:01:52 +00:00
Treehugger Robot
6818e84612 Merge "Remove self-extractors/google_devices/staging/Android.mk" into main am: 6a633c4efa am: 34ca81fabc
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3161437

Change-Id: I9a021addd9de7e8e735fab38c31fed269151d4c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-16 04:19:20 +00:00
Treehugger Robot
34ca81fabc Merge "Remove self-extractors/google_devices/staging/Android.mk" into main am: 6a633c4efa
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3161437

Change-Id: I4446750d5cfc7ece71c28bc7b3ee6dce68d8da0b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-16 03:58:16 +00:00
Treehugger Robot
6a633c4efa Merge "Remove self-extractors/google_devices/staging/Android.mk" into main 2024-07-16 03:40:23 +00:00
Luke Chang
68daa924f4 Merge "powerhint: adjust cpd target residency when interaction" into main 2024-07-16 00:53:48 +00:00
Peter Lin
28b4fa2868 display: update the rr_regamma for temperature compensation
Added 50/80 nits rr_regamma for 0 ~ 52 degree temperature.

Bug: 343141590
Flag: Flag: NONE profile update
Test: adb shell /vendor/bin/dumpsys displaycolor -v
Change-Id: I905b5e2fa1d51b6cbdd10f69cbf9d0f1fcc4fd1f
2024-07-15 15:04:47 +00:00
Ankur Bakshi
9084edda20 Update Akita SVN to 18
Bug: 352170103
Change-Id: I968c21293ca3cd5e2c7031166509724906e4e564
Flag: EXEMPT bugfix
2024-07-15 15:00:27 +00:00
Ankur Bakshi
b563711f74 Update Akita SVN to 17
Bug: 352170103
Change-Id: Icc34ff13970b95fa3b60149356650271b74ff084
Flag: EXEMPT bugfix
2024-07-15 14:57:59 +00:00
Ankur Bakshi
4dcd183e6d Update Akita SVN to 16
Bug: 352170103
Change-Id: Ib48ae8e7a23ecb1bb03b19f91ee29fc800a614eb
Flag: EXEMPT bugfix
2024-07-15 14:48:34 +00:00
Hsiu-Chang Chen
6b74554155 Wifi: Disable Indoor Channel for Peer Network
Bug: 352658713
Test: Regression test, Indoor channel test
Change-Id: I586032246a87609b5b9485b307b44f45bc720459
2024-07-15 06:12:50 +00:00
Android Build Coastguard Worker
a3992014e1 Snap for 12085179 from 14836e4e75 to 24Q4-release
Change-Id: I9dd618f575ed21d37cb39cf6f5012dbe2ab227c8
2024-07-13 01:01:22 +00:00
Lokesh Kumar Goel
14836e4e75 Merge "akita: Use build_flags for SVN" into main 2024-07-12 18:00:39 +00:00
lukechang
c9442b63b2 powerhint: adjust cpd target residency when interaction
Modify default BC/MC CPD target residency to 10ms.
Increase to 750ms during interaction.

Bug: 283233731
Bug: 350508026

Flag: EXEMPT bugfix

Test: power & perf cuj test

Change-Id: I6694ebd6f1f1f237bfd954eaca37cab9918c4b1e
Signed-off-by: lukechang <lukechang@google.com>
2024-07-12 07:50:21 +00:00
Android Build Coastguard Worker
6df6271628 Snap for 12065372 from 29862f0aaf to 24Q4-release
Change-Id: I473e13b001151ee18d09762f20a1fab9107ee2b3
2024-07-09 23:06:16 +00:00
Juan Yescas
29862f0aaf Merge changes from topic "16k-dev-option-for-akita" into main
* changes:
  16k: Configure 16k developer option for akita
  16k: Do not set TARGET_ vars in device-akita.mk
  Revert "16kb: Disable GNSS service on akita_16k target"
2024-07-09 19:12:23 +00:00
Treehugger Robot
70ebe5976a [automerger skipped] Merge "Use release_config_map.textproto" into main am: 4e14acb38f -s ours am: f5844329a2 -s ours
am skip reason: Merged-In I0459a6531d0429471fe6232e868e26cfdb05ae83 with SHA-1 8ec9a1a27c is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3163656

Change-Id: I6a3ae9af23f5c9e86d5008278904162843900b00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 16:34:59 +00:00
LaMont Jones
8e4d8a2f71 [automerger skipped] Use release_config_map.textproto am: 7e20e0e5ca -s ours am: a812b3d290 -s ours
am skip reason: Merged-In I0459a6531d0429471fe6232e868e26cfdb05ae83 with SHA-1 8ec9a1a27c is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3163656

Change-Id: Ibd7bd054b69f271ad2f381cbb602632fa3cb55d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 16:34:55 +00:00
Treehugger Robot
f5844329a2 [automerger skipped] Merge "Use release_config_map.textproto" into main am: 4e14acb38f -s ours
am skip reason: Merged-In I0459a6531d0429471fe6232e868e26cfdb05ae83 with SHA-1 8ec9a1a27c is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3163656

Change-Id: Ib3b03cd773e20cedd20fbdcd1a38178b9383f485
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 16:15:30 +00:00
LaMont Jones
a812b3d290 [automerger skipped] Use release_config_map.textproto am: 7e20e0e5ca -s ours
am skip reason: Merged-In I0459a6531d0429471fe6232e868e26cfdb05ae83 with SHA-1 8ec9a1a27c is already in history

Original change: https://android-review.googlesource.com/c/device/google/akita/+/3163656

Change-Id: I41417ea10fdacd6aa96e6c104629f1e49161fb0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 16:15:25 +00:00
Treehugger Robot
4e14acb38f Merge "Use release_config_map.textproto" into main 2024-07-09 15:55:16 +00:00
LaMont Jones
7e20e0e5ca Use release_config_map.textproto
The .mk files are no longer used, and will be deleted soon.

Bug: none
Test: manual, TH
Merged-In: I0459a6531d0429471fe6232e868e26cfdb05ae83
Merged-In: I52d615ccedbd3a3f504a6be2d607808516c1af86
Change-Id: I8e7a465d8a80f05020f7483f4e59ef7e76de73a1
2024-07-09 15:26:44 +00:00
Koli Lin
5bd9625272 add device id
Test: manual
Bug: 316248308
Flag: EXEMPT prop value only update
Change-Id: I25a857f90290123df42fb8e1b35b508155ccce98
2024-07-09 08:47:22 +00:00
Herbert Xue
0e287409fd Remove self-extractors/google_devices/staging/Android.mk
Keep Android.mk.template up to date.

Bug: 351712146
Test: make
Change-Id: Ice4e61bf2e34e495fe5a386117f9c802b5786e64
2024-07-09 14:22:25 +08:00
Herbert Xue
848cf098a3 Convert sensors.akita to Android.bp am: 49ee5cf28e am: c629f6c49e
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3160218

Change-Id: I13f2008fd81c2006ae249cf2aa0bb4a74d804276
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 03:29:07 +00:00
Herbert Xue
c629f6c49e Convert sensors.akita to Android.bp am: 49ee5cf28e
Original change: https://android-review.googlesource.com/c/device/google/akita/+/3160218

Change-Id: Icc18f0437808aa7df754a1e0776edb5d7e1e3e4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-07-09 03:14:09 +00:00
Android Build Coastguard Worker
7cf65388f7 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28034501'] into 24Q3-release.
Change-Id: I4c0642792ec3eae99e9d2219050dac5443b6473a
2024-07-09 03:00:54 +00:00
Android Build Coastguard Worker
cf21d72750 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28121366'] into 24Q3-release.
Change-Id: Ifea400f6ce0224cdf1f386c37a0179438cf8f691
2024-07-09 03:00:50 +00:00
Edwin Tung
1ea2cd5f49 gps: allow gnssd set gps property and read rild property
avc:  denied  { write } for  name="property_service" dev="tmpfs" ino=837 scontext=u:r:gnssd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
avc:  denied  { read } for  name="u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=422 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { open } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { getattr } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { map } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0

avc:  denied  { write } for  name="property_service" dev="tmpfs" ino=837 scontext=u:r:gnssd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

Bug: 326493553
Bug: 320577795
Bug: 346672615

Test: no avc denied error
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:44e54aee9fac0cd0ea70368c4bd408b5618982db)
Merged-In: I3f56acd12a4ab98bd5595c25098b544c14fbf25c
Change-Id: I3f56acd12a4ab98bd5595c25098b544c14fbf25c
2024-07-09 02:36:08 +00:00
Edwin Tung
8cac3a801a gps: update gps 4.13.2_23_2
Fix deadlock during assert handling
Handle CP commanded resets
Supports both 16k and 4k aligned images

Bug: 346672615
Bug: 346948413

Test: b/350374065
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2765f273beb8802e9916be56ac650f42138dc95b)
Merged-In: I3ee61de44d4612f965c879fc32d872f20906ec5d
Change-Id: I3ee61de44d4612f965c879fc32d872f20906ec5d
2024-07-09 02:35:52 +00:00
Android Build Coastguard Worker
bba5583a01 Snap for 12053972 from 44e54aee9f to 24Q4-release
Change-Id: I6f3f9f90daf85cd3d54ddd8b6c7e3c027ec80f86
2024-07-06 03:01:07 +00:00
Herbert Xue
49ee5cf28e Convert sensors.akita to Android.bp
Bug: 351252378
Test: lunch aosp_akita-trunk_staging-eng && m sensors.akita
Change-Id: I8f2743771995826b1bf14720bd2333f9257bc9e3
2024-07-05 15:48:22 +08:00
Vilas Bhat
60c1046303 16k: Configure 16k developer option for akita
Enable 16KB developer option on akita depending on whether
RELEASE_GOOGLE_AKITA_16K_DEVELOPER_OPTION flag is defined.

Bug: 295035851
Bug: 349877551
Test: m with akita-trunk_staging-userdebug
      Manually tested 16K developer option to ensure device boots with
      16K page size
      $ adb shell getconf PAGE_SIZE
      16384
      $ adb shell uname -a
      Linux localhost 6.1.84-android14-11-g81e9f0610c73-ab12043309 #1 SMP PREEMPT Tue Jul  2 00:47:27 UTC 2024 aarch64 Toybox
Flag: build.RELEASE_GOOGLE_AKITA_16K_DEVELOPER_OPTION
Change-Id: I9406f8271be0cd3a88680b745ceac6f625dd8851
2024-07-03 21:36:42 +00:00
Vilas Bhat
b08bf20df8 16k: Do not set TARGET_ vars in device-akita.mk
TARGET_ build variables MUST NOT be set up in device*
files. In the device* files, the PRODUCT_ variables are not
defined properly and only after the build system finishes
parsing all the product files, we can set up TARGET_ vars
based on PRODUCT_ vars. During the parsing of the BoardConfig
files, the PRODUCT_ vars are defined and their values can
not be changed.

The variables removed affect only 16kb page size target and they are
set in either device/google/zuma/BoardConfig-16k-common.mk (which is
already inherited by device-akita.mk) or in akita_16k.mk.

Bug: 349877551
Test: $ lunch akita_16k-trunk_staging-userdebug
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_KERNEL_DIR
      device/google/akita-kernels/6.1/trunk-12043309/16kb
      $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
Flag: EXEMPT bugfix
Change-Id: Ia62ed7f3f794390d2f9344cf394046f013c63838
2024-07-03 21:30:47 +00:00
Vilas Bhat
bcdfc618bc Revert "16kb: Disable GNSS service on akita_16k target"
This reverts commit 1e0076ecbc.

Reason for revert: GNSS service is now re-aligned to 16k in commit I3ee61de44d4612f965c879fc32d872f20906ec5d

Bug: 344687661
Change-Id: I284e083764c1a4d927af8dac2da005be0994d04c
2024-07-03 21:29:50 +00:00
Android Build Coastguard Worker
f20a2e2a36 Snap for 12042346 from a435081511 to 24Q4-release
Change-Id: Ibf7e645e7c068bba9d708c0fde599cf843da844d
2024-07-02 23:01:51 +00:00
Edwin Tung
a435081511 Merge "gps: update gps 4.13.2_23_2" into main 2024-07-02 05:54:16 +00:00
Android Build Coastguard Worker
3afcd04f87 Merge cherrypicks of ['googleplex-android-review.googlesource.com/27837277', 'googleplex-android-review.googlesource.com/27949018'] into 24Q3-release.
Change-Id: I918f0b7cf59071b9e785ca05fc13683108d7366f
2024-07-02 03:55:40 +00:00
Edwin Tung
d9966975d1 gps: update gps 4.13.2_21
Resolve a defect in SUPL partial downlink data assembly
Make capability list in SUPL_START and SUPL_POSINIT consistent
Resolve CTS test failure on: testListenForGnssMeasurements

Bug: 341867336
Bug: 344772365
Bug: 347536254

Test: b/348538253
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:36479978d4c44f86b5b2ea957f281966c9633032)
Merged-In: I6cffab06d1ae3d242ded5750d643b05848795042
Change-Id: I6cffab06d1ae3d242ded5750d643b05848795042
2024-07-02 03:36:09 +00:00
Edwin Tung
d9e14ec27e gps: update gps 4.13.2_20
BiasNanos and FullBiasNanos is not always available when GNSS time is valid
Implement in-place matrix multiplication without dynamic stack
Add an option to pass a temp buffer to matrix utilities
Remove dynamic stack allocation
Hold off assert if CP resets while resetting
Fix ptimer pool overflow on repeated position requests
Request position aiding on pos req
Resolve a crash in lal
Add IGnss_V4_0 support for Android V
Correct the criteria for NI-SUPL Wifi
Resolve a race condition in SUPL OTDOA
Request emergency status upon SUPL-NI
Update LTE/NR CellInfo validation
No SUPL SI in 2G network
RNS MDT support
Prevent double free in host CHPP
SSB_SW_VERSION message not handled in time
Fix 5300 CHRE wakeup issue
UBSAN out-of-bounds: UTIL_bdsB1cCheckCRC24
Re-enable chub in K41 cfg

Bug: 324656720
Bug: 333819307
Bug: 336202517
Bug: 317681301
Bug: 342098775
Bug: 342303082
Bug: 343759053
Bug: 326494291
Bug: 339567953
Bug: 344712213
Bug: 344720565
Bug: 339790953
Bug: 336200226
Bug: 345062711
Bug: 333849828
Bug: 334722223
Bug: 342303082

Test: b/347124957
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:52945e34ba664c5831bd1e746c6ca24bfc47e73c)
Merged-In: Ief402b34bad1980ddb4bcb497e3f2c1ce8806b91
Change-Id: Ief402b34bad1980ddb4bcb497e3f2c1ce8806b91
2024-07-02 03:35:57 +00:00
Android Build Coastguard Worker
67779f5fda Snap for 12037182 from 1e0076ecbc to 24Q4-release
Change-Id: I3b2a7aeab7f21444250bf0330792006f8f19e861
2024-07-01 23:06:34 +00:00
Android Build Coastguard Worker
1d6b5bfbf1 Snap for 12034474 from a826e86b05 to mainline-tzdata6-release
Change-Id: I472828983ad2f17827c2e23bc450e236be78d548
2024-07-01 08:32:45 +00:00
Edwin Tung
2765f273be gps: update gps 4.13.2_23_2
Fix deadlock during assert handling
Handle CP commanded resets
Supports both 16k and 4k aligned images

Bug: 346672615
Bug: 346948413

Test: b/350374065
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I3ee61de44d4612f965c879fc32d872f20906ec5d
2024-07-01 11:24:18 +08:00
Android Build Coastguard Worker
b8f6a28d7f Snap for 12032182 from a826e86b05 to 24Q4-release
Change-Id: I79932d511a875f7662dfaadc7066e9c5c58fb1d3
2024-06-29 03:01:10 +00:00
Vilas Bhat
1e0076ecbc 16kb: Disable GNSS service on akita_16k target
GNSS service binary is currently 4k ELF aligned. Hence, it is
temporarily disabled while bringup with 16k page size is in progress.
This will be reverted when b/346851807 is fixed.

PRODUCT_BOOTS_16K is defined only in akita_16k.mk, hence no other
targets will be affected.

Bug: 346851807
Test: Built and flashed akita_16k-trunk_staging-userdebug on Pixel 8a
      successfully
Flag: build.trunk_staging
Flag: build.trunk
Flag: build.next
Change-Id: I743c8d40edb64edecaaaadf2d2deb79e65a973b2
2024-06-28 23:49:35 +00:00
Vilas Bhat
a826e86b05 16kb: Use PRODUCT_BOOTS_16K to select the kernel and fs
The build flag PRODUCT_BOOTS_16K will be used to select
whether akita devices would boot with 16kb or 4kb page size kernel.

Bug: 347107885
Test: $ source build/envsetup.sh
      $ lunch akita_16k-trunk_staging-userdebug
      $ get_build_var TARGET_KERNEL_DIR
      device/google/akita-kernels/5.15/trunk-12022022/16kb
      $ get_build_var TARGET_BOARD_KERNEL_HEADERS
      device/google/akita-kernels/5.15/trunk-12022022/kernel-headers
      $ get_build_var PRODUCT_BOOTS_16K
      true
      $ get_build_var TARGET_RW_FILE_SYSTEM_TYPE
      ext4
      $ get_build_var TARGET_USERDATAIMAGE_FILE_SYSTEM_TYPE
      ext4
Flag: EXEMPT bugfix
Change-Id: Ibcd851c7493c38726b19f57d52c4422e9e228b1d
2024-06-28 23:49:13 +00:00
Lokesh Kumar Goel
b04f5d3274 akita: Use build_flags for SVN
Flag: build.RELEASE_SVN_AKITA
Bug: 332726030
Change-Id: Ia8a7f80c40eb39c8b2cf835ac7733da1585731d7
2024-06-27 23:12:04 +00:00
Android Build Coastguard Worker
da48d873f0 Snap for 12025384 from 3474c2a6c9 to 24Q4-release
Change-Id: Ie98a3a1f0cfdf69a16503374468e1286d1f5a5ed
2024-06-27 23:01:18 +00:00
Tom Huang
3474c2a6c9 Merge "BT: update LEA unicast allowlist" into main 2024-06-27 06:10:25 +00:00
Android Build Coastguard Worker
881affe5dc Snap for 12019843 from 58582748ba to 24Q4-release
Change-Id: I6bb5a60fe93e06cab9e0c0e4cc6f799e3e5bc126
2024-06-26 23:01:18 +00:00
Treehugger Robot
58582748ba Merge "gps: update gps 4.13.2_21" into main 2024-06-26 13:33:34 +00:00
Edwin Tung
44e54aee9f gps: allow gnssd set gps property and read rild property
avc:  denied  { write } for  name="property_service" dev="tmpfs" ino=837 scontext=u:r:gnssd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0
avc:  denied  { read } for  name="u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=422 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { open } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { getattr } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0
avc:  denied  { map } for  path="/dev/__properties__/u:object_r:vendor_rild_prop:s0" dev="tmpfs" ino=414 scontext=u:r:gnssd:s0 tcontext=u:object_r:vendor_rild_prop:s0 tclass=file permissive=0

avc:  denied  { write } for  name="property_service" dev="tmpfs" ino=837 scontext=u:r:gnssd:s0 tcontext=u:object_r:property_socket:s0 tclass=sock_file permissive=0

Bug: 326493553
Bug: 320577795
Bug: 346672615

Test: no avc denied error
Change-Id: I3f56acd12a4ab98bd5595c25098b544c14fbf25c
2024-06-26 11:13:28 +08:00
Android Build Coastguard Worker
523e4acad2 Snap for 12014005 from 5b1323954f to 24Q4-release
Change-Id: Ia388d21721149fe95d8a6a7a67d8fdddaf92f29f
2024-06-25 23:01:32 +00:00
Xin Li
5b1323954f [automerger skipped] Revert "DO NOT MERGE ANYWHERE" am: 03e23caae0 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/28032499

Change-Id: I45b36b80ec2b0e33aebebf285eed714a2d45f988
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-25 12:26:55 +00:00
Xin Li
03e23caae0 Revert "DO NOT MERGE ANYWHERE"
DO NOT MERGE ANYWHERE Revert submission 27954911-bandaid_348495820

Reason for revert: proper fix for b/347068412 is in.

Reverted changes: /q/submissionid:27954911-bandaid_348495820

Change-Id: I89f86605a09ec4fe6cf52307754b4982a0efa53f
2024-06-25 09:26:56 +00:00
chenkris
4f796e916c Revert "Build g7_trusty_next for “next” configuration"
This reverts commit b809e696bf.

Bug: 348542941
Test: build
Change-Id: Id630c40d9eed97409cb52ee5fa63f4ebfc7ddec1
2024-06-24 11:16:16 +00:00
kuanyuhuang
1af98bd53e BT: update LEA unicast allowlist
Add Sony WF-1000XM5 into unicast default allowlist.

Bug: 349027282
Test: build and check system property
Flag: NONE allowlist extension
Change-Id: Ib8e9d200b88f8d6626515602c7d2a5b994612921
2024-06-24 08:58:24 +00:00
Android Build Coastguard Worker
4e429f3c3c Snap for 12002618 from 29d7f04519 to 24Q4-release
Change-Id: I5abb1e4e2b9a64210e37cde410f87d1f89f10e85
2024-06-22 01:01:12 +00:00
KRIS CHEN
29d7f04519 Merge "Build g7_trusty_next for “next” configuration" into main 2024-06-21 07:16:54 +00:00
chenkris
b809e696bf Build g7_trusty_next for “next” configuration
Bug: 348542941
Test: build
Change-Id: Idcd79c569d34b18680cd6fec836cae9b16014e81
2024-06-21 04:20:26 +00:00
Edwin Tung
36479978d4 gps: update gps 4.13.2_21
Resolve a defect in SUPL partial downlink data assembly
Make capability list in SUPL_START and SUPL_POSINIT consistent
Resolve CTS test failure on: testListenForGnssMeasurements

Bug: 341867336
Bug: 344772365
Bug: 347536254

Test: b/348538253
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I6cffab06d1ae3d242ded5750d643b05848795042
2024-06-21 11:45:09 +08:00
Xin Li
ed87409da7 [automerger skipped] DO NOT MERGE ANYWHERE am: 3a52399175 -s ours
am skip reason: contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/27954911

Change-Id: Ie3541a3a8aae4c1fb98fca77e617402114003e5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-21 02:33:16 +00:00
Xin Li
3a52399175 DO NOT MERGE ANYWHERE
akita: Temporarily set kernel and bootloader to an existing place

This should be reverted once we have a better solution.

Bug: 348495820
Merged-In: Ia24088ab76973c93dbae76031e3df253c89de8a1
Change-Id: I63b0cfc8917767b979ddb4a25bb5205f195a61c2
2024-06-21 02:11:54 +00:00
Android Build Coastguard Worker
a7c53652ee Snap for 11996894 from 2f21299ba1 to 24Q4-release
Change-Id: I859a0e0bfef899169adbecfec29f462fe068c1e4
2024-06-20 23:01:11 +00:00
Android Build Coastguard Worker
1a121987c3 Snap for 11996894 from c74c0721f3 to 24Q4-release
Change-Id: I737229f8254c213acbe609c1b18b867f9dba8531
2024-06-20 23:01:10 +00:00
Xin Li
2f21299ba1 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: fcb48a551b -s ours
am skip reason: Merged-In Id489407a31e7b5ca7681b1d17f5ef1b69d4d34a4 with SHA-1 626ad63d26 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/27908348

Change-Id: Ib2cb0d477cfcbe0915d4b18345a59541ae0a50be
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 21:46:11 +00:00
Xin Li
c74c0721f3 [automerger skipped] Merge 24Q3 (ab/11976889) to aosp-main-future am: 05d8f24336 -s ours
am skip reason: Merged-In Id37fb8c2599d72b0ee591cf0080c73ab1cc31690 with SHA-1 4e1cbcf94c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/27908493

Change-Id: I5a4f31945ee33d922acadf75e4634477381301dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-20 21:09:05 +00:00
Leonard Ian
33be02774f Merge "conf: Enable access for braking time sysfs nodes" into main 2024-06-20 06:22:59 +00:00
Treehugger Robot
682e0df867 Merge "gps: update gps 4.13.2_20" into main 2024-06-20 05:34:16 +00:00
Leonard Ian
0ceca08af6 Merge "Enable all primitive effects" into main 2024-06-20 05:11:23 +00:00
Android Build Coastguard Worker
47c7030b17 Snap for 11987757 from 936b2866d1 to 24Q4-release
Change-Id: I08f93c42e196a589f078cf81057cebd316f079e1
2024-06-18 23:01:15 +00:00
Xin Li
fcb48a551b Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: Id489407a31e7b5ca7681b1d17f5ef1b69d4d34a4
Change-Id: I677612b62208d5d4d03552c61f703663b74ff629
2024-06-18 14:13:21 -07:00
Xin Li
05d8f24336 Merge 24Q3 (ab/11976889) to aosp-main-future
Bug: 347831320
Merged-In: Id37fb8c2599d72b0ee591cf0080c73ab1cc31690
Change-Id: Ia24088ab76973c93dbae76031e3df253c89de8a1
2024-06-18 14:13:21 -07:00
Android Build Coastguard Worker
f9cce41b5e Snap for 11981331 from 2a4fbd1257 to 24Q4-release
Change-Id: I8d9fdc1a305d9ade91d0038ee14f05c8d69a594f
2024-06-17 23:00:58 +00:00
Treehugger Robot
936b2866d1 Merge "16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on akita targets" into main 2024-06-17 22:48:44 +00:00
Ankur Bakshi
2a4fbd1257 Merge changes from topic "aug-set1" into main
* changes:
  Update Akita SVN to 15
  Update Akita SVN to 14
  Update Akita SVN to 13
  Update Akita SVN to 12
  Update Akita SVN to 11
2024-06-17 05:04:31 +00:00
Android Build Coastguard Worker
85587d0ac9 Snap for 11973804 from 4e1cbcf94c to 24Q3-release
Change-Id: I2afb4e6c42f5057de675fe9390f8ae1382815fac
2024-06-15 01:01:14 +00:00
Edwin Tung
52945e34ba gps: update gps 4.13.2_20
BiasNanos and FullBiasNanos is not always available when GNSS time is valid
Implement in-place matrix multiplication without dynamic stack
Add an option to pass a temp buffer to matrix utilities
Remove dynamic stack allocation
Hold off assert if CP resets while resetting
Fix ptimer pool overflow on repeated position requests
Request position aiding on pos req
Resolve a crash in lal
Add IGnss_V4_0 support for Android V
Correct the criteria for NI-SUPL Wifi
Resolve a race condition in SUPL OTDOA
Request emergency status upon SUPL-NI
Update LTE/NR CellInfo validation
No SUPL SI in 2G network
RNS MDT support
Prevent double free in host CHPP
SSB_SW_VERSION message not handled in time
Fix 5300 CHRE wakeup issue
UBSAN out-of-bounds: UTIL_bdsB1cCheckCRC24
Re-enable chub in K41 cfg

Bug: 324656720
Bug: 333819307
Bug: 336202517
Bug: 317681301
Bug: 342098775
Bug: 342303082
Bug: 343759053
Bug: 326494291
Bug: 339567953
Bug: 344712213
Bug: 344720565
Bug: 339790953
Bug: 336200226
Bug: 345062711
Bug: 333849828
Bug: 334722223
Bug: 342303082

Test: b/347124957
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: Ief402b34bad1980ddb4bcb497e3f2c1ce8806b91
2024-06-14 11:27:21 +08:00
Vilas Bhat
0287e6ec07 16kb: Set NO_BIONIC_PAGE_SIZE_MACRO on akita targets
Test: $ source build/envsetup.sh
      $ lunch akita-trunk_staging-userdebug
      $ get_build_var TARGET_NO_BIONIC_PAGE_SIZE_MACRO
      true
Bug: 344687661
Bug: 347122169
Change-Id: I4e56ee73eed661fc962a2a2d93696385b692be07
2024-06-14 03:02:54 +00:00
vincenttew
4e1cbcf94c audio: add sound dose offset curve
Bug: 313395588
Test: boot to home, HIDL/AIDL w/wo xml configuration
Change-Id: Id37fb8c2599d72b0ee591cf0080c73ab1cc31690
Signed-off-by: vincenttew <vincenttew@google.com>
2024-06-14 02:37:58 +00:00
Android Build Coastguard Worker
5564915824 Snap for 11967491 from c731428b77 to 24Q3-release
Change-Id: Ie1abbdd16db9f05bc8c9fcd55c8e267f0a6d4a11
2024-06-13 23:01:10 +00:00
Cheng Chang
c731428b77 gps: Fix the build break
Bug: 332204989
Test: Verify the compile successfully at b/332204989
Change-Id: I76c9ee16bea513e6fa784a764f4878ef4e2c0ab5
2024-06-13 01:47:34 +00:00
Android Build Coastguard Worker
284b69a7f3 Snap for 11959661 from 1e69353f5c to 24Q3-release
Change-Id: I0a6a84bc8f45db060ede78656280244fae5de8a6
2024-06-12 23:01:33 +00:00
leonardian
a555a992b3 Enable all primitive effects
- Remove ro.vendor.vibrator.hal.supported_primitives to support all
  primitive effects
- Set ACTUATOR_MODEL to legacy_zlra_actuator

Bug: 342062469
Test: idlcli commands
Test: atest PTS, VTS, CTS
Test: Checked HAL dumpsys for durations
Change-Id: I4468040ff84c7c6e10c6b5dc08c34a972d234c66
2024-06-12 07:03:21 +00:00
Peter (YM)
1e69353f5c Merge "thermal: Move TPU to the VSKIN-SOC PID loop" into main 2024-06-12 03:06:40 +00:00
Android Build Coastguard Worker
8ecc7adc33 Snap for 11954976 from 8ec9a1a27c to 24Q3-release
Change-Id: I5954a8ee5d158a13c14e66ca840de5ae8fabcaf3
2024-06-11 23:01:42 +00:00
Ed Tam
8ec9a1a27c Update AOSP Akita release config map path
Bug: 345972201
Change-Id: I0459a6531d0429471fe6232e868e26cfdb05ae83
2024-06-10 19:09:00 +00:00
George Verhaegen
49d40a19ba audio: update mixer table for re-mapping mics on Akita
Bug: 346324901
Test: On AK3
Change-Id: I9d58ca80bce9fc9c0bcfc7bd2943cdf13452b7f4
Signed-off-by: George Verhaegen <verhaegen@google.com>
2024-06-10 17:05:11 +01:00
Android Build Coastguard Worker
eacd1170cb Snap for 11947112 from 2e7593c784 to mainline-tzdata6-release
Change-Id: Ibb95880e8e3eadb51d82e517341471567718b804
2024-06-10 10:11:50 +00:00
Android Build Coastguard Worker
bbf012fb01 Snap for 11944020 from 2e7593c784 to 24Q3-release
Change-Id: Ib24b07897a4f99232334cc48f9ac65bd777b1872
2024-06-08 01:01:36 +00:00
Xin Li
2e7593c784 [automerger skipped] Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future am: 896a728433 -s ours
am skip reason: Merged-In I3c429fb5b476b4023b0bbe6174b096cf61dbf8cc with SHA-1 b50cdb7c73 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/27554773

Change-Id: I43db9878a982cfbbe01b68d91e35082d3d7e0a66
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-06-06 21:36:32 +00:00
Xin Li
896a728433 Merge 2024-06 Release (ab/AP2A.240605.024) to aosp-main-future
Bug: 343100748
Merged-In: I3c429fb5b476b4023b0bbe6174b096cf61dbf8cc
Change-Id: I1cda57f2fe6f2cabbdab38b73b8025bc035b523c
2024-06-05 14:12:12 -07:00
Ankur Bakshi
be8299afa7 Update Akita SVN to 15
Bug: 336526332
Change-Id: I86942ff5e49632bc7813b895d19c7bc8a554ff81
2024-06-05 20:24:01 +00:00
Ankur Bakshi
e88cb1b292 Update Akita SVN to 14
Bug: 336526332
Change-Id: I33aa4b1b2b00f4345b02a1c0e8ab8c77de6a0437
2024-06-05 20:22:56 +00:00
Ankur Bakshi
dfd155f5f0 Update Akita SVN to 13
Bug: 336526332
Change-Id: I58d0f6263c5d73ec3c18d3532464e94e71100bc7
2024-06-05 20:21:12 +00:00
Peter (YM)
a8b2380667 thermal: Move TPU to the VSKIN-SOC PID loop
Bug: 345115917
Test: run TPU test
Change-Id: I13ec28e2046398f6d019c3f30833b21fc8607e47
Signed-off-by: Peter (YM) <peterym@google.com>
2024-06-05 07:25:49 +00:00
Ankur Bakshi
f482f4a83a Update Akita SVN to 12
Bug: 336526332
Change-Id: If2b1a9b5daa7aa1f207906025ac9493fc66dfb5e
2024-06-05 01:55:26 +00:00
Ankur Bakshi
ea5dd2637c Update Akita SVN to 11
Bug: 336526332
Change-Id: I7df163d0597f4327ef1748157e1607e2d89e705c
2024-06-05 01:53:55 +00:00
Android Build Coastguard Worker
3758477bd2 Snap for 11919022 from 6d94b15559 to mainline-tzdata6-release
Change-Id: I27230f324fe3f4c7459ea58ab0f02793ee0a627d
2024-06-03 15:29:49 +00:00
Android Build Coastguard Worker
f7e2880615 Snap for 11914274 from 6d94b15559 to 24Q3-release
Change-Id: Ied0c8a8dc1c857e3d58377d3bd55cf59b896b646
2024-06-01 01:01:17 +00:00
Android Build Coastguard Worker
25e74369fe Snap for 11915075 from 6d94b15559 to 24Q4-release
Change-Id: I55f87695dfbd8791da6a66ad770edf19666a006c
2024-06-01 01:01:14 +00:00
Android Build Coastguard Worker
dd5d64bd75 Snap for 11908474 from da09fc70f5 to 24Q3-release
Change-Id: Iea5e78bdc25755818653e2e689f9e1f90576812a
2024-05-30 23:01:24 +00:00
Xin Li
6d94b15559 [automerger skipped] akita: only depend on vendor/ project if they are present. am: d27454c170 -s ours
am skip reason: Merged-In I52d615ccedbd3a3f504a6be2d607808516c1af86 with SHA-1 4c6e4c7d94 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/27607889

Change-Id: Ic43b320d9018988999021414d73c8ded9cdb0391
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-30 21:48:17 +00:00
Xin Li
d27454c170 akita: only depend on vendor/ project if they are present.
Bug: 317784824
Merged-In: I52d615ccedbd3a3f504a6be2d607808516c1af86
Change-Id: I6db75201d4bb3c9a675447f9f0f106af5ae191dd
2024-05-30 17:40:12 +00:00
Treehugger Robot
da09fc70f5 Merge "Switch makefile owners to MK_OWNERS" into main 2024-05-30 08:16:16 +00:00
Android Build Coastguard Worker
2d5fd353a8 Snap for 11902131 from 8b992f0e4a to 24Q3-release
Change-Id: I8533a89db2a5c01e24f24c6397321786d269b37d
2024-05-29 23:01:25 +00:00
kuanyuhuang
8b992f0e4a BT: LE Audio use phase 3 configuration
Show LE Audio toggle at Bluetooth detailed device setting.

Bug: 340135622
Test: check system property and LEA toggle
Change-Id: I31837d980d602100d169102e51dccd9fd96c31c7
2024-05-29 01:58:37 +00:00
Cyan_Hsieh
a1c5570236 Switch makefile owners to MK_OWNERS
Bug: 278167548
Change-Id: I49eb74361be6c0ddf7a609b4615f6bdf45e47b51
2024-05-24 15:51:53 +08:00
Android Build Coastguard Worker
153ca333ec Snap for 11881322 from ca7afe5937 to 24Q3-release
Change-Id: I22ce7e0d87474546400aace8e0d4d1cf243ba691
2024-05-23 23:01:22 +00:00
Treehugger Robot
ca7afe5937 Merge "audio: remove unused device" into main 2024-05-23 07:57:30 +00:00
Android Build Coastguard Worker
1dc3eabf89 Snap for 11876238 from 627e1b1b7b to 24Q3-release
Change-Id: I65444260429b7bd4cd7004d0708dc4dcd8fe5323
2024-05-22 23:01:52 +00:00
Xin Li
627e1b1b7b [automerger skipped] Merge Android 24Q2 Release (ab/11526283) to aosp-main-future am: 434cde7a85 -s ours
am skip reason: Merged-In I4dbca2b8e90af67ce064c0a1e82807636b7c76a8 with SHA-1 63e7b91d44 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/27273957

Change-Id: I653f5c47a034793039a1e19963f769ce34fb1005
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-21 18:07:41 +00:00
Android Build Coastguard Worker
424a790432 Snap for 11865526 from 4179e825aa to 24Q3-release
Change-Id: I95ef678b84000761f71916cf4f886a27849e648f
2024-05-21 01:01:20 +00:00
Ravi Jain
4179e825aa Merge "Vibrator: Set Soong Config variable - kernel_ver" into main 2024-05-20 11:00:39 +00:00
Ravi Jain
878142e02e Vibrator: Set Soong Config variable - kernel_ver
Bug: 340148508
Test: Build and check fw files in all devices.
Change-Id: Iced0ba4a08a67f4331bc9250e7ffbbac5b287fdb
2024-05-20 06:50:58 +00:00
Android Build Coastguard Worker
aded75edb2 Snap for 11860797 from 2c6690acea to 24Q3-release
Change-Id: Ie938565742f63e2ea29a6f77b907084ad423d4e5
2024-05-18 23:01:06 +00:00
Android Build Coastguard Worker
c69d36f92d Snap for 11859356 from ee1df72223 to 24Q3-release
Change-Id: Ia357a96645960ba36f4f5c7fd4f6fd5b05e195bb
2024-05-18 03:01:15 +00:00
Android Build Coastguard Worker
5fdd0fe9b7 Snap for 11859356 from 981c6b6734 to 24Q3-release
Change-Id: I1ce6a02ebd3323e35d64eb025a83d8b3123c4450
2024-05-18 03:01:14 +00:00
Priyanka Advani
2c6690acea Merge "Revert "sepolicy: allow hal_wlcservice call"" into main 2024-05-18 02:38:06 +00:00
Priyanka Advani
626ad63d26 Revert "sepolicy: allow hal_wlcservice call"
This reverts commit ad84dce67a.

Reason for revert: Droidmonitor triggered revert due to b/341384716. Will be verifying through ABTD before submission.

Change-Id: Id489407a31e7b5ca7681b1d17f5ef1b69d4d34a4
2024-05-18 00:34:36 +00:00
leonardian
8e122fc2d1 conf: Enable access for braking time sysfs nodes
Sysfs nodes:
- braking_time_bank
- braking_time_index
- braking_time_ms

Bug: 325121485
Test: Open sysfs nodes successfully during HAL init
Change-Id: If26123e51df8de5d1d5a4f54d880e756fbe5b7b3
Signed-off-by: leonardian <leonardian@google.com>
2024-05-17 12:05:44 +00:00
YiKai Peng
ee1df72223 Merge "sepolicy: allow hal_wlcservice call" into main 2024-05-17 04:04:02 +00:00
Cheng Chang
981c6b6734 Merge "gps: Add libcustomgnss library to dependency" into main 2024-05-17 02:42:18 +00:00
YiKai Peng
ad84dce67a sepolicy: allow hal_wlcservice call
avc:  denied  { call } for  comm="servicemanager" scontext=u:r:servicemanager:s0 tcontext=u:r:hal_wlcservice:s0 tclass=binder permissive=0

Bug: 341014314
Test: SELinuxUncheckedDenialBootTest
Change-Id: I681867d46ca35fbb008119bbb0b86bc0f26dae39
Signed-off-by: YiKai Peng <kenpeng@google.com>
2024-05-17 02:12:56 +00:00
Android Build Coastguard Worker
66835f843d Snap for 11853201 from 5e0ef7b6cc to 24Q3-release
Change-Id: I7171d41993e9d3dd77aa2a8fdf38dd62112f0fe1
2024-05-17 01:01:07 +00:00
Treehugger Robot
5e0ef7b6cc Merge "gps: update gps 4.13.2_13" into main 2024-05-16 16:44:44 +00:00
Edwin Tung
09a58ab0da gps: update gps 4.13.2_13
Fix SUPL over WIFI when no WWAN ID
Add fault_reqest_watch_thread flag
SETCaps_SuplUT1=20
Make sure onStart() and onStop() are received in GnssStatus.Callback
incr hw_clock_discontinuity_count
select_abortable_abort() enhancement to avoid race condition
Only request CellInfo of current air interface for GED phone
Fix gnssd and gnss service crash issues

Bug: 336398796
Bug: 335898054
Bug: 315212984
Bug: 336736850
Bug: 317832296
Bug: 334719512
Bug: 333845107
Bug: 333831102
Bug: 336965237
Bug: 332026502
Bug: 331733053
Bug: 335594718

Test: b/339756841
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: Id75e023fdd1cb24eeba322cbbe346527a4a0b030
2024-05-16 10:45:06 +00:00
Cheng Chang
8d55b28a5f gps: Add libcustomgnss library to dependency
Bug: 340977648
Test: Verification boot-health at b/340977648#comment2
Test: Verification the function has been called by gnss.
Change-Id: I72dedc36512361446b9f9132a57b552366991e87
2024-05-16 06:40:43 +00:00
Cheng Chang
a6ee1c723c sepolicy: allow gnssd access modem_state
avc:  denied  { read } for  name="modem_state" dev="sysfs" ino=77641 scontext=u:r:gnssd:s0 tcontext=u:object_r:sysfs_modem_state:s0 tclass=file
avc:  denied  { open } for path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=77641 scontext=u:r:gnssd:s0 tcontext=u:object_r:sysfs_modem_state:s0 tclass=file
avc:  denied  { getattr } for path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=77641 scontext=u:r:gnssd:s0 tcontext=u:object_r:sysfs_modem_state:s0 tclass=file

Bug: 340977648
Test: Verification boot-health at b/340977648#comment2
Test: Verification the function has been called by gnss.
Change-Id: I7b8e53cc4bfe0c2170a4d0346a48c996a5f41dcd
2024-05-16 06:40:19 +00:00
Android Build Coastguard Worker
dc56f44fc3 Snap for 11847214 from 0cf26e3add to 24Q3-release
Change-Id: I913f3dbbc7460e604f37452d8597202dd9b1ecd1
2024-05-16 01:01:45 +00:00
Cyan Hsieh
0cf26e3add Merge "Update bootloader pdk folder and soong config" into main 2024-05-15 14:01:34 +00:00
Android Build Coastguard Worker
1834849530 Snap for 11840485 from a0f2e941ae to 24Q3-release
Change-Id: I4253db065c5b613368f84bafc3bce41c60cd338e
2024-05-14 23:01:27 +00:00
Treehugger Robot
a0f2e941ae Merge "Update the idle timer setting" into main 2024-05-14 09:51:45 +00:00
Shin-Yu Wang
b50cdb7c73 Update the idle timer setting
Bug: 337823087
Test: adb shell getprop | grep set_idle_timer_ms
Change-Id: I3c429fb5b476b4023b0bbe6174b096cf61dbf8cc
2024-05-14 08:42:48 +00:00
Android Build Coastguard Worker
745f28465c Snap for 11834877 from 8745414fb8 to 24Q3-release
Change-Id: Ib12a5f176e1d80e7371cf25edaaaecc8e4cdff2b
2024-05-13 23:01:26 +00:00
Cheng Chang
8745414fb8 sepolicy: allow hal_contexthub_defaultto connect to hal_gnss_pixelL
avc:  denied  { call } for  scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0

Bug: 339391267
Test: Verified the boot health at b/339391267#comment21.
Change-Id: I2b545d23d1429ae7bc1c9e3e1d0a72099d0ad4b3
2024-05-10 09:17:30 +00:00
Android Build Coastguard Worker
190743de80 Snap for 11822896 from 1465824c62 to 24Q3-release
Change-Id: I0de5921f2616b585850b8a85fdb3fdf7f6878dde
2024-05-09 23:06:01 +00:00
Carter Hsu
1465824c62 Merge "audio: enable safe media volume for US" into main 2024-05-09 01:23:52 +00:00
Android Build Coastguard Worker
02c7934a3e Snap for 11816316 from ab38b9e239 to 24Q3-release
Change-Id: I180d2b51dcfdf53f0146df81472ce8f3cebd8a45
2024-05-08 23:01:26 +00:00
Android Build Coastguard Worker
fac47f5994 Snap for 11816316 from c6add0f92e to 24Q3-release
Change-Id: I37515bd35393f2432e4fbb86d563601e5debd14f
2024-05-08 23:01:25 +00:00
Cheng Chang
c6add0f92e gps: Merge akita pixel-gnss mk to vendor folder
Bug: 332204989
Test: Health boot check at b/332204989#comment36
Test: Verification test at b/332204989
Change-Id: I74d16be8e04b99b8a765955ca330799149db9d2b
2024-05-07 09:45:19 +00:00
Cheng Chang
ab38b9e239 gps: Merge akita pixel-gnss sepolicy to gs-common folder
Bug: 332204989
Test: Health boot check at b/332204989#comment36
Test: Verification test at b/332204989.
Change-Id: Id8801b90a2b5927329a7dc558f0bc29c2d4609ed
2024-05-07 09:44:09 +00:00
Xin Li
434cde7a85 Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I4dbca2b8e90af67ce064c0a1e82807636b7c76a8
Change-Id: Id072cbd8323fc9b04b5ce1f3986f9e44e51f1624
2024-05-06 12:09:14 -07:00
Cyan_Hsieh
3f280cf422 Update bootloader pdk folder and soong config
Bug: 333834221
Change-Id: I092c42eb89d6afcdaf2797118ea5fe28fbd3a984
2024-05-06 16:40:31 +08:00
Android Build Coastguard Worker
b014935cc3 Snap for 11800966 from b0910805c0 to 24Q3-release
Change-Id: I960a0453209429c686c9516e39d120250219ac40
2024-05-04 01:01:35 +00:00
Android Build Coastguard Worker
f93f1e7fe9 Snap for 11800966 from cf048bff49 to 24Q3-release
Change-Id: I20ec1719d43dcd6393bfc875b246073961737a3b
2024-05-04 01:01:35 +00:00
Edwin Tung
cf048bff49 gps: update gps configuration
disable requestRefLocCb to prevent incorrect cell info
re-enabling OTDOA

Bug: 336760721
Bug: 329779403

Test: Config change works
Change-Id: Ia92f06403c11dd04776be768b5087526b589ffb3
2024-05-03 08:48:05 +00:00
Android Build Coastguard Worker
174b445f05 Snap for 11794304 from e1e2dc3141 to 24Q3-release
Change-Id: Icbe9b85c006d192e3b7998d8f12c6b8bf325b018
2024-05-02 23:01:21 +00:00
Priyanka Advani
b0910805c0 Revert "sepolicy: Allow PixelGnss to connect to Chre HAL" am: 413d3b1d43
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/27192522

Change-Id: I2b4fed1f5770c556ed01fccb82ddc552ff0aa732
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-02 19:54:21 +00:00
Priyanka Advani
413d3b1d43 Revert "sepolicy: Allow PixelGnss to connect to Chre HAL"
Revert submission 27007604-pps_topic

Reason for revert: Droid-monitor created revert due to breakages in b/338407263. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:27007604-pps_topic

Change-Id: Ice972552ad50f7af883dc0491426797da78f8918
2024-05-02 16:28:13 +00:00
Cheng Chang
e1e2dc3141 sepolicy: Allow PixelGnss to connect to Chre HAL am: d1f3ee501f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/26784208

Change-Id: I68f567426d974c86ae3aadf9379152f992d5cef3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-02 13:36:24 +00:00
Qian-Hao Huang
7afe66f80d Load fips140.ko before all other kernel modules
Bug: 337838109
Bug: 331791671
Change-Id: I65c3fde7fd179b506a5a2eea45b7c2ef7a7fa956
Signed-off-by: Qian-Hao Huang <qhhuang@google.com>
2024-05-02 13:17:13 +00:00
Carter Hsu
c96fa57cfc audio: enable safe media volume for US
Bug: 337063847
Test: build pass
Change-Id: I2f5f824f00d1133d387b1fa8bc1e620a43ada07e
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-05-02 03:18:29 +00:00
Android Build Coastguard Worker
e4b6fb3d9c Snap for 11784291 from a81a7fe882 to 24Q3-release
Change-Id: I5a96e48a8b2bd196f6217da98ef656e436daa2b8
2024-04-30 23:02:10 +00:00
Treehugger Robot
a81a7fe882 Merge "Convert p23_common/preloaded_nanoapps.json's .mk file to Android.bp." into main 2024-04-30 05:37:46 +00:00
Treehugger Robot
380ac57aaf Merge "Add system property for concurrent encryption on LE and BR/EDR" into main 2024-04-30 02:00:49 +00:00
Android Build Coastguard Worker
3f7db1c15f Snap for 11772614 from f739c25468 to 24Q3-release
Change-Id: Id36b4f28b74f0ba4661c996b6c3b8eeb85efc92c
2024-04-27 01:01:17 +00:00
Carter Hsu
e174b5d285 audio: remove unused device
Bug: 337191827
Test: build pass
Change-Id: I9e3b01866d78562f6cc63cea8ba6d9d580d89f70
Signed-off-by: Carter Hsu <carterhsu@google.com>
2024-04-27 02:10:30 +08:00
Android Build Coastguard Worker
13c140eacf [coastguard skipped] Merge sparse cherrypicks from sparse-11769257-L79400030003436782 into 24Q3-release.
COASTGUARD_SKIP: Ia974980806a797dfffd5684097053be93674787c
COASTGUARD_SKIP: Ifa5a6fe4393e7a3a4cb16aff2a09322903f9b78c

Change-Id: I52d156c2a7473aa29e991294f704725d983a3445
2024-04-26 18:10:08 +00:00
Android Build Coastguard Worker
cd7fe890ea Merge cherrypicks of ['googleplex-android-review.googlesource.com/27024258'] into sparse-11769257-L79400030003436782.
SPARSE_CHANGE: Ifa5a6fe4393e7a3a4cb16aff2a09322903f9b78c

Change-Id: Ia974980806a797dfffd5684097053be93674787c
2024-04-26 18:05:42 +00:00
Edwin Tung
47d19b7197 gps: update gps 4.13.2_8
Extend buffer size inside SIT API sitGpsSuplLppPrsInfoSet for larger messages
Provide the option of ignoring SUPL_INIT altogether for testing purposes

Bug: 321191652

Test: b/335776551
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8bb99b0451d78f75f93f6c80aa4fdb22d12128b5)
Merged-In: Ifa5a6fe4393e7a3a4cb16aff2a09322903f9b78c
Change-Id: Ifa5a6fe4393e7a3a4cb16aff2a09322903f9b78c
2024-04-26 18:02:15 +00:00
Ankur Bakshi
f739c25468 Merge "Update Akita SVN to 10" into main 2024-04-26 12:43:59 +00:00
Nelson Li
3d903d28ad Convert p23_common/preloaded_nanoapps.json's .mk file to Android.bp.
p23_common includes 4 devices: `ripcurrent`, `shiba`, `husky`, and
`akita`.

Since `preloaded_nanoapps.json` has different configurations for
`factory` products and `non-factory` products, `soong_namespace {}`
needs to be added to the converted Android.bp file to avoid misuse.

Additionally, due to ag/27008138, ag/27046793, ag/27008143, and
ag/27056982, a common inheritance layer has been added to all
`non-factory` products. Therefore, setting different
`PRODUCT_SOONG_NAMESPACES` in the corresponding `<DEVICE>_generic.mk`
and `factory_<DEVICE>.mk` files will allow factory products and
non-factory products to use different preloaded_nanoapps.json.

Bug: 332219400
Test: 1. lunch <device_name>-trunk_staging-userdebug && \
         m -j preloaded_nanoapps.json
      2. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
         It should be the <device_name> version.
      3. lunch factory_<device_name>-trunk_staging-userdebug && \
         m -j preloaded_nanoapps.json
      4. Check ./out/target/product/<device_name>/.../preloaded_nanoapps.json
         It should be the factory version.
Change-Id: Ib33c71773617f7a20b3af982f6140f8f8da0ced4
2024-04-26 06:36:07 +00:00
Thomas Girardier
ef8eac078c Merge "Revert "[BT] Disable BT auto on"" into main 2024-04-26 04:02:59 +00:00
Treehugger Robot
972879ad9b Merge "Refactor product inheritance for akita products" into main 2024-04-26 04:02:19 +00:00
Treehugger Robot
98c88426bf Merge "Adpf:akita: revert heuristic boost triggering condition." into main 2024-04-26 02:42:19 +00:00
Nelson Li
b518294be1 Refactor product inheritance for akita products
Add an additional layer of inheritance for `aosp_akita`, and
`aosp_akita_fullmte`.

This change adds a common layer of inheritance (akita_generic.mk)
for non-factory products. This makes it easier to configure factory
and non-factory products differently.

Non-factory `akita` products now inherits from
`device/google/akita/akita_generic.mk` which inherit from
`device/google/akita/device-akita.mk`.

aconfig flags: Flag: EXEMPT mechanical refactoring
build flags: Flag: EXEMPT mechanical refactoring

Bug: 332219400
Bug: 335565718
Test: lunch aosp_akita-trunk_staging-userdebug && m
      lunch aosp_akita_fullmte-trunk_staging-userdebug && m

Change-Id: Id98e494f8262e0dfe76349369d2e5c0c34eaaa2b
2024-04-26 02:36:28 +00:00
Android Build Coastguard Worker
485f5a12b1 Snap for 11766482 from 8bb99b0451 to 24Q3-release
Change-Id: I5e0c70b63559d4afb7d87f165a24e2a7935356fa
2024-04-25 23:01:22 +00:00
guibing
1dc6a9f589 Adpf:akita: revert heuristic boost triggering condition.
This reverts previous JankCheckTimeFactor from 1.43 to 1.2.

Since the current reported duration doesn't include the GPU
part, the JankCheckTimeFactor needs to be smaller for matching
jank frame detection.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.Ipower/default;
      check adpf sessions' traces.
Change-Id: Ia90372cf08ddc31bfa527553b81e78084ac73f48
2024-04-25 22:51:37 +00:00
Thomas Girardier
2a81201051 Revert "[BT] Disable BT auto on"
This reverts commit 12a88bd045.

Reason for revert: Auto On has been approved for 24Q3

Change-Id: Ie08238680e2dda30345a5c289b5080e20c674862
2024-04-25 16:22:32 +00:00
Edwin Tung
8bb99b0451 gps: update gps 4.13.2_8
Extend buffer size inside SIT API sitGpsSuplLppPrsInfoSet for larger messages
Provide the option of ignoring SUPL_INIT altogether for testing purposes

Bug: 321191652

Test: b/335776551
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: Ifa5a6fe4393e7a3a4cb16aff2a09322903f9b78c
2024-04-25 08:50:50 +00:00
Cheng Chang
d1f3ee501f sepolicy: Allow PixelGnss to connect to Chre HAL
avc:  denied  { call } for  scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0

Bug: 330120749
Test: Verify PixelGnss HAL can connect to Chre HAL.
Test: Function test verification b/330120749.
Test: b/330120749#comment24 health boot check.
Test: b/330120749#comment25 health boot check.
Change-Id: Ida89c542e8dc4ce29011357255385a0661962e16
2024-04-25 07:49:38 +00:00
Android Build Coastguard Worker
b6da1854a5 Snap for 11753769 from c02917b1ca to 24Q3-release
Change-Id: I04b26fad03a08d1bbccba2999b6d986b7abac32e
2024-04-23 23:01:51 +00:00
Ankur Bakshi
dfdf978353 Update Akita SVN to 10
Bug: 336526332
Change-Id: I4edbb23d8fbc5e8d470902447b20f656b54f1c35
2024-04-23 15:30:05 +00:00
Treehugger Robot
c02917b1ca Merge "gps: update gps 4.13.2_7" into main 2024-04-23 01:27:05 +00:00
Android Build Coastguard Worker
2f1060eea9 Snap for 11746631 from d636aef04c to 24Q3-release
Change-Id: I45b1a2a0124cca9f86a0cb41c4c9900497c61172
2024-04-22 23:01:15 +00:00
Treehugger Robot
d636aef04c Merge "gps: Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET" into main 2024-04-22 06:48:25 +00:00
Android Build Coastguard Worker
fd4e319453 Snap for 11740859 from 6d72feab29 to 24Q3-release
Change-Id: I000c9cced1b55b5bacbcdf71c0889980f60da85e
2024-04-20 01:01:18 +00:00
Treehugger Robot
6d72feab29 Merge "Switch bootloader directory to control by build flag" into main 2024-04-19 06:38:46 +00:00
Edwin Tung
a830dda071 gps: Disable RILC_REQ_GPS_GNSS_LPP_PROFILE_SET
Disabling RILC_REQ_GPS_GNSS_LPP_PROFILE_SET

Bug: 317209136
Test: Gnss Sanity test pass
Change-Id: Ibe08a25eadaaccc167066ca9c877f2ffbc04888c
2024-04-19 13:39:09 +08:00
Treehugger Robot
95584ee8c9 Merge "adpf:akita: update hboost jank check time factor." into main 2024-04-19 02:32:32 +00:00
guibing
cbeff97fef adpf:akita: update hboost jank check time factor.
Update it to align with the HWUI target duration scale factor,
so the adjusted jank check time duration is same as expected frame
timeline's duration.

HWUI target duration scale factor is 70%, and its inverse value is
approximately 1.43.

Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: Ia5b1090d54cd5b8c9490813a8ba74532a50f2b8a
2024-04-18 22:54:09 +00:00
Cyan_Hsieh
da4e047520 Switch bootloader directory to control by build flag
Bug: 333834221
Change-Id: I895a1492c7215334e992e39f6fbf6e612ea140cd
2024-04-18 16:47:01 +08:00
Android Build Coastguard Worker
722559205c Snap for 11728787 from d522a7d1e6 to 24Q3-release
Change-Id: I434c7555df43b5f297c4ca30bc9c96eaa74222db
2024-04-17 23:02:42 +00:00
Android Build Coastguard Worker
a7207aed4d Snap for 11722130 from 80b97eb058 to 24Q3-release
Change-Id: I6f1db338aa20af71d031be1e97cd088235286aac
2024-04-16 23:01:36 +00:00
Benson Li
40dcd72a81 Add system property for concurrent encryption on LE and BR/EDR
Bug: 330704060
Change-Id: Iec3a8395031a4d837f11a960216a6e76aa339c7a
Test: make
2024-04-16 05:51:56 +00:00
Juyu Chen
d522a7d1e6 audio: update opus support format
Bug: 329872757
Test: cts tests
Change-Id: I3f83b1afa740dfec3a80b2c488900455d3f9420f
Signed-off-by: Juyu Chen <juyuchen@google.com>
2024-04-16 04:05:41 +00:00
Wei Wang
80b97eb058 Merge "adpf:akita: add hboost junk detection time factor into power hint json files." into main 2024-04-16 03:50:58 +00:00
Charles Yo
d5ad12acf5 Merge "Switch default kernel directory and change build flag naming" into main 2024-04-16 01:34:49 +00:00
guibing
2d10d8f4c3 adpf:akita: add hboost junk detection time factor into power hint json files.
Bug: 204204746
Test: adb shell dumpsys android.hardware.power.IPower/default;
      Check the device adpf sessions' traces.
Change-Id: I702d835376123985bd042e5d42180eb5558226ff
2024-04-16 00:12:16 +00:00
Android Build Coastguard Worker
38baf389a8 Snap for 11712589 from 174082bf11 to 24Q3-release
Change-Id: Ic22123720d832d0b252a8b3cffbe8079f7fac3da
2024-04-13 21:01:08 +00:00
Treehugger Robot
174082bf11 Merge "akita: Add heuristic boost configs in power hint json files." into main 2024-04-13 01:33:50 +00:00
Clint Chen
2303ee5e84 Merge "Enable build flag versioning for radio" into main 2024-04-13 01:24:31 +00:00
guibing
8783aa3573 akita: Add heuristic boost configs in power hint json files.
Bug: 204204746
Test: Power hal launches in device without configuration parsing issue.
Change-Id: I04a43fab7f866ed4aa516f7b538cb39e7b1942a7
2024-04-12 23:02:11 +00:00
Cyan_Hsieh
02b6cd4d38 Switch default kernel directory and change build flag naming
Bug: 309749142
Change-Id: I3af9d15d38631fbaf854a9d13efe96bb42a81b52
2024-04-12 17:33:47 +08:00
Android Build Coastguard Worker
7d0c64e4a7 Snap for 11704135 from 87bf047646 to 24Q3-release
Change-Id: I6376fa9ab3e0064d6dba705987d86e09066322e4
2024-04-11 23:01:20 +00:00
Wei Wang
87bf047646 Merge "Disable auto prefer idle explictly for some conditions" into main 2024-04-11 16:19:03 +00:00
Clint Chen
cf356ea39c Enable build flag versioning for radio
Bug:333678577
Change-Id: I9b7c83ab2f0278ae09f171ce47f398ee2cc82eb2
2024-04-11 11:09:37 +00:00
Tom Huang
e062b97532 Merge "[BT] Disable BT auto on" into main 2024-04-11 08:07:56 +00:00
Rick Yiu
290188c349 Disable auto prefer idle explictly for some conditions
In auto prefer idle mode, a task in top-app will be granted prefer
idle if it satisfied the conditions. So turn auto prefer idle off
if top-app prefer_idle is explictly disabled. Also turn auto prefer
off when other group enables prefer_idle explictly.

Bug: 236868627
Test: build pass
Change-Id: I539c3e65720e3496859bce9a752d13432b62a59a
2024-04-11 07:57:11 +00:00
kuanyuhuang
12a88bd045 [BT] Disable BT auto on
Bug: 333830110
Test: build and check system property
Change-Id: I38c6ee0f7aa76b4f8e00ae700a2686a7dcb86fcc
2024-04-11 06:35:22 +00:00
Android Build Coastguard Worker
473b0b2452 Snap for 11697857 from 81f54c3c80 to 24Q3-release
Change-Id: I47b01b0ff0b838fa90725287f808078a1aa50afe
2024-04-10 23:01:16 +00:00
Treehugger Robot
81f54c3c80 Merge "powerhint.json: enable gpu capacity signalling." into main 2024-04-10 19:31:10 +00:00
Ankur Bakshi
58e78e1e9f Merge "Update Akita SVN to 9" into main 2024-04-10 02:20:06 +00:00
Ankur Bakshi
ebd75fde22 Update Akita SVN to 9
Bug: 330382848
Change-Id: I5b1e74d710ce6211f1fe1b67cb59b9b4837ab6f9
2024-04-09 14:13:03 +00:00
Edwin Tung
cf48db5512 gps: update gps 4.13.2_7
Prioritize sending position response in HM
Set CHPP BETP batching nav cycle state to false during unexpected HM_GNSSMain
CHPP BETP Batching Improvements
Add logging for pos resp latency measurement
Handle RTC 32bit rollover for RTC time aiding on Host side
Host should get RTC frequency just once
Report engine status on modem crash/reset/Report GNSS stop status early
fix precise time retry assert
Reduce GNSS startup wait-for-CP time
Provide configuration to toggle ril libraries
Cleanup Coverity warnings, wrong dates, units

Bug: 320565299
Bug: 313128858
Bug: 329012293
Bug: 318809134
Bug: 301029126
Bug: 330911260
Bug: 330911260
Bug: 312855779

Test: b/333463720
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I71ddb56aa41fad4612e564adb67c439cf4dea6e7
2024-04-09 09:12:24 +08:00
Android Build Coastguard Worker
91bb44359d Snap for 11685790 from c5dccb5daa to 24Q3-release
Change-Id: I7f699aa8f905b180069e5f7da3cede42bd514187
2024-04-08 23:01:21 +00:00
Kevin DuBois
75b4436cdc powerhint.json: enable gpu capacity signalling.
Enables a signal indicating that the app has janked as
detected by the ADPF API.

Test: perf / power tests
Bug: 290625326
Change-Id: Ifb1a4b8ece24fdf1685ce40b0902a8e1486886d9
2024-04-08 11:30:59 -07:00
Yabin Cui
c5dccb5daa [automerger skipped] akita: add etm modules in userdebug/eng builds am: bef467381d -s ours
am skip reason: Merged-In I615df22dd435bb560dbf6c32f8146ce189d5c649 with SHA-1 dbb204bad3 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26859913

Change-Id: I8f28d1049d6470199adcc7c4b4839ad6a22d0aba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-08 16:34:23 +00:00
Tom Huang
7a6a58189e Merge "[BT] Add BqrEventMaskValueUpdate at overlay config" into main 2024-04-08 11:16:53 +00:00
kuanyuhuang
6a6a6d4f69 [BT] Add BqrEventMaskValueUpdate at overlay config
Use BqrEventMaskValueUpdate on BT overlay config to update BQR mask.

Test: build and check config file
Bug: 333340762
Change-Id: I9a9884efed98098a39cacfaf21cc250fbbc9fdbb
2024-04-08 09:32:13 +00:00
Cyan_Hsieh
78b20d0e41 Update Akita SVN to 8 am: bf23011f27
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26848778

Change-Id: If20d6cac9722b4789167dfc0b29dab8177215f7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-08 07:19:12 +00:00
Cyan_Hsieh
4fe6e1c318 Update Akita SVN to 7 am: b48319f378
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26848777

Change-Id: Iaa394f0232f90bd9dbe69b0f94081db813c044f9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-08 07:19:08 +00:00
Ankur Bakshi
4db958f766 [automerger skipped] Update Akita SVN to 6 am: 194d205f34 -s ours
am skip reason: Merged-In I26a571af5599bf664d513cca8ad7b161024d137b with SHA-1 8a5262e57c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26848776

Change-Id: Ie69ca002cfa1ed0f9d2776a2e660a902d20f80c9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-08 07:19:04 +00:00
Cyan_Hsieh
bf23011f27 Update Akita SVN to 8
Bug: 325984251
Change-Id: I1045994dad8112ab07b341cce6474d2f07a3c66d
2024-04-08 10:55:54 +08:00
Cyan_Hsieh
b48319f378 Update Akita SVN to 7
Bug: 325984251
Change-Id: Ifa6fcf862ec5cbd01a8e46571634f0dddee406ea
2024-04-08 10:55:19 +08:00
Ankur Bakshi
194d205f34 Update Akita SVN to 6
Bug: 330382848
Merged-In: I26a571af5599bf664d513cca8ad7b161024d137b
Change-Id: I26a571af5599bf664d513cca8ad7b161024d137b
(cherry picked from commit 8a5262e57c)
2024-04-08 02:51:24 +00:00
Android Build Coastguard Worker
dc63d7048e Snap for 11681105 from 16436c06dd to 24Q3-release
Change-Id: I8a6af25c7668c73f7fb694685d886c73612a9ae1
2024-04-06 21:01:09 +00:00
Android Build Coastguard Worker
5031d2c574 Snap for 11679388 from 58b3cfa952 to 24Q3-release
Change-Id: I3ed9dc66b2dde52a864426594161a6d440696707
2024-04-06 01:01:16 +00:00
Yabin Cui
bef467381d akita: add etm modules in userdebug/eng builds
Bug: 321061072
Test: build and run on device
Change-Id: I615df22dd435bb560dbf6c32f8146ce189d5c649
Merged-In: I615df22dd435bb560dbf6c32f8146ce189d5c649
2024-04-05 16:53:39 -07:00
Yabin Cui
16436c06dd Merge "akita: add etm modules in userdebug/eng builds" into main 2024-04-05 23:51:39 +00:00
Yabin Cui
dbb204bad3 akita: add etm modules in userdebug/eng builds
Bug: 321061072
Test: build and run on device
Change-Id: I615df22dd435bb560dbf6c32f8146ce189d5c649
2024-04-05 12:29:35 -07:00
Baligh Uddin
58b3cfa952 Adjust PRODUCT_RELEASE_CONFIG_MAPS due to refactor. am: 4c6e4c7d94
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26845417

Change-Id: Ia58f15fe0218a67199126bf927630973a559b721
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-04-05 13:49:52 +00:00
Baligh Uddin
4c6e4c7d94 Adjust PRODUCT_RELEASE_CONFIG_MAPS due to refactor.
The vendor/google_devices/release/phones is being re-arranged
per plans in go/flag-plow.  This change reflects that refactor.

BUG: 331306267
Test: TH
Change-Id: I52d615ccedbd3a3f504a6be2d607808516c1af86
2024-04-05 01:24:52 +00:00
Android Build Coastguard Worker
7622cc975a Snap for 11666018 from 85071a713b to 24Q3-release
Change-Id: Ib92455ae1294f70f490305450689917b72b2b3f9
2024-04-03 23:01:19 +00:00
Edwin Tung
85071a713b Merge "gps: update gps 4.13.2_5" into main 2024-04-02 23:51:13 +00:00
Android Build Coastguard Worker
de0008925d Snap for 11654651 from d47455f725 to 24Q3-release
Change-Id: Ibc4db79e4682aa979066bd03664914d3b920d575
2024-04-01 23:01:09 +00:00
Treehugger Robot
d47455f725 Merge "audio: add opus support for decoded offload" into main 2024-04-01 10:16:09 +00:00
Treehugger Robot
7517cccccc Merge "audio: remove non-supported analog headset" into main 2024-04-01 08:54:54 +00:00
Android Build Coastguard Worker
519561f73b Snap for 11648291 from f99c7509d8 to 24Q3-release
Change-Id: I6c8f33521dedfe41501f884475c4c1be6d7b7913
2024-03-30 01:01:30 +00:00
Mike Wang
f99c7509d8 Merge "Move the sysfs_modem_state context defination to the gs-common" into main 2024-03-29 15:16:19 +00:00
Robert Lee
03314f83e3 audio: add opus support for decoded offload
Bug: 331892597
Test: builds
Change-Id: I7177c661c37866cb0784adab360252aabe1926fc
Signed-off-by: Robert Lee <lerobert@google.com>
2024-03-29 08:39:36 +00:00
Android Build Coastguard Worker
3f86aff112 Snap for 11641371 from e412f13b34 to 24Q3-release
Change-Id: I98fd9a164e4589eb037b14c67fc1edeff896958f
2024-03-28 23:01:15 +00:00
Priyanka Advani
7a0ed6e8ea Revert "sepolicy: Allow PixelGnss to connect to Chre HAL" am: ee7637c438
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/26750104

Change-Id: I0400689190d9b8757530e342208c3de61a9b7a31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-28 20:20:53 +00:00
Priyanka Advani
ee7637c438 Revert "sepolicy: Allow PixelGnss to connect to Chre HAL"
Revert submission 26593083-lassen_pps

Reason for revert: Culprit for test breakages in b/331680556. Will be verifying through ABTD for confirmation and before submitting the revert.

Bug: b/331680556
Reverted changes: /q/submissionid:26593083-lassen_pps

Change-Id: I8d9f5b6dcf799c428f9689949a3c6989d2ac07a0
2024-03-28 19:53:27 +00:00
Edwin Tung
e437af7006 gps: update gps 4.13.2_5
Faster MCW blackout recovery with gnss restart
Fix No PVT Android Sv state due to no tropo estimate
Update global time btw fixes to account for new fixes

Bug: 328548679
Bug: 324865265
Bug: 326283803

Test: b/331520473
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I6eb93b3267492dddd587064ce5454f49623f6b14
2024-03-28 14:23:58 +08:00
Edwin Tung
e412f13b34 Merge "gps: update gps 4.13.1_57" into main 2024-03-28 05:47:56 +00:00
Android Build Coastguard Worker
2dec13ae42 Snap for 11635697 from 8a5262e57c to 24Q3-release
Change-Id: If1cf7bc1ee5d27f08df41f8b7a358140ecad7b89
2024-03-27 23:01:39 +00:00
mikeyuewang
2c9701677c Move the sysfs_modem_state context defination to the gs-common
Bug: 331202327

Change-Id: I417b953db2c2deeac25bcc8f1b0675fa41419242
2024-03-27 17:40:05 +00:00
vincenttew
829d1e81c9 audio: remove non-supported analog headset
Bug: 329470379
Change-Id: I0aa2f22039c8dd42326c10b543b59a885ea17e1a
Signed-off-by: vincenttew <vincenttew@google.com>
2024-03-27 11:27:05 +08:00
Ankur Bakshi
8a5262e57c Update Akita SVN to 6
Bug: 330382848
Change-Id: I26a571af5599bf664d513cca8ad7b161024d137b
2024-03-26 20:16:13 +00:00
Android Build Coastguard Worker
29ae8a15ab Snap for 11623990 from af52e82460 to 24Q3-release
Change-Id: Ib9572cf2b0e5ea4c9ff0e0a5c09b73c548a3dd81
2024-03-25 23:01:31 +00:00
Android Build Coastguard Worker
e2c0bf7783 Snap for 11623990 from 481b7638b5 to 24Q3-release
Change-Id: I3c8a857f769d52772362c37d2726488e76c558ca
2024-03-25 23:01:31 +00:00
Wei Wang
481b7638b5 Merge "Change set preferred idle mask to top-app" into main 2024-03-25 15:47:50 +00:00
Cheng Chang
af52e82460 sepolicy: Allow PixelGnss to connect to Chre HAL am: d64a87cc93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/26627527

Change-Id: I7c49ac3ada3573f458ccaae099e8eeaec19fecde
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-25 13:09:33 +00:00
Cyan Hsieh
9aa0edb9b0 Merge "Branch bootloader prebuilts for 24Q3 release" into main 2024-03-25 09:15:28 +00:00
Cheng Chang
d64a87cc93 sepolicy: Allow PixelGnss to connect to Chre HAL
avc:  denied  { call } for  scontext=u:r:hal_contexthub_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0

Bug: 316227249
Test: Verify PixelGnss HAL can connect to Chre HAL.
Change-Id: Ia957163eee7c6db726087ed16a2512e1d5cdf556
2024-03-25 06:58:40 +00:00
Android Build Coastguard Worker
1241252e72 Snap for 11610847 from 96a5e6426d to 24Q3-release
Change-Id: Ic4f2d42227fa8d3a833066a3a257df80652a7955
2024-03-21 23:01:10 +00:00
Android Build Coastguard Worker
18799ae5d4 Snap for 11607654 from 96a5e6426d to mainline-tzdata6-release
Change-Id: I73457615d1c89a336049d1c51c1a4b1f79453e50
2024-03-21 12:26:28 +00:00
Gil Liu
96a5e6426d Merge "update ssc_en permission" into main 2024-03-21 11:18:47 +00:00
Cyan_Hsieh
c3e1eff3c9 Branch bootloader prebuilts for 24Q3 release
Bug: 326002225
Change-Id: I2449804b85e68806f91ac4cf62d5138bf25bf7ff
2024-03-21 17:54:29 +08:00
Edwin Tung
ee2b8c9ea8 gps: update gps 4.13.1_57
Resolve VTS for TestSvStatusIntervals case failure

Bug: 324175898

Test: b/330663119
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I645df430ccde479cc0af8ce1099691da8d8f6cdd
2024-03-21 15:36:48 +08:00
Android Build Coastguard Worker
517bb803d3 Snap for 11591048 from a3b34fdd63 to 24Q3-release
Change-Id: I14fd9c14c24824315397a4c3316ccf306a8db0f2
2024-03-18 23:01:19 +00:00
Nina Chen
a3b34fdd63 Merge "Change the rule to specify kernel directory with release configurations" into main 2024-03-18 03:47:37 +00:00
Nina Chen
cd6bd05873 Change the rule to specify kernel directory with release configurations
Bug: 326879772
Change-Id: I1e377eb309ccae7c864d21a7b829216288a2c617
2024-03-15 14:36:05 +08:00
Android Build Coastguard Worker
d55be68b92 Snap for 11578433 from 01be5963d8 to 24Q3-release
Change-Id: I91cf92cbe9786ba850dba6b185e18ec3219d648e
2024-03-14 23:05:54 +00:00
Sam Paradis
01be5963d8 Change FACE_UNLOCK_BOOST to Maximize CPU Frequency am: 33ed42523d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26566696

Change-Id: Iff9835a897b14ddd6f3a325e2ac74cc543c3e53a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-13 23:29:14 +00:00
Sam Paradis
33ed42523d Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I04f68a608da8bd4e06fd28d1f212c14bfea6dfa2
2024-03-13 17:12:22 +00:00
Android Build Coastguard Worker
fcb0684ee8 Snap for 11565217 from 7fe342f7a4 to 24Q3-release
Change-Id: I4a9fd7dbed90fcc8545df70f0091d70750832484
2024-03-12 23:01:31 +00:00
Weichin Weng
7fe342f7a4 Merge "Add BT offload config into bt_vendo_overlay" into main 2024-03-12 00:17:40 +00:00
Android Build Coastguard Worker
3b767e35ab Snap for 11558480 from 845ef80b75 to 24Q3-release
Change-Id: I777c596a6db43759578ab8e7f8201da97e803cc6
2024-03-11 23:01:09 +00:00
Sam Paradis
1f54b6c5c9 Merge "Change FACE_UNLOCK_BOOST to Maximize CPU Frequency" into main 2024-03-11 20:40:52 +00:00
gilliu
65b3fdee68 update ssc_en permission
Bug: 322125172
Test: RIL can access the sysfs node
Change-Id: I27cfc1831306d12d539191690c8271d6aa885ff7
2024-03-11 08:38:15 +00:00
Cyan_Hsieh
845ef80b75 Update SVN to 5 am: 9b39028c6d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26497912

Change-Id: Ifff3d7a2dfba65478ff305fa98b6cda0780944ba
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-11 03:55:48 +00:00
Cyan_Hsieh
cde16761f6 Update SVN to 4 am: 5ae3d5b142
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26497911

Change-Id: I416dc3c57d92d2f3dca55602ac2e06fd33d157cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-11 03:55:45 +00:00
Cyan_Hsieh
fc602c0ba6 Update SVN to 3 am: 867af53ab3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26497910

Change-Id: I02152e90e767079ce8d16d16b461f0e773e05f9d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-11 03:55:43 +00:00
Android Build Coastguard Worker
3e264b5e65 Snap for 11551442 from 577ab9fe50 to 24Q3-release
Change-Id: Id0be8d9a668116f9f242921f7ecdf2285f8b8091
2024-03-09 02:01:28 +00:00
Sam Paradis
486d3cf0db Change FACE_UNLOCK_BOOST to Maximize CPU Frequency
This is part of an optimization that limits the length and prevelance of
this power hint. Strict, ultra-agression minimizes power and latency
versus always-on mid aggression.

Bug: 297964952
Change-Id: I04f68a608da8bd4e06fd28d1f212c14bfea6dfa2
2024-03-09 01:55:49 +00:00
Cyan_Hsieh
9b39028c6d Update SVN to 5
Bug: 325984251
Change-Id: I3979563afdd12ea9d660a5fcaa555ca96c4ae0b3
2024-03-08 16:20:53 +08:00
Cyan_Hsieh
5ae3d5b142 Update SVN to 4
Bug: 325984251
Change-Id: I5b688365c34c86516ce6edc3b35566133112207c
2024-03-08 16:20:03 +08:00
Cyan_Hsieh
867af53ab3 Update SVN to 3
Bug: 325984251
Change-Id: I65ff3d19ceb2a5897f582bcdb2056fe06548b0b0
2024-03-08 15:33:45 +08:00
Ravi Jain
27d9d57b3f dumpstate: touch: Init using touch_predump
More details at go/touch_predump

Test: Test locally on test device and check predump_touch works.
Bug: 287907308
Change-Id: I9c0aad368ab4f8e7572aaff78159e6809b8baadc
Signed-off-by: Ravi Jain <raviajain@google.com>
2024-03-08 04:58:52 +00:00
Jiaming Liu
577ab9fe50 Enable WM Extensions on Akita am: f7c3c85775
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26481939

Change-Id: Id191b8d81af6b5ed643d6825d3cc75d387257865
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-08 02:20:57 +00:00
Jiaming Liu
f7c3c85775 Enable WM Extensions on Akita
Bug: 325321407
Test: Build

Change-Id: I49a7c5b396aeae46137ebf28c9b7db6d9e811a44
2024-03-08 00:56:48 +00:00
Android Build Coastguard Worker
e38bbe1fc8 Snap for 11540345 from 7a58f6350f to 24Q3-release
Change-Id: I76ab6f90471c4bf7301b0f2584870bd01a7f0977
2024-03-07 01:50:59 +00:00
Treehugger Robot
7a58f6350f Merge "gps: update gps 4.13.1_56" into udc-qpr-dev am: a35822598e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita/+/26392607

Change-Id: Ia252af1b38c07965b720f616a69dad04bf5deed6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-03-06 12:50:03 +00:00
Treehugger Robot
a35822598e Merge "gps: update gps 4.13.1_56" into udc-qpr-dev 2024-03-06 11:57:44 +00:00
Android Build Coastguard Worker
cbb9fa52b8 Snap for 11533280 from 1400c14667 to 24Q3-release
Change-Id: I077c6dbfe20781f82443aeda8b7668004d5148cf
2024-03-06 00:01:17 +00:00
kuanyuhuang
1400c14667 BT: set system property for Bluetooth Auto On
Set bluetooth.server.automatic_turn_on true for Bluetooth Auto On
feature.
The feature will be enabled with both system property and flag set.

Bug: 328168965
Test: check system property value
Change-Id: Id82ab96d5e9d4043c134387a06105e6caab9e200
2024-03-05 07:31:44 +00:00
Android Build Coastguard Worker
4ab1627f3e Snap for 11526283 from b574bd9a46 to 24Q3-release
Change-Id: Iafbf167ce9381e1b31635eca31d8241ae758035b
2024-03-05 00:25:13 +00:00
Android Build Coastguard Worker
d746676d9a Snap for 11520864 from 6c82b0853f to 24Q3-release
Change-Id: I762033d84f354ad39cc14916afc7460eb71969b1
2024-03-02 02:01:41 +00:00
Android Build Coastguard Worker
c8ba3318c0 Snap for 11517216 from 7f20518c90 to 24Q3-release
Change-Id: Ic10e4dd7ce28688c13e6e565c4950afc8c2757ee
2024-03-01 00:01:59 +00:00
Edwin Tung
24c204cbd3 gps: update gps 4.13.1_56
Add carrier specific configuration item to toggle UP/CP OTDOA

Bug: 326526317

Test: b/326504793
atest CtsLocationGnssTestCases
atest VtsHalGnssTargetTest

Change-Id: I05a9fe64ebd34af9f9020fe7c20d334ef01984da
2024-02-28 10:59:46 +08:00
Android Build Coastguard Worker
80cdb0be1f Snap for 11504269 from 45e8f50a29 to 24Q3-release
Change-Id: I64f1254f4aaff04977257b14c2d95b6224dcd50e
2024-02-28 00:02:03 +00:00
Android Build Coastguard Worker
4304e8c543 Snap for 11498354 from e694bdb168 to 24Q3-release
Change-Id: Ie12fc003aae2a622a113b506218b8d01dfbd8502
2024-02-27 00:01:25 +00:00
Android Build Coastguard Worker
ca6415d111 Snap for 11492556 from eb378fb10a to 24Q3-release
Change-Id: I3361a4c6698280aea1fb2f960ecac16beead63b5
2024-02-24 02:16:02 +00:00
Android Build Coastguard Worker
6d9d32297c Snap for 11486189 from 815b733a55 to 24Q3-release
Change-Id: I054858197a14022ad40ee229ca3934acccbc2438
2024-02-23 00:01:58 +00:00
Android Build Coastguard Worker
1cb91c312a Snap for 11479750 from 51e9138a2e to 24Q3-release
Change-Id: I8318d209167c2c0aff08e15d21617125ac674d62
2024-02-22 00:02:17 +00:00
Android Build Coastguard Worker
5752652b44 Snap for 11472972 from 120ca3fad3 to 24Q3-release
Change-Id: I94db2fad500334dcfa50e370b15bf84f06d1b01d
2024-02-21 00:02:16 +00:00
weichinweng
18b76635dc Add BT offload config into bt_vendo_overlay
bug: 287672291
bug: 323464810
Test: BT off/on when BT CHRE enabled/disabled
Change-Id: Iee27e067bb691e79196058b860235543ec64b4fd
2024-02-20 09:26:55 +00:00
Android Build Coastguard Worker
a6da5d6b94 Snap for 11469542 from e6ff532540 to 24Q3-release
Change-Id: I2fb9b35136eb1e64541c80d60eef6a1cd3a5c121
2024-02-20 00:01:45 +00:00
Android Build Coastguard Worker
ee407d4feb Snap for 11463929 from 55a26dd8a5 to 24Q3-release
Change-Id: I144b38c14cd90c2fb5a50ab32ed6c42a2ee0d0bd
2024-02-17 02:02:15 +00:00
Android Build Coastguard Worker
fd405192d1 Snap for 11449429 from bbff46e7f8 to 24Q3-release
Change-Id: Iece2d6206afe2ee267b8494c072349280aeb6a9e
2024-02-15 00:01:44 +00:00
Rick Yiu
1d71e4f027 Change set preferred idle mask to top-app
Set default value to 0xff to exclude big core for all priorities, but
restore high and mid to 0x1ff when app launch.

Bug: 248621289
Test: value set correctly
Change-Id: I4f3b800b6fda1baabe7e924b8191ebab29c08fd6
2024-02-06 08:14:10 +00:00
Ken Yang
6df3cdacbb [automerger skipped] selinux: label the I2C 0x36 0x69 wakeup node am: 920e2cc3d6 am: dc3ab3174d -s ours
am skip reason: Merged-In I6971dfcbc9bf0eeae5620eb280a5af2f623be54e with SHA-1 bbf47c75cf is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25868963

Change-Id: Iced90f01e976651ab75bc5cecd04b8b0572d61a9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 09:22:20 +00:00
Ken Yang
dc3ab3174d selinux: label the I2C 0x36 0x69 wakeup node am: 920e2cc3d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25868963

Change-Id: I9104fe04cf35962a55a2df4ab04d4e3fc1cda7e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 08:34:28 +00:00
Ken Yang
026df07b9a [automerger skipped] selinux: label the I2C 0x36 0x69 wakeup node am: 4175f1cfde am: 04627ae9c5 -s ours
am skip reason: Merged-In I05f0d910d684854929205f001041755dfa7648aa with SHA-1 70054ef36c is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25859540

Change-Id: I2df1b2cf40311f5ced8775f16f724946d0d3d3b0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 05:36:16 +00:00
Ken Yang
04627ae9c5 selinux: label the I2C 0x36 0x69 wakeup node am: 4175f1cfde
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25859540

Change-Id: Ib6898a028613d21ee91680425c3433e7d1185ba6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 04:31:05 +00:00
Ken Yang
920e2cc3d6 selinux: label the I2C 0x36 0x69 wakeup node
1. add the additional 10 and 11 I2C address
2. correct the bus id from 10c90000 to 10cb0000

Bug: 316561238
Change-Id: I6971dfcbc9bf0eeae5620eb280a5af2f623be54e
Merged-In: I6971dfcbc9bf0eeae5620eb280a5af2f623be54e
Signed-off-by: Ken Yang <yangken@google.com>
2024-01-12 04:24:40 +00:00
Ken Yang
bbf47c75cf selinux: label the I2C 0x36 0x69 wakeup node
1. add the additional 10 I2C address
2. correct the bus id from 10c90000 to 10cb0000

Bug: 316561238
Signed-off-by: Ken Yang <yangken@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5a7f8ab5ac5272bcabd850c39b30cce679001932)
Merged-In: I6971dfcbc9bf0eeae5620eb280a5af2f623be54e
Change-Id: I6971dfcbc9bf0eeae5620eb280a5af2f623be54e
2024-01-12 03:15:28 +00:00
Ken Yang
4175f1cfde selinux: label the I2C 0x36 0x69 wakeup node
Bug: 316561238
Change-Id: I05f0d910d684854929205f001041755dfa7648aa
Merged-In: I05f0d910d684854929205f001041755dfa7648aa
Signed-off-by: Ken Yang <yangken@google.com>
2024-01-11 04:17:34 +00:00
Ken Yang
70054ef36c selinux: label the I2C 0x36 0x69 wakeup node
Bug: 316561238
Signed-off-by: Ken Yang <yangken@google.com>
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d4feec6a39a07d5d43233a8858a675b1359b448d)
Merged-In: I05f0d910d684854929205f001041755dfa7648aa
Change-Id: I05f0d910d684854929205f001041755dfa7648aa
2024-01-11 04:15:46 +00:00
Jack Wu
2597333531 [automerger skipped] SELinux: fix avc denials am: a8cd93be09 am: 912c13b4b7 -s ours
am skip reason: Merged-In Ib0b8383158aa5ef987ca03a6951bab378c48dbd4 with SHA-1 c2ff1a167b is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25755027

Change-Id: I69cca8e42ceacfcf94d8e467309c96236e6ee8b7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-29 03:49:55 +00:00
Jack Wu
912c13b4b7 SELinux: fix avc denials am: a8cd93be09
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25755027

Change-Id: I90e1a9dcef4a9dbb1d0207145dd013259aa218a5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-29 03:19:58 +00:00
Jack Wu
a8cd93be09 SELinux: fix avc denials
Fix the avc denials for sysfs_wakeup

bug: 317314288
Test: no avc denials for sysfs_wakeup
Change-Id: Ib0b8383158aa5ef987ca03a6951bab378c48dbd4
Merged-In: Ib0b8383158aa5ef987ca03a6951bab378c48dbd4
Signed-off-by: Jack Wu <wjack@google.com>
2023-12-27 07:43:44 +00:00
Jack Wu
c2ff1a167b SELinux: fix avc denials
Fix the avc denials for sysfs_wakeup

bug: 317314288
Test: no avc denials for sysfs_wakeup
Change-Id: Ib0b8383158aa5ef987ca03a6951bab378c48dbd4
Signed-off-by: Jack Wu <wjack@google.com>
2023-12-27 15:41:08 +08:00
Jack Wu
22e231b72d SELinux: fix avc denials
Fix the avc denials for sysfs_wakeup

bug: 317314288
Test: no avc denials for sysfs_wakeup
Change-Id: Ib3eaee7216b91e8e58a71e017bdcddca8c43a801
Signed-off-by: Jack Wu <wjack@google.com>
2023-12-26 09:34:59 +00:00
Treehugger Robot
3158e2d46e Merge "Revert "allow vendor init to access percpu_pagelist_high_fraction"" into main 2023-11-27 01:45:54 +00:00
Cheng Chang
0da0d6c1af sepolicy: allow hal_gnss_default call am: f438970a99 am: 0684e61ccb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25446022

Change-Id: Ia4a149652ee4966ceb7d738466a66e6205796db5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-24 12:29:44 +00:00
Cheng Chang
0684e61ccb sepolicy: allow hal_gnss_default call am: f438970a99
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25446022

Change-Id: I7ebb825c62673fc0e8e74c30a6cfddfb25d4b6a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-24 11:58:18 +00:00
Cheng Chang
f438970a99 sepolicy: allow hal_gnss_default call
avc:  denied  { call } for  comm="servicemanager"
scontext=u:r:servicemanager:s0 tcontext=u:r:hal_gnss_default:s0
tclass=binder permissive=0

Bug: 312647680
Test: verify no avc denied with patch
Change-Id: If9b02634dd34ec5ca5300f4d110725b99345df5e
2023-11-23 00:58:43 +00:00
Martin Liu
0470d3d03c Revert "allow vendor init to access percpu_pagelist_high_fraction"
This reverts commit 83d9e5bd31.

Bug: 309409009
Reason for revert: move to common pixel policy ag/25305147

Change-Id: Ia1f40f02dd6ce8575356a578dc6b14094428a1d7
2023-11-21 09:33:28 +00:00
Darren Hsu
846c562d3e sepolicy: allow hal_power_stats to read GPS files am: adb42e4290 am: f688bcc60e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24677347

Change-Id: I12125ee29d4a9fd6aeb3e1729db5d8738b28ba73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 09:05:04 +00:00
Darren Hsu
f688bcc60e sepolicy: allow hal_power_stats to read GPS files am: adb42e4290
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24677347

Change-Id: Ib20c62afe9107e5765c9198ff33d9d09f68380dd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-15 08:34:58 +00:00
Treehugger Robot
0eaa882878 Merge "allow vendor init to access percpu_pagelist_high_fraction" into main 2023-11-10 03:14:25 +00:00
Martin Liu
83d9e5bd31 allow vendor init to access percpu_pagelist_high_fraction
Bug: 309409009
Test: boot
Change-Id: Ie5b10d435f043da635b4de8d50ff01f6f221c119
Signed-off-by: Martin Liu <liumartin@google.com>
2023-11-10 10:18:28 +08:00
Darren Hsu
adb42e4290 sepolicy: allow hal_power_stats to read GPS files
avc:  denied  { search } for  name="gps" dev="dm-46" ino=373
scontext=u:r:hal_power_stats_default:s0
tcontext=u:object_r:vendor_gps_file:s0 tclass=dir permissive=0

Bug: 289764363
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ie362e06c51c87c34c11551d3b13278d21c7222fc
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-11-08 02:35:50 +00:00
Treehugger Robot
e707e07235 [automerger skipped] Merge "[DO NOT MERGE] allow vendor init to access percpu_pagelist_high_fraction" into udc-qpr-dev am: 467d378ae4 am: a59caa830d -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25280883

Change-Id: Ie3bc110da3ed45e1aba98670406b4b717d225ee0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 02:20:35 +00:00
Martin Liu
d9e7a7abc1 [automerger skipped] [DO NOT MERGE] allow vendor init to access percpu_pagelist_high_fraction am: 3a5a9ab8c0 am: 2d26bdeecd -s ours
am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25280883

Change-Id: Ic11867b42b7abffc8415424093243be57297bfe9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 02:20:32 +00:00
Treehugger Robot
a59caa830d Merge "[DO NOT MERGE] allow vendor init to access percpu_pagelist_high_fraction" into udc-qpr-dev am: 467d378ae4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25280883

Change-Id: I7fe5af7c9c3e1a750e9f0945b81998ebe1c3b8a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 01:42:43 +00:00
Martin Liu
2d26bdeecd [DO NOT MERGE] allow vendor init to access percpu_pagelist_high_fraction am: 3a5a9ab8c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25280883

Change-Id: I6d9d9aafb6bd3929d5e4bbbbba7f06ce80f5273b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-08 01:42:40 +00:00
Treehugger Robot
467d378ae4 Merge "[DO NOT MERGE] allow vendor init to access percpu_pagelist_high_fraction" into udc-qpr-dev 2023-11-08 01:20:26 +00:00
Cheng Chang
8722b4cbe6 gps: Allow hal_gnss_pixel toggle coredump node am: 82ddd40aeb am: a7d7e6d944
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25229055

Change-Id: I18fb493f3c365e6ba14cc88b95a46a135673a840
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 10:54:44 +00:00
Cheng Chang
a7d7e6d944 gps: Allow hal_gnss_pixel toggle coredump node am: 82ddd40aeb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25229055

Change-Id: I17ba97826a98760dce40c967065b717d62049f4b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-07 10:16:14 +00:00
Martin Liu
3a5a9ab8c0 [DO NOT MERGE] allow vendor init to access percpu_pagelist_high_fraction
Bug: 309409009
Test: boot
Change-Id: Iec26ef9650d06f265bf484d66cec0ef4bb365bee
Signed-off-by: Martin Liu <liumartin@google.com>
2023-11-07 15:46:51 +08:00
Cheng Chang
82ddd40aeb gps: Allow hal_gnss_pixel toggle coredump node
Bug: 308527972
Test: b/308527972#comment12
Change-Id: I9060ce551b42a3c1f1482bbe734dec393ff48de5
2023-11-02 23:25:37 +00:00
Treehugger Robot
83e72138ec Merge "gps: allow hal_gnss_default to use coredump node" into udc-qpr-dev am: 09c658415f am: f65707cb65
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25030388

Change-Id: Ie269d04adfdf7d51c7bdc2ab1181c0179d8e09ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 12:57:44 +00:00
Treehugger Robot
f65707cb65 Merge "gps: allow hal_gnss_default to use coredump node" into udc-qpr-dev am: 09c658415f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25030388

Change-Id: I78ea9a897ebbdfc065d73dfe39f7d1ef7e8daee4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-31 12:24:45 +00:00
Treehugger Robot
09c658415f Merge "gps: allow hal_gnss_default to use coredump node" into udc-qpr-dev 2023-10-31 12:00:06 +00:00
Cheng Chang
41202d39da gps: allow hal_gnss_default to use coredump node
Bug: 307461066
Test: b/307461066 verified the SIGABRT/SIGSEGV signal
Test: b/307461066 verification test
Change-Id: I46aa1450cb42c5e7e3d5a01dabae499f2af46b26
2023-10-25 08:04:44 +00:00
Avinash Malipatil
07c53a3298 SEPolicy change to allow ImsMedia to set priority of audio threads. am: 79c86953ca am: be2cac8910
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25123539

Change-Id: I7a18fbc155d977136c23036217e9e354dd470223
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 03:21:13 +00:00
Avinash Malipatil
be2cac8910 SEPolicy change to allow ImsMedia to set priority of audio threads. am: 79c86953ca
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25123539

Change-Id: Ie003d2d620faa0fac18b2971c8539ba2dbd1c8ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-25 02:53:37 +00:00
Avinash Malipatil
79c86953ca SEPolicy change to allow ImsMedia to set priority of audio threads.
Setting real-time thread priority for audio threads is a must to handle voice stream during vowifi calls.

AVC Error: auditd  : avc:  denied  { find } for pid=9346 uid=1001 name=scheduling_policy scontext=u:r:radio:s0 tcontext=u:object_r:scheduling_policy_service:s0 tclass=service_manager permissive=0

Bug: 306298801

Test: adb shell 'ps -Tl -p '
Change-Id: I69742ae8c5f1017fc45e24c417fc6e1875fe3e14
2023-10-23 14:48:48 +00:00
Jacky Liu
67550d367a Update sepolicy for new static i2c bus numbers
Bug: 305242309
Test: Boot to home
Change-Id: I0d819246d9e8859a720a711368a1d01100607f65
2023-10-23 14:28:10 +08:00
Ken Yang
2b138648af SELinux: fix wakeup selinux issue
Bug: 305600876
Change-Id: I6335c8a5e16c6fb3287a533c56a78c712c9cbc1b
Signed-off-by: Ken Yang <yangken@google.com>
2023-10-20 12:28:27 +00:00
Ken Yang
60c5f59d49 Revert "SELinux: fix wakeup selinux issue"
This reverts commit 9b6820b26f.

Reason for revert: duplicated SELinux entries in zuma-sepolicy

Change-Id: I059f64483702de033c698e5f21810aba0cb4f3e1
2023-10-20 09:36:35 +00:00
Ken Yang
9b6820b26f SELinux: fix wakeup selinux issue
Bug: 305600876
Change-Id: I4be4254eb511b283a48bd6d561745e920e568ef0
Signed-off-by: Ken Yang <yangken@google.com>
2023-10-20 05:45:16 +00:00
Alan Chen
7f7c1cabeb [automerger skipped] Allow gril to use radio ext aidl am: c723e3e5a2 am: a06f6aec98 -s ours
am skip reason: Merged-In If72630b90eb1f15a832a936cd080604a486cd17f with SHA-1 32e2b620d1 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25109723

Change-Id: Ide00a776de463cbecd670292b88c10d60aa3bd55
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 05:21:21 +00:00
Alan Chen
a06f6aec98 Allow gril to use radio ext aidl am: c723e3e5a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25109723

Change-Id: I9a9b218342e459cadd1880f038506627c93a5e7f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-20 04:19:29 +00:00
Alan Chen
c723e3e5a2 Allow gril to use radio ext aidl
These changes are copied from the reverted commit
2d635d58d3 (ag/24847488).

Bug: 285459428
Test: manual - verified there are no avc denied logs
Change-Id: If72630b90eb1f15a832a936cd080604a486cd17f
Merged-In: If72630b90eb1f15a832a936cd080604a486cd17f
2023-10-19 08:32:58 +00:00
Alan Chen
32e2b620d1 Allow gril to use radio ext aidl
These changes are copied from the reverted commit
2d635d58d3 (ag/24847488).

Bug: 285459428
Test: manual - verified there are no avc denied logs
Change-Id: If72630b90eb1f15a832a936cd080604a486cd17f
2023-10-18 03:57:06 +00:00
Shinru Han
f36237cfee gps: Allow vendor_init set gps property am: aeb740e7c4 am: 1cd4799530
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25068816

Change-Id: I126208700ff0dc1e7e9b6e053bdae433c0db9ee8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-18 03:36:34 +00:00
Shinru Han
1cd4799530 gps: Allow vendor_init set gps property am: aeb740e7c4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/25068816

Change-Id: I4cf8d9527eaa49386233240965ef886da5c8abab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-18 02:51:55 +00:00
Shinru Han
aeb740e7c4 gps: Allow vendor_init set gps property
W /system/bin/init: type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc:  denied  { set } for property=persist.vendor.gps.hal.service.name pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_gps_prop:s0 tclass=property_service permissive=0'

Test: gps property is present on user build
Test: atest VtsHalGnssTargetTest on user build
Bug: 305162098
Change-Id: Ic56413182d0d721a1543b3b510e17f39813c7ad3
2023-10-17 08:12:48 +00:00
Wilson Sung
8664ef6d50 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 305600460
Bug: 305600876
Change-Id: I110045274188a16264a90317d208c8b895addcb0
2023-10-16 05:59:40 +00:00
Cheng Chang
f4886a36cc gps: add sepolicy to coredump node am: 1ee114f4d7 am: d42a620d41
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24918561

Change-Id: I3f6440accd1b4930d89db93fbfe78be164807d5d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 16:23:44 +00:00
Cheng Chang
d42a620d41 gps: add sepolicy to coredump node am: 1ee114f4d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24918561

Change-Id: Id9c4b2ad71d998d96e46b7d0b459241b2f22b98c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-05 15:51:45 +00:00
Cheng Chang
1ee114f4d7 gps: add sepolicy to coredump node
Bug: 303343788
Test: b/303343788 verified the SIGABRT/SIGSEGV signal
Change-Id: I5587f632d4cbd2d9210e37c08a19981fb9967a80
2023-10-05 02:47:11 +00:00
Sam Dubey
9af43574a6 Merge "Revert "Allow selinux for gril to use radio ext aidl"" into main 2023-10-04 15:41:04 +00:00
Sam Dubey
1a7ca8326d Merge "Revert "Allow selinux for gril to use radio ext aidl"" into udc-qpr-dev am: befa27b85e am: ff4852d13b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24940170

Change-Id: I1a1e5d6839fe445b84097b5bb7508e9a4d65f948
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 15:38:53 +00:00
Sam Dubey
8f7a6dba89 Revert "Allow selinux for gril to use radio ext aidl"
Revert submission 24799507-ak3_ssc_aidl

Reason for revert: Broke next target, b/303392497

Reverted changes: /q/submissionid:24799507-ak3_ssc_aidl

Change-Id: Ib2a84012f953683308b906193e457ef8a479867f
Merged-In: Ib2a84012f953683308b906193e457ef8a479867f
2023-10-04 15:32:19 +00:00
Sam Dubey
ff4852d13b Merge "Revert "Allow selinux for gril to use radio ext aidl"" into udc-qpr-dev am: befa27b85e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24940170

Change-Id: I284004786847d02e2204cd4522aaa3c4b18a52ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 15:07:44 +00:00
Sam Dubey
befa27b85e Merge "Revert "Allow selinux for gril to use radio ext aidl"" into udc-qpr-dev 2023-10-04 14:34:18 +00:00
Sam Dubey
31d1e1160b Revert "Allow selinux for gril to use radio ext aidl"
Revert submission 24799507-ak3_ssc_aidl

Reason for revert: Broke next target, b/303392497

Reverted changes: /q/submissionid:24799507-ak3_ssc_aidl

Change-Id: Ib2a84012f953683308b906193e457ef8a479867f
2023-10-04 13:11:40 +00:00
Shinru Han
35bef58909 Merge "gps: pixel gnss aidl service (sepolicy)" into udc-qpr-dev am: 4f1985f354 am: 77968195f7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24498897

Change-Id: If423bc3a872e6596e4748eb548e64614fca38bdd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 09:57:50 +00:00
Shinru Han
77968195f7 Merge "gps: pixel gnss aidl service (sepolicy)" into udc-qpr-dev am: 4f1985f354
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24498897

Change-Id: I4fd76a5167e91da8b74a796882a165627aa2412b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 09:29:42 +00:00
Shinru Han
4f1985f354 Merge "gps: pixel gnss aidl service (sepolicy)" into udc-qpr-dev 2023-10-04 09:06:22 +00:00
Alan Chen
447a66dd74 Allow selinux for gril to use radio ext aidl am: 2d635d58d3 am: b61356877e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24847488

Change-Id: Iadf8b8f46f98cff587c5b404adc75759525f3c63
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 08:54:09 +00:00
Alan Chen
b61356877e Allow selinux for gril to use radio ext aidl am: 2d635d58d3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24847488

Change-Id: Id43467a31c048ab95206d2dab355d6e1eceace73
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-04 08:24:13 +00:00
Shinru Han
69d9e01e8a gps: pixel gnss aidl service (sepolicy)
avc:  denied  { call } for  scontext=u:r:servicemanager:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0
avc:  denied  { call } for  scontext=u:r:hal_gnss_pixel:s0 tcontext=u:r:hal_gnss_default:s0 tclass=binder permissive=0
avc:  denied  { call } for  scontext=u:r:hal_gnss_default:s0 tcontext=u:r:hal_gnss_pixel:s0 tclass=binder permissive=0
avc:  denied  { read } for  name="modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc:  denied  { open } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc:  denied  { getattr } for  path="/sys/devices/platform/cpif/modem_state" dev="sysfs" ino=66325 scontext=u:r:hal_gnss_pixel:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1

Bug: 298924540
Test: No avc deny
Change-Id: I77ec1cb171781dd3c671a975a5c049a48d5bcccb
2023-10-03 08:53:15 +00:00
Alan Chen
2d635d58d3 Allow selinux for gril to use radio ext aidl
Test: manual - verified there are no avc denied logs
Bug: 285459428
Change-Id: I38c88d82860f37e34772b786a8940db02dc17ac6
2023-10-03 05:22:32 +00:00
Edwin Tung
ca875aa18e gps: gnss aidl service (sepolicy) am: 76686f69d9 am: 325b59f289
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24896011

Change-Id: I00e3ba4fde73cb1ff7c6b29bf5ce1f232b098acb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-02 11:12:30 +00:00
Edwin Tung
325b59f289 gps: gnss aidl service (sepolicy) am: 76686f69d9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24896011

Change-Id: I73578c52b62fd16cbf662fde3ee6e5a0205d3bc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-10-02 10:06:30 +00:00
Edwin Tung
76686f69d9 gps: gnss aidl service (sepolicy)
avc:  denied  { read } for  name="u:object_r:vendor_gps_prop:s0" dev="tmpfs" ino=372 scontext=u:r:hal_gnss_default:s0 tcontext=u:object_r:vendor_gps_prop:s0 tclass=file permissive=0

Bug: 295810526
Test: No avc denied
Change-Id: I686cd19143dc58706af8b43a4b87a73e23a43fd3
2023-09-29 11:59:47 +08:00
Desmond Huang
d6637d93a5 Relocate common tracking denial entries
Bug: 299029620
Change-Id: Id520cd37bedb9b7507396f0fae24e4b6f4fe3dbf
2023-09-15 03:39:14 +00:00
Desmond Huang
f081cedad0 Remove obsolete entries
Bug: 299029620
Change-Id: I6edb77911ee0d63188bf1aa54d4162480e9a7f71
2023-09-15 03:36:57 +00:00
Edwin Tung
3efe11595b Merge "gps: remove permissive gnssd hal_gnss_default" into udc-qpr-dev am: c3faae21ea am: 0a3ae091b7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24687594

Change-Id: Ia1b85d95b6da331a8e800642a2e95ee460560461
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 18:07:25 +00:00
Edwin Tung
0a3ae091b7 Merge "gps: remove permissive gnssd hal_gnss_default" into udc-qpr-dev am: c3faae21ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24687594

Change-Id: Ie1321e117e10cbdbf269ad0c1fffe128140db181
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 17:17:07 +00:00
Edwin Tung
c3faae21ea Merge "gps: remove permissive gnssd hal_gnss_default" into udc-qpr-dev 2023-09-11 16:43:34 +00:00
Wilson Sung
fa64780395 Update SELinux error am: dfe9efa9ff am: a3021b472e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24687591

Change-Id: I5a368cf822e7370a0efef87ee0b58cc2a0765bce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 07:46:50 +00:00
Wilson Sung
a3021b472e Update SELinux error am: dfe9efa9ff
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24687591

Change-Id: I3d9f65f78f2256b8921d6c714a33e4ff1ce6f648
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-08 06:53:46 +00:00
Edwin Tung
3ffbeda496 gps: remove permissive gnssd hal_gnss_default
Bug: 265391808
Test: gnss works
Change-Id: Ib4f2dd73255d333930a4d8ad0884b3f54c5f0f0a
2023-09-08 12:04:09 +08:00
Wilson Sung
dfe9efa9ff Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 299553682
Bug: 299553227
Change-Id: I1a40d2c1cff2ea5e252047601166584546349e67
2023-09-08 11:35:04 +08:00
Edwin Tung
96f5354183 gps: allow vendor_init to set gps debug prop am: f4405c835b am: 8e4aea0b4f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24658030

Change-Id: I406844e11fac41e75f462ace151469479bf2ea18
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 09:43:21 +00:00
Edwin Tung
8e4aea0b4f gps: allow vendor_init to set gps debug prop am: f4405c835b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24658030

Change-Id: I5a8b3f5a63edd3fe5c62b718c8866308396ec5ca
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-05 08:46:37 +00:00
Edwin Tung
f4405c835b gps: allow vendor_init to set gps debug prop
Bug: 298871633

Test: build pass, check sepolicy
and gps log in bugreport

Change-Id: Ice46d0ae5ddd0b7e7362684917b0b0e7c7183db9
2023-09-05 13:05:47 +08:00
Wilson Sung
563b666341 Update SELinux error am: 5ad65f26f7 am: f9695506b3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24329845

Change-Id: I7ef96abfe999b8469e67493be4ebb0eb9b5ab191
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-09 04:14:21 +00:00
Wilson Sung
f9695506b3 Update SELinux error am: 5ad65f26f7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24329845

Change-Id: Id0b4eee2af0a7701aa6b87e00972ce58c3925aee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-09 03:33:34 +00:00
Edwin Tung
3667cf9c9c gps: remove unused sepolicy am: 10251376c0 am: 0b3231bb54
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24325865

Change-Id: I13421764f5fa0de0b8bf8745f03883079f4878fc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 10:28:16 +00:00
Wilson Sung
5ad65f26f7 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 294967729
Change-Id: I3b17e72e9364c57458423142f3509a3dd8425c69
2023-08-08 17:48:43 +08:00
Edwin Tung
0b3231bb54 gps: remove unused sepolicy am: 10251376c0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24325865

Change-Id: I7d555cdfa521a24d891a06c804c464f05b681e23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 09:46:16 +00:00
Edwin Tung
10251376c0 gps: remove unused sepolicy
Bug: 246482115
Test: gps works
Change-Id: I43ba2a4dad4034b953ed6608c93a5ff1abe16bd2
2023-08-07 18:10:02 +08:00
Edwin Tung
833002d9c8 gps: Add sepolicy for gps am: a648924b14 am: 9d0009c25a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24319937

Change-Id: I1189b89215fe41f4ff4912a455405f2026efac07
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-07 04:19:26 +00:00
Edwin Tung
9d0009c25a gps: Add sepolicy for gps am: a648924b14
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24319937

Change-Id: Iafa1f7bb4c81fce27739033640aff8562795d870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-07 03:38:08 +00:00
Edwin Tung
a648924b14 gps: Add sepolicy for gps
Bug: 294482059
Bug: 294481452
Bug: 294175645

Test: Fix data/vendor/gps avc denied
Change-Id: I3a93b7b8c8e6aff3fbd114fa5bf49ed0f8140258
2023-08-04 17:00:56 +08:00
Edwin Tung
12b5cec067 Add sepolicy for gnssd am: e19e985013 am: 0296e8a3fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24061446

Change-Id: I6c9331a3b8bfc4f4e448f0214c3e46ec74232e10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-17 06:14:13 +00:00
Edwin Tung
0296e8a3fc Add sepolicy for gnssd am: e19e985013
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/24061446

Change-Id: I09ac89df355d34b6a91b7091e24b3a768f19cbd7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-17 05:34:06 +00:00
Edwin Tung
e19e985013 Add sepolicy for gnssd
Bug: 265391808
Test: No avc denied
Change-Id: Ib4645bc0f26ac261c7aae6f1b621303e88e09690
2023-07-17 11:32:31 +08:00
Treehugger Robot
77fb918d62 Merge "Update SELinux error" into udc-qpr-dev am: 309ef096ac am: 972964a0e6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23891666

Change-Id: I9e77f33c606347634f8decbbc47e33fe80beebf3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-10 08:33:59 +00:00
Treehugger Robot
972964a0e6 Merge "Update SELinux error" into udc-qpr-dev am: 309ef096ac
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23891666

Change-Id: I8899f5f6682c8e7f7807a73103eaa18a99f60c83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-10 07:54:45 +00:00
Treehugger Robot
309ef096ac Merge "Update SELinux error" into udc-qpr-dev 2023-07-10 07:06:55 +00:00
Ken Yang
92b83ca54f SELinux: fix the avc denial am: c5e2845283 am: bcc54f2632
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23901401

Change-Id: I7a5ea2d87fbce82bd49e81099a37d6735cb68e06
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-06 08:24:05 +00:00
Ken Yang
bcc54f2632 SELinux: fix the avc denial am: c5e2845283
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23901401

Change-Id: I2d67ca26c680ca1625dd20e16e92d5aa730ce5ea
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-06 07:43:45 +00:00
Ken Yang
c5e2845283 SELinux: fix the avc denial
Bug: 289856364
Change-Id: Ib3b1ea0b578f72a422be6f94d94cf8ddf5523ae2
Signed-off-by: Ken Yang <yangken@google.com>
2023-07-05 22:47:38 +00:00
Wilson Sung
f22f1eb0ee Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 289856364
Bug: 289856386
Bug: 289856465
Change-Id: I53cc55e152912c0a94957e216e4a3ea6dde3133c
2023-07-04 11:17:02 +08:00
Darren Hsu
6f9db781ed sepolicy: allow system_suspend to read gnss sysfs am: 566095b9ae am: 3a2e4957af
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23840927

Change-Id: I1195a1df36b79481672773b77926b165bbadb6b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 04:16:24 +00:00
Darren Hsu
3a2e4957af sepolicy: allow system_suspend to read gnss sysfs am: 566095b9ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23840927

Change-Id: I071d9807da21adb58b595da33e0fd0b3207a9717
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-30 03:14:00 +00:00
Darren Hsu
566095b9ae sepolicy: allow system_suspend to read gnss sysfs
avc:  denied  { read } for  name="wakeup61" dev="sysfs" ino=65863
scontext=u:r:system_suspend:s0 tcontext=u:object_r:sysfs:s0 tclass=dir
permissive=0 bug=b/288984031

Bug: 288984031
Test: capture a bug report and check there is no
avc denial related to gnss
Change-Id: Iab3e835ae1d3b874eb8acbe18278b5ba1d7cb126
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-06-30 07:23:11 +08:00
Ken Yang
5df8fa2317 SELinux: fix avc denials am: 560e733bec am: 80533d0d47
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23846313

Change-Id: I03f6505acd2be9da9373ecbe1890be157092fcc7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 08:23:15 +00:00
Ken Yang
80533d0d47 SELinux: fix avc denials am: 560e733bec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23846313

Change-Id: I6941f67c119a110b722ae4afc439834e0948a875
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-29 07:39:52 +00:00
Ken Yang
560e733bec SELinux: fix avc denials
Fix the avc denials for sysfs_wakeup

Bug: 288049074
Change-Id: Ibc0d59597373d9ec378c90c7b372876b846b4338
Signed-off-by: Ken Yang <yangken@google.com>
2023-06-29 06:59:30 +00:00
Android Culprit Assistant
b3fcc2b15b Revert "SELinux: fix avc denials" am: 8cc94857ed am: b7766afa7f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23844494

Change-Id: I0f67ed5f0a1bd8c3c58efe84d0655d4b9af13791
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-28 14:48:38 +00:00
Android Culprit Assistant
b7766afa7f Revert "SELinux: fix avc denials" am: 8cc94857ed
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23844494

Change-Id: I20a1c981b0bb572f5225579854ebab6ba7f17657
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-28 14:04:22 +00:00
Android Culprit Assistant
8cc94857ed Revert "SELinux: fix avc denials"
This revert was created by Android Culprit Assistant. The culprit was identified in the following culprit search session (http://go/aca-get/ad8a70f9-8859-4f13-b4b4-2a7903a68e85).

Change-Id: Id230b3dc859469b64df2245efd82d3a92cefafe4
2023-06-28 12:59:43 +00:00
Ken Yang
60e47b6432 SELinux: fix avc denials am: 253a4052cc am: 7a9789104c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23767291

Change-Id: Ia373c72737c7dc996ede92151115dbcb8e8dcc82
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-28 04:32:58 +00:00
Ken Yang
7a9789104c SELinux: fix avc denials am: 253a4052cc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23767291

Change-Id: I085c778b45c9d84a34ec8c744acb6d597c439edb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-28 03:48:00 +00:00
Ken Yang
253a4052cc SELinux: fix avc denials
Fix the avc denials fof sysfs_wakeup

Bug: 288049074
Change-Id: I646047b9114884a33cc36035eaa1d1d5d9f99d1c
Signed-off-by: Ken Yang <yangken@google.com>
2023-06-28 02:30:48 +00:00
Wilson Sung
753f542363 Update SELinux error am: 6557908358 am: df6262d0a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23824283

Change-Id: I31db79a46d241984752a61c26f9ea46c2500620f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 06:42:54 +00:00
Wilson Sung
df6262d0a6 Update SELinux error am: 6557908358
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23824283

Change-Id: If39e356cd72cf15f1325f4ba6fcc50ded15a7bf3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-27 05:52:37 +00:00
Wilson Sung
6557908358 Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 288984267
Bug: 288984031
Bug: 288983920
Change-Id: Ic51ed7b691493498c09744903152bb714e3ee805
2023-06-27 11:52:02 +08:00
Wilson Sung
d2c81af98f Update SELinux error am: c1fd684e0f am: 07a64067a6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23740932

Change-Id: If58042e58e6c95161474478195c1f38e81fbe2e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 10:41:09 +00:00
Wilson Sung
07a64067a6 Update SELinux error am: c1fd684e0f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23740932

Change-Id: I22cd43662e3f8a9cd824e27f4718b3baad8fffb9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 08:47:50 +00:00
Wilson Sung
c1fd684e0f Update SELinux error
Test: SELinuxUncheckedDenialBootTest
Bug: 288049074
Bug: 288049372
Change-Id: Ia62a97443649d8ee15f8907ad99251b7c2a3b316
2023-06-20 16:08:13 +08:00
Colin Ko
1c53c4cbde Allow vendor_init to set camera debug prop am: 1605f391a2 am: 1ccc2906ef am: ce4f564857
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23688444

Change-Id: I52bc256d85c1a78a44e69a9f00925fb802d0c197
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 10:15:05 +00:00
Colin Ko
bfb7625f2f Allow vendor_init to set camera debug prop am: 1605f391a2 am: 626b85a71a am: 7b0675a3b8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23688444

Change-Id: I54e393ebed136f9ee17c045987800d5f4fc1b15c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 10:14:40 +00:00
Colin Ko
ce4f564857 Allow vendor_init to set camera debug prop am: 1605f391a2 am: 1ccc2906ef
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23688444

Change-Id: Iad9e12ef9b803d33dbff7aede974e557d90ae9a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 09:28:24 +00:00
Colin Ko
7b0675a3b8 Allow vendor_init to set camera debug prop am: 1605f391a2 am: 626b85a71a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23688444

Change-Id: I121ed92e2d163c50da98c1f67ea910a9c7e2fcab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 09:22:26 +00:00
Colin Ko
1ccc2906ef Allow vendor_init to set camera debug prop am: 1605f391a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23688444

Change-Id: I3cf62a4de16608a6a0f28bad9c95541fc125a98f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 08:40:37 +00:00
Colin Ko
626b85a71a Allow vendor_init to set camera debug prop am: 1605f391a2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23688444

Change-Id: I67021e871792667654a965e151bc5ef43b3e81ab
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 08:36:23 +00:00
Colin Ko
1605f391a2 Allow vendor_init to set camera debug prop
Bug: 286780112
Test: build pass, check sepolicy
Change-Id: I67d940524e4d6d14d9d589230dacad1778fa48ab
2023-06-14 06:22:57 +00:00
Edwin Tung
4fac554fca Add sepolicy for gnssd am: c2b07bc5f6 am: 54cc662804
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23517406

Change-Id: I81019102fe1b0083d72b2fba961b642c8c91bbe4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 05:57:16 +00:00
Edwin Tung
54cc662804 Add sepolicy for gnssd am: c2b07bc5f6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23517406

Change-Id: Ibae7a9ff10eb9b0c5ca38fd73df1c0f5d8a5d71e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-05 05:15:38 +00:00
Edwin Tung
c2b07bc5f6 Add sepolicy for gnssd
Bug: 265391808
Test: build pass
Change-Id: I27d4ebe455967ffd732cea05d7375fbe7be5ab62
2023-06-05 10:43:33 +08:00
Adam Shih
9f3c8e7990 Merge "introduce a new sepolicy owner" 2023-05-15 02:11:41 +00:00
Adam Shih
c51b3a0bf8 introduce a new sepolicy owner
Bug: 281631102
Test: N/A
Change-Id: Ib808823923cf0537e210a39cb253c0a9be36d2ec
2023-05-12 02:30:11 +00:00
Edwin Tung
23d57328c2 Add sepolicy for gnssd am: 1be1e15c26 am: 4a1768e884
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23056927

Change-Id: I3d4eb6d23809f3637f8eb301f0c451de965f07c6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 02:39:43 +00:00
Edwin Tung
4a1768e884 Add sepolicy for gnssd am: 1be1e15c26
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/23056927

Change-Id: Ifc5c66fec25559ab6bbc8d45c51300ba9a40ba41
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-05-10 01:56:09 +00:00
Edwin Tung
1be1e15c26 Add sepolicy for gnssd
Bug: 269987831
Test: build pass
Change-Id: I3b852b7c7b7f1813830a9ceca476d658099a2c55
2023-05-09 22:32:49 +08:00
yihsiangpeng
2e372dcc25 Add sepolicy for wireless charging nodes am: 63679bd1c6 am: 6a80f00041
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/22339170

Change-Id: Ib45c33499bbeb75fea66eef89601daecb66b187a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 23:59:56 +00:00
yihsiangpeng
6a80f00041 Add sepolicy for wireless charging nodes am: 63679bd1c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/22339170

Change-Id: I2d956d84e608022df66ecee9203a8964d8c843ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 22:35:21 +00:00
yihsiangpeng
a71b1c04be Add sepolicy for wireless charging nodes am: 63679bd1c6 am: 9178e21226
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/22339170

Change-Id: I0d1ef0595e3352d3db75f51b1cc8f6225fba3185
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 20:08:54 +00:00
yihsiangpeng
9178e21226 Add sepolicy for wireless charging nodes am: 63679bd1c6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/akita-sepolicy/+/22339170

Change-Id: I2197975809bc79953570c614240b40972f22457f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-30 19:17:01 +00:00
yihsiangpeng
63679bd1c6 Add sepolicy for wireless charging nodes
Bug: 274992535
Change-Id: Iab70a6ca65ee862ecaede7f3b48db1558523aff0
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
2023-03-30 15:05:15 +08:00
Ken Tsou
bb41a39452 sepolicy: update WLC i2c path
The wrong path makes healthd unable to get the wireless status, so there
is no wireless charging detection notification on the UI.

Bug: 268556382
Change-Id: I8c99276050a9fca08f5782621452f92c3bb74565
Signed-off-by: Ken Tsou <kentsou@google.com>
2023-02-10 08:48:25 +08:00
Tai Kuo
5c0cf72611 Update vibrator SEPolicy for possible paths
Bug: 264625320
Test: Check sysfs path with ls -Z.
Change-Id: I897c614139a9cf56db298164bc2325d57a8e3949
2023-01-31 17:12:09 +08:00
Ken Yang
79305057ba Merge "WLC: Cleanup the sysfs_wlc policies" 2023-01-13 14:41:30 +00:00
Wilson Sung
ae37456db7 Permissive gnssd hal_gnss_default
Bug: 265391808
Change-Id: I2f7bef485662a439941dd60c579228883c65d138
2023-01-13 18:27:03 +08:00
Ken Yang
35abedfc90 WLC: Cleanup the sysfs_wlc policies
Bug: 263830018
Change-Id: Ia0f5b6b15e0dc3fb503b78a1a3db4e3e47e85a41
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-06 19:59:51 +00:00
Edwin Tung
76c4fbe080 gps: add gnssd initial sepolicy
Bug: 261364552
Test: build pass
Change-Id: Ieaf9a12445e4b53d05a707fe0029db4e87ed0b8b
2023-01-05 13:42:36 +08:00
kuanyuhuang
3e2f786213 Add sepolicy for allowing accessing bluetooth uart and lpm related device nodes
set /dev/ttySAC18, /dev/logbuffer_tty18 and /dev/logbuffer_btlpm
device node permission

Bug: 261526478
Test: manual
Change-Id: I1011caef3a00048dca117e7d51e049f6f202278e
2022-12-08 05:50:50 +00:00
Chase Wu
4d6ced5764 cs40l26: Add haptics initial sepolicy
Bug: 258559924
Test: build pass
Change-Id: I8a3de447362bb338562df0416dbef173f95aa362
Signed-off-by: Chase Wu <chasewu@google.com>
2022-11-14 14:42:49 +08:00
Cyan_Hsieh
4ace6462dc Initial device akita sepolicy
Bug: 249656909
Change-Id: I5097753f3daa8bf7c83c4a09f86877d823e01bb7
2022-10-14 17:27:15 +08:00
Umer Abdullah
678c3ed68b Initial empty repository 2022-10-11 13:33:03 +00:00
178 changed files with 15331 additions and 280565 deletions

1
.gitupstream Normal file
View File

@@ -0,0 +1 @@
https://android.googlesource.com/device/google/akita

View File

@@ -1,30 +0,0 @@
#
# Copyright (C) 2011 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.
#
# WARNING: Everything listed here will be built on ALL platforms,
# including x86, the universal, and the SDK. Modules must be uniquely
# named (liblights.panda), and must build everywhere, or limit themselves
# to only building on ARM if they include assembly. Individual makefiles
# are responsible for having their own logic, for fine-grained control.
LOCAL_PATH := $(call my-dir)
# if some modules are built directly from this directory (not subdirectories),
# their rules should be written here.
ifneq (,$(filter $(TARGET_DEVICE),akita))
include $(call all-makefiles-under,$(LOCAL_PATH))
endif

View File

@@ -16,8 +16,4 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/aosp_akita.mk \
$(LOCAL_DIR)/aosp_akita_fullmte.mk \
$(LOCAL_DIR)/factory_akita.mk
COMMON_LUNCH_CHOICES := \
aosp_akita-trunk_staging-userdebug
$(LOCAL_DIR)/lineage_akita.mk

4
BoardConfigEvolution.mk Normal file
View File

@@ -0,0 +1,4 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#

11
BoardConfigLineage.mk Normal file
View File

@@ -0,0 +1,11 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
# 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))
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD += $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)
BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES += $(addprefix $(KERNEL_MODULE_DIR)/, $(notdir $(BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_RAW)))

4
OWNERS
View File

@@ -1,4 +0,0 @@
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=file:device/google/gs-common:main:/OWNERS

View File

@@ -1,2 +0,0 @@
[Builtin Hooks]
jsonlint = true

11
akita/Android.bp Normal file
View File

@@ -0,0 +1,11 @@
//
// SPDX-FileCopyrightText: 2024 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "init.recovery.akita.touch.rc",
src: "init.recovery.touch.rc",
sub_dir: "init",
recovery: true,
}

View File

@@ -18,6 +18,7 @@
BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true
# The modules which need to be loaded in sequential
BOARD_KERNEL_CMDLINE += fips140.load_sequential=1
BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1
BOARD_KERNEL_CMDLINE += g2d.load_sequential=1
BOARD_KERNEL_CMDLINE += samsung_iommu_v9.load_sequential=1
@@ -27,13 +28,9 @@ RELEASE_GOOGLE_PRODUCT_RADIOCFG_DIR := $(RELEASE_GOOGLE_AKITA_RADIOCFG_DIR)
TARGET_BOARD_INFO_FILE := device/google/akita/board-info.txt
TARGET_BOOTLOADER_BOARD_NAME := akita
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/24Q2
else
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/trunk
endif
RELEASE_GOOGLE_BOOTLOADER_AKITA_DIR ?= pdk# Keep this for pdk TODO: b/327119000
RELEASE_GOOGLE_PRODUCT_BOOTLOADER_DIR := bootloader/$(RELEASE_GOOGLE_BOOTLOADER_AKITA_DIR)
$(call soong_config_set,akita_bootloader,prebuilt_dir,$(RELEASE_GOOGLE_BOOTLOADER_AKITA_DIR))
TARGET_SCREEN_DENSITY := 420
BOARD_USES_GENERIC_AUDIO := true
USES_DEVICE_GOOGLE_AKITA := true
@@ -41,7 +38,11 @@ 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 vendor/google_devices/akita/proprietary/BoardConfigVendor.mk
include device/google/akita-sepolicy/akita-sepolicy.mk
include device/google/gs-common/check_current_prebuilt/check_current_prebuilt.mk
include device/google/akita/sepolicy/akita-sepolicy.mk
include device/google/akita/wifi/BoardConfig-wifi.mk
DEVICE_PATH := device/google/akita
VENDOR_PATH := vendor/google/akita
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigLineage.mk
include $(DEVICE_PATH)/$(TARGET_BOOTLOADER_BOARD_NAME)/BoardConfigEvolution.mk

View File

@@ -0,0 +1,6 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
include $(DEVICE_PATH)/BoardConfigEvolution.mk

View File

@@ -0,0 +1,9 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
include $(DEVICE_PATH)/BoardConfigLineage.mk
include $(VENDOR_PATH)/BoardConfigVendor.mk

View File

@@ -0,0 +1,8 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, $(DEVICE_PATH)/device-evolution.mk)
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-evolution

18
akita/device-lineage.mk Normal file
View File

@@ -0,0 +1,18 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, $(DEVICE_PATH)/device-lineage.mk)
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/$(DEVICE_CODENAME)/overlay-lineage
PRODUCT_PACKAGES += \
PixelDisplayServiceOverlayAkita
TARGET_VENDOR_PROP += $(DEVICE_PATH)/$(DEVICE_CODENAME)/vendor.prop
# Init
PRODUCT_PACKAGES += \
init.recovery.akita.touch.rc

Binary file not shown.

102
akita/extract-files.py Executable file
View File

@@ -0,0 +1,102 @@
#!/usr/bin/env -S PYTHONPATH=../../../../tools/extract-utils python3
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
from extract_utils.extract import extract_fns_user_type
from extract_utils.extract_pixel import (
extract_pixel_factory_image,
extract_pixel_firmware,
pixel_factory_image_regex,
pixel_firmware_regex,
)
from extract_utils.file import FileArgs, FileList
from extract_utils.fixups_blob import (
blob_fixup,
blob_fixups_user_type,
)
from extract_utils.fixups_lib import (
lib_fixups,
lib_fixups_user_type,
)
from extract_utils.main import (
ExtractUtils,
ExtractUtilsModule,
)
namespace_imports = [
'device/google/akita',
'hardware/google/av',
'hardware/google/interfaces',
'hardware/google/pixel',
]
def lib_fixup_vendor_suffix(lib: str, partition: str, *args, **kwargs):
return f'{lib}_{partition}' if partition == 'vendor' else None
lib_fixups: lib_fixups_user_type = {
**lib_fixups,
(
'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',
): lib_fixup_vendor_suffix,
}
blob_fixups: blob_fixups_user_type = {
'product/etc/felica/common.cfg': blob_fixup()
.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 = {
pixel_factory_image_regex: extract_pixel_factory_image,
pixel_firmware_regex: extract_pixel_firmware,
}
module = ExtractUtilsModule(
'akita',
'google',
device_rel_path='device/google/akita/akita',
blob_fixups=blob_fixups,
lib_fixups=lib_fixups,
namespace_imports=namespace_imports,
add_generated_carriersettings_file=True,
add_firmware_proprietary_file=True,
extract_fns=extract_fns,
)
def fix_vendor_file_list(file_list: FileList):
module_suffix_file_paths = [
'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',
]
for file_path in module_suffix_file_paths:
file_list.get_file(file_path).set_arg(FileArgs.MODULE_SUFFIX, '_vendor')
module.add_generated_proprietary_file(
'proprietary-files-vendor.txt',
partition='vendor',
skip_file_list_name='skip-files-vendor.txt',
fix_file_list=fix_vendor_file_list,
)
if __name__ == '__main__':
utils = ExtractUtils.device(module)
utils.run()

View File

@@ -0,0 +1,4 @@
on init
insmod /lib/modules/heatmap.ko
insmod /lib/modules/goog_touch_interface.ko
insmod /lib/modules/goodix_brl_touch.ko

24
akita/osaifu-keitai.patch Normal file
View File

@@ -0,0 +1,24 @@
From aab255f2807cfc460c0dce40decd5554d49c0076 Mon Sep 17 00:00:00 2001
From: jabashque <jabashque@gmail.com>
Date: Mon, 5 Feb 2024 21:36:03 +0000
Subject: [PATCH 1/1] Enable Osaifu-Keitai on non-Japanese SKUs
---
common.cfg | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/common.cfg b/common.cfg
index 3b78765..00f53cb 100644
--- a/common.cfg
+++ b/common.cfg
@@ -11,6 +11,5 @@
02030001,0
02030002,0
02030003,intent:#Intent;action=android.settings.NFC_SETTINGS;end
-00000014,content://com.google.android.pixelnfc.provider.DeviceInfoContentProvider/isJapanSku
-00000015,is_japan_sku
00000016,0001
+00000018,1
--
2.47.0

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 The Evolution X Project
SPDX-License-Identifier: Apache-2.0
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Android version screen, build maintainer -->
<string name="build_maintainer_summary" translatable="false">Oscar Mariscal</string>
<string name="build_maintainer_donate_url" translatable="false">https://PayPal.me/osmjr1019</string>
</resources>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether safe headphone volume is enabled or not (country specific). -->
<bool name="config_safe_media_volume_enabled">true</bool>
</resources>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether safe headphone volume is enabled or not (country specific). -->
<bool name="config_safe_media_volume_enabled">true</bool>
</resources>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether safe headphone volume is enabled or not (country specific). -->
<bool name="config_safe_media_volume_enabled">true</bool>
</resources>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether safe headphone volume is enabled or not (country specific). -->
<bool name="config_safe_media_volume_enabled">true</bool>
</resources>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether safe headphone volume is enabled or not (country specific). -->
<bool name="config_safe_media_volume_enabled">true</bool>
</resources>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether safe headphone volume is enabled or not (country specific). -->
<bool name="config_safe_media_volume_enabled">true</bool>
</resources>

View File

@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** 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.
*/
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether safe headphone volume is enabled or not (country specific). -->
<bool name="config_safe_media_volume_enabled">true</bool>
</resources>

Binary file not shown.

After

Width:  |  Height:  |  Size: 647 KiB

View File

@@ -0,0 +1,463 @@
# All blobs below are extracted from the release mentioned in proprietary-files.txt
product/etc/CarrierSettings/1and1_de.pb
product/etc/CarrierSettings/2degrees_nz.pb
product/etc/CarrierSettings/321communications_us.pb
product/etc/CarrierSettings/48_ie.pb
product/etc/CarrierSettings/4ka_sk.pb
product/etc/CarrierSettings/a1_at.pb
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
product/etc/CarrierSettings/antel_uy.pb
product/etc/CarrierSettings/appalachian_us.pb
product/etc/CarrierSettings/apt_tw.pb
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
product/etc/CarrierSettings/bite_lt.pb
product/etc/CarrierSettings/bite_lv.pb
product/etc/CarrierSettings/bluegrass_us.pb
product/etc/CarrierSettings/bob_at.pb
product/etc/CarrierSettings/boost_us.pb
product/etc/CarrierSettings/boosttmo_us.pb
product/etc/CarrierSettings/bouygues_fr.pb
product/etc/CarrierSettings/bsnl_in.pb
product/etc/CarrierSettings/btb_gb.pb
product/etc/CarrierSettings/btc_gb.pb
product/etc/CarrierSettings/cablemovil_es.pb
product/etc/CarrierSettings/carolinawest_us.pb
product/etc/CarrierSettings/carrier_list.pb
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
product/etc/CarrierSettings/cht_tw.pb
product/etc/CarrierSettings/cityfone_ca.pb
product/etc/CarrierSettings/claro_br.pb
product/etc/CarrierSettings/claro_cl.pb
product/etc/CarrierSettings/claro_co.pb
product/etc/CarrierSettings/claro_pr.pb
product/etc/CarrierSettings/commonmvnxatt_us.pb
product/etc/CarrierSettings/congstar_de.pb
product/etc/CarrierSettings/consumercellularatt_us.pb
product/etc/CarrierSettings/consumercellulartmo_us.pb
product/etc/CarrierSettings/coopvoce_it.pb
product/etc/CarrierSettings/coppervalley_us.pb
product/etc/CarrierSettings/coriolis_fr.pb
product/etc/CarrierSettings/cox_us.pb
product/etc/CarrierSettings/cricket5g_us.pb
product/etc/CarrierSettings/cricket_us.pb
product/etc/CarrierSettings/cspire_nl.pb
product/etc/CarrierSettings/cspire_us.pb
product/etc/CarrierSettings/default.pb
product/etc/CarrierSettings/digi_hu.pb
product/etc/CarrierSettings/digi_my.pb
product/etc/CarrierSettings/digi_pt.pb
product/etc/CarrierSettings/digi_ro.pb
product/etc/CarrierSettings/digimobil_es.pb
product/etc/CarrierSettings/dish5gsa_us.pb
product/etc/CarrierSettings/dishatt_us.pb
product/etc/CarrierSettings/dito_ph.pb
product/etc/CarrierSettings/dna_fi.pb
product/etc/CarrierSettings/docomo_jp.pb
product/etc/CarrierSettings/docomomvno_jp.pb
product/etc/CarrierSettings/docomopacific_us.pb
product/etc/CarrierSettings/dtac_th.pb
product/etc/CarrierSettings/du_ae.pb
product/etc/CarrierSettings/eastlink_ca.pb
product/etc/CarrierSettings/ee_gb.pb
product/etc/CarrierSettings/eeyoumobility_ca.pb
product/etc/CarrierSettings/eir_ie.pb
product/etc/CarrierSettings/elisa1_fi.pb
product/etc/CarrierSettings/elisa2_fi.pb
product/etc/CarrierSettings/elisa_ee.pb
product/etc/CarrierSettings/enetworks_gy.pb
product/etc/CarrierSettings/enreach_nl.pb
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
product/etc/CarrierSettings/evolve_us.pb
product/etc/CarrierSettings/fastweb_it.pb
product/etc/CarrierSettings/fet_tw.pb
product/etc/CarrierSettings/fi_at.pb
product/etc/CarrierSettings/fi_tmo_us.pb
product/etc/CarrierSettings/fido_ca.pb
product/etc/CarrierSettings/finetwork_es.pb
product/etc/CarrierSettings/firstnet_us.pb
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
product/etc/CarrierSettings/free_mq.pb
product/etc/CarrierSettings/free_re.pb
product/etc/CarrierSettings/freedommobile_ca.pb
product/etc/CarrierSettings/gamma_gb.pb
product/etc/CarrierSettings/gci_us.pb
product/etc/CarrierSettings/gibtel_gi.pb
product/etc/CarrierSettings/giffgaff_gb.pb
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
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
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
product/etc/CarrierSettings/kddimvno_jp.pb
product/etc/CarrierSettings/kena_it.pb
product/etc/CarrierSettings/koodo_ca.pb
product/etc/CarrierSettings/kpn_nl.pb
product/etc/CarrierSettings/lebara_es.pb
product/etc/CarrierSettings/lebara_fr.pb
product/etc/CarrierSettings/lebara_gb.pb
product/etc/CarrierSettings/lebara_nl.pb
product/etc/CarrierSettings/liberty_pr.pb
product/etc/CarrierSettings/lifecell_ua.pb
product/etc/CarrierSettings/linemo_jp.pb
product/etc/CarrierSettings/llamaya_es.pb
product/etc/CarrierSettings/lmt_lv.pb
product/etc/CarrierSettings/lowi_es.pb
product/etc/CarrierSettings/luckymobile_ca.pb
product/etc/CarrierSettings/lum_ca.pb
product/etc/CarrierSettings/lyca_es.pb
product/etc/CarrierSettings/lyca_us.pb
product/etc/CarrierSettings/lycamobile_gb.pb
product/etc/CarrierSettings/lycamobile_pt.pb
product/etc/CarrierSettings/lycamobile_se.pb
product/etc/CarrierSettings/m1_sg.pb
product/etc/CarrierSettings/magticom_ge.pb
product/etc/CarrierSettings/manxcontract_im.pb
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
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
product/etc/CarrierSettings/o2postpaid_gb.pb
product/etc/CarrierSettings/o2prepaid_de.pb
product/etc/CarrierSettings/o2prepaid_gb.pb
product/etc/CarrierSettings/omantel_om.pb
product/etc/CarrierSettings/one_me.pb
product/etc/CarrierSettings/onecall_no.pb
product/etc/CarrierSettings/only_yt.pb
product/etc/CarrierSettings/ooredoo_kw.pb
product/etc/CarrierSettings/ooredoo_qa.pb
product/etc/CarrierSettings/optimera_us.pb
product/etc/CarrierSettings/optus_au.pb
product/etc/CarrierSettings/orange_be.pb
product/etc/CarrierSettings/orange_es.pb
product/etc/CarrierSettings/orange_fr.pb
product/etc/CarrierSettings/orange_gp.pb
product/etc/CarrierSettings/orange_lu.pb
product/etc/CarrierSettings/orange_pl.pb
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
product/etc/CarrierSettings/pelephone_il.pb
product/etc/CarrierSettings/pepephone_es.pb
product/etc/CarrierSettings/play_pl.pb
product/etc/CarrierSettings/plintron_us.pb
product/etc/CarrierSettings/plus_pl.pb
product/etc/CarrierSettings/post_lu.pb
product/etc/CarrierSettings/postemobile_it.pb
product/etc/CarrierSettings/povo5gsa_jp.pb
product/etc/CarrierSettings/povo_jp.pb
product/etc/CarrierSettings/proximus_be.pb
product/etc/CarrierSettings/publicmobile_ca.pb
product/etc/CarrierSettings/pwg_us.pb
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
product/etc/CarrierSettings/salt_ch.pb
product/etc/CarrierSettings/salt_li.pb
product/etc/CarrierSettings/sasktel_ca.pb
product/etc/CarrierSettings/sfr_fr.pb
product/etc/CarrierSettings/shaw_ca.pb
product/etc/CarrierSettings/simba_sg.pb
product/etc/CarrierSettings/siminn_is.pb
product/etc/CarrierSettings/simple_us.pb
product/etc/CarrierSettings/simyo_es.pb
product/etc/CarrierSettings/singtel_sg.pb
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
product/etc/CarrierSettings/solomobile_ca.pb
product/etc/CarrierSettings/spark_nz.pb
product/etc/CarrierSettings/spectrum_us.pb
product/etc/CarrierSettings/spectrummso_us.pb
product/etc/CarrierSettings/spectrummsotest_us.pb
product/etc/CarrierSettings/spmtelecom_pm.pb
product/etc/CarrierSettings/sprint_us.pb
product/etc/CarrierSettings/sprintprepaid_us.pb
product/etc/CarrierSettings/sprintwholesale_us.pb
product/etc/CarrierSettings/spusu_at.pb
product/etc/CarrierSettings/spusu_ch.pb
product/etc/CarrierSettings/spusu_gb.pb
product/etc/CarrierSettings/spusu_it.pb
product/etc/CarrierSettings/ssimobile_ca.pb
product/etc/CarrierSettings/starhub_sg.pb
product/etc/CarrierSettings/stc_bh.pb
product/etc/CarrierSettings/stc_kw.pb
product/etc/CarrierSettings/stc_sa.pb
product/etc/CarrierSettings/strata_us.pb
product/etc/CarrierSettings/sunrise_ch.pb
product/etc/CarrierSettings/superdrug_gb.pb
product/etc/CarrierSettings/sweno_es.pb
product/etc/CarrierSettings/swisscom_ch.pb
product/etc/CarrierSettings/swisscom_li.pb
product/etc/CarrierSettings/swisscommvno_ch.pb
product/etc/CarrierSettings/talkmobile_gb.pb
product/etc/CarrierSettings/tango_lu.pb
product/etc/CarrierSettings/tango_us.pb
product/etc/CarrierSettings/tbaytel_ca.pb
product/etc/CarrierSettings/tchibo_at.pb
product/etc/CarrierSettings/tchibo_de.pb
product/etc/CarrierSettings/tdc_dk.pb
product/etc/CarrierSettings/telavox_be.pb
product/etc/CarrierSettings/telavox_se.pb
product/etc/CarrierSettings/telcel_mx.pb
product/etc/CarrierSettings/telco_re.pb
product/etc/CarrierSettings/tele2_ee.pb
product/etc/CarrierSettings/tele2_lt.pb
product/etc/CarrierSettings/tele2_lv.pb
product/etc/CarrierSettings/tele2_se.pb
product/etc/CarrierSettings/telecable2_es.pb
product/etc/CarrierSettings/telekom_de.pb
product/etc/CarrierSettings/telekom_gr.pb
product/etc/CarrierSettings/telekom_hr.pb
product/etc/CarrierSettings/telekom_hu.pb
product/etc/CarrierSettings/telekom_me.pb
product/etc/CarrierSettings/telekom_mk.pb
product/etc/CarrierSettings/telekom_pl.pb
product/etc/CarrierSettings/telekom_ro.pb
product/etc/CarrierSettings/telekom_si.pb
product/etc/CarrierSettings/telekom_sk.pb
product/etc/CarrierSettings/telemach_hr.pb
product/etc/CarrierSettings/telemach_si.pb
product/etc/CarrierSettings/telenet_be.pb
product/etc/CarrierSettings/telenor_dk.pb
product/etc/CarrierSettings/telenor_no.pb
product/etc/CarrierSettings/telenor_pk.pb
product/etc/CarrierSettings/telenor_se.pb
product/etc/CarrierSettings/telia_dk.pb
product/etc/CarrierSettings/telia_ee.pb
product/etc/CarrierSettings/telia_fi.pb
product/etc/CarrierSettings/telia_lt.pb
product/etc/CarrierSettings/telia_no.pb
product/etc/CarrierSettings/telia_se.pb
product/etc/CarrierSettings/telkomsel_id.pb
product/etc/CarrierSettings/tello_us.pb
product/etc/CarrierSettings/telstra_au.pb
product/etc/CarrierSettings/telus_ca.pb
product/etc/CarrierSettings/tesco_gb.pb
product/etc/CarrierSettings/test001_zz.pb
product/etc/CarrierSettings/three_dk.pb
product/etc/CarrierSettings/tigo_co.pb
product/etc/CarrierSettings/tim_br.pb
product/etc/CarrierSettings/tim_it.pb
product/etc/CarrierSettings/tmobile_at.pb
product/etc/CarrierSettings/tmobile_cz.pb
product/etc/CarrierSettings/tmobile_nl.pb
product/etc/CarrierSettings/tmobile_us.pb
product/etc/CarrierSettings/tmobileprivate_us.pb
product/etc/CarrierSettings/tmomvno_nl.pb
product/etc/CarrierSettings/tmomvno_us.pb
product/etc/CarrierSettings/tracfoneatt_us.pb
product/etc/CarrierSettings/tracfonetmo_us.pb
product/etc/CarrierSettings/tracfoneverizon_us.pb
product/etc/CarrierSettings/truemove_th.pb
product/etc/CarrierSettings/truphone_us.pb
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
product/etc/CarrierSettings/unionwireless_us.pb
product/etc/CarrierSettings/unitedwireless_us.pb
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
product/etc/CarrierSettings/vinaphone_vn.pb
product/etc/CarrierSettings/virgin_ca.pb
product/etc/CarrierSettings/virgin_gb.pb
product/etc/CarrierSettings/virgin_us.pb
product/etc/CarrierSettings/virgintelco_es.pb
product/etc/CarrierSettings/visible_us.pb
product/etc/CarrierSettings/visiblev_us.pb
product/etc/CarrierSettings/viti_pf.pb
product/etc/CarrierSettings/vivacom_bg.pb
product/etc/CarrierSettings/vivo_br.pb
product/etc/CarrierSettings/vodafone_au.pb
product/etc/CarrierSettings/vodafone_cz.pb
product/etc/CarrierSettings/vodafone_de.pb
product/etc/CarrierSettings/vodafone_es.pb
product/etc/CarrierSettings/vodafone_gb.pb
product/etc/CarrierSettings/vodafone_gr.pb
product/etc/CarrierSettings/vodafone_hu.pb
product/etc/CarrierSettings/vodafone_ie.pb
product/etc/CarrierSettings/vodafone_in.pb
product/etc/CarrierSettings/vodafone_is.pb
product/etc/CarrierSettings/vodafone_it.pb
product/etc/CarrierSettings/vodafone_nl.pb
product/etc/CarrierSettings/vodafone_nz.pb
product/etc/CarrierSettings/vodafone_om.pb
product/etc/CarrierSettings/vodafone_pt.pb
product/etc/CarrierSettings/vodafone_qa.pb
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
product/etc/CarrierSettings/yes_my.pb
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
product/etc/CarrierSettings/zeop_re.pb
product/etc/CarrierSettings/ztar_us.pb

File diff suppressed because it is too large Load Diff

181
akita/proprietary-files.txt Normal file
View File

@@ -0,0 +1,181 @@
# All blobs are extracted from Google factory images for each new ASB
# 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
# Audio
product/etc/ambient/matcher_tah.leveldb
product/etc/firmware/music_detector.descriptor
product/etc/firmware/music_detector.sound_model
product/etc/firmware/music_detector.sound_model_2
product/etc/firmware/music_detector.sound_model_tflite
# Camera
product/priv-app/GoogleCamera/GoogleCamera.apk;OVERRIDES=Aperture,Camera2;PRESIGNED
# Camera extensions
product/etc/permissions/androidx.camera.extensions.impl.xml
product/priv-app/PixelCameraServices/PixelCameraServices.apk;PRESIGNED
# Camera services
product/etc/permissions/com.google.pixel.camera.connectivity.impl.xml
product/etc/permissions/com.google.pixel.camera.services.cameraidremapper.impl.xml
product/etc/permissions/com.google.pixel.camera.services.lyricconfigprovider.impl.xml
# Felica
product/etc/felica/common.cfg
product/etc/felica/mfm.cfg
product/etc/felica/mfs.cfg
# Hardware info
product/etc/permissions/com.google.android.hardwareinfo.xml
product/framework/libhwinfo.jar
product/priv-app/HardwareInfo/HardwareInfo.apk;PRESIGNED
# Hotword
product/priv-app/HotwordEnrollmentOKGoogleFUSIONPro/HotwordEnrollmentOKGoogleFUSIONPro.apk;PRESIGNED
product/priv-app/HotwordEnrollmentXGoogleFUSIONPro/HotwordEnrollmentXGoogleFUSIONPro.apk;PRESIGNED
# IMS
product/etc/sysconfig/allowlist_com.shannon.imsservice.xml
# Permissions
product/etc/permissions/privapp-permissions-google-p.xml:product/etc/permissions/privapp-permissions-google-p-evolution.xml
product/etc/sysconfig/GoogleCamera_6gb_or_more_ram.xml
product/etc/sysconfig/google-hiddenapi-package-whitelist.xml
product/etc/sysconfig/nexus.xml
product/etc/sysconfig/pixel_experience_2017.xml
product/etc/sysconfig/pixel_experience_2018.xml
product/etc/sysconfig/pixel_experience_2019.xml
product/etc/sysconfig/pixel_experience_2019_midyear.xml
product/etc/sysconfig/pixel_experience_2020.xml
product/etc/sysconfig/pixel_experience_2020_midyear.xml
product/etc/sysconfig/pixel_experience_2021.xml
product/etc/sysconfig/pixel_experience_2021_midyear.xml
product/etc/sysconfig/pixel_experience_2022.xml
product/etc/sysconfig/pixel_experience_2022_midyear.xml
product/etc/sysconfig/pixel_experience_2023.xml
product/etc/sysconfig/pixel_experience_2023_midyear.xml
product/etc/sysconfig/pixel_experience_2024_midyear.xml
# Radio
product/etc/permissions/com.android.sdm.plugins.connmo.xml
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/CarrierWifi/CarrierWifi.apk;PRESIGNED
product/priv-app/ConnMO/ConnMO.apk
product/priv-app/DCMO/DCMO.apk
product/priv-app/DMService/DMService.apk
product/priv-app/DiagMon/DiagMon.apk
product/priv-app/EuiccGoogle/EuiccGoogle.apk;PRESIGNED
product/priv-app/TetheringEntitlement/TetheringEntitlement.apk
# VZW
product/app/VZWAPNLib/VZWAPNLib.apk;PRESIGNED
product/etc/permissions/com.android.omadm.service.xml
product/etc/permissions/com.google.omadm.trigger.xml
product/etc/permissions/com.verizon.apn.xml
product/etc/permissions/com.verizon.services.xml
product/etc/permissions/features-verizon.xml
product/etc/sysconfig/allowlist_com.android.omadm.service.xml
product/priv-app/AppDirectedSMSService/AppDirectedSMSService.apk;PRESIGNED
product/priv-app/OemDmTrigger/OemDmTrigger.apk
product/priv-app/WfcActivation/WfcActivation.apk;PRESIGNED
# system_ext partition
# Audio
system_ext/bin/hw/vendor.google.whitechapel.audio.hal.parserservice
system_ext/etc/init/vendor.google.whitechapel.audio.hal.parserservice.rc
# Camera extensions
system_ext/etc/permissions/com.google.android.camera.extensions.xml
system_ext/etc/permissions/com.google.android.camerax.extensions.xml
system_ext/framework/com.google.android.camera.extensions.jar
system_ext/framework/com.google.android.camerax.extensions.jar
# Camera services
system_ext/app/PersistentBackgroundCameraServices/PersistentBackgroundCameraServices.apk
system_ext/etc/permissions/com.google.pixel.camera.connectivity.xml
system_ext/etc/permissions/com.google.pixel.camera.services.cameraidremapper.xml
system_ext/etc/permissions/com.google.pixel.camera.services.lyricconfigprovider.xml
system_ext/etc/vintf/manifest/com.google.pixel.camera.services@1.0-service-google.xml
system_ext/framework/com.google.pixel.camera.connectivity.jar
system_ext/framework/com.google.pixel.camera.services.cameraidremapper.jar
system_ext/framework/com.google.pixel.camera.services.lyricconfigprovider.jar
# Display
system_ext/lib64/libpixeldisplaymanager_jni.so;SYMLINK=system_ext/priv-app/PixelDisplayService/lib/arm64/libpixeldisplaymanager_jni.so
system_ext/priv-app/PixelDisplayService/PixelDisplayService.apk
# Edge TPU
system_ext/bin/hw/vendor.google.edgetpu_app_service@1.0-service
system_ext/etc/init/vendor.google.edgetpu_app_service@1.0-service.rc
system_ext/etc/public.libraries-google.txt
system_ext/etc/vintf/manifest/vendor.google.edgetpu_app_service@1.0-service.xml
system_ext/lib64/com.google.edgetpu_app_service-V4-ndk.so
system_ext/lib64/com.google.edgetpu_vendor_service-V2-ndk.so
# Hotword
system_ext/etc/permissions/com.android.hotwordenrollment.common.util.xml
system_ext/framework/com.android.hotwordenrollment.common.util.jar
# IMS
system_ext/etc/permissions/com.android.qns.xml
system_ext/etc/permissions/com.shannon.imsservice.xml
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/priv-app/PixelImsMediaService/PixelImsMediaService.apk
system_ext/priv-app/PixelQualifiedNetworksService/PixelQualifiedNetworksService.apk
system_ext/priv-app/ShannonIms/ShannonIms.apk;PRESIGNED
system_ext/priv-app/ShannonRcs/ShannonRcs.apk;PRESIGNED
# IWLAN
system_ext/etc/permissions/privapp-permlist_com.google.pixel.iwlan.xml
system_ext/etc/sysconfig/sysconfig_com.google.pixel.iwlan.xml
system_ext/priv-app/PixelIwlan/PixelIwlan.apk
# Permissions
system_ext/etc/permissions/privapp-permissions-google-se.xml:system_ext/etc/permissions/privapp-permissions-google-se-evolution.xml
# Radio
system_ext/etc/default-permissions/default-permissions-euiccpixel.xml
system_ext/etc/permissions/com.android.omadm.radioconfig.xml
system_ext/etc/permissions/com.google.android.rilextension.xml
system_ext/etc/permissions/com.google.euiccpixel.permissions.xml
system_ext/etc/permissions/com.google.euiccpixel.xml
system_ext/etc/permissions/google-ril.xml
system_ext/framework/RadioConfigLib.jar
system_ext/framework/google-ril.jar
system_ext/priv-app/CarrierSetup/CarrierSetup.apk;PRESIGNED
system_ext/priv-app/ConnectivityThermalPowerManager/ConnectivityThermalPowerManager.apk
system_ext/priv-app/EuiccGoogleOverlay/EuiccGoogleOverlay.apk
system_ext/priv-app/EuiccSupportPixel-P23/EuiccSupportPixel-P23.apk;PRESIGNED
system_ext/priv-app/EuiccSupportPixel-P23/esim-full-v1-m40.img
system_ext/priv-app/EuiccSupportPixel-P23/esim-full-v1-m41.img
system_ext/priv-app/EuiccSupportPixel-P23/esim-full-v1.img
system_ext/priv-app/EuiccSupportPixelPermissions/EuiccSupportPixelPermissions.apk;PRESIGNED
system_ext/priv-app/RilConfigService/RilConfigService.apk
system_ext/priv-app/grilservice/grilservice.apk;PRESIGNED
system_ext/priv-app/ril-extension/ril-extension.apk;PRESIGNED
# RIL
system_ext/app/OemRilHookService/OemRilHookService.apk
system_ext/etc/permissions/com.samsung.slsi.telephony.oemril.xml
system_ext/etc/permissions/oemrilhook.xml
system_ext/framework/oemrilhook.jar
system_ext/priv-app/OemRilService/OemRilService.apk;PRESIGNED
# VZW
system_ext/etc/permissions/vzw_mvs_permissions.xml
system_ext/priv-app/MyVerizonServices/MyVerizonServices.apk;PRESIGNED

View File

@@ -0,0 +1,13 @@
# All firmware images are extracted from Google factory images for each new ASB
abl.img;AB
bl1.img;AB
bl2.img;AB
bl31.img;AB
gcf.img;AB
gsa.img;AB
gsa_bl1.img;AB
ldfw.img;AB
modem.img;AB
pbl.img;AB
tzsw.img;AB

View File

@@ -0,0 +1,9 @@
//
// Copyright (C) 2024 The Android Open Source Project
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "PixelDisplayServiceOverlayAkita",
product_specific: true,
}

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.pixeldisplayservice.overlay.akita">
<overlay
android:isStatic="true"
android:priority="1"
android:targetPackage="com.android.pixeldisplayservice" />
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 403 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 473 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 477 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 480 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 483 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 417 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 439 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 444 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 448 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 453 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 457 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 465 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 469 KiB

View File

@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2024 The Android Open Source Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<array name="config_za_compensation_brightness_thresholds_list">
<item>@array/config_za_primary_display_brightness_thresholds_list</item>
</array>
<array name="config_za_compensation_images_list">
<item>@array/config_za_primary_display_compensation_images_list</item>
</array>
<array name="config_za_compensation_opr_thresholds">
<item>0.4</item>
</array>
<array name="config_za_compensation_with_shadow_compensation_images">
<item>@drawable/SCI_0_cal0</item>
<item>@drawable/SCI_1_cal0</item>
<item>@drawable/SCI_2_cal0</item>
<item>@drawable/SCI_3_cal0</item>
<item>@drawable/SCI_4_cal0</item>
<item>@drawable/SCI_5_cal0</item>
</array>
<integer-array name="config_za_compensation_with_shadow_compensation_thresholds">
<item>7000</item>
<item>10000</item>
<item>35000</item>
<item>50000</item>
<item>80000</item>
<item>100000</item>
</integer-array>
<array name="config_za_primary_display_brightness_thresholds_list">
<item>@array/config_za_primary_display_condition1_brightness_thresholds</item>
<item>@array/config_za_primary_display_condition2_brightness_thresholds</item>
</array>
<array name="config_za_primary_display_compensation_images_list">
<item>@array/config_za_primary_display_condition1_compensation_images</item>
<item>@array/config_za_primary_display_condition2_compensation_images</item>
</array>
<array name="config_za_primary_display_condition1_brightness_thresholds">
<item>0.60714287</item>
<item>0.625</item>
<item>0.64285713</item>
<item>0.66071427</item>
<item>0.6785714</item>
<item>0.71428573</item>
<item>0.75</item>
<item>0.85714287</item>
<item>0.9285714</item>
<item>0.9464286</item>
<item>0.96428573</item>
<item>0.98214287</item>
<item>1.0</item>
</array>
<array name="config_za_primary_display_condition1_compensation_images">
<item>@drawable/ZACI_0_ZA9162</item>
<item>@drawable/ZACI_1_ZA8938</item>
<item>@drawable/ZACI_2_ZA8712</item>
<item>@drawable/ZACI_3_ZA8488</item>
<item>@drawable/ZACI_5_ZA8262</item>
<item>@drawable/ZACI_6_ZA8150</item>
<item>@drawable/ZACI_7_ZA8038</item>
<item>@drawable/ZACI_8_ZA7812</item>
<item>@drawable/ZACI_9_ZA7700</item>
<item>@drawable/ZACI_10_ZA7588</item>
<item>@drawable/ZACI_11_ZA7475</item>
<item>@drawable/ZACI_12_ZA7362</item>
<item>@drawable/ZACI_13_ZA7250</item>
</array>
<array name="config_za_primary_display_condition2_brightness_thresholds">
<item>0.57214284</item>
<item>0.75</item>
<item>0.78571427</item>
<item>0.8214286</item>
<item>0.85714287</item>
<item>0.9285714</item>
<item>0.96428573</item>
<item>0.98214287</item>
<item>1.0</item>
</array>
<array name="config_za_primary_display_condition2_compensation_images">
<item>@drawable/ZACI_0_ZA9162</item>
<item>@drawable/ZACI_1_ZA8938</item>
<item>@drawable/ZACI_2_ZA8712</item>
<item>@drawable/ZACI_3_ZA8488</item>
<item>@drawable/ZACI_4_ZA8375</item>
<item>@drawable/ZACI_6_ZA8150</item>
<item>@drawable/ZACI_7_ZA8038</item>
<item>@drawable/ZACI_8_ZA7812</item>
<item>@drawable/ZACI_10_ZA7588</item>
</array>
<bool name="config_compensation_animation_enabled">true</bool>
<item type="dimen" name="config_compensation_filter_intercept">10.0</item>
<item type="dimen" name="config_za_compensation_brightness_enter_threshold">0.5</item>
<integer name="config_ambient_brightness_changed_debounce_ms">500</integer>
<integer name="config_compensation_filter_horizon">1500</integer>
</resources>

1
akita/setup-makefiles.py Executable file
View File

@@ -0,0 +1 @@
#!./extract-files.py --regenerate_makefiles

1031
akita/skip-files-vendor.txt Normal file

File diff suppressed because it is too large Load Diff

16
akita/vendor.prop Normal file
View File

@@ -0,0 +1,16 @@
# DRM
drm.service.enabled=true
media.mediadrmservice.enable=true
# Fingerprint
ro.vendor.fingerprint.ta.name=g7a.app
# GPS
persist.vendor.gps.hal.service.name=vendor
# Radio
persist.vendor.ril.ecc.use.xml=1
persist.vendor.ril.support_nr_ds=1
persist.vendor.ril.use_radio_hal=2.1
ro.vendor.config.build_carrier=europen
vendor.rild.libpath=libsitril.so

View File

@@ -27,6 +27,3 @@ PRODUCT_DEVICE := akita
PRODUCT_MODEL := AOSP on akita
PRODUCT_BRAND := Android
PRODUCT_MANUFACTURER := Google
DEVICE_MANIFEST_FILE := \
device/google/akita/manifest.xml

View File

@@ -1,4 +0,0 @@
include device/google/gs-common/mte/fullmte-pixel.mk
$(call inherit-product, device/google/akita/aosp_akita.mk)
PRODUCT_NAME := aosp_akita_fullmte

View File

@@ -0,0 +1,63 @@
// Copyright (C) 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.
soong_namespace {
imports: [
"frameworks/av/services/audiopolicy/config",
],
}
package {
default_applicable_licenses: [
"Android-Apache-2.0",
],
}
prebuilt_etc {
name: "audio_policy_volumes.xml",
src: "audio_policy_volumes.xml",
soc_specific: true,
}
prebuilt_etc {
name: "imported_default_volume_tables.xml",
src: "//frameworks/av/services/audiopolicy/config:default_volume_tables.xml",
soc_specific: true,
filename_from_src: true,
}
prebuilt_etc {
name: "audio_platform_configuration.xml",
src: "audio_platform_configuration.xml",
soc_specific: true,
required: [
"audio_policy_volumes.xml",
"imported_default_volume_tables.xml",
],
}
prebuilt_etc {
name: "mixer_paths_aidl.xml",
src: "mixer_paths_aidl.xml",
soc_specific: true,
}
phony {
name: "audio_aidl_configs",
soc_specific: true,
required: [
"audio_platform_configuration.xml",
"mixer_paths_aidl.xml",
],
}

View File

@@ -0,0 +1,321 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!-- 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.
-->
<audioPlatformConfiguration xmlns:xi="http://www.w3.org/2001/XInclude">
<features>
<feature name="BatteryThrottle">
<argument name="Type" value="BCL_VOLTAGE" />
<argument name="Name" value="BCL_AUDIO_BAACL" />
<argument name="Strategy" value="MediaSpeakerAndScreenOn" />
</feature>
<feature name="PlaybackThermalThrottle">
<argument name="PollWaitMs" value="20000" />
<argument name="ThermistorName" value="VIRTUAL-SKIN-SPEAKER" />
<argument name="ThermistorType" value="UNKNOWN" />
<argument name="ThrottlingSeverity" value="MODERATE" />
</feature>
<feature name="RuntimeTuningDump" />
<feature name="SoundDose">
<argument name="Curves" value="blackbird,condor=0,46.35,0.1950549451;54.6,57,0.98625" />
</feature>
<feature name="spatializer-offload" />
</features>
<voipVolume>
<path voipDevice="VoipDevice::kUsb">
<gain>0.01</gain>
<gain>0.02</gain>
<gain>0.04</gain>
<gain>0.10</gain>
<gain>0.21</gain>
<gain>0.47</gain>
<gain>1.00</gain>
</path>
</voipVolume>
<devices>
<device name="bluetooth" />
<device name="usb" />
<device name="speaker" codec="cs35l41">
<argument name="SpeakerNum" value="2" />
<argument name="AcousticShockProtection" />
</device>
</devices>
<tuners>
<tuner type="playback" name="waves">
<argument name="Sink" value="SPK" />
<argument name="ThermistorsName" value="VIRTUAL-SKIN-SPEAKER" />
</tuner>
<tuner type="telephony" name="fortemedia">
<argument name="VoIP_DLCHs" value="SPK:2,USB:2,BT:2" />
<argument name="VoIP_Rate" value="32000" />
<argument name="BOOST_USB_SWB_CLK" value="y" />
<argument name="BOOST_HANDSET_SWB_CLK" value="y" />
<argument name="CCA" value="UnsupportBands:48000,ExSharedBands:48000,VoIPMode:Dl" />
<argument name="MCPS_TABLE" value="y" />
</tuner>
<tuner type="capture" name="gs_capture" />
<tuner name="gsenet">
<argument name="microphones" value="2" />
</tuner>
</tuners>
<latencies>
<latency source="primary-playback" sink="speaker" milliseconds="20" />
<latency source="primary-playback" sink="usb-device" milliseconds="10" />
<latency source="primary-playback" sink="usb-headset" milliseconds="10" />
<latency source="primary-playback" sink="bluetooth-a2dp-device" milliseconds="100" />
<latency source="primary-playback" sink="bluetooth-low-energy-speaker" milliseconds="100" />
<latency source="deep-buffer-playback" sink="speaker" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-device" milliseconds="70" />
<latency source="deep-buffer-playback" sink="usb-headset" milliseconds="70" />
<latency source="deep-buffer-playback" sink="bluetooth-a2dp-device" milliseconds="180" />
<latency source="compress-offload-playback" sink="speaker" milliseconds="40" />
<latency source="compress-offload-playback" sink="usb-device" milliseconds="40" />
<latency source="compress-offload-playback" sink="usb-headset" milliseconds="40" />
<latency source="compress-offload-playback" sink="bluetooth-a2dp-device" milliseconds="70" />
<latency source="immersive-playback" sink="bluetooth-a2dp-device" milliseconds="100" />
<latency source="microphones" sink="primary-capture" milliseconds="160" />
<latency source="back-microphones" sink="primary-capture" milliseconds="160" />
<latency source="bluetooth-sco-headset" sink="primary-capture" milliseconds="40" />
<latency source="usb-device-microphones" sink="primary-capture" milliseconds="100" />
<latency source="usb-headset-microphones" sink="primary-capture" milliseconds="100" />
</latencies>
<spatialCapture>
<enablement useCase="primary-capture" deviceInterface="microphones">
<source>MIC</source>
<source>CAMCORDER</source>
</enablement>
<enablement useCase="primary-capture" deviceInterface="back-microphones">
<source>MIC</source>
<source>CAMCORDER</source>
</enablement>
</spatialCapture>
<microphones>
<microphone id="builtin_mic_1" location="MAINBODY" group="0" indexInTheGroup="0"
directionality="OMNI">
<device type="IN_MICROPHONE" address="bottom" />
<sensitivity levelDbfs="37.0" maxSplDb="132.5" minSplDb="28.5" />
<position x="0.0269" y="0.0058" z="0.0079" />
<orientation x="0.0" y="0.0" z="1.0" />
<frequencyResponse>
<point frequencyHz="100.00" levelDb="-0.78" />
<point frequencyHz="106.00" levelDb="-0.71" />
<point frequencyHz="112.00" levelDb="-0.64" />
<point frequencyHz="118.00" levelDb="-0.60" />
<point frequencyHz="125.00" levelDb="-0.55" />
<point frequencyHz="132.00" levelDb="-0.50" />
<point frequencyHz="140.00" levelDb="-0.47" />
<point frequencyHz="150.00" levelDb="-0.42" />
<point frequencyHz="160.00" levelDb="-0.39" />
<point frequencyHz="170.00" levelDb="-0.36" />
<point frequencyHz="180.00" levelDb="-0.34" />
<point frequencyHz="190.00" levelDb="-0.33" />
<point frequencyHz="200.00" levelDb="-0.32" />
<point frequencyHz="212.00" levelDb="-0.29" />
<point frequencyHz="224.00" levelDb="-0.28" />
<point frequencyHz="236.00" levelDb="-0.28" />
<point frequencyHz="250.00" levelDb="-0.27" />
<point frequencyHz="265.00" levelDb="-0.25" />
<point frequencyHz="280.00" levelDb="-0.25" />
<point frequencyHz="300.00" levelDb="-0.24" />
<point frequencyHz="315.00" levelDb="-0.23" />
<point frequencyHz="335.00" levelDb="-0.23" />
<point frequencyHz="355.00" levelDb="-0.22" />
<point frequencyHz="375.00" levelDb="-0.22" />
<point frequencyHz="400.00" levelDb="-0.19" />
<point frequencyHz="425.00" levelDb="-0.17" />
<point frequencyHz="450.00" levelDb="-0.15" />
<point frequencyHz="475.00" levelDb="-0.15" />
<point frequencyHz="500.00" levelDb="-0.14" />
<point frequencyHz="530.00" levelDb="-0.14" />
<point frequencyHz="560.00" levelDb="-0.12" />
<point frequencyHz="600.00" levelDb="-0.11" />
<point frequencyHz="630.00" levelDb="-0.10" />
<point frequencyHz="670.00" levelDb="-0.10" />
<point frequencyHz="710.00" levelDb="-0.08" />
<point frequencyHz="750.00" levelDb="-0.07" />
<point frequencyHz="800.00" levelDb="-0.07" />
<point frequencyHz="850.00" levelDb="-0.04" />
<point frequencyHz="900.00" levelDb="-0.03" />
<point frequencyHz="950.00" levelDb="-0.01" />
<point frequencyHz="1000.00" levelDb="0.00" />
<point frequencyHz="1060.00" levelDb="0.04" />
<point frequencyHz="1120.00" levelDb="0.06" />
<point frequencyHz="1180.00" levelDb="0.07" />
<point frequencyHz="1250.00" levelDb="0.08" />
<point frequencyHz="1320.00" levelDb="0.13" />
<point frequencyHz="1400.00" levelDb="0.09" />
<point frequencyHz="1500.00" levelDb="0.14" />
<point frequencyHz="1600.00" levelDb="0.19" />
<point frequencyHz="1700.00" levelDb="0.23" />
<point frequencyHz="1800.00" levelDb="0.28" />
<point frequencyHz="1900.00" levelDb="0.29" />
<point frequencyHz="2000.00" levelDb="0.31" />
<point frequencyHz="2120.00" levelDb="0.37" />
<point frequencyHz="2240.00" levelDb="0.88" />
<point frequencyHz="2360.00" levelDb="0.86" />
<point frequencyHz="2500.00" levelDb="0.77" />
<point frequencyHz="2650.00" levelDb="0.78" />
<point frequencyHz="2800.00" levelDb="0.84" />
<point frequencyHz="3000.00" levelDb="0.86" />
<point frequencyHz="3150.00" levelDb="1.05" />
<point frequencyHz="3350.00" levelDb="1.12" />
<point frequencyHz="3550.00" levelDb="1.18" />
<point frequencyHz="3750.00" levelDb="1.25" />
<point frequencyHz="4000.00" levelDb="1.43" />
<point frequencyHz="4250.00" levelDb="1.66" />
<point frequencyHz="4500.00" levelDb="1.83" />
<point frequencyHz="4750.00" levelDb="2.02" />
<point frequencyHz="5000.00" levelDb="2.23" />
<point frequencyHz="5300.00" levelDb="2.59" />
<point frequencyHz="5600.00" levelDb="2.84" />
<point frequencyHz="6000.00" levelDb="3.35" />
<point frequencyHz="6300.00" levelDb="4.01" />
<point frequencyHz="6700.00" levelDb="6.82" />
<point frequencyHz="7100.00" levelDb="6.62" />
<point frequencyHz="7500.00" levelDb="6.42" />
<point frequencyHz="8000.00" levelDb="7.30" />
<point frequencyHz="8500.00" levelDb="8.23" />
<point frequencyHz="9000.00" levelDb="7.54" />
<point frequencyHz="9500.00" levelDb="12.68" />
<point frequencyHz="10000.00" levelDb="13.76" />
<point frequencyHz="10600.00" levelDb="18.69" />
<point frequencyHz="11200.00" levelDb="19.68" />
<point frequencyHz="11800.00" levelDb="20.90" />
<point frequencyHz="12500.00" levelDb="23.70" />
<point frequencyHz="13200.00" levelDb="25.10" />
<point frequencyHz="14000.00" levelDb="21.65" />
<point frequencyHz="15000.00" levelDb="16.18" />
<point frequencyHz="16000.00" levelDb="18.84" />
<point frequencyHz="17000.00" levelDb="25.44" />
<point frequencyHz="18000.00" levelDb="23.48" />
<point frequencyHz="19000.00" levelDb="23.22" />
<point frequencyHz="20000.00" levelDb="24.89" />
</frequencyResponse>
</microphone>
<microphone id="builtin_mic_2" location="MAINBODY" group="0" indexInTheGroup="1"
directionality="OMNI">
<device type="IN_MICROPHONE_BACK" address="back" />
<sensitivity levelDbfs="-37.0" maxSplDb="132.5" minSplDb="28.5" />
<position x="0.0546" y="0.1456" z="0.00415" />
<orientation x="0.0" y="1.0" z="0.0" />
<frequencyResponse>
<point frequencyHz="106.00" levelDb="-0.75" />
<point frequencyHz="112.00" levelDb="-0.74" />
<point frequencyHz="118.00" levelDb="-0.69" />
<point frequencyHz="125.00" levelDb="-0.65" />
<point frequencyHz="132.00" levelDb="-0.62" />
<point frequencyHz="140.00" levelDb="-0.61" />
<point frequencyHz="150.00" levelDb="-0.56" />
<point frequencyHz="160.00" levelDb="-0.53" />
<point frequencyHz="170.00" levelDb="-0.50" />
<point frequencyHz="180.00" levelDb="-0.47" />
<point frequencyHz="190.00" levelDb="-0.43" />
<point frequencyHz="200.00" levelDb="-0.40" />
<point frequencyHz="212.00" levelDb="-0.37" />
<point frequencyHz="224.00" levelDb="-0.36" />
<point frequencyHz="236.00" levelDb="-0.33" />
<point frequencyHz="250.00" levelDb="-0.30" />
<point frequencyHz="265.00" levelDb="-0.28" />
<point frequencyHz="280.00" levelDb="-0.25" />
<point frequencyHz="300.00" levelDb="-0.24" />
<point frequencyHz="315.00" levelDb="-0.24" />
<point frequencyHz="335.00" levelDb="-0.24" />
<point frequencyHz="355.00" levelDb="-0.25" />
<point frequencyHz="375.00" levelDb="-0.24" />
<point frequencyHz="400.00" levelDb="-0.12" />
<point frequencyHz="425.00" levelDb="-0.10" />
<point frequencyHz="450.00" levelDb="-0.08" />
<point frequencyHz="475.00" levelDb="-0.09" />
<point frequencyHz="500.00" levelDb="-0.07" />
<point frequencyHz="530.00" levelDb="-0.07" />
<point frequencyHz="560.00" levelDb="-0.06" />
<point frequencyHz="600.00" levelDb="-0.06" />
<point frequencyHz="630.00" levelDb="-0.06" />
<point frequencyHz="670.00" levelDb="-0.05" />
<point frequencyHz="710.00" levelDb="-0.04" />
<point frequencyHz="750.00" levelDb="-0.05" />
<point frequencyHz="800.00" levelDb="-0.04" />
<point frequencyHz="850.00" levelDb="-0.01" />
<point frequencyHz="900.00" levelDb="0.02" />
<point frequencyHz="950.00" levelDb="0.02" />
<point frequencyHz="1000.00" levelDb="0.00" />
<point frequencyHz="1060.00" levelDb="0.02" />
<point frequencyHz="1120.00" levelDb="0.03" />
<point frequencyHz="1180.00" levelDb="0.07" />
<point frequencyHz="1250.00" levelDb="0.10" />
<point frequencyHz="1320.00" levelDb="0.10" />
<point frequencyHz="1400.00" levelDb="0.13" />
<point frequencyHz="1500.00" levelDb="0.01" />
<point frequencyHz="1600.00" levelDb="0.01" />
<point frequencyHz="1700.00" levelDb="0.10" />
<point frequencyHz="1800.00" levelDb="0.11" />
<point frequencyHz="1900.00" levelDb="0.19" />
<point frequencyHz="2000.00" levelDb="0.24" />
<point frequencyHz="2120.00" levelDb="0.38" />
<point frequencyHz="2240.00" levelDb="0.46" />
<point frequencyHz="2360.00" levelDb="0.26" />
<point frequencyHz="2500.00" levelDb="0.27" />
<point frequencyHz="2650.00" levelDb="0.43" />
<point frequencyHz="2800.00" levelDb="0.76" />
<point frequencyHz="3000.00" levelDb="0.75" />
<point frequencyHz="3150.00" levelDb="1.09" />
<point frequencyHz="3350.00" levelDb="1.09" />
<point frequencyHz="3550.00" levelDb="0.94" />
<point frequencyHz="3750.00" levelDb="1.06" />
<point frequencyHz="4000.00" levelDb="1.21" />
<point frequencyHz="4250.00" levelDb="1.47" />
<point frequencyHz="4500.00" levelDb="1.45" />
<point frequencyHz="4750.00" levelDb="1.36" />
<point frequencyHz="5000.00" levelDb="2.07" />
<point frequencyHz="5300.00" levelDb="2.85" />
<point frequencyHz="5600.00" levelDb="2.90" />
<point frequencyHz="6000.00" levelDb="3.85" />
<point frequencyHz="6300.00" levelDb="4.65" />
<point frequencyHz="6700.00" levelDb="5.84" />
<point frequencyHz="7100.00" levelDb="5.46" />
<point frequencyHz="7500.00" levelDb="6.15" />
<point frequencyHz="8000.00" levelDb="7.50" />
<point frequencyHz="8500.00" levelDb="8.30" />
<point frequencyHz="9000.00" levelDb="10.62" />
<point frequencyHz="9500.00" levelDb="12.70" />
<point frequencyHz="10000.00" levelDb="16.65" />
<point frequencyHz="10600.00" levelDb="20.95" />
<point frequencyHz="11200.00" levelDb="25.41" />
<point frequencyHz="11800.00" levelDb="26.32" />
<point frequencyHz="12500.00" levelDb="20.20" />
<point frequencyHz="13200.00" levelDb="16.60" />
<point frequencyHz="14000.00" levelDb="11.24" />
<point frequencyHz="15000.00" levelDb="7.85" />
<point frequencyHz="16000.00" levelDb="7.62" />
<point frequencyHz="17000.00" levelDb="20.19" />
<point frequencyHz="18000.00" levelDb="7.32" />
<point frequencyHz="19000.00" levelDb="2.87" />
<point frequencyHz="20000.00" levelDb="5.18" />
</frequencyResponse>
</microphone>
</microphones>
<xi:include href="audio_policy_volumes.xml" />
<xi:include href="default_volume_tables.xml" />
</audioPlatformConfiguration>

File diff suppressed because it is too large Load Diff

View File

@@ -16,25 +16,8 @@
AUDIO_TABLE_FOLDER := akita
# 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
# 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
PRODUCT_SOONG_NAMESPACES += device/google/akita/audio/$(AUDIO_TABLE_FOLDER)/aidl_config
PRODUCT_PACKAGES += audio_aidl_configs
# Speaker firmware files
SPK_FIRMWARE_PATH := $(AUDIO_TABLE_FOLDER)/cs35l41/fw
@@ -54,25 +37,9 @@ 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 userdebug eng, $(TARGET_BUILD_VARIANT)))
# Offload spatializer config
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
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

View File

@@ -1,66 +0,0 @@
<?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>

View File

@@ -1,311 +0,0 @@
<?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, 32 periods * 64 frames(around 1.3ms) * 2ch * 4(s32) = 16384 bytes -->
<usecase id="UC_RAW_PLAYBACK" dev1="23" dyn_path="true" dsp_vol="false" mmap="true" period="64" period_num="32"/>
<!-- 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, 4 * 20ms buffer -->
<usecase id="UC_DEEP_BUFFER_PLAYBACK" dev1="5" dyn_path="true" dsp_vol="false" mmap="false" period="20" period_num="4"/>
<!-- 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"/>
<module libname="liboffloadeffect.so"/>
<module libname="audio_amcs_ext.so"/>
<module libname="audio_bluenote_aoc.so"/>
</external_module>
</audio_platform_configuration>

View File

@@ -1,281 +0,0 @@
<?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"/>
</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="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" 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="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" 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>

View File

@@ -1,236 +0,0 @@
<?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="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" 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="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" 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>

View File

@@ -1,236 +0,0 @@
<?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="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" 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="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" 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>

View File

@@ -1,261 +0,0 @@
<?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="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="Wired Headset" type="AUDIO_DEVICE_OUT_WIRED_HEADSET" role="sink">
</devicePort>
<devicePort tagName="Wired Headphones" type="AUDIO_DEVICE_OUT_WIRED_HEADPHONE" 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="Wired Headset Mic" type="AUDIO_DEVICE_IN_WIRED_HEADSET" 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>

View File

@@ -1,926 +0,0 @@
<?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="2"/>
<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="3"/>
<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="2"/>
<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="3"/>
<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="2"/>
<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="2"/>
<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="2"/>
<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="2"/>
<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="2"/>
<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="2"/>
<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="2"/>
<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="2"/>
<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="2"/>
<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>

View File

@@ -1,395 +0,0 @@
<?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="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="2" />
<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="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="2" />
<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>

View File

@@ -1,368 +0,0 @@
<?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>

View File

@@ -1,840 +0,0 @@
<?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>

View File

@@ -1,33 +0,0 @@
<?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>

View File

@@ -1,315 +0,0 @@
<?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>

View File

@@ -1,23 +0,0 @@
#
# 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

View File

@@ -1,409 +0,0 @@
<?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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -1,58 +0,0 @@
########################################################################################################
# (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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,259 @@
{
"_comments_": [
"== Audio Set Scenarios ==",
" Each defined scenario references externally defined audio set",
" configurations, listed in the order of priority."
],
"scenarios": [
{
"name": "Conversational",
"configurations": [
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_2",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_2",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_2",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_2",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_4_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_3_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_24_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_1_Balanced_Reliability",
"VND_SingleDev_TwoChanStereoSnk_OneChanStereoSrc_32khz_60oct_R3_L22_1",
"Two-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability"
]
},
{
"name": "Media",
"configurations": [
"Two-OneChan-SnkAse-Lc3_48_4_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4_2",
"Two-OneChan-SnkAse-Lc3_48_2_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_2_2",
"Two-OneChan-SnkAse-Lc3_48_3_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_3_2",
"Two-OneChan-SnkAse-Lc3_48_1_High_Reliability",
"Two-OneChan-SnkAse-Lc3_48_1_2",
"Two-OneChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_24_2_2",
"Two-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_16_2_2",
"Two-OneChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_16_1_2",
"One-TwoChan-SnkAse-Lc3_48_4_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4_2",
"One-TwoChan-SnkAse-Lc3_48_2_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_2_2",
"One-TwoChan-SnkAse-Lc3_48_3_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_3_2",
"One-TwoChan-SnkAse-Lc3_48_1_High_Reliability",
"One-TwoChan-SnkAse-Lc3_48_1_2",
"One-TwoChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_24_2_2",
"One-TwoChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_2_2",
"One-TwoChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_16_1_2",
"One-OneChan-SnkAse-Lc3_48_4_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_4_2",
"One-OneChan-SnkAse-Lc3_48_2_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_2_2",
"One-OneChan-SnkAse-Lc3_48_3_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_3_2",
"One-OneChan-SnkAse-Lc3_48_1_High_Reliability",
"One-OneChan-SnkAse-Lc3_48_1_2",
"One-OneChan-SnkAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_32_2_2",
"One-OneChan-SnkAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_32_1_2",
"One-OneChan-SnkAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_24_2_2",
"One-OneChan-SnkAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_2_2",
"One-OneChan-SnkAse-Lc3_16_1_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_16_1_2",
"VND_DualDev_OneChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_DualDev_OneChanStereoSnk_48khz_100octs_R15_L70_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_100octs_R15_L70_1",
"VND_SingleDev_OneChanStereoSnk_48khz_100octs_High_Reliability_1",
"VND_SingleDev_OneChanStereoSnk_48khz_100octs_R15_L70_1",
"Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability"
]
},
{
"name": "Game",
"configurations": [
"One-TwoChan-SnkAse-Lc3_48_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_48_3_Low_Latency",
"One-TwoChan-SnkAse-Lc3_48_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_24_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_24_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Low_Latency",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_TwoChanStereoSrc_16khz_30octs_Balanced_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_R5_L12_TwoChanStereoSrc_16khz_30octs_R3_L12_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_High_Reliability_1",
"VND_SingleDev_TwoChanStereoSnk_48khz_75octs_R5_L12_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_3_Low_Latency",
"Two-OneChan-SnkAse-Lc3_48_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_32_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_24_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_24_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1_Low_Latency"
]
},
{
"name": "VoiceAssistants",
"configurations": [
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-Two-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"Two-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-TwoChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_24_2_Balanced_Reliability",
"One-OneChan-SnkAse-Lc3_48_4-One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability"
]
},
{
"name": "Live",
"configurations": [
"VND_SingleDev_TwoChanStereoSrc_48khz_100octs_Balanced_Reliability_1",
"VND_SingleDev_TwoChanStereoSrc_48khz_100octs_R11_L40_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-Two-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-Two-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-Two-OneChan-SrcAse-Lc3_16_1_1",
"Two-TwoChan-SnkAse-Lc3_48_2-Two-TwoChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"Two-TwoChan-SnkAse-Lc3_48_1-Two-TwoChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-TwoChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-TwoChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-TwoChan-SrcAse-Lc3_16_1_1",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-TwoChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"Two-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"Two-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_32_2-One-OneChan-SrcAse-Lc3_32_2_1",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_2-One-OneChan-SrcAse-Lc3_16_2_1",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_Low_Latency",
"One-OneChan-SnkAse-Lc3_16_1-One-OneChan-SrcAse-Lc3_16_1_1",
"One-OneChan-SrcAse-Lc3_48_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_48_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_32_1_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_2_Balanced_Reliability",
"One-OneChan-SrcAse-Lc3_16_1_Balanced_Reliability"
]
}
]
}

View File

@@ -13,5 +13,21 @@ AocPowerPinCtrlCheckEnable = true
# This only affects when AocPowerPinCtrlCheckEnable is true
HwStageDoesNotCtrlPowerPinFromAoc = DEV1.0
# Priority of uart type
# HciUartSocket = 0
# SerialUartPort = 1
# SerialAocUartPort = 2
# UserialInvalid = 3
UserialTypePriority = 2-1
# <string> The hardware support which offload capability
BtOffloadCap = AOC
# <string> The BT Offload Trunk Flag Group Name
BtOffloadTrunkGroup = 24M_AOC
# <boolean> APM Uart skip suspend to aovid hold system too long when BT using AOC UART
ApmUartSkipSuspend = true
# Update BQR Event Mask property value
BqrEventMaskValueUpdate = 295006

View File

@@ -52,6 +52,7 @@
<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>
@@ -74,6 +75,7 @@
<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>

View File

@@ -13,9 +13,10 @@ on init
setprop persist.vendor.se.streset libstreset23
setprop dalvik.vm.dexopt.thermal-cutoff 1
on fs
# Display permissions for SSC mode
chown system system /sys/class/backlight/panel0-backlight/ssc_mode
chmod 664 /sys/class/backlight/panel0-backlight/ssc_mode
chown system system /sys/class/backlight/panel0-backlight/ssc_en
chmod 664 /sys/class/backlight/panel0-backlight/ssc_en
on early-boot
# Wait for insmod_sh to finish all common modules
@@ -78,8 +79,12 @@ on property:vendor.all.modules.ready=1
chown system system /sys/bus/i2c/devices/0-0043/calibration/redc_stored
chown system system /sys/bus/i2c/devices/0-0043/default/vibe_state
chown system system /sys/bus/i2c/devices/0-0043/default/num_waves
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_bank
chown system system /sys/bus/i2c/devices/0-0043/default/braking_time_index
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

View File

@@ -14,34 +14,22 @@
# limitations under the License.
#
PRODUCT_RELEASE_CONFIG_MAPS += vendor/google_devices/release/phones/release_config_map.mk
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
TARGET_KERNEL_DIR ?= device/google/akita-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/akita-kernel/kernel-headers
ifdef RELEASE_GOOGLE_AKITA_KERNEL_VERSION
TARGET_LINUX_KERNEL_VERSION := $(RELEASE_GOOGLE_AKITA_KERNEL_VERSION)
ifneq ($(TARGET_BOOTS_16K),true)
PRODUCT_16K_DEVELOPER_OPTION := true
endif
ifdef RELEASE_GOOGLE_AKITA_KERNEL_DIR
TARGET_KERNEL_DIR := $(RELEASE_GOOGLE_AKITA_KERNEL_DIR)
TARGET_BOARD_KERNEL_HEADERS := $(RELEASE_GOOGLE_AKITA_KERNEL_DIR)/kernel-headers
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
USE_AUDIO_HAL_AIDL := true
include device/google/akita/audio/akita/audio-tables.mk
include device/google/zuma/device-shipping-common.mk
include hardware/google/pixel/vibrator/cs40l26/device.mk
include device/google/gs-common/bcmbt/bluetooth.mk
include device/google/gs-common/touch/gti/gti.mk
include device/google/gs-common/touch/gti/predump_gti.mk
include device/google/gs-common/modem/radio_ext/radio_ext.mk
# go/lyric-soong-variables
@@ -172,18 +160,6 @@ PRODUCT_PROPERTY_OVERRIDES += \
ro.gms.dck.eligible_wcc=2 \
ro.gms.dck.se_capability=1
# Bluetooth hci_inject test tool
PRODUCT_PACKAGES_DEBUG += \
hci_inject
# Bluetooth SAR test tool
PRODUCT_PACKAGES_DEBUG += \
sar_test
# Bluetooth EWP test tool
PRODUCT_PACKAGES_DEBUG += \
ewp_tool
# Bluetooth AAC VBR
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.a2dp_aac.vbr_supported=true
@@ -217,11 +193,11 @@ PRODUCT_PACKAGES += \
# LE Audio Lunch Config for Phase 1 (LE audio toggle hidden by default)
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.toggle_visible=false
persist.bluetooth.leaudio.toggle_visible=true
# LE Audio use classic connection by default
PRODUCT_PRODUCT_PROPERTIES += \
ro.bluetooth.leaudio.le_audio_connection_by_default=false
ro.bluetooth.leaudio.le_audio_connection_by_default=true
# Bluetooth LE Audio CIS handover to SCO
# Set the property only for the controller couldn't support CIS/SCO simultaneously. More detailed in b/242908683.
@@ -234,36 +210,30 @@ PRODUCT_PRODUCT_PROPERTIES += \
# LE Audio Unicast Allowlist
PRODUCT_PRODUCT_PROPERTIES += \
persist.bluetooth.leaudio.allow_list=SM-R510
persist.bluetooth.leaudio.allow_list=SM-R510,WF-1000XM5,SM-R630
# Support LE & Classic concurrent encryption (b/330704060)
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.ble.allow_enc_with_bredr=true
# Enable one-handed mode
PRODUCT_PRODUCT_PROPERTIES += \
ro.support_one_handed_mode=true
# Override BQR mask to enable LE Audio Choppy report, remove BTRT logging
ifneq (,$(filter userdebug 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
# Spatial Audio
PRODUCT_PACKAGES += \
libspatialaudio \
librondo
# Enable Bluetooth AutoOn feature
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.server.automatic_turn_on=true
# Sound Dose
PRODUCT_PACKAGES += \
android.hardware.audio.sounddose-vendor-impl \
audio_sounddose_aoc \
# HdMic Audio
PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.app.audio.gsenet.version=1
# Audio CCA property
PRODUCT_PROPERTY_OVERRIDES += \
@@ -311,18 +281,8 @@ PRODUCT_SOONG_NAMESPACES += \
PRODUCT_PACKAGES += \
WifiOverlay2024Mid
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/akita/prebuilts
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/akita/prebuilts/trusty/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/akita/prebuilts/trusty/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/akita/prebuilts/trusty/trunk
endif
# include GNSSD
include device/google/akita/location/gnssd/device-gnss.mk
include device/google/akita/location/device-gnss.mk
# Set zram size
PRODUCT_VENDOR_PROPERTIES += \
@@ -333,49 +293,30 @@ PRODUCT_VENDOR_PROPERTIES += \
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.increase_thread_priority_nodes_stop=true
# Fingerprint HAL
GOODIX_CONFIG_BUILD_VERSION := g7_trusty
ifneq (,$(filter AP1%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/akita/prebuilts/firmware/fingerprint/24Q1
else ifneq (,$(filter AP2% AP3%,$(RELEASE_PLATFORM_VERSION)))
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/akita/prebuilts/firmware/fingerprint/24Q2
else
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/akita/prebuilts/firmware/fingerprint/trunk
endif
$(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
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += ro.vendor.primarydisplay.google-ak3b.temperature_path=/dev/thermal/tz-by-name/display_therm/temp
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
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.auto_exposure_compensation_supported=true
# Fingerprint Auth Filter
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.udfps.auth_filter.log_all_coverages=true \
persist.vendor.udfps.auth_filter.data_collection_enabled=false
endif
# OIS with system imu
PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.camera.ois_with_system_imu=true
# Vibrator HAL
$(call soong_config_set,haptics,kernel_ver,v$(subst .,_,$(TARGET_LINUX_KERNEL_VERSION)))
ADAPTIVE_HAPTICS_FEATURE := adaptive_haptics_v1
ACTUATOR_MODEL := legacy_zlra_actuator
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.vibrator.hal.supported_primitives=243 \
ro.vendor.vibrator.hal.f0.comp.enabled=1 \
ro.vendor.vibrator.hal.redc.comp.enabled=0 \
persist.vendor.vibrator.hal.context.enable=false \
@@ -384,9 +325,39 @@ PRODUCT_VENDOR_PROPERTIES += \
persist.vendor.vibrator.hal.context.cooldowntime=1600 \
persist.vendor.vibrator.hal.context.settlingtime=5000
# Increment the SVN for any official public releases
# Override Output Distortion Gain
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=9
vendor.audio.hapticgenerator.distortion.output.gain=0.29
# Increment the SVN for any official public releases
ifdef RELEASE_SVN_AKITA
TARGET_SVN ?= $(RELEASE_SVN_AKITA)
else
# Set this for older releases that don't use build flag
TARGET_SVN ?= 21
endif
PRODUCT_VENDOR_PROPERTIES += \
ro.vendor.build.svn=$(TARGET_SVN)
# Set device family property for SMR
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.device_family=HK3SB3AK3
# Set build properties for SMR builds
ifeq ($(RELEASE_IS_SMR), true)
ifneq (,$(RELEASE_BASE_OS_AKITA))
PRODUCT_BASE_OS := $(RELEASE_BASE_OS_AKITA)
endif
endif
# Set build properties for EMR builds
ifeq ($(RELEASE_IS_EMR), true)
ifneq (,$(RELEASE_BASE_OS_AKITA))
PRODUCT_PROPERTY_OVERRIDES += \
ro.build.version.emergency_base_os=$(RELEASE_BASE_OS_AKITA)
endif
endif
# Keyboard height ratio and bottom padding in dp for portrait mode
PRODUCT_PRODUCT_PROPERTIES += \
@@ -403,3 +374,27 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/window_extensions.mk)
# Disable Settings large-screen optimization enabled by Window Extensions
PRODUCT_SYSTEM_PROPERTIES += \
persist.settings.large_screen_opt.enabled=false
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
PRODUCT_CHECK_PREBUILT_MAX_PAGE_SIZE := true
# Bluetooth device id
# Akita: 0x410F
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.device_id.product_id=16655
# Set support for LEA multicodec
PRODUCT_PRODUCT_PROPERTIES += \
bluetooth.core.le_audio.codec_extension_aidl.enabled=true
# LE Audio configuration scenarios
PRODUCT_COPY_FILES += \
device/google/akita/bluetooth/audio_set_scenarios.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_scenarios.json
PRODUCT_COPY_FILES += \
device/google/akita/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

6
device-evolution.mk Normal file
View File

@@ -0,0 +1,6 @@
#
# SPDX-FileCopyrightText: 2024 The Evolution X Project
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-evolution

47
device-lineage.mk Normal file
View File

@@ -0,0 +1,47 @@
#
# SPDX-FileCopyrightText: 2021-2024 The LineageOS Project
# SPDX-FileCopyrightText: 2021-2024 The Calyx Institute
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PACKAGE_OVERLAYS += $(DEVICE_PATH)/overlay-lineage
# ANGLE - Almost Native Graphics Layer Engine
PRODUCT_PACKAGES += \
ANGLE
# EUICC
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.mep.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.mep.xml \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/android.hardware.telephony.euicc.xml
# IWLAN
PRODUCT_PACKAGES += \
Iwlan
# wireless_charger HAL service
include device/google/gs-common/wireless_charger/wireless_charger.mk
# Build necessary packages for vendor
# Dumpstate
PRODUCT_PACKAGES += \
dump_gsc.sh
# 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 \
libGLESv1_CM_angle \
libGLESv2_angle
# Sensors
PRODUCT_PACKAGES += \
sensors.dynamic_sensor_hal

16
evolution.dependencies Normal file
View File

@@ -0,0 +1,16 @@
[
{
"repository": "device_google_zuma",
"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"
}
]

13
extract-files.py Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
set -e
MY_DIR="$(cd "$(dirname "${0}")"; pwd -P)"
pushd "${MY_DIR}/akita"
./extract-files.py $@
popd

View File

@@ -1,25 +0,0 @@
#!/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

View File

@@ -1,34 +0,0 @@
#
# 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

Some files were not shown because too many files have changed in this diff Show More