Commit graph

712 commits

Author SHA1 Message Date
Ali K. Zadeh
7499529d3a Merge "Restrict Lyric to use only Mid Cores" into udc-d1-dev 2023-04-03 21:30:32 +00:00
Qais Yousef
2fa00d3dc8 powerhint.json: Update uclamp_min hint to account for margin
Upstream has fixed relationship between uclamp_min and margin which
means uclamp_min value between 80-100% of capacity of the CPU is a valid
value and will not cause upmigration.

To keep the current hints in powerhint.json the same, we must update
uclamp_min to be capacity_orig_of(medium_cpu) + 1.

This change is dependent on uclamp vs fits margin in GKI, vendor
modules. And an improvement in sched_pixel to ignore the 25% boost if
the only reason to request the frequency is uclamp_min.

To cater for the later - we multiply each uclamp_min value with 1.25
- except ones that look intentionally set around capacity boundaries.

Bug: 261695590
Test: UiBench
Signed-off-by: Qais Yousef <qyousef@google.com>
Change-Id: I88aa819bcaa0844d688242894dc899a607076bd8
2023-03-31 21:13:28 +00:00
Sianyi Huang
0c4b6e5500 Merge "Modify maxGamma value of short-term model" into udc-dev am: f178ab29cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22323943

Change-Id: Iaa3598471bcf97639ae704bbba56a1db29d60e9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 09:21:13 +00:00
Sianyi Huang
f178ab29cf Merge "Modify maxGamma value of short-term model" into udc-dev 2023-03-31 08:49:59 +00:00
Bill Chang
57436bedd9 Merge "Revert "Revert "Add Decompress FATP test""" into udc-d1-dev 2023-03-31 08:24:43 +00:00
Bill Chang
73e90658f9 Revert "Revert "Add Decompress FATP test""
This reverts commit d074f18b2c.

Reason for revert: Issue causing tool build fail was resolved in ag/22339171

Change-Id: I14c5d861b57458df3774c54182978b966ba5b8b2
2023-03-31 06:57:14 +00:00
TeYuan Wang
5fea294d53 thermal: align the latest USB and charging policy for off mode charging
Bug: 276074662
Test: boot
Change-Id: I8ba98ef624a848c881ba01afaa93ad185c8d87da
2023-03-31 14:16:39 +08:00
TreeHugger Robot
e197479d05 Merge "display: add lowlight blocking zone" into udc-d1-dev 2023-03-31 00:34:17 +00:00
Carter Hsu
9f03a40fa9 audio: FM table check in (2023/03/30) for telephony.
-HK3 Handsfree (Ricky)
1. Fine tuning RX subjective in all bands (including VOIP)
-HK3 Headset (Ricky)
1. Sync Handsfree RX setting to HCO-RX

Files from the latest attachment on b/276196324

Bug: 276196324
Test: verified by rickycheng@
Change-Id: I9e14180bceb2e7c92fb24c3c7cc0362bdf7aa32c
2023-03-30 23:50:00 +00:00
George Lee
ce56ff9487 Merge "bcl: Remove ocp_cpu1 and soft_ocp_cpu1" into udc-d1-dev 2023-03-30 18:19:48 +00:00
George Lee
e02610d02d bcl: Remove ocp_cpu1 and soft_ocp_cpu1
Bug: 275721469
Test: Flash and boot
Change-Id: Ia4a29de94ce755e4520788fa8f4236e788017e15
Signed-off-by: George Lee <geolee@google.com>
2023-03-30 10:09:46 -07:00
linpeter
a6b783046d display: add lowlight blocking zone
zone 1: Lock refresh rate at 120Hz when ≤ 10 nits
zone 2: Lock refresh rate at 120Hz when ≤ 15 nits and ≤ 10 lux

Bug: 274713662
test: check refresh rate
Change-Id: Icbc04d216ef4ff28fff80792a7df9271f77ad760
2023-03-30 21:07:07 +08:00
Jeremy Nei
49be82a755 Merge "Add brightness table as part of display color data." into udc-d1-dev 2023-03-30 04:50:29 +00:00
Bill Chang
98ec449c86 Merge "Revert "Add Decompress FATP test"" into udc-d1-dev 2023-03-30 04:04:45 +00:00
Bill Chang
d074f18b2c Revert "Add Decompress FATP test"
This reverts commit 73fdffd0fc.

Reason for revert: b/276062727

Change-Id: I359055eeafcc61c3b65bfc68ae6ff7b87e0be0c9
2023-03-30 04:03:07 +00:00
Bill Chang
3a77f328c2 Merge "Add Decompress FATP test" into udc-d1-dev 2023-03-29 11:14:58 +00:00
SianyiHuang
7924d6ce8e Modify maxGamma value of short-term model
Bug: 265931912
Test: dump display log
Change-Id: Ib38c5cacfdf0414da78a454c2af72fb071de2f9c
2023-03-29 09:14:25 +08:00
Wei Wang
1f3ab9319d Merge "thermal: update with v5 coefficients" into udc-d1-dev 2023-03-28 16:19:27 +00:00
Ali K. Zadeh
0f5d64170f Restrict Lyric to use only Mid Cores
This CL restricts LyricHAL to use only CPU cores 4-7.

Bug: 274670597
Test: Kibbles measurement
Change-Id: I85373639ecd469faa81736c1f8e45c3107044df0
2023-03-28 15:43:44 +00:00
Bill Chang
73fdffd0fc Add Decompress FATP test
Bug: 275422169
Test: build pass, manually run on husky
Change-Id: I9ca3770426731564ebd14dca9d56aceac793a4d6
2023-03-28 15:30:36 +00:00
Jeremy Nei
68c31f67d6 Add brightness table as part of display color data.
Bug: 255903789
Test: build success
Change-Id: I4cddfca276c30e953fab04d238383ea158532cac
2023-03-28 06:22:22 +00:00
Liang Li
bb5e10acd6 Merge "Enable adjusting link layer stats polling interval" into udc-dev am: 5c2684d2db
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22056589

Change-Id: Ibdce6b068e07d99b7a929be7e8a4f0781a58ec24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-28 02:49:39 +00:00
Liang Li
5c2684d2db Merge "Enable adjusting link layer stats polling interval" into udc-dev 2023-03-28 02:40:51 +00:00
Xiaotong Wu
09cae374ab Add powerhint for fusion zoom on husky
Follow ag/20939690 to add powerhint for fusion zoom. More context can be found from b/262862625 and b/255626585.

Bug: b/255626585
Change-Id: I01b199bd3b35e611b7764ed6fe5446dd4231d33e
2023-03-27 18:29:19 +00:00
TreeHugger Robot
12a1c202a8 Merge "husky: support blocking zone for min idle refresh rate" into udc-d1-dev 2023-03-27 15:42:13 +00:00
Darren Hsu
8409c7609d powerstats: add display state residencies for FHD resolution
Bug: 274911859
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: If85e0a88fe2dccb9c64a14a53564700c9ced509c
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2023-03-27 10:13:01 +08:00
Carter Hsu
f8b03c17f0 Merge "audio: FM table check in (2023/03/24) for telephony." into udc-d1-dev 2023-03-25 02:20:25 +00:00
Carter Hsu
08ca1113ef Merge "audio: FM table check in (2023/03/24) for telephony." into udc-d1-dev 2023-03-25 02:20:11 +00:00
Wei Wang
3caed3ea42 Merge "Add Ownership to powerhint file" into udc-d1-dev 2023-03-24 17:16:29 +00:00
Manali Bhutiyani
afb83c35bc Merge "[config] Enable udfps ignore feature on husky" into udc-dev am: 73a8462b9c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22134463

Change-Id: Iaf4649f20b6e181b17e8bb25c8d7de841aa96f3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 13:17:22 +00:00
Manali Bhutiyani
73a8462b9c Merge "[config] Enable udfps ignore feature on husky" into udc-dev 2023-03-24 13:08:50 +00:00
chenkris
166ba1dca6 Move udfps antispoof property to common g7 folder am: 43533f6d8d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22215176

Change-Id: I0a106c6899cb84b45b67b4e32981a5b4eed6150b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 03:53:40 +00:00
Kyle Lin
1c936a6829 Add Ownership to powerhint file
Bug: 275000554
Test: NA
Change-Id: Ia4f614f37b277ba958dec524068b5706245e4323
2023-03-24 11:33:45 +08:00
Carter Hsu
c8b501bb18 audio: FM table check in (2023/03/24) for telephony.
-SB3 Handsfree (Ricky)
1. TX tuning for EVT1.0 in all bands
2. ECDT fine tuning v1 in SWB
3. NS fine tuning with MSSA ON in all bands
4. RX subjective fine tuning in all bands

-SB3 Handset (Duncan)
1: NB/WB/SWB RLR correction
2: NB/WB/SWB RFR increase more headroom for requirement
3: Fine tune FDEQ to pass RCM acoustic shock requirement in max vol condition

- SB3 HE (Gene)
1. Align the EQ of HEADSET-GOOGLE_CONDOR-VOICE_GENERIC-NB and HEADSET-GOOGLE_CONDOR_HEADPHONE-VOICE_GENERIC-NB.

- 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/274987125

Bug: 274987125
Test: verified by rickycheng@
Change-Id: I46881db8f0358e85d8d4cbf9175104bf7657cf71
2023-03-24 09:18:03 +08:00
Carter Hsu
f2625cb1d9 audio: FM table check in (2023/03/24) for telephony.
- HK3 Handset.dat (Owen)
1. Modify NB Rx BVE(Tx) G2&G3 from 3/6 to 2/3 dB, keep DRC gain in 8.5dB, and SPK Vol for volume curve
2. Modify WB Rx BVE(Tx) G2&G3 from 4/5 to 2/3 dB, DRC gain to 7.5dB, and SPK Vol for voulme curve
3. Modify SWB Rx BVE(Tx) G1 from 4 to 3dB, FFP MaxG from 10.5 to 11dB, keep DRC gain in 13dB, SPK Vol for volume curve
5. Copy item 1./2./3. Tx/Rx settings of Handset | Voice_Generic to Handset | Tmobile-US & Reserve2
6. Copy item 1./2./3. Tx settings of Handset | Voice_Generic to Handset_HAC | Voice_Generic & Tmobile-US & Reserve2
7. Modify SWB Rx FDEQ at Max/Max-1 Vol to mitigate hissing sound problem.
8. Copy item 7. Rx settings of Handset | Voice_Generic to Handset | Tmobile-US & Reserve2

-HK3 Handsfree (Ricky)
1. TX tuning for EVT1.0 in all bands
2. ECDT fine tuning v1 in SWB
3. NS fine tuning with MSSA ON in all bands

- HK3 HE (Gene)
1. Align the EQ of HEADSET-GOO
GLE_CONDOR-VOICE_GENERIC-NB and HEADSET-GOOGLE_CONDOR_HEADPHONE-VOICE_GENERIC-NB.

- 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/274987499

Bug: 274987499
Test: verified by rickycheng@
Change-Id: I0f456cb30f0821b73f171cf6511cc9edadf5872e
2023-03-24 09:16:42 +08:00
chenkris
43533f6d8d Move udfps antispoof property to common g7 folder
Bug: 270657514
Test: authenticate fake finger
Change-Id: I7f93dd0db75e1d237c84d268e320771de5e9cdf8
2023-03-23 07:47:05 +00:00
TreeHugger Robot
ff39728a33 Merge "wlan: configure channel 149/36 as p2p preferred channels." into udc-d1-dev 2023-03-23 05:00:43 +00:00
kensun
fea811da69 wlan: configure channel 149/36 as p2p preferred channels.
In previous mechanism, p2p channel only can raise on same channel
while STA connected to 2.4GHz band. However, if device support DBS
mode, we should allow p2p to raise on 5GHz band for 230423673 higher
performance.

Bug: 272687278
Test: connect STA to 2.4GHz and verified that p2p is able to come up in
5GHz DBS mode.

Change-Id: I534a844f7f1073baf1e1a08d8a7e06cece3176a1
2023-03-23 03:54:44 +00:00
Sayanna Chandula
8ee896f5dd thermal: update with v5 coefficients
Bug: 274820656
Test: Flash build and test thermal service

Change-Id: I1f03f2698aaa761069560a7c8f8ca472a45ee05f
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-22 17:32:30 -07:00
TreeHugger Robot
af2dfc2911 Merge "gps: increase cpguard time" into udc-dev am: eb651febfa
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21780824

Change-Id: I6a2a246d6664db1f2b1a9a837657affe171b220a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-22 16:47:07 +00:00
TreeHugger Robot
eb651febfa Merge "gps: increase cpguard time" into udc-dev 2023-03-22 16:04:19 +00:00
Sayanna Chandula
3b26f303e6 Merge "thermal: update powerhints per new thresholds" into udc-d1-dev 2023-03-21 00:37:40 +00:00
Sayanna Chandula
870855cfaa thermal: update powerhints per new thresholds
As part of fixing b/268768104, control temperature is lowered to
85C for iPOP devices. This change updates powerhint thresholds to
reflect the same

Bug: b/268768104
Test: Flash the build and check trip thresholds after powerhint

Change-Id: I61227ecf822d438c99af51bc732fcef3280eba0b
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2023-03-20 15:52:28 -07:00
Shiyong Li
6f5797eacc Merge "device-husky.mk: enable display panel operation rate feature" into udc-dev am: 58c2838596
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21676077

Change-Id: I77496a495d1be398f6c7e8700f77556f634d460a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 22:13:07 +00:00
Shiyong Li
58c2838596 Merge "device-husky.mk: enable display panel operation rate feature" into udc-dev 2023-03-20 21:37:21 +00:00
Shiyong Li
4dc9ffdcd5 device-husky.mk: enable display panel operation rate feature
NS minimum dbv is based on EVT1.0, targeting 100 nits.

Bug: 268991972
Change-Id: I8fdfcd68e64f78fa618afc11acd02d13d2ae4e47
Merged-in: d879c07a58
Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-03-20 21:35:21 +00:00
Chris Lu
690a7aad97 husky: support blocking zone for min idle refresh rate
Add the related properties to support it.

Bug: 256662691
Test: the min idle refresh rate works properly
Change-Id: I8e38a1d90c951644b60e76a2e0ce761defa546ce
2023-03-20 14:19:41 +00:00
Cheng Chang
65cb2f516b gps: increase cpguard time
Bug: 267729364
Bug: 269344906
Test: verified at b/269344906
Change-Id: If7850a0a00c9e80af8370632233d3edaaa73b03c
2023-03-20 08:48:23 +00:00
TreeHugger Robot
457bc2147e Merge "conf: remove the command to start usb gadget" into udc-d1-dev 2023-03-20 07:47:47 +00:00
TreeHugger Robot
bc9d9c3189 Merge "Release EVT1.0 table for Husky/Shiba" into udc-dev am: 835621afe6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22122026

Change-Id: Ie5ad36f792479c6aadac05c0fbb879f90918f06f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-20 03:52:16 +00:00