Commit graph

981 commits

Author SHA1 Message Date
Ravi Jain
ceceadca8a dumpstate: touch: Init using touch_predump
More info at go/touch_predump

Test: Test locally on test device and check predump_touch works.
Bug: 287907308
Change-Id: Ie08caa36bf58827db3d9fc0c820b0ad6880df664
Signed-off-by: Ravi Jain <raviajain@google.com>
2024-04-11 18:10:33 +00:00
Kimi Hsu
7b34b39057 Merge "Use rounded corner radius from max resolution" into 24D1-dev 2024-04-11 06:33:08 +00:00
Kimi Hsu
59ba398fb8 Merge "Use rounded corner radius from max resolution" into 24D1-dev 2024-04-11 06:33:05 +00:00
Kimi Hsu
d6bc8c7b9d Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: Ia600acc9efef7370627efbd704dd6d5196e49448
(cherry picked from commit 4554ae382b)
2024-04-11 01:37:17 +00:00
Kimi Hsu
1de6d7d01c Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: I833f8d8d07a64810bc9437a4696d9690d9f900a1
(cherry picked from commit 664e173186)
2024-04-11 01:36:58 +00:00
Kimi Hsu
e15d1f8651 Use rounded corner radius from max resolution
Bug: 330088446
Test: try WindowInsets#getRoundedCorner
Flag: NONE
Change-Id: I70be19a730ff6d29b7eb18f27c26d217ae1727c4
(cherry picked from commit 517aca891b)
2024-04-11 01:36:18 +00:00
Wei Wang
c87f938b5a Merge "thermal: update abnormal thresholds for model-legacy-diff" into 24D1-dev 2024-04-10 22:28:39 +00:00
Treehugger Robot
357604e6e4 Merge "Revert^2 "audio: recording tuning table 7.2_v4"" into 24D1-dev 2024-04-10 18:03:03 +00:00
Sayanna Chandula
a8fc85d8e7 thermal: update abnormal thresholds for model-legacy-diff
Given that we have very few traces/events uploaded for 12C threshold,
this change reduces the threshold to 10C to help collect more data
to analyze infield abnormalities.

Bug: 333110670
Test: Build and boot on device

Change-Id: Icd3357e543bfd612b856d843a7cf56486361ed81
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-10 10:32:53 -07:00
Wei Wang
e1439d0e56 Merge "powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values" into 24D1-dev 2024-04-10 16:17:42 +00:00
Gil Liu
44e0b74739 Merge "add display ACL default mode" into 24D1-dev 2024-04-10 12:30:08 +00:00
Jimmy Shiu
b4d0311ea5 powerhint: set ADPF CPU_LOAD_UP CPU_LOAD_RESET values
Bug: 329483662
Test: Manual Test
Change-Id: I06d4774d81506080858127a9f992500d92b78ba7
2024-04-10 11:45:05 +00:00
gilliu
734b3149fa add display ACL default mode
Bug: 322083016
Test: check the setting on adb shell getprop command
Change-Id: I6741060559412d66559b0f647a9af38432ae38a8
2024-04-10 06:11:59 +00:00
Wei Wang
18081b31be Merge "thermal: update vt models with evt1.1 cert data" into 24D1-dev 2024-04-09 21:50:29 +00:00
Yixuan Jiang
22a7bc7c30 Revert^2 "audio: recording tuning table 7.2_v4"
d829f6b01e

Change-Id: I616d8be84bc18a3c7057782654bec495ba8035fe
2024-04-09 20:47:44 +00:00
Wei Wang
13d745f1af Merge "Disable auto prefer idle explictly for some conditions" into 24D1-dev 2024-04-09 16:00:46 +00:00
Treehugger Robot
a70a21d635 Merge "audio: update mixer paths" into 24D1-dev 2024-04-09 10:07:15 +00:00
Treehugger Robot
04ea4961fa Merge "odpm: correct device index of s2mpg15 for ZumaPro" into 24D1-dev 2024-04-09 09:35:54 +00:00
Darren Hsu
9f43dc5799 odpm: correct device index of s2mpg15 for ZumaPro
Bug: 332504591
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I78ac99e04e71787d68202a676f51e1a3d982fa7d
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2024-04-09 09:31:07 +00:00
Rick Yiu
3b22e46ef6 Disable auto prefer idle explictly for some conditions
In auto prefer idle mode, a task in top-app will be granted prefer
idle if it satisfied the conditions. So turn auto prefer idle off
if top-app prefer_idle is explictly disabled. Also turn auto prefer
off when other group enables prefer_idle explictly.

Bug: 236868627
Test: build pass
Change-Id: I6e5694dfd9b5ed30bfad31509415027d5bac71cb
2024-04-09 04:12:14 +00:00
Robert Lee
9e046788ed audio: update mixer paths
- Remove unused controls to prevent output error log

Bug: 333470780
Test: manual test
Change-Id: I8ef2ca649dc03e1969596fc3d91d9a187e978283
Signed-off-by: Robert Lee <lerobert@google.com>
2024-04-09 02:32:10 +00:00
Treehugger Robot
26554e25c0 Merge "Revert "audio: recording tuning table 7.2_v4"" into 24D1-dev 2024-04-08 20:49:23 +00:00
Daniel Chapin
d829f6b01e Revert "audio: recording tuning table 7.2_v4"
Revert submission 26784592-aoc_0402

Reason for revert: Droidfood blocking bugs: b/333323844 and b/333317188 

Reverted changes: /q/submissionid:26784592-aoc_0402

Change-Id: I66c4eb4ec07c9db1761f112d5174581bd9775b35
2024-04-08 16:56:36 +00:00
Ali K. Zadeh
879a2ece68 Merge "Thermal Boost for severe thermal state" into 24D1-dev 2024-04-08 16:49:34 +00:00
James Huang
af9634ce76 gps: Update gnss config to disable L5 (L1 only)
Bug: 333317187
Test: Verify if device only accquires L1 only GNSS.
Change-Id: Ideb82c1a082c16338cbf2b97d8afbfef4169cda3
2024-04-08 15:38:37 +08:00
Treehugger Robot
adbba50097 Merge "audio: update waves tuning table" into 24D1-dev 2024-04-08 03:47:34 +00:00
Nikhil Bhanu
961f398df3 Merge "Spatializer: Update configs with latest tunings." into 24D1-dev 2024-04-05 19:58:56 +00:00
Barry Wang
130041f1b9 Merge "Bluetooth: Enable BQR RF Stats event and Disable BtHalBqrEnable" into 24D1-dev 2024-04-05 08:12:44 +00:00
Nikhil Bhanu
96a92dd636 Spatializer: Update configs with latest tunings.
auxel commit hash: a2a693b
auxel change ID  : Id6f1ffa47e7ae03272a663a9996c885cee313098

Bug: 330199578

Change-Id: I4ad7b05dd3b3df87e331c3b3323f9a942fd0023d
2024-04-05 00:04:22 +00:00
Sayanna Chandula
d6e73fd2c1 thermal: update vt models with evt1.1 cert data
- Models prepared with both PD and Cert data from EVT1.1 tests
- Used leaky_relu activation

Bug: 332971287
Test: Build and boot on device

Change-Id: I07fea17ab21d6efd66d1d74629886051ea92aa94
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2024-04-04 16:14:30 -07:00
Ali K. Zadeh
1bd6e91fec Thermal Boost for severe thermal state
Bug: 299487324
Test: framedrop rates improve in
https://docs.google.com/spreadsheets/d/1XKNwe82bjAqUfEcRTCgMStI6DfSZdjsupi1rcyLynZk/edit#gid=1123570530, https://docs.google.com/spreadsheets/d/1IHiPRzkSdtn140oaksbO8vRAGfpzUXhKBcdqrMDOFvo/edit?resourcekey=0-qyzlX1XyVmWNSv3SVc04uQ#gid=1703956858
Change-Id: I7ed38eaf28178fbf26404f195a276d72752b5671
2024-04-04 22:33:46 +00:00
Alec Foster
7d713a08c1 Merge "Only include QfpCalibration on userdebug / eng builds" into 24D1-dev 2024-04-04 18:44:03 +00:00
Treehugger Robot
a3496d7ac8 Merge "thermal: remove PMU_POLL control for game mode" into 24D1-dev 2024-04-04 16:47:04 +00:00
Treehugger Robot
aa3fbacfba Merge "audio: recording tuning table 7.2_v4" into 24D1-dev 2024-04-04 04:52:40 +00:00
Treehugger Robot
e84566024e Merge "display: low-light blocking zone support" into 24D1-dev 2024-04-04 02:46:42 +00:00
Shiyong Li
386c8c0134 Merge changes from topic "km4/cm4-blockingzone_config" into 24D1-dev
* changes:
  display/cm4: remove blocking zone config
  display/km4: remove blocking zone config
2024-04-04 02:34:56 +00:00
TeYuan Wang
df6bb6e93c thermal: remove PMU_POLL control for game mode
We already have the CPU scheduler optimization for game mode to sustain
the power and perf, so keep PMU_POLL being disabled to avoid the interfence on CPU scheduler.

Bug: 329697728
Test: run genshin
Change-Id: Ifb6838be9767d67cc1cf6a8109a33c5bfd402727
2024-04-04 00:29:41 +00:00
Alec Foster
d9aefec54a Only include QfpCalibration on userdebug / eng builds
Bug: 331464683
Test: Ensure QfpCalibration is on userdebug / eng
 biulds and not on user builds.
Change-Id: I815b9999e0e74ac5c1dedf51951de21f992630f6
2024-04-03 19:55:20 +00:00
Treehugger Robot
ea29f703a9 Merge "gps: Update FW 4.15.1_2_P1 + config change" into 24D1-dev 2024-04-03 14:16:13 +00:00
Barry
c0850719ff Bluetooth: Enable BQR RF Stats event and Disable BtHalBqrEnable
this patch is to cooperate with Bluetooth Stack pre-build for BQRv6

1.Enable BQR RF Stats event (bit 8 = 1) at BQR event Mask
   0x100 = 256, default value(295006) + 256 = 295262

2.Disable BtHalBqrEnable to disable config BQR from HAL (BQRv6 workaround)

Bug: 332305546

Test: Manual
Change-Id: Ie4a4cf4c36598d98ff43ea072a1a0d8cef22fd97
2024-04-03 08:43:43 +00:00
Treehugger Robot
9afccfe3b6 Merge "audio: 2024/04/02 Fortemedia tuning settings for DVT DF v2" into 24D1-dev 2024-04-03 06:36:20 +00:00
Yixuan Jiang
9d8698cde0 audio: recording tuning table 7.2_v4
1. Tuning table for enabling AGC & PGC
       new parameter on b/329161882
       including AoC CL gpar/855948 (AGC) & gpar/864314(PGC)

    2. SNS 2p2 tuning parameter with strength level = 4  (10dB)
       E-noise function

Bug: 332261204
Change-Id: I5eff9c79b3d844b88a5c20c39e4e357991c6968a
Signed-off-by: Yixuan Jiang <yixuanjiang@google.com>
2024-04-03 06:07:53 +00:00
Jasmine Cha
4df844fff4 audio: update waves tuning table
Bug: 332435827
Bug: 332436798
Bug: 332418398
Test: manual test

Change-Id: I946650df0b7519e5f6fa8a323832dfaeccb1dfe8
Signed-off-by: Jasmine Cha <chajasmine@google.com>
2024-04-03 03:32:43 +00:00
Jimmy Shiu
917e155a3b powerhint: set uclampmin_init value for applying CPU Load boost
Bug: 329483662
Change-Id: Ic7c08113b0ebb40ca34f44a8cea837856006517a
Test: Manual Test
2024-04-03 01:04:48 +00:00
James Huang
ce3131de5b gps: Update FW 4.15.1_2_P1 + config change
Reuqest ref time/location in factory cold start
Allowed age can be set in the CFG file. Up to 600. (defualt is 0)

Bug: 328349939
Test: VTS/CTS and GNSS sanity test b/332100288
Change-Id: I5bf823de12f4e2ded3ba730fb5c5fef2840ecb3f
2024-04-03 06:31:13 +08:00
cweichun
954660ce4a display: low-light blocking zone support
Bug: 315876417
Test: verify the functionality works
Change-Id: I894d4db3d3d016d4f7c5d689c56af532bee94181
Merged-In: I894d4db3d3d016d4f7c5d689c56af532bee94181
2024-04-02 20:20:46 +00:00
Ali K. Zadeh
540e196cd5 Merge "Enable CDPreferIdle for 30 and 60fps, limit CPUset to 0-6, bump up MIF clock" into 24D1-dev 2024-04-02 19:59:55 +00:00
Jason Hsu
a1972b9755 audio: 2024/04/02 Fortemedia tuning settings for DVT DF v2
<Change list>
KM4
- Handset (Owen)
1. Rx: Modify WB FNS for CCA(BWE) - N_SN_EST= 0x0600 / NS_LVL_CTRL=0x0009 / THR_SN_EST=0x0100

- Handsfree (Owen)
1. Tx: Modify WB TDDRC gain(dB) /
          Modify SWB NS settings to enable KidsVoice+AdaptiveNS with TK4 tuning
2. Rx: Modify WB FNS for CCA(BWE) - N_SN_EST= 0x0600 / NS_LVL_CTRL=0x0009 / THR_SN_EST=0x0100
          Modify WB/SWB DRC Limiter_THR to -1dB(0x7000)
          Modify WB DRC gain(16dB) / EQ / SPKVol
          Modify SWB DRC gain(16dB) / EQ(Max,Max-1,Max-2) / SPKVol

- Headset (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

- Bluetooth (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

TK4
- Headset (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

- Bluetooth (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

-Handset (Ricky)
1. Optimize HAWB NS objective performance (choose 0321v1)
2. Optimize HASWB NS objective performance (choose 0328v1)
3. Fine tune HAWB FdEQ (around 3K) for HAC TIA5050 distortion
4. Reduce harsh sound in HASWB/HAWB (v2) (> 4K by EQ)
5. FNS modify for BWE 0314 version
6. Batch copy from generic TX to Hac-tx
7. Batch copy from generic to t-mobile
8. Batch copy from generic to VOIP specific mode (cust1/cust2/res1)

-Handsfree (Ricky)
1. Reduce high band for distortion improving (>4K by EQ) (gain by TdDRC)
2. TdDRC hard limiter set as -1dB for New FIR patch
3. Batch copy from generic TX to BT-HAC/TTY-VCO/headpohone
4. Batch copy from generic RX to TTY-HCO
5. Batch copy from generic to VOIP specific mode (cust1/cust2/res1)

CM4
- Headset (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

- Bluetooth (Gene)
1. Modify following modes's DRC/FENS for "V1P9 Denoiser +  bypass3 + 0314BWE"

-Handset (Duncan)
HASWB SFR fine tune

--Handsfree
Tune WB SFR/RFR for pass NB as well
HHSWB NS(Mar25)
TdDRC hard limiter set as -1dB for New FIR patch
RX HHWB FFP fine tuned
Tune NB/WB/SWB RFR nom for distortion pass

Bug: 332476284
Test: Verified by Acoustic team

Change-Id: I41702b71ba87197d9433ad85f59213d83f004f1f
Signed-off-by: Jason Hsu <jasonchhsu@google.com>
2024-04-02 19:37:32 +08:00
Jason Chang
cffc76a516 Merge "Fix when registering a new fingerprint, part of the text when fingerprint recognition fails is covered by the explanatory illustration on TK4." into 24D1-dev 2024-04-02 09:48:37 +00:00
Wei Wang
8eddb9f303 Merge "thermal: add thermal config for wingboard" into 24D1-dev 2024-04-01 22:50:42 +00:00