Commit graph

612 commits

Author SHA1 Message Date
Victor Liu
16c5cab354 uwb: Increase CCC uwbtime0 delay
Delay between NFC start and kernel has increased
This patchs update this delay to avoid lock at start

Bug: 223228405
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I1c91c73e420315e67ecfb076f90a0fcc20deb3fe
2022-03-23 20:34:34 +00:00
Peter Liu
8f0dc7db93 Camera: Update target load for high streaming case
Update target load due to Pro mid CPU
this hint impact the high streaming use case like 60fps / 120fps and
240fps.

Bug: 222570798

Test:
1080p60 frame drops: 0.3% (before 3%)
slow mo 8x: frame drop 0%. 300mW saving on mem path

GCA test
CTS no regression
Passed:Tests Passed: 358, Failed: 4, Not found: 0, Status unknown: 0

Change-Id: Ie53f6eaadadf3540cf9a7b6cf7b801d46e943098
2022-03-23 08:20:08 +00:00
William Tai
8489809c43 P22: update display blocking zone for EVT1.0
C10:
zone condition(5 nits, 5 Lux) in 120Hz
P10:
zone1 condition(20 nits) in 90Hz
zone2 condition(25 nits, 20 Lux) in 90Hz

Bug: 220878644
Change-Id: Id8c94230c070812093600f32e7326d8550794f6d
2022-03-23 07:46:02 +00:00
Jasmine Cha
63c82ed9e5 audio: update waves preset
Change List & Tuning Notes
1. Iteration to mitigate the subjective difference between
   2.5A & 1.8A(BAACL throttle) waves tunings.
2. Speaker-safe mode is updated accordingly.

Bug: 203794965
Test: manual test (b/203794965#comment13)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I1a1ebd5a3080c7ea93d5592d82d78533d01103cc
2022-03-23 05:08:51 +00:00
Sayanna Chandula
3baae0f8d2 thermal: update C10 and P10 v4 thermal coefficients
Update C10 and P10 thermal configurations with v4 coefficients

Bug: 223909968
Test: Build and boot on device. Check thermal configuration at
/vendor/etc/thermal_info_config.json
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Iad867590122f5c16667ba020f98799c952b3176c
2022-03-23 03:37:01 +00:00
Joshua Mccloskey
181a35eb41 Devices will not skip lockscreen after face unlock
Test: Verified after face authentication is done, the lockscreen
is not skipped.
Fixes: 219634181

Change-Id: Ife19c5b6ac60c60d6cc6f68f32dc6755426043b0
2022-03-23 01:04:46 +00:00
Mark Chang
376d1de226 C10/P10: Delay twoshay service start stage.
Bug: 225351394
Test: Verified twoshay not running in charger mode using cereal (P31701277).
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: Iad139a8340f5a8e6ee53ba434edc3b98379f68e2
2022-03-22 23:09:09 +00:00
Jimmy Shiu
9419013949 powerhint: updating uclamp_min for little cores
Update uclamp_min to keep the little cores boost running on the same
frequenices.

Bug: 220975075
Test: build and boot to home
Change-Id: Idfc12229ec372288c29b61e2d965e13e480476e5
2022-03-22 22:30:38 +00:00
Kris Chen
953a9bbfa1 c10p10: Enable ALS feed forward
Bug: 197780765
Test: build and test fingerprint on device.
Change-Id: Ia135a56c18a4e9993b05eb93abca2b241764e67b
2022-03-22 03:24:42 +00:00
Yung Ti Su
46e193ec79 Add LE audio hardware offload property
Add these property for the development on userdebug and eng only on P22.

Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ic80ffbbfdcafda4bba9ed6edf01002d3db7e0c0b
2022-03-18 15:22:49 +00:00
Yung Ti Su
3ff3a57ebb Seperate audio_policy_configuration for a2dp and le
If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == true
use audio_policy_configuration_a2dp_offload_disabled.xml (a2dp X LE X)

If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
(ro.bluetooth.leaudio_offload.supported == false OR persist.bluetooth.leaudio_offload.disabled == true)
use audio_policy_configuration_le_offload_disabled.xml (a2dp O LE X)

If ro.bluetooth.a2dp_offload.supported == true AND persist.bluetooth.a2dp_offload.disabled == false AND
ro.bluetooth.leaudio_offload.supported == true AND persist.bluetooth.leaudio_offload.disabled == false
use default audio_policy_configuration.xml (a2dp O LE O)

Note:
The above settings are based on ro.bluetooth.a2dp_offload.supported == true condition
If ro.bluetooth.a2dp_offload.supported == false, the content of the default audio_policy_configuration.xml
file must be replaced by audio_policy_configuration_a2dp_offload_disabled.xml on the target

Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: I4a9bd45c1341100217ab32fd81f7421af00e059d
2022-03-18 19:06:27 +08:00
jonerlin
3275b689d7 bt: support Sar backoff high resolution command in P22 projects
* set SarBackOffHighResolution = true for support power index
  from 0 to 80 for setting backoff in 0.25 dB step

Bug: 170369474
Test: sending sar command with power cap index between 20 ~ 80 and
confirm the SAR backoff is workable.

Change-Id: I56d75abcff55e93554bf656fff164b861fe0e3c2
2022-03-18 06:04:58 +00:00
Carter Hsu
8eb016913d audio: add recording debug files
Bug: 221964481
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I63e7dff97cd48ec337de2f70d2746e28afc19a57
2022-03-18 02:53:08 +00:00
Ken Tsou
27b511c302 battery: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If device is placed onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after device boot up
  - persist.vendor.limit.wlc.current=1

How to verify:
  adb shell setprop vendor.disable.wlc 1
  adb shell cat /sys/class/power_supply/wireless/online >>>> 0

  adb shell setprop persist.vendor.limit.wlc.current 1
  adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000

Bug: 204211357
Test: set the property manually and query the result from file node.
Change-Id: I3ae2460f964b12924c3432d7f84203e2d802aa5f
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 6e0bb1cb11b05768d04767e85cd28eaef212f305)
2022-03-17 18:03:29 +00:00
Daeho Jeong
d92fb5e527 disable powerhint for F2FS gc_urgent mode
Disable the powerhint for F2FS gc_urgent mode, since we are going to
replace this with the smart idle maintenance service.

Test: turn on/off the screen & check /sys/fs/f2fs/dm-*/gc_urgent
Bug: 214430685
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: I3e7fc4efdd6eed0a61fb2cedf3620907fece226d
2022-03-16 12:07:06 -07:00
Gary Jian
8358d48714 Handle the network selection restoring in modem side
Bug: 222483102
Test: manual
Change-Id: I16b665f72aae3b7e82c7f46a608eed36bbddae7f
2022-03-16 17:53:01 +08:00
ryanlwlin
28f176b9fc Add override for fingerprint sensor gesture support
Bug: 222019218
Test: atest AccessibilityFingerprintGestureTest
Change-Id: Ic36efe75a02cb707adc5c9aab10ec8916644c890
2022-03-16 09:14:39 +00:00
Carter Hsu
185ba5d4b4 audio: update w spatial and mic MBDRC mode tuning
Bug: 221964481
Bug: 214337696
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia6eae5d830b16cfa587b85003cbe968f6061e1b3
2022-03-15 09:47:15 +00:00
Roshan Pius
27eebf2eed panta(uwb): update calibration file for uci uwb stack
Bug: 186585880
Test: Manual Tests
Change-Id: Ife210d69be43587dbeace49764dd07aa83375b9a
2022-03-14 16:09:02 +00:00
Yanting Yang
c83cb2cf1e Add initial MIC e-labels for JP SKU of C10 and P10
- Add label for GFE4J (mmWave-JP) of C10.
- Add label for G03Z5 (Sub6-JP) of P10.

Bug: 213977009
Test: visual
Change-Id: If34fbb37f5269294bd2fd5d599f79d3d1df57cf4
2022-03-14 11:58:29 +00:00
Jasmine Cha
3e00fd613b audio: waves: correct ini for LR swap
Bug:223341194
Test: manual test (b/223341194#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib29ce35fd303c8f0cd011363ff3277ef5031dca5
2022-03-14 08:50:51 +00:00
Wei Wang
fa3f3de1a9 Temporarily disable GPU power hold during LAUNCH boost
P21 has been using GPU power hold during app launch to mitigate jank
from GPU power on latency.
However this same mechanism seems causing instability (may be related
to the new inter-frame power optimization). While the root cause is
being investigated, disable the boost.

Bug: 223828284
Test: Build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Id04a1d09ebd5b36c1c7c55824da34bffb6435cab
2022-03-11 23:09:45 +00:00
William Tai
c7e91120e4 Update SystemUI config.xml
- Add Doze settings

Test: manual
Bug: 199469793
Bug: 199468273
Change-Id: I05aa9305781539444e37a2e2ae0b05f0c8fbf79a
2022-03-11 05:22:05 +00:00
George Lee
18771c221b thermal: Reduce DVFS throttling per BCL irq
By increasing hardware clock divider count, we do not need to throttle
as hard to mitigate for brownout.

Bug: 221070649
Test: Local stress test to ensure no brownout.
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I7ced6cdcf215738dd50d527f9f58ae4046492b29
2022-03-10 20:17:32 +00:00
TeYuan Wang
fd2cf74ed9 Enable user_vote_bypass for UDFPS and face unlock
Bug: 221173040
Test: Do FP unlock and confirm the user_vote can be bypassed
Change-Id: I365924ea9f262c563c2c067d9989e3153d2c0c26
2022-03-10 12:42:28 +00:00
Carter Hsu
36d1681e4f audio update FM tuning 0309
FM table Changelist:

1. C10P10 HA optimization tuning for EVT1.1
2. P10 Modify HH volume parameter to fix b/223103615

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I1dddf764788a44613f2a00c5a0acb703e54ba3b1
2022-03-10 07:00:37 +00:00
Sayanna Chandula
e2e40853a5 thermal: update C10 and P10 thermal configurations
Update virtual-skin and virtual-skin-charge with v2 coefficients.

Bug: 220922474
Test: Build and boot on device. Check thermal configuration
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I81224836d03fe501b6472d568e037019c61b7dca
(cherry picked from commit c9f55902d1)
2022-03-09 23:40:31 +00:00
Carter Hsu
cd9c935da4 audio: update voice tuning for EQ setting in HAWB
Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ic8f0e696280c87412f0f52657ae26360f00c29e5
2022-03-09 01:34:04 +00:00
Jimmy Shiu
e8000482de powerhint: update the config aligned to gs201
update powerhint.json for panther and cheetah

Test: Build and check trace
Bug: 207573241
Change-Id: I3c27fdbe70cf8c950ea2c09bb7a813261838cb23
Merged-In: I3c27fdbe70cf8c950ea2c09bb7a813261838cb23
2022-03-08 15:22:52 +00:00
Jimmy Shiu
b9cf8d408a powerhint: fork powerhint.json for pantah
Move the powerhint.json from gs201 to pantah.
Separate powerhint.json for each device.

Test: build and manually check
Bug: 207573241
Change-Id: I32d9093e48ca5f62cf0d05ec43a8b77b99ed254d
Merged-In: I32d9093e48ca5f62cf0d05ec43a8b77b99ed254d
2022-03-08 15:22:52 +00:00
Shinru Han
249ac9c196 gps: Enable SI SUPL over Wifi
Test: -
- SI SUPL Wifi on + mobile network off
- SI SUPL Wifi on + mobile network on
- SI SUPL Wifi off + mobile network on
- SI SUPL Wifi on + airplane mode on
Bug: 220816549

Change-Id: I22382d768b406ff4caccb148018a6d3863c25ded
2022-03-08 11:05:49 +00:00
Mark Chang
81d4d05b9c P10: Start twoshay service during boot.
Bug: 199105154
Test: adb logcat | grep twoshay
Test: twoshay launched successfully.
Signed-off-by: Mark Chang <changmark@google.com>
Change-Id: If657e038e13fa02596518ab1bfcc109a9c29c2d3
2022-03-08 05:08:41 +00:00
Edwin Tung
526123c675 gps: Set RTO/SUPL download interval to 20 min
Bug: 220457118

Verify test: 222416929
Test: TTFF and RTO download

Change-Id: Iae08c16af6e8e93ed6548465627a00fb8f0fedbd
2022-03-08 03:48:40 +00:00
davidycchen
f834376e52 C10: start twoshay service during boot
Bug: 199104528
Test: twoshay starts during boot.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: I862df8aa612fb9c409cf37538c2ab2e5cb794117
2022-03-07 13:22:03 +00:00
millerliang
a4f879a3d4 audio: change format of mmap-playback to float
Bug: 201398105
Test: OboeTester
Test: atest CtsNativeMediaAAudioTestCases
Signed-off-by: millerliang <millerliang@google.com>
Change-Id: I57965faeb93f6e07f10ba8ab63d66298149bd556
2022-03-07 02:59:26 +00:00
Kris Chen
cd8a034fd9 c10p10: Add config_udfps_illumination_transition_ms
Bug: 197780765
Test: Enroll and authenticate fingerprints.
Change-Id: I5101da79c856481d6509d0ef36af8eef7dbbbf05
2022-03-07 01:44:25 +00:00
Bao Zhu
0feab0e57b Add coex MIPI tables
Bug: 206337456
Test: Cheked generated files after compiling
Change-Id: I9cab77bde0cb8e4a8a38320cbb7f394cc3b68e7e
2022-03-04 20:25:21 +00:00
Randall Huang
e3d97fcd99 P22: config zram size for dev boards
Bug: 222601059
Test: run generic/018
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I2dad954957c9523816072fe4d42db6ae85dc87d1
2022-03-04 15:42:39 +00:00
Jasmine Cha
22fe48b297 audio: waves: update BAACL mps and ini
Bug: 203794965
Test: manual test
 P10: b/203794965#comment7
 C10: b/203817007#comment10

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I758791e6311ac1e33c1dd2aa16ad40bd636d9c7f
2022-03-04 10:02:32 +00:00
George Chang
f37b5b2c9b Enable STNFC_ACTIVERW_TIMER
Bug: 217231862
Bug: 194675064
Test: stress tests
Change-Id: I88a782ee6aa5922aa9e52a53c6cff6e62f850a10
2022-03-04 09:49:51 +08:00
Carter Hsu
7585c7545a Revert^2 "audio: Update voice tuning 20220224"
fd3cebfa22

Change-Id: I161570a9f52f7586ab674c675b5fdaaad5457741
2022-03-02 13:09:51 +00:00
Carter Hsu
b8102093c5 Revert^2 "audio: iS900 table release of Fortemedia"
a0982ca489

Change-Id: If70327187c71a6df3c2dc05823ba6d5a08a83eef
2022-03-02 13:09:51 +00:00
Carter Hsu
94c8478ae8 Revert^2 "audio: voip downlink to stereo"
a692a92f6f

Change-Id: I312d657be88e5fe4f4c52f649b0e84c3858a0916
2022-03-02 13:09:51 +00:00
Carter Hsu
a692a92f6f Revert "audio: voip downlink to stereo"
Revert submission 16996078-voip_speaker_separation-master-table-tm-dev

Reason for revert: <AoC is reverted by b/222138584>
Reverted Changes:
I85c654319:audio: voip downlink to stereo
Iac83ae74c:audio: iS900 table release of Fortemedia

Change-Id: Ib741e38913ab39af916f3dbb60bd08159c0d6cf2
2022-03-02 12:00:42 +00:00
Carter Hsu
a0982ca489 Revert "audio: iS900 table release of Fortemedia"
Revert submission 16996078-voip_speaker_separation-master-table-tm-dev

Reason for revert: <AoC is reverted by b/222138584>
Reverted Changes:
I85c654319:audio: voip downlink to stereo
Iac83ae74c:audio: iS900 table release of Fortemedia

Change-Id: I5bb1d1a0ba11b130f2ff56e8babf5402a135e8f4
2022-03-02 12:00:42 +00:00
Carter Hsu
fd3cebfa22 Revert "audio: Update voice tuning 20220224"
This reverts commit cbb9f05e5a.

Reason for revert: <AoC is reverted by b/222138584>

Change-Id: I4125a61c1142e0c6733f121b227d9ec652191a4b
2022-03-02 12:00:42 +00:00
Wayne Lin
ca92942355 [P22] gps : remove EnableFilteringForLTEB13 in gps.xml
Bug: 219973153
Test: verify pass
Change-Id: I0688d7cac1880c86bb8ec2fac2be0c73e6cccd7f
2022-03-02 03:39:14 +00:00
Robert Lee
24f59386c5 audio: update speaker protection bin file
Change list:
1.Enable PICL model on top speaker

Bug: 199029784
Test: builds
Change-Id: I2a330b4624eef8e8cbb6ad980f6fbcd18ac9c6f7
Signed-off-by: Robert Lee <lerobert@google.com>
2022-03-02 03:23:20 +00:00
Carter Hsu
cbb9f05e5a audio: Update voice tuning 20220224
FM table Changelist:
1. P10/C10 Based on iS900 : HA / HH / HE tuning setting for EVT1.1

Mixer changelist:
1. P10/C10 Change PCM Gain for Handset mode

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I5bfd1334f949540b2c87ea5b3aaed4c47eb6fb93
2022-03-02 02:04:31 +00:00
Jack Yu
7dfacbed4f Remove NFC uicc card emulation mode support
Correct the nfc feature flag declaration.

Bug: 222030531
Test: build pass
Change-Id: I0faddcc77904718d87d02e3daeab766c1714d606
2022-03-01 20:48:24 +08:00