Commit graph

384 commits

Author SHA1 Message Date
Chih-ren Yu (Swim)
2620d685da [T6] Camera: Enable the product properties.
1. Raise buffer allocation priority
2. Extended cpu boost

Bug: 258359662
Test:
1.use 'adb shell getprop persist.vendor.camera.extended_launch_boost' and 'adb shell getprop persist.vendor.camera.raise_buf_allocation_priority' to confirm the property is default set
2.Camera Check list
3.CTS performance test
Change-Id: I1bc4fbfa493837dedbfd83ff000d4f52f0f74947
2022-11-18 03:30:46 +00:00
yixuanjiang
4533d1c7d4 audio: enable gapless offload flag
Enable gapless support on compressed_offload w/o trimming delay and padding.

Test: local verify
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ia9e52f665ae84a94719550ca7b48a3cb74b433f1
2022-11-17 14:43:04 +08:00
Rick Yiu
a11b655e79 Change the default cpuset of camera daemon
Changing cpuset itself takes time, so we should reduce the cpuset
change as possible. Since all camera streaming mode change to the
same cpuset value, we could make it default setting.

Bug: 240889279
Test: build pass
Change-Id: I4ecce69a254bf30b128b25ab59b1b69a02bfb18d
2022-11-17 03:07:37 +00:00
Jasmine Cha
4a6e85e4aa waves: update mps with LR swap
Bug: 257002893
Test: manual test b/257002893#comment20

Change-Id: Ia759117d9a6cfab50103c716009bdbff0f326fc2
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-17 10:16:05 +08:00
Jimmy Shiu
1b87bcd1d1 Merge "powerhint: increase boost cap for large UI" into tm-qpr-dev 2022-11-16 05:04:12 +00:00
Mei Wu
fb079b90cd Merge "RESTRICT AUTOMERGE: Set tangorpro as the tuning_product for tangorpro device." into tm-qpr-dev 2022-11-16 02:35:40 +00:00
Jimmy Shiu
7567ae2d98 powerhint: increase boost cap for large UI
Large screen have more elements to be drew and current ADPF boost cap is
not high enough.
Raise the uclamp.min Cap from BIG 1.42GHz to BIG 1.58GHz
Raise the uclamp.min Init from MID 553MHz to MID 696GHz or BIG 500MHz
Also remove ADPF 120/90FPS config since the display only supports 60FPS

Bug: 257170078
Test: PtsUiBench & Calendar
Change-Id: I6865dd7d1237a687f62400a9720624821f342402
2022-11-16 09:36:06 +08:00
Gil Liu
67aa588376 Merge "Display: update res config.xml" into tm-qpr-dev 2022-11-15 08:21:15 +00:00
Mei Wu
20d00b6b43 RESTRICT AUTOMERGE:
Set tangorpro as the tuning_product for tangorpro device.

This was initially set, but then overwritten.
See analysis in attached bug.
Bug:259197392
Test: `m -j com.google.pixel.camera.hal && ls  $OUT/apex/com.google.pixel.camera.hal/etc/lib64/camera/`

Change-Id: Ib7ca1ee2f5d1fad6a78d61b04ee636120c0a5be4
2022-11-15 07:43:26 +00:00
Kyle Lin
a1e87a3f5c powerhint: relax the cap when camera exit
Camera hints was canceled at activityStop and applied the rule for
a while after LAUNCH hint, exten the LAUNCH HINT to fix it.

Bug: 255927500
Test: build and launch/exit camera
Change-Id: I86b19467f6038a7fde0935bf79f0a0e6bc76523b
2022-11-14 03:38:49 +00:00
Rick Yiu
6ddc5e88b1 Limit camera daemon cpuset to little cores when app launch
When exiting camera app, camera daemon is still busy in background,
which may affect the launch animation of launcher. So, limit the cpuset
of camera daemon to little cores for 1 second when there is app launch
hint to improve it. This only happens when camera is running. Also bypass this behavior when video recording is active.

Bug: 240889279
Test: camera daemon cpuset changed as expected
Change-Id: I130b1e4718f8e5ef47ad761a2a73d86697d0f8bc
2022-11-14 03:38:38 +00:00
Roger Fang
ab96bc8473 audio: amcs: add 4 speaker numbers into arguments
amcs suez speaker requires init index numbers to support
  products who has numbers more than two.

Bug: 248451580
Test: manually test passed

Change-Id: I06ca95d4dd7f0f35f5108bbf2256b1cd447f9ecb
Signed-off-by: Roger Fang <rogerfang@google.com>
2022-11-10 12:35:01 +08:00
Jasmine Cha
b034e8964e audio: disable 2.1 mode for qpr2
- will enable in qpr3

Bug: 258541642
Test: manaul test

Change-Id: I52ac03d84e4b4eef928fd8c3f2c58b28a9baf30d
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2022-11-10 09:23:43 +08:00
Gil
071893e714 Display: update res config.xml
1. update mBrighteningLightDebounceConfig
2. update autoBrightnessDisplayIdle

Bug: 249482174
Test: dump display log
Change-Id: I026a44e6d0a5d874e2bc25c6eb4f72fdd3e27f56
2022-11-09 21:36:57 +08:00
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
linpeter
9286215ef9 display: add golden files
Bug: 210932935
test: loading the file during boot
Change-Id: I12cc43232db362ad3330bc63c589dbdb3796fcc7
2022-11-03 15:02:29 +08: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