Commit graph

294 commits

Author SHA1 Message Date
Roger Liao
e8e806ae46 Overlay config_disable_all_cb_messages to true to disable WEA
Set config_disable_all_cb_messages to true. When it is turned off,
DEVICEs MUST stop forwarding cell broadcast messages to CellBroadcast
modules and MUST hide WEA-related UI and notifications. [GMS-4.4.6-001]

Bug: 256753343
Bug: 256558847
Test: No show "Wireless emergency alerts" in following path:
      1. Setting -> Notifications
      2. Setting -> Search "Wireless emergency alerts"
Change-Id: Ie4602fad129d886326cf719a6bf646adf572fa05
2022-11-25 04:32:15 +00:00
Bill Yi
4e093e92ff Add AOSP support for tangorpro
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project name is
platform/vendor/aosp/google_devices/tangorpro

and the path is
vendor/google_devices/tangorpro

BUG:246437989

TEST: make and flash a tangorpro device
Change-Id: Ia860cc84ffa8db42ae2f30c433e3764459f27732
2022-11-22 18:39:03 +00:00
TreeHugger Robot
be88126f44 Merge "display: add golden files" into tm-qpr-dev 2022-11-21 12:27:46 +00:00
TreeHugger Robot
ab17e517d8 Merge "thermal: update VIRTUAL-SKIN sensor equation for EVT2" into tm-qpr-dev 2022-11-21 10:28:40 +00:00
TreeHugger Robot
cfc3593d31 Merge "Change the default cpuset of camera daemon" into tm-qpr-dev 2022-11-21 10:19:18 +00:00
sashwinbalaji
dcd8724722 thermal: update VIRTUAL-SKIN sensor equation for EVT2
Bug: 259641711
Test: used local build to verify change in VIRTUAL-SKIN
Change-Id: I58f652789bb4772bc4003f734dfe4bdd584f924d
2022-11-21 16:56:21 +08:00
TreeHugger Robot
21a469e4a5 Merge "audio: enable gapless offload flag" into tm-qpr-dev 2022-11-18 10:29:51 +00:00
TreeHugger Robot
2b3cb2a7d5 Merge "Don't set the min CPU frequency to max frequency for CAMERA_SHOT" into tm-qpr-dev 2022-11-18 07:32:02 +00:00
TreeHugger Robot
82d24e3608 Merge "[T6] Camera: Enable the product properties." into tm-qpr-dev 2022-11-18 07:25:31 +00:00
Chih-ren Yu (Swim)
8e4eccaad0 Don't set the min CPU frequency to max frequency for CAMERA_SHOT
Bug: 258442520
Test:
1. Camera check list
2. 3rd party APP snapshot, GCA live video shot
Change-Id: Ic8cf6129b5b549619f9a925a6b0e23992e23f537
2022-11-18 03:32:16 +00:00
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