Commit graph

309 commits

Author SHA1 Message Date
TreeHugger Robot
e9a0530ff2 Merge "audio: update speaker firmware tuning bin files" into tm-qpr-dev 2022-12-02 09:36:30 +00:00
Stephen Crane
aba401865e Merge "Revert "init: Delay trusty app loading until storage is ready"" into tm-qpr-dev 2022-12-01 22:43:07 +00:00
Stephen Crane
25cc8824f0 Revert "init: Delay trusty app loading until storage is ready"
This reverts commit 0ca6773d8f.

Reason for revert: Fingerprint HAL crashes

Change-Id: Idc3589cd3f7f09306d3a14d03d9529bdf5fdbdce
2022-12-01 21:46:33 +00:00
Stephen Crane
9ce071ea55 Merge "init: Delay trusty app loading until storage is ready" into tm-qpr-dev 2022-12-01 18:54:21 +00:00
eddielan
949ab7d354 fingerprint: Correct power-key node
Bug: 260956370
Test: Check power-key log on device logcat
Change-Id: I8c48e05fa8d9854b58ad064ddf60311880505cce
2022-12-01 15:28:43 +08:00
TreeHugger Robot
ed3c11f697 Merge "audio: Update Fortemedia tuning" into tm-qpr-dev 2022-12-01 04:09:08 +00:00
Stephen Crane
0ca6773d8f init: Delay trusty app loading until storage is ready
Wait for storageproxy to set the fs_ready property before trying to load
a trusty app. Trusty app loading requires storage and may behave badly
if storage is rebooted while loading the app.

Test: m
Bug: 258018785
Change-Id: Ib64167985c4d5aadf0dd5184c9741e133489f654
2022-12-01 00:46:26 +00:00
Robert Lee
65582a5a50 audio: update speaker firmware tuning bin files
Remove 17kHz-LPF.

Bug: 241320167
Test: builds
Change-Id: I5b4116d8f847ffd82bcb2eb855aa872806bf049a
Signed-off-by: Robert Lee <lerobert@google.com>
2022-11-30 06:35:16 +00:00
TreeHugger Robot
6b89898295 Merge "Add MIPI Coex tables for tangor cameras" into tm-qpr-dev 2022-11-29 15:05:40 +00:00
Labib Rashid
e1ba72abd7 Add MIPI Coex tables for tangor cameras
Source:
https://docs.google.com/spreadsheets/d/15Mn-rcptXy4cI-kpPonDAwiuMTfNE4gkBKUViDLU_3I/preview#gid=0

Bug: 250889701
Test: go/dynamic-frequency-test
Change-Id: I895ed94f06fafe997549beed1d1fc4d92b20b883
2022-11-29 10:09:02 +00:00
Amy Hsu
a27792b7b1 Merge "Enable CABC as default." into tm-qpr-dev 2022-11-29 06:16:50 +00:00
Jason Hsu
622aac9298 audio: Update Fortemedia tuning
Change list:
3dB higher level when docked vs undocked
Vol-6 0x0066
Vol-5 0x0033
Vol-4 0x0024
Vol-3 0x001A
Vol-2 0x0012
Vol-1 0x000D
Vol-0 0x0009

Bug: 258386115
Test: local build pass
Change-Id: I5b27b1f9f67713ebee20130796664abfd216cbc6
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2022-11-29 10:38:56 +08:00
TreeHugger Robot
88c5259e1b Merge "uwb: update calibration file" into tm-qpr-dev 2022-11-29 02:12:26 +00:00
Amy Hsu
d233fb5fbc Enable CABC as default.
CABC is enabled as default. For factory build, we'd like
to disable it as default.

Bug: 259212634
Test: adb shell /sys/class/backlight/panel0-backlight/cabc_mode
Change-Id: I9c128ef2e54924a6cd4a082898a3f84a50a03e6f
2022-11-28 03:21:59 +00:00
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
Rex Lin
f568c80a91 uwb: update calibration file
update tx power and pg delay

Bug: 254602083
Test: build pass
Change-Id: I73ec1f492a79fb1fc1fb7764b646e3456087aa37
Signed-off-by: Rex Lin <rexcylin@google.com>
2022-11-24 09:47:06 +08: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