Commit graph

1317 commits

Author SHA1 Message Date
Per Åhgren
1bb9b6b916 Update APMg3 and tuning configs to version 8
This CL updates the APMg3 tunings to version 8. The changes performed is to remove a high-pass filter that replicated what the 3P provider did. Removing this high-pass filter improves the clarity of the near-end speech while having negligible impact on the rest of the processing.

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

Bug: 301140272
Test: Manual test calls on Tangor using Meet. Lab testing in audio labs with ACQUA/Headacoustics test suites.
Change-Id: I02a604cb88086c160996cd7e46d7f10f876e68eb
2023-09-19 23:00:10 +00:00
Rick Yiu
8f97e5100c Merge "Disable limiting camera_hal for LAUNCH hint" into udc-qpr-dev 2023-09-19 07:10:50 +00:00
Treehugger Robot
17c6d5afa7 Merge "Config T6pro as LE audio hidden by default" into udc-qpr-dev 2023-09-19 06:31:29 +00:00
Rick Yiu
d46e930521 Disable limiting camera_hal for LAUNCH hint
If auto rotation is enabled, it will trigger LAUNCH hint while
camera is running if device rotates, which could limit camera_hal
tasks to little cores. So, disable it first until there is a new
hint for the rotation event.

Bug: 297273578
Test: build pass
Change-Id: I104bdf8952da66346ecf73ed02245b8bc4be3ee8
2023-09-19 03:00:46 +00:00
Alice Kuo
9ceef720f1 Config T6pro as LE audio hidden by default
Based on the lunch stratgey, hide LE audio toggle for T6pro (Phase 1) for now

Bug: 300807171
Test: LE audio toggle isn't shown on Device Detail by default
Change-Id: Id29ae19cdf527df368fd94ba5cac7897d420e650
2023-09-18 11:03:54 +08:00
Per Åhgren
79357a1d08 Update APMg3 and tuning configs to version 7
This CL updates the APMg3 tunings to version 7. The changes performed is to remove any signal level gains applied in APMg3 in AOC for the headset usecase. This eliminates the issue of APMg3 applying 25 dB gain when headsets are used causing some headset audio signals to be saturated.

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

Bug: 300147435
Test: Manual test calls on Tangor using Meet.
Change-Id: Ib06e05cbaa0e632deb9a4961a98d0ce9737121fb
2023-09-12 21:58:06 +00:00
Treehugger Robot
2f15b17c07 Merge "Disable 32k dual mic support on T6Pro project" into udc-qpr-dev 2023-09-12 10:19:00 +00:00
Poomarin Phloyphisut
28c488ab70 [USB Audio AIDL] Fix wrong capture path on mixer_paths.xml
Bug: 299388175
Test: Local Test
Change-Id: I5579d020463086b3492563db728f4721381d5b7f
2023-09-10 15:55:34 +00:00
shihchienc
819280e05a Disable 32k dual mic support on T6Pro project
Based on the phase 2 strategy, disable dual mic support on
T6Pro project

Bug: 299387423
Test: Ensure 32k dual mic config will not be selected
Change-Id: I5f639061965e5b71e3ffda7150dc9017bbf86b3b
2023-09-07 08:46:39 +00:00
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