Commit graph

269 commits

Author SHA1 Message Date
Gil Liu
c20812042d Merge "Display: add permission to access cabc mode" into tm-qpr-dev 2022-11-09 12:09:03 +00:00
TreeHugger Robot
80d8f7f40b Merge "audio: add dynamics processing effect to audio_effects.xml" into tm-qpr-dev 2022-11-09 03:55:54 +00:00
David Li
1d471c8b64 audio: add dynamics processing effect to audio_effects.xml
Bug: 256091215
Test: boot up to home screen
Change-Id: I3ab9f0749618f61635c53c7c2123828a2e5baa71
2022-11-09 10:51:18 +08:00
TreeHugger Robot
fd87ec7e64 Merge "Update DWB values for T6pro" into tm-qpr-dev 2022-11-09 01:47:49 +00:00
gilliu
39c23b1376 Display: add permission to access cabc mode
Set correct permission for composer access.

Bug: 257896246
Test: check CABC mode
Change-Id: Ia404ae4100f1531fc33835eca344f9fd531a2889
2022-11-08 18:34:59 +08:00
TreeHugger Robot
0857427948 Merge "Import init.factory.rc" into tm-qpr-dev 2022-11-07 06:58:09 +00:00
Chungkai Mei
c4f94ee4a2 Import init.factory.rc
The rc file is missing.

Bug: 256805891
Test: build pass
Change-Id: Ic7fec43559f8e4dbf06d4c8f7bd5f882743a8c66
Signed-off-by: Chungkai Mei <chungkai@google.com>
2022-11-07 05:55:34 +00:00
TreeHugger Robot
316aadd9ae Merge "Print error log only if result is empty" into tm-qpr-dev 2022-11-04 07:38:23 +00:00
TreeHugger Robot
65538ad236 Merge "Fix power_profile.xml location." into tm-qpr-dev 2022-11-03 05:37:11 +00:00
Sam Ou
6683620bea Fix power_profile.xml location.
Bug: 257163280
Change-Id: Ib0ff848abd63532eb06d0c6a4e7cdbce83439187
Signed-off-by: Sam Ou <samou@google.com>
2022-11-03 04:03:59 +00:00
yixuanjiang
e2809f68c7 audio: remove haptic output
Test: local
Bug: 257008443
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: If09da7c926e816ac1ca27e2438d915fe4f9e68f2
2022-11-03 11:03:01 +08:00
TreeHugger Robot
5cf5578dc0 Merge "lights: Add dusk mode support" into tm-qpr-dev 2022-11-02 15:34:42 +00:00
Carter Hsu
83a9d75f2e Merge "audio: Update Fortemedia tuning for Dock" into tm-qpr-dev 2022-11-02 05:51:48 +00:00
Haoming Wu
ed008e10df Print error log only if result is empty
Bug: 253463372
Test: Access Cast creds with MediaDrm plugin
Change-Id: Ib40a47f771222864320a7c3e201be7679c8b75fe
2022-11-01 20:10:59 +00:00
TreeHugger Robot
753a12a041 Merge "audio: update speaker firmware tuning bin files" into tm-qpr-dev 2022-11-01 11:21:01 +00:00
Chungjui Fan
4035c2576d lights: Add dusk mode support
Bug: 254534908
Test: VtsHalLightTargetTest
Change-Id: Ib7d3ff67b71597c2f6bb8a5a81ca9d23e58ccee8
Signed-off-by: Chungjui Fan <chungjuifan@google.com>
2022-11-01 08:32:39 +00:00
TreeHugger Robot
47a2a37bb7 Merge "audio: add support 4 individual speaker paths" into tm-qpr-dev 2022-10-31 07:17:45 +00:00
Carter Hsu
574a8da5c7 audio: Update Fortemedia tuning for Dock
Change list:
Use case:
HEADSET-DOCK_SPEAKER-RESERVE2-SWB (AEC on, NS on)
HEADSET-DOCK_SPEAKER-VOICE_GENERIC-SWB
0. source is Oct18 tuning file
1. apply Andrew's EQ (Tx, Rx vol 0~vol 6)
2. apply DT/EC tuning to optimize DT preservation
3. apply AEC/NS on/off to following cases based on HEADSET-DOCK_SPEAKER-RESERVE2-SWB
HEADSET-DOCK_SPEAKER-RESERVE1-SWB (AEC off, NS off)
HEADSET-DOCK_SPEAKER-CUSTOM1-SWB  (AEC off, NS on)
HEADSET-DOCK_SPEAKER-CUSTOM2-SWB  (AEC on, NS off)
4. Remove FB use cases to avoid confusion
HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB (AEC on, NS on)
HEADSET-DOCK_SPEAKER-RESERVE2-FB (AEC on, NS on)
HEADSET-DOCK_SPEAKER-RESERVE1-FB (AEC off, NS off)
HEADSET-DOCK_SPEAKER-CUSTOM1-FB  (AEC off, NS on)
HEADSET-DOCK_SPEAKER-CUSTOM2-FB  (AEC on, NS off)

Bug: 229170428
Test: build pass
Change-Id: Iddca709ac2abdebee5fefcbd9a6f1eec70829b41
Signed-off-by: Carter Hsu <carterhsu@google.com>
2022-10-28 08:31:38 +08:00
Jasmine Cha
eac06d3bf3 audio: correct waves output mode
Bug: 226525184
Test: manual test

Change-Id: I08b9cc3afd1f8c53237ef4f96c904a036dab97f1
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-10-27 16:42:21 +08:00
Anoush Khazeni
ae43d779fe Merge "[T6pro] Updating the Waves tuning." into tm-qpr-dev 2022-10-26 04:51:06 +00:00
Jasmine Cha
249c50e68c Merge "audio: enable 2.1 mode with Waves" into tm-qpr-dev 2022-10-26 01:50:37 +00:00
Carter Hsu
b6adb0bfac Merge "Fortemedia: update VoIP tuning to 32K" into tm-qpr-dev 2022-10-25 06:20:50 +00:00
Jasmine Cha
0b65616ad5 audio: enable 2.1 mode with Waves
Bug: 226525184
Test: manual test
      adb shell audio_waves_custom_actions_test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iacb3452a5169cb19d09c47778e271762715f1726
2022-10-25 10:12:44 +08:00
Darren Hsu
2cd57aaf92 powerstats: add UWB state residency
Bug: 253561559
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I54c49d0f5db4ded67ca0dfa3b3deb4aa8036198e
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-25 09:55:52 +08:00
Christine Franks
e4005cbbb9 Update DWB values for T6pro
Bug: 243717330
Test: n/a

Change-Id: Ic27334d1252945b31e792aa00819401c11ee748f
2022-10-24 16:23:43 -07:00
TreeHugger Robot
cbdf2f7269 Merge "touch: change permission for dumpstate used." into tm-qpr-dev 2022-10-24 05:47:03 +00:00
Lucas Silva
72bf1d3696 Enable the dream setup component
Test: flashed device and verified dock setup flow
Bug: 245998343
Change-Id: If4def6990daa5bc11febc8815dc25f24218d8183
2022-10-21 15:06:08 -04:00
Super Liu
45a461c8ea touch: change permission for dumpstate used.
Bug: 235765817
Test: check the permission from TreeHugger build.
Signed-off-by: Super Liu <supercjliu@google.com>
Change-Id: Ia704a052dc64ba7e97962ac87b1b8b964e7d5d95
2022-10-21 08:50:20 +00:00
Victor Liu
4a22d31184 Merge "uwb: update calibration file" into tm-qpr-dev 2022-10-20 23:58:34 +00:00
Victor Liu
a7f6169c97 uwb: update calibration file
Bug: 254602083
Change-Id: Ibaa5e37d4aa61386abc1220783e1201a8e222a4f
2022-10-20 13:05:57 -07:00
Richard Chang
92aaac7c98 Merge "perf: add dex pre-opt for SystemUITitan" into tm-qpr-dev 2022-10-20 10:57:50 +00:00
Richard Chang
eff267c77f perf: add dex pre-opt for SystemUITitan
SystemUI package name for tablet is SystemUITitan instead of
SystemUIGoogle.

Bug: 254388795
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases
-t com.google.android.perfwbs.pts.FrameworkOptTest
Test: adb shell oatdump
--oat-file=system_ext/priv-app/SystemUITitan/oat/arm64/SystemUITitan.odex
--header-only

Change-Id: If904f0f6dbfd7516e464669594a055b9981f7e98
2022-10-20 07:25:27 +00:00
Carter Hsu
76a9b0d8c2 Fortemedia: update VoIP tuning to 32K
Change notes:
1. "audio_platform_configuration.xml" change the sampling rate
    from 48kHz to 32kHz. details ref to b/253552165#comment3
2. "HEADSET_iS900_Nest_T6+K6_Oct18.dat"
   Based on C10's headset tuning table adding back the following
   K6 cases from Oct14 headset tuning table:
T6+K6: idx 0x6B
      SWB(32k)
      l   HEADSET-DOCK_SPEAKER-VOICE_GENERIC-SWB (AEC on, NS on)
      l   HEADSET-DOCK_SPEAKER-RESERVE2-SWB (AEC on, NS on)
      l   HEADSET-DOCK_SPEAKER-RESERVE1-SWB (AEC off, NS off)
      l   HEADSET-DOCK_SPEAKER-CUSTOM1-SWB  (AEC off, NS on)
      l   HEADSET-DOCK_SPEAKER-CUSTOM2-SWB  (AEC on, NS off)
     FB(48k)
     l   HEADSET-DOCK_SPEAKER-VOICE_GENERIC-FB (AEC on, NS on)
     l   HEADSET-DOCK_SPEAKER-RESERVE2-FB (AEC on, NS on)
     l   HEADSET-DOCK_SPEAKER-RESERVE1-FB (AEC off, NS off)
     l   HEADSET-DOCK_SPEAKER-CUSTOM1-FB  (AEC off, NS on)
     l   HEADSET-DOCK_SPEAKER-CUSTOM2-FB  (AEC on, NS off)
3. "C10_BLUETOOTH.dat" just following the latest C10's BLUETOOTH.dat

Bug: 253541689
Test: Acoustci verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I5462be02c105aca4c54415b914e4104e1fefb5aa
2022-10-20 08:48:01 +08:00
Robert Lee
623e40ed11 Merge "audio: add 4 amps rotation paths" into tm-qpr-dev 2022-10-19 12:23:06 +00:00
Haoming Wu
c88302e8ca Merge "CastAuthApk: Add logs on mediaDRM plugin" into tm-qpr-dev 2022-10-19 11:08:52 +00:00
TreeHugger Robot
27e8a8fda6 Merge "powerstats: update specific data provider configurations" into tm-qpr-dev 2022-10-19 06:38:55 +00:00
Robert Lee
57fc1d25fb audio: update speaker firmware tuning bin files
change
PICL Voltage threshold: 3V.
PICL Current threshold: 3.5A.

Bug: 241320167
Test: builds
Change-Id: I36aa8b1d78187ad51d6bc7bde44726b752807b81
Signed-off-by: Robert Lee <lerobert@google.com>
2022-10-18 10:39:21 +08:00
Darren Hsu
d973860325 powerstats: update specific data provider configurations
Bug: 253951732
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I32d49fbaacd5661d5a576985ad5db93298126e9f
Merged-In: I32d49fbaacd5661d5a576985ad5db93298126e9f
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-10-17 08:17:05 +00:00
Richard Chang
ac90c68995 mm: sync max_cached_processes settings
Bug: 251358543
Test: pts-tradefed run commandAndExit pts -m PtsPerfWbsTestCases
-t com.google.android.perfwbs.pts.MemoryTest#testMaxCachedProcesses

Change-Id: I02e56ea4db15304801645f45c458d5a92b8854aa
2022-10-17 06:46:02 +00:00
TreeHugger Robot
df928e6730 Merge "[DO NOT MERGE] Use GmsCorePrebuilt y2022w41 for tangorpro devices" into tm-qpr-dev 2022-10-14 19:22:47 +00:00
Haoming Wu
96e19e9e80 CastAuthApk: Add logs on mediaDRM plugin
Bug: 253463372
Test: Access Cast creds with MediaDrm plugin
Change-Id: I7ac3409b775d5387f7386ff2b1d9c90c21c43a6a
2022-10-13 21:30:44 +00:00
Wei Wang
cdca22b57e Merge "powerhint: synchronize and remove unused hints" into tm-qpr-dev 2022-10-13 16:03:07 +00:00
Robert Lee
506bca2d53 audio: add support 4 individual speaker paths
amp1 = Left Top speaker
amp2 = Left Bottom speaker
amp3 = Right Bottom speaker
amp4 = Right Top speaker

Bug: 215307768
Test: Builds
Change-Id: I53857409cced06b68fe4207681e509982f0ec39c
Signed-off-by: Robert Lee <lerobert@google.com>
2022-10-13 17:38:05 +08:00
TreeHugger Robot
8b4f6868fe Merge "T6pro: bypass csi crc error" into tm-qpr-dev 2022-10-13 07:35:11 +00:00
Chungkai Mei
954576dbbd powerhint: synchronize and remove unused hints
Bug: 251357480
Test: Build pass
Test: pts-tradefed run commandAndExit pts -m PtsPerformanceTestCases -t com.google.android.perf.pts.PowerHintJsonVerifyTest
Signed-off-by: Chungkai Mei <chungkai@google.com>
Change-Id: Ia8cb9a2f1a7ee51ff5ea0fd86e5823036095ee67
2022-10-13 07:06:22 +00:00
Robert Lee
6be4ee206b audio: add 4 amps rotation paths
1. reassign "DSP RX2 Source" to ASPRX2 for all amps
2. add support Rotation

Bug: 210569259
Test: builds
Change-Id: I6ba7031a5cc37bae1cbaf79a38bd61acf8117036
Signed-off-by: Robert Lee <lerobert@google.com>
2022-10-13 14:06:50 +08:00
Jasmine Cha
2bb6b09406 Merge "audio: update FM tables" into tm-qpr-dev 2022-10-13 05:37:25 +00:00
Alex Hong
a18b62f2cf [DO NOT MERGE] Use GmsCorePrebuilt y2022w41 for tangorpro devices
Bug: 251261605
Change-Id: Ibfd73fc707b8fb2b9129b4b7145f48397cbf70b9
2022-10-13 13:24:50 +08:00
Anoush Khazeni
ddc73b2c03 [T6pro] Updating the Waves tuning.
Updating the Waves tuning file to T6K6 REV11
(Google_T6K6_REV11_T6-v8_K6-v5_20220827.mps)

Bug: 245359805
Test: Build only
Change-Id: I1880bd4347867547e7d56863f7a2fe59cfb4ff72
2022-10-12 15:52:23 -07:00
yixuanjiang
5a293d9cd4 audio: update ultrasonic capture setting
correct mic setting

Test: local
Bug: 237471423
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: I0f1996e3c2834e2d75c51aafeb9a4a5ddf02aa2a
2022-10-07 17:17:02 +08:00