Commit graph

375 commits

Author SHA1 Message Date
Sam Ou
4876730ab7 power_profile: remove modem
Bug: 214561299
Change-Id: Idf931e99039508be325cc9c03deb9febd5aee19a
Signed-off-by: Sam Ou <samou@google.com>
2022-12-08 06:14:23 +00:00
T.J. Mercier
40e6ca666b Revert "[AudioProxy] Enable AudioProxy"
This reverts commit f75c0dd43d.

Reason for revert: DroidMonitor: Potential culprit for Bug 261776026 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Change-Id: I7941dfe9235d843ac3a24034819ea6e0ffe00884
2022-12-08 00:16:00 +00:00
Mariia Sandrikova
32eaab94ec [1/n][Pro] Change natural device orientation to portrait.
This change is needed to ensure compatibility of Camera apps that rely on natural orientation being aligned with portrait camera orientation.

0 degrees is selected over 180 to have the back camera at the top of the device when portrait-only apps are force rotated into specific orientation for compatibility.

Also, temporary override ro.surface_flinger.primary_display_orientation to use it instead the value from HWC API to avoid breaking the build even for a short period of time since there is no direct way to synchronize landing of this CLs chain with pa/2342172

Bug: 246793311
Test: manual QA for top apps and manual exploratory testing for overall device experience
Change-Id: I67f9cb522f4478c83ac6bbc18da2eaf4ee0dd686
2022-12-07 20:01:12 +00:00
Yuchen Liu
30cac33ee4 Merge "[AudioProxy] Enable AudioProxy" into tm-qpr-dev 2022-12-07 18:48:30 +00:00
Beverly
2ba02faa8a Default pickupGesture enabled state is FALSE
Test: manually tested
Bug: 256185823
Change-Id: I2e7f8c7fbe072dd0dae0842067a9925ba4d46e92
2022-12-07 18:23:38 +00:00
Miller Liang
bf0f5362ef Merge "audio: add missed camcorder be_cfg in dsp latency" into tm-qpr-dev 2022-12-07 13:42:35 +00:00
TreeHugger Robot
19a6de8c96 Merge changes from topic "T6-throttling" into tm-qpr-dev
* changes:
  thermal: add charging throttling policy
  thermal: add CPU GPU throttling policy and VIRTUAL-SKIN-HINT
2022-12-07 10:17:54 +00:00
sashwinbalaji
4c6b6d02aa thermal: add charging throttling policy
- Align thermal charge config with older devices
- Add hardlimit for fcc

Bug: 254020998
Test: tested locally by verifying lshal and logs
Change-Id: I96460871a2fa9ad714f9a3e2e722a0ab62fa4ba6
2022-12-07 08:06:08 +00:00
Gillian Lin
ab7bfdbfeb factory: default disable tap gesture function
Set persist.sys.tap_gesture=0 for factory target to disable tap to check
phone by default.

Bug: 261542166
Test: import rc to check tap to wake was not functional
Change-Id: Ia9075f820a944d9f7035edf350816044abd1b9d1
2022-12-07 03:18:09 +00:00
Lucas Silva
472d77fe92 Merge "Disable legacy dream components" into tm-qpr-dev 2022-12-06 15:37:17 +00:00
millerliang
a913e088df audio: add missed camcorder be_cfg in dsp latency
Some 3rd party app may use one or three microhpne(s)
to do the camera recording.
Add these two configurations to UC_AUDIO_RECORD to sync
the audio and video of the recoreded video.

Bug: 260824124
Test: Reporter verified
Change-Id: Ib08e69a1f7ccffc4bdb0ef8965c391126c15ced3
2022-12-06 15:45:49 +08:00
Lucas Silva
785443fca3 Disable legacy dream components
Bug: 260118215
Test: set settings.secure.screensaver_components to the colors
screensaver using adb, and verified it doesn't show

Change-Id: I2e4d4aaa2e16e48efbe6d1b3474464a4da5a12f1
2022-12-05 16:56:02 -05:00
Armelle Laine
d8696e9b81 Merge "Revert "Revert "init: Delay trusty app loading until storage is ..."" into tm-qpr-dev 2022-12-05 19:59:21 +00:00
sashwinbalaji
d9e676ad01 thermal: add CPU GPU throttling policy and VIRTUAL-SKIN-HINT
- Add VIRTUAL-SKIN-CPU-GPU
  - Add PID and BindedCdev aligning with older devices
- Add VIRTUAL-SKIN-HINT
  - Modify light temp from 39 to 37

Change-Id: I648680eedcd508bf2d81ad8d04f5e5a17a1f508f
Bug: 261148703(skin hint)
Bug: 254021126(cpu policy)
Bug: 254021580(gpu policy)
Test: use local build to check lshal and log
2022-12-05 12:14:11 +08:00
Armelle Laine
b3c1e7f84d Revert "Revert "init: Delay trusty app loading until storage is ..."
Revert submission 20612866-trusty-fs-ready

Reason for revert: ag/20620962
Reverted Changes:
I915870922:Revert "init: Delay trusty app loading until stora...
Idc3589cd3:Revert "init: Delay trusty app loading until stora...

Change-Id: I7e12122ff0650a166ead67c9937105595560d211
2022-12-02 19:17:49 +00:00
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
Sandeep Vijayasekar
f75c0dd43d [AudioProxy] Enable AudioProxy
CP of go/ag/16674532

1. Enable AudioProxy service and client library.
2. AudioProxy service will implement the audio HAL, so add the audio
policy config file.
3. AudioProxy also has its own AIDL interface. Add the compatibility
matrix file for the new AIDL interface, and the audio HAL.

Bug: 197547824
Test: Build and local run
Change-Id: I9aa3dbced63f071bebade5de7d996655fe502295
2022-11-22 15:14: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