Commit graph

543 commits

Author SHA1 Message Date
Robert Lee
5344132e34 init: fix world writeable on speaker.diag
Bug: 284996147
Test: builds
Change-Id: Ib85d06312a254d1f9483d5e5d006934c446a2006
Signed-off-by: Robert Lee <lerobert@google.com>
2023-05-31 11:16:16 +08:00
Wei Wang
66f849659a Merge "thermal: update thermal policy according to the new CPU dvfs" into udc-d1-dev 2023-05-24 02:43:17 +00:00
TreeHugger Robot
e47afa20ed Merge "Disable Setting large screen optimization on normal device" into udc-d1-dev 2023-05-23 01:52:16 +00:00
TeYuan Wang
cfde3b3142 thermal: update thermal policy according to the new CPU dvfs
Bug: 281740657
Bug: 274068928
Test: emul_severity
Change-Id: Iee99e205e3250ee742fb643e38378941ed32aec3
2023-05-22 14:20:39 -07:00
Treehugger Robot
eea182f78b Merge "powerhint: remove CAMERA_THERMAL_CPU_THROTTLE" into udc-d1-dev 2023-05-20 06:39:40 +00:00
Ziyi Cui
cd0aaa5372 powerhint: remove CAMERA_THERMAL_CPU_THROTTLE
Test: Build and boot
Bug: 283363439
Change-Id: I2cdfd4d97b51df911f7e2e4ed70a362f9aaf4dce
Signed-off-by: Ziyi Cui <ziyic@google.com>
2023-05-19 22:50:13 +00:00
Charles Chen
dc2f107406 Disable Setting large screen optimization on normal device
Test: build
fixes: 283348006

Change-Id: I5285b3f40353ec7095425c83a572fc7af5030e11
2023-05-19 12:20:41 +00:00
Carter Hsu
aada421292 Merge "audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony." into udc-d1-dev 2023-05-19 09:09:23 +00:00
Carter Hsu
86fac29453 Merge "audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony." into udc-d1-dev 2023-05-19 09:09:09 +00:00
Treehugger Robot
4d05d944f1 Merge "gps: include gps/brcm/cbd_gps.mk" into udc-d1-dev 2023-05-19 06:46:28 +00:00
Luke Chang
f1c66b01d4 Merge "powerhint: shorter cpd cl2 target_residency" into udc-d1-dev 2023-05-18 12:57:27 +00:00
Carter Hsu
0910c02540 audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony.
1. Mixer_path: Modify L/R PCM volume for voice-speaker from 801 to 817

2. FM table
- HK3 Handset.dat (Owen)
1. Modify NB/WB/SWB Rx FDEQ of Max/Max-1/Max-2 to optimize Dist./FR for EVT1.1 in Handset | Voice_Generic
2. Modify NB/WB/SWB Tx NS B_POST_FILT_0 to 4000/1000/1000 for Tx MOS and SWB FQEQ for FR
3. Copy item1. and 2. to Handset | Tmobile-US & RESERVE2
4. Copy item2. to Handset | Tmobile-US and Handset_HAC | Voice_Generic & Tmobile-US

- HK3 Headset (Gene)
1. Enable mixer for voice call on RX1 and RX2
2. Disable Mixer for VoIP call on RX1 and RX2
3. Enable SWB RX low delay for Voice and VoIP call  on BB, Condor V21, Condor F821, 3rd party adaptor, Condor V21 Headphone

-HK3 Spekaer (Ricky)
1.RX fine tuning - all bands with RLR 5.5dB
2. TX fine tuning for EVT1.1 - all bands SFR/SLR
3. TX performance unstable problem fixed
4. WB residual echo fixed in EVT1.1
5. SWB Volume curve fine tune

- HK3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/283214557

Bug: 276334268
Bug: 283214557
Test: verified by rickycheng@
Change-Id: I13fdcd2b0f0b2697761522585ffe39e8d851cec2
2023-05-18 12:33:29 +00:00
Carter Hsu
94d900d933 audio: Mixer_paths, Fortemedia table check in (2023/05/18) for telephony.
1. Mixer_path: Modify L/R PCM volume for voice-speaker from 801 to 817

2. FM table
- SB3 HANDSET.dat (Duncan)
1: VoIP SWB improve NS distortion under quiet environment
2: Adjust the RLR NOM/MIN for PTCRB certification
3: Align NS B_POST_FILT_0 to 4000/1000/1000 as P10 for TMOUS position T-MOS/POLQA unstable
4: Fine tune WB SFR for better TX POLQA MOS
5: Copy VOICE_GENERIC SWB -> RESERVED2 SWB
6: Copy VOICE_GENERIC NB/WB/SWB TX -> HANDSET_HAC TX

- SB3 Headset (Gene)
1. Enable mixer for voice call on RX1 and RX2
2. Disable Mixer for VoIP call on RX1 and RX2
3. Enable SWB RX low delay for Voice and VoIP call  on BB, Condor V21, Condor F821, 3rd party adaptor, Condor V21 Headphone

-SB3 Spekaer (Ricky)
1.RX fine tuning - all bands with RLR 5.5dB
2. TX fine tuning for EVT1.1 - all bands SFR/SLR
3. TX performance unstable problem fixed
4. all bands Volume curve fine tune

- SB3 Headset/Bluetooth (Ricky)
1. Sync Handsfree TX setting to VCO-TX, Headphone-TX, BT-HAC-TX
2. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/283214955

Bug: 283214955
Test: verified by rickycheng@
Change-Id: I5e52733076ea3845795846f7f5ee166cbe83bcef
2023-05-18 12:30:28 +00:00
Cheng Chang
1b65c6f9be gps: include gps/brcm/cbd_gps.mk
- include cbd_gps for ripcurrent

Bug: 282877296
Test: b/28287729
Change-Id: I3d0ad5a21c33bb3dd301ad9956ef0b2a8cd275e5
2023-05-18 05:55:53 +00:00
TreeHugger Robot
20e24aaf02 Merge "powerhint: Update CAMERA_STREAMING_VIDEO_CALL powerhint" into udc-d1-dev 2023-05-17 23:58:59 +00:00
Jia-yi Chen
fcb6669e47 powerhint: Update CAMERA_STREAMING_VIDEO_CALL powerhint
1) Raise the CPU max frequencies
2) Use PMU LIMIT for little cores
3) Set cpuset to 0-7

Bug: 280308326
Test: Boot & check logs
Change-Id: I3435309ea6920b34c8e68b98979ffcc88559ddf3
2023-05-17 15:58:20 -07:00
Treehugger Robot
7f75d907d4 Merge "thermal: Update config for stats" into udc-d1-dev 2023-05-17 15:00:39 +00:00
sashwinbalaji
0557a425ae thermal: Update config for stats
Bug: 259903201
Test: local build and verify stats
Change-Id: Ic79dc44db69238b2ec13be5f9b200a0725f642ac
2023-05-17 14:10:54 +00:00
Treehugger Robot
84bbc8bd45 Merge "add display high blocking zone" into udc-d1-dev 2023-05-17 11:46:20 +00:00
Treehugger Robot
6c294bd68e Merge "Revert "audio: FM table check in (2023/04/13) for telephony."" into udc-d1-dev 2023-05-17 08:19:43 +00:00
Jasmine Cha
391464076e Merge "audio: use VIRTUAL-SKIN-SPEAKER for playback throttle" into udc-d1-dev 2023-05-17 05:39:02 +00:00
Wei Wang
05d4e9ee5a Merge "thermal: update powerhints for thermal trips" into udc-d1-dev 2023-05-17 05:35:42 +00:00
Treehugger Robot
bd0ae3ea01 Merge "thermal: Adjust throttling policy w/ 26 chg_mdis levels" into udc-d1-dev 2023-05-17 04:54:05 +00:00
TeYuan Wang
d6469ed471 thermal: Adjust throttling policy w/ 26 chg_mdis levels
The kernel side supports 26 levels of chg_mdis throttling now (pa/2492504), so having this change to provide more smooth charging throttling.

Bug: 258136311
Test: check VSKIN-CHARGE temperature w/ charging test
Change-Id: I0d4eddc95aaef5777c07a26985929ee72dc2d1e6
2023-05-17 04:52:53 +00:00
Jason CH Hsu
55915c839b Revert "audio: FM table check in (2023/04/13) for telephony."
This reverts commit 95e65ad4c8.

Reason for revert: remove temp WA and requires aoc ag/23243138

Bug: 277993237
Change-Id: Ie87648482160edffd29e3548402e887b166a43d4
2023-05-17 04:13:50 +00:00
Sayanna Chandula
a010254a29 thermal: update powerhints for thermal trips
Bug: 241784772
Test: Build and boot on device

Change-Id: Ibf3ad81c4df6a30948bb53359b2b8a4001e5d214
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-05-16 19:07:34 -07:00
lukechang
6f228f059d powerhint: shorter cpd cl2 target_residency
Shorter cpd cl2 target residency to 10ms when receiving DISPLAY_INACTIVE hint.

Test: manual - check cpd cl2 target_residency file node when screen on and off
Bug: 277390134

Change-Id: I15a7b24583db4423ccdbae05d9b857687bae7b78
Signed-off-by: lukechang <lukechang@google.com>
2023-05-16 09:42:33 +00:00
Peter Lin
e0b027a14d add display high blocking zone
High blocking zone: 50k lux && normal brightness max(1000 nits) lock at 120 Hz

Bug:282254151
test: check refresh rate in high zone
Change-Id: Ib3308eddf240a93cccc64d2aa5d3174ba7f51c35
2023-05-16 03:44:54 +00:00
TeYuan Wang
df5fa53c5d thermal: enable sendCallback for VSKIN-SPEAKER
Bug: 282062889
Test: adb shell dumpsys android.hardware.thermal.IThermal/default emul_temp VIRTUAL-SKIN-SPEAKER 37001
Change-Id: Ib2b180b49223da178f1fb6f7e694a17166187829
2023-05-15 14:37:29 -07:00
Jasmine Cha
cc7f844429 audio: use VIRTUAL-SKIN-SPEAKER for playback throttle
Bug: 282062889
Test: manual test

Change-Id: I30fcb91c4f8dc8d9208389f551034e829166afda
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-15 03:42:31 +00:00
Treehugger Robot
3590c2c131 Merge "audio: add mute duration for primary output" into udc-d1-dev 2023-05-15 02:19:24 +00:00
Ali K. Zadeh
3bf77ed72c Merge "Disable CDPreferHighCap and set CDCpuSet to 0-8 for 60fps" into udc-d1-dev 2023-05-12 20:36:30 +00:00
Shuibing Dai
24a1a64738 Merge "Disable p2p 6ghz channels" into udc-d1-dev 2023-05-12 19:12:59 +00:00
Treehugger Robot
9c30f5412c Merge "powerhint: Update expensive rendering hint" into udc-d1-dev 2023-05-12 18:49:21 +00:00
Ali K. Zadeh
35f32e57de Disable CDPreferHighCap and set CDCpuSet to 0-8 for 60fps
Bug: 274005880
Test: ODPM/Framedrops
Change-Id: Ib417c771b04146ec641e19088b205fb76a7380ea
2023-05-12 17:37:38 +00:00
Ali K. Zadeh
5561c95dc6 Merge "Remove BCI and DSU max frequencies from all camera streaming use-cases" into udc-d1-dev 2023-05-12 17:18:04 +00:00
Treehugger Robot
098f926027 Merge "[SWB] Disable super wideband" into udc-d1-dev 2023-05-12 15:54:53 +00:00
Jasmine Cha
e82522ec9d audio: add mute duration for primary output
- beginning of previous notification is cut off.

Bug: 282118346
Test: preview notification

Change-Id: I914bee1db3a88883e52f8196382f64622744e1df
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-12 15:53:12 +08:00
Shuibing Dai
a1ff6ef8d6 Disable p2p 6ghz channels
It has an effect on following cases:
1.In some coutries(eg.JP) without 5ghz channels available for p2p except indoor channels, if STA firstly connected with indoor channel AP and then disconnected, it will cause wpa_supplicant to select 6ghz channels.
2.If STA firstly connected with 6ghz channel AP and Application create p2p group without config, wpa_supplicant also tried to select STA-associated channel(in this case, i.e. 6ghz ch).

Bug: 272298287
Test: Manually verify nearby case between two pixel phones(one source and other as target):
      1.Both devices CC: JP
      2.Both devices connected with indoor channel(5g) AP
      3.Source shared one big file(3G bytes) with target
      4.During data transferring, disconnected target STA
      Check if file sharing can continue
Change-Id: I71c0b7994ec7ef819db0203a0ae9a1b951449da7
2023-05-12 03:58:20 +00:00
TreeHugger Robot
113f27545e Merge "audio: update playback tuning tables" into udc-d1-dev 2023-05-12 03:32:25 +00:00
TreeHugger Robot
3fb95b070c Merge "Adding interrupt mapping for sound_trigger wakeups" into udc-d1-dev 2023-05-11 19:52:45 +00:00
Vincent Palomares
f64724ae94 Merge "shusky: powerhint: Update LITTLE CPU freq target" into udc-d1-dev 2023-05-11 19:18:55 +00:00
Ali K. Zadeh
e4e9387c01 Remove BCI and DSU max frequencies from all camera streaming use-cases
Bug: 280459252
Test: ODPM/Framedrops
Change-Id: I7edfa856af5623e545d5883bf3647ae0fa14d7fb
2023-05-11 17:08:51 +00:00
shihchienc
87615e502e [SWB] Disable super wideband
Disable SWB by setting system property

Tag: #feature
Bug: 281957936
Test: flash devices and check property
Change-Id: I7f9e824b64feb23f8ddf61ef44e92dad889030b2
2023-05-11 08:54:07 +00:00
paulsu
d429c9d008 The dvfs headroom was split into its own knob. Update to use it.
util_threshold only controls migration margin now. dvfs headroom has its
own new knob.

Test: Local run
Bug: 281792287
Change-Id: I828f943aab936b532f658dc6bf3acfc903b7fc02
Signed-off-by: paulsu <paulsu@google.com>
2023-05-11 08:00:23 +00:00
Jasmine Cha
27d89c284b audio: update playback tuning tables
Release Updates:
 - Improvement to timbre and distortion to fix b/278032652
 - Improvement to dynamics (including volume pumping fixes)
 - Loudness update to fix b/278034786
 - Clarity update to fix b/278034414
 - Stereo balance update to fix b/280352917
 - Reverse landscape mode added (in INI and MPS files)
 - Volume curve update (to match previous projects)

Bug: 281863318
Test: manual test
 - Acoustic objective testing pass
 - Perceptual internal + demo testing pass

Change-Id: I5f4be7d438f9e367a54dd8a2adee04e0c1a69526
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2023-05-11 10:05:12 +08:00
Suprabh Shukla
9897a96f19 Adding interrupt mapping for sound_trigger wakeups
Test: Manually inspect the output of `dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I1e537775db73b56df36515427117df2e21483dc6
2023-05-10 23:12:33 +00:00
Lisa (LeeWei) Liu
2b7a51800c Merge "powerhint: boost DSU and BCI when launching" into udc-d1-dev 2023-05-10 08:59:48 +00:00
Lisa Liu
c00bd9183d powerhint: boost DSU and BCI when launching
Bug: 269809407
Bug: 258100337
Test: Build and abtd run result
Change-Id: I8f5ce6866ec13080cfc9fd1e5cfddd8d95dc4e32
2023-05-10 06:53:23 +00:00
Treehugger Robot
6879e96f93 Merge "add acl_mode permission" into udc-d1-dev 2023-05-10 03:33:29 +00:00