Commit graph

1308 commits

Author SHA1 Message Date
Per Åhgren
733cea1ebd Update APMg3 and tuning configs to version 6
This CL updates the APMg3 tunings to version 6 (previous version was version 4, and version 5 was skipped).

The tunings are available at
https://drive.google.com/drive/folders/12x0vnEtbDcFyqCKkT7iJISYhOcKmMN2R?usp=sharing. Complexity and memory figures are basically the same as for https://docs.google.com/spreadsheets/d/1ZtPoIw3SGPKErR8xURvp3gyDvNNl7bISCzLFH_HDOIc/edit?usp=sharing&resourcekey=0-q7s7VtDqDSf762Lvb4d7gA

Bug: 292144567
Test: Manual test calls on Tangor using Meet, together with TAP-points recordings for verification, as well as lab benchmarking in the STO audio lab.
Change-Id: I26fe9b8ce430e8cb2143d7b6e0d5e1c80b2c2556
2023-09-05 17:12:59 +00:00
Yung Ti Su
11ea16adff add mixer path for BT SCO voice call
Bug: 297794937
Test: manual

Change-Id: I6901afda339a85d1ce1892dcca823ae4829bde74
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-09-01 02:30:52 +00:00
Treehugger Robot
afe207739d Merge "BQR: Enable LE Audio Choppy Event Report" into udc-qpr-dev 2023-08-30 10:39:26 +00:00
Treehugger Robot
c20b78cfc9 Merge "[AIDL] Add mixer paths for BT" into udc-qpr-dev 2023-08-28 17:58:49 +00:00
Yung Ti Su
b8b40df7a8 [AIDL] Add mixer paths for BT
Bug: 293221641
Test: manual

Change-Id: Iedf51795a3330d89982bd7b573eee617541a44b2
Signed-off-by: Yung Ti Su <andysu@google.com>
2023-08-28 17:57:50 +00:00
Treehugger Robot
3f38f6c556 Merge "Revert "audio: set spatial tranaural enabled default property"" into udc-qpr-dev 2023-08-28 14:50:37 +00:00
shihchienc
3718ded747 BQR: Enable LE Audio Choppy Event Report
Set the Bit 6 to true to enable the LE Audio Choppy Event Report

Bug: 222596864
Tag: #feature
Test: Verified the LE Audio Choppy Event will be reported + Regression test b/297331166
Change-Id: I15bbea2dd109f0cdd03a1a115e6870a7a118a7e3
2023-08-28 02:40:56 +00:00
Jasmine Cha
72f8c55ee1 Revert "audio: set spatial tranaural enabled default property"
This reverts commit f7afe8e6e3.

Reason for revert: enabled by default since previous issue is fixed.

Bug: 295577176
Test: manual test

Change-Id: I5ba77e916934004e55d91ad74f2af38d42a2f704
2023-08-28 02:02:02 +00:00
Carter Hsu
bfbcf919df Merge "audio: enable apmg3 feature" into udc-qpr-dev 2023-08-25 07:05:20 +00:00
Joey Poomarin Phloyphisut
7fe23e40b5 Merge "[USB Audio AIDL] Add mixer_paths for usb audio." into udc-qpr-dev 2023-08-24 05:49:50 +00:00
Poomarin Phloyphisut
7662732086 [USB Audio AIDL] Add mixer_paths for usb audio.
Test: Local Test
Bug: 274870625
Change-Id: Iaee8eef36164ec126eda0d205115b26ae9305160
2023-08-23 09:22:23 +00:00
Jasmine Cha
f7afe8e6e3 audio: set spatial tranaural enabled default property
Bug: 295577176
Test: toggle transarual on system ui

Change-Id: I889370ae63882e94f4a11c87842b2df8af2f30d3
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-23 05:27:35 +00:00
Jasmine Cha
4dfbfbaa57 audio: spatial audio on spk
- Enable EP4 (dev1 = 3)
- Change Stereo Spatialier component id to 26
- Enable spatial audio on speaker
- Add one more parameter for waves custom action.
  (OM=1, SM=3)

Bug: 295577176
Test: manual test

Change-Id: I7e14776b34571eed5a632a7b5769d1ea784fa8ee
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-08-22 06:19:13 +00:00
Per Åhgren
04570db34b Update APMg3 and tuning configs.
This CL updates the APMg3 tunings to version 4.

The tunings are available at
https://drive.google.com/drive/folders/1wbYVjMkirbOcdV37DIeT5oipXfGrx1YT?usp=drive_link
and complexity and memory figures for the tunings are available at https://docs.google.com/spreadsheets/d/1ZtPoIw3SGPKErR8xURvp3gyDvNNl7bISCzLFH_HDOIc/edit?usp=sharing&resourcekey=0-q7s7VtDqDSf762Lvb4d7gA

Bug: 292144567
Test: Manual test on Tangor with Meet call.
Change-Id: Id2f5cec85a2b5436b15cbe2981c5b272211d10e6
2023-08-15 14:20:43 +00:00
Carter Hsu
7e5555f2ae Merge "audio: add speech enhancer" into udc-qpr-dev 2023-08-03 00:04:58 +00:00
Viktor Grönroos
846117a234 Install APMg3 external module and tuning configs.
Bug: 292144567
Test: Manual test on Tangor with Meet call.
Change-Id: I1516875745b6ad3696eb5c179866646af0ea5981
2023-08-02 07:49:41 +00:00
Carter Hsu
ae2f6b61c9 audio: add speech enhancer
Bug: 292144567
Test: VoIP call on test build
Change-Id: I15de87813180ba6e879907cd0c6cdc0a7822f1d6
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-08-02 06:31:11 +00:00
Carter Hsu
0932277fe0 audio: enable apmg3 feature
Bug: 292144567
Test: verified on test build
Change-Id: I7898494cfe8b52b901d4d61de7a17234cc8a579a
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-08-02 14:22:43 +08:00
Philip Quinn
658e774004 Merge "Update motion prediction offset." into udc-qpr-dev 2023-07-25 16:54:09 +00:00
Carter Hsu
2e5633c8f8 Merge "audio: Enable multiple USB Audio support" into udc-qpr-dev 2023-07-21 00:33:27 +00:00
Renato Grottesi
e8ef481f86 Merge "Remove settings for old ArmNN HIDL backend" into udc-d1-dev am: d895ff2f08
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/24060123

Change-Id: I1130af5232410a5a5302d96b98a1f70d978ce627
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 07:28:19 +00:00
Renato Grottesi
d895ff2f08 Merge "Remove settings for old ArmNN HIDL backend" into udc-d1-dev 2023-07-20 06:37:17 +00:00
Gaurav Sarode
03da5d06fd Merge "Fix tangorpro_car build file path" into udc-dev am: 5e6bef9445 am: 59a46b4fd8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/24069113

Change-Id: I1738acb163158e629085dc3fbecb923fcb1b6485
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 01:28:55 +00:00
Gaurav Sarode
59a46b4fd8 Merge "Fix tangorpro_car build file path" into udc-dev am: 5e6bef9445
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/24069113

Change-Id: I14f692aebe8acba8d4ce1bce3b3163f4ee678564
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-20 00:42:00 +00:00
Gaurav Sarode
5e6bef9445 Merge "Fix tangorpro_car build file path" into udc-dev 2023-07-20 00:05:43 +00:00
Pat Tjin
41d1775cb0 Merge "tangorpro: Add userdebug init.rc" into udc-qpr-dev 2023-07-19 05:46:59 +00:00
Pat Tjin
21b2cb42a5 tangorpro: Add userdebug init.rc
Bug: 290944591
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: I582d74bf2d753a86a9b329ef52982cb99056f375
2023-07-18 20:57:41 -07:00
Carter Hsu
dcf54dff3a audio: Enable multiple USB Audio support
Bug: 289334178
Test: verified USB Audio on test build
Change-Id: I4675165a62f6779b33511c1a3f4e55cdfe7dd9cf
Signed-off-by: Carter Hsu <carterhsu@google.com>
2023-07-19 03:16:02 +00:00
Philip Quinn
fb55fbb7ec Update motion prediction offset.
The Jetpack motionprediction library calculates a prediction target
based on the minimum display refresh rate (16~18 ms). UX feedback
suggests that we should cap this at 3~4 stylus frames, which
therefore requires a -4 ms offset (1 frame). Clients of the framework
MotionPredictor can control the prediction time directly and can
access predictions further into the future by providing a larger
value.

Bug: 288354672
Test: predictions are visible in the motionprediction test app
Change-Id: I3a489b59b8b2050c64dd31b2a0f75c2238cb432d
2023-07-18 10:27:29 -07:00
Rios Kao
2492cb2726 Merge "aidl: sthal: add support for aec record in mixer table" into udc-qpr-dev 2023-07-18 07:39:36 +00:00
Rex Lin
2debe5f569 uwb: update uwb calibration for T6P am: 2ea4191313 am: 34dbd8a3b0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/23835928

Change-Id: I6ab60926b33f2d4ee2e2fffd8def76f4a889b042
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-17 18:43:36 +00:00
Rex Lin
34dbd8a3b0 uwb: update uwb calibration for T6P am: 2ea4191313
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/23835928

Change-Id: I8aca3472efacb12be3e750b5590456cecf4a78b1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-07-17 17:58:41 +00:00
Rex Lin
2ea4191313 uwb: update uwb calibration for T6P
- ant_delay
    ch5 ant_delay : from 16430 to 16460
    ch9 ant_delay : from 16416 to 16445
- update channel restrction

Bug: 287082706
Bug: 289062178
Test: build pass
Change-Id: I37b01320787301e77ff18889d6352c1ce22bbb93
Signed-off-by: Rex Lin <rexcylin@google.com>
2023-07-17 09:57:12 +08:00
Rios Kao
b8a4dae740 aidl: sthal: add support for aec record in mixer table
note: This table is only used by AIDL Sthal.

Bug: 291186942
Test: end-to-end enable path by quick phrase.
Change-Id: I01242fbddb04961cdf6a4bab50ce733e4ab64ae0
2023-07-14 06:54:16 +00:00
Gaurav Sarode
cb039ba502 Fix tangorpro_car build file path
bug: 291147977
Test: local build
Change-Id: I54c9e4d7523ce2d6f9faf50fdc126163e9547593
2023-07-13 17:17:44 -07:00
Renato Grottesi
9b158db9f3 Remove settings for old ArmNN HIDL backend
Compile ArmNN shim over the support library.

Remove SELinux permissions and settings for the old HIDL backend.
The AIDL settings will be in the gs-common folder.

Test: Local run of CtsNNAPITestCases
Test: Local run of VtsHalNeuralnetworksTargetTest
Test: Local run of MLTS Benchmark
Bug: 283724775
Change-Id: Ia1e2a76763e4d0b483513ee84ff124b404647107
2023-07-13 18:49:28 +00:00
Treehugger Robot
9c9700c239 Merge "disable vendor idle balancer" into udc-qpr-dev 2023-07-12 14:48:38 +00:00
Maryam Dehaini
d4802709a1 Merge "Reduce status bar height" into udc-qpr-dev 2023-07-11 17:41:20 +00:00
Tom Huang
9b1613385c Merge "Add audio Spatializer and support OPUS codec" into udc-qpr-dev 2023-07-10 09:24:13 +00:00
Treehugger Robot
e7b60fb5b8 Merge "wifi: convert WIFI_FEATURE_IMU_DETECTION to the equivalent soong variable" into udc-qpr-dev 2023-07-10 09:09:44 +00:00
Maryam Dehaini
ea86b8db9b Reduce status bar height
Reduce status bar height to 36dp for the tangorpro devices.

Bug: 287482975
Test: Manual testing
Change-Id: I4e88b46293576b5bfae11642800516c39c4392cb
2023-07-06 14:09:34 -07:00
Treehugger Robot
b590d03b2d Merge "tangorpro: revert "set metadata_init_delete_all_keys to false"" into udc-qpr-dev 2023-07-06 17:01:52 +00:00
Rios Kao
0d465cac83 aidl: tangorpro: add audio table for aidl hal
Test: end-to-end testing
Bug: 289328594
Change-Id: If71b70057dd80136bc49df516c4d9bd5d9ed16e7
2023-07-04 06:16:09 +00:00
Mike McTernan
c04cea2ace tangorpro: revert "set metadata_init_delete_all_keys to false"
Reverts ag/18876019 now that the underlying problem is fixed.
Additionally setting this property can cause devices to fill up with
keys and Cts tests to start failing.

Bug: 262212842
Test: boot & factory reset on device
Change-Id: Ieb5e0f68557c3f888a46275387c71e4f15181dfa
2023-07-03 10:33:09 +00:00
kuanyuhuang
edce5a7940 Add audio Spatializer and support OPUS codec
Add spatializer, immersive playback and OPUS codec at audio config.
Enable Spatializer and Bluetooth OPUS codec.

Bug: 261660037
Test: play dynamic spatial audio content
Change-Id: I8b25eacdd804017a882b26cab13be69d403b6dc9
2023-06-30 03:04:48 +00:00
Hsiu-Chang Chen
b0448596b9 wifi: convert WIFI_FEATURE_IMU_DETECTION to the equivalent soong variable
Bug: 287607876
Test: SAR scenario is set properly with motion sensor status
Change-Id: Ifef875e019f89bc3e70b2f37006b409dc6ad904e
2023-06-27 12:03:30 +08:00
Chungkai Mei
a135ce6a40 disable vendor idle balancer
Camera is highly optimized in launched devices, so that we disable idle balancer to avoid influencing previous optimization.

Bug: 281489720
Change-Id: I210f5c14ec589b06e8d8e80799cf7cb650baa9c5
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-06-21 02:43:50 +00:00
TeYuan Wang
3e74bb58d8 powerhint: remove the duplicate thermal powerhint settings
For the current design, thermalHAL will only enable one hint base on the current severity and disable the previous one. As a result, the power hint of higher severity should maintain the actions from lower severity which cause the larger config size and maintenance effort.

The new thermalHAL design will keep the lower severity's hint enabled, so we could remove the duplicate policies from higher level.

Bug: 241737737
Test: verified T6pro with emul_temp
Change-Id: I82d84e1e085b1a22284aa913606b40f219583210
2023-06-15 15:42:33 -07:00
paulsu
677208c388 Remove UgBgGroupThrottle node to keep ug_bg_group_throttle 308 by default am: 2cd8ff3d6e am: 6516401c66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/23680144

Change-Id: I28627f9a1e3922c65bf26ca3cd37ecab8954d870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 09:50:47 +00:00
paulsu
6516401c66 Remove UgBgGroupThrottle node to keep ug_bg_group_throttle 308 by default am: 2cd8ff3d6e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/tangorpro/+/23680144

Change-Id: Ibd2d1dc5cfab33433053d2f8c00ac904290ebe54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 09:03:44 +00:00