Commit graph

243 commits

Author SHA1 Message Date
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
Robert Lee
70e80b8217 audio: update speaker protection bin file
Change list:
1. tuned down top speaker Xmax to 0.37mm to meet reliability requirement.

Bug: 198765357
Test: builds
Change-Id: I6aa35972846805c583b45d0a0c71df99be436156
Signed-off-by: Robert Lee <lerobert@google.com>
2022-03-01 10:36:44 +00:00
Carter Hsu
b06bb3278f audio: voip downlink to stereo
Bug: 208951314
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I85c654319998e31bb846830f9878b9385ef30091
2022-03-01 06:31:49 +00:00
Carter Hsu
eb39103cd8 audio: iS900 table release of Fortemedia
Bug: 208951314
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Iac83ae74ce2db1372bd0e2daeab93e96698a2ad7
2022-03-01 06:31:49 +00:00
Wayne Lin
3497b88fef [P22] gps : enable runtime LTE filter control feature
Bug: 215468937
Bug: 205776935
Test: verify pass
Change-Id: Ia34795a09c223ffbe3b3960e66f6bb50dc814951
2022-03-01 04:20:23 +00:00
Jasmine Cha
8002465010 audio: update baacl configuration
Bug: 204271308
Test: build pass
      adb shell audio_waves_custom_action_tests
      adb shell "echo 10000 > /dev/thermal/tz-by-name/battery/emul_temp"
      adb shell "echo 80 > /dev/thermal/tz-by-name/soc/emul_temp"

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6d32f82df45d80dfe2d1d16aad979b6277138402
Merged-In: I6d32f82df45d80dfe2d1d16aad979b6277138402
2022-02-24 11:40:47 +08:00
Robert Lee
65c65dfe82 audio: update speaker protection bin file
Change list:
1. set Top speaker Tmax to 105 degC for Waves tuning

Bug: 199029784
Test: Builds
Change-Id: Ie7274f01f831a1b3e17c929472ebffe9d0f1d2a1
Merged-In: Ie7274f01f831a1b3e17c929472ebffe9d0f1d2a1
Signed-off-by: Robert Lee <lerobert@google.com>
(cherry picked from commit e6bf777674)
2022-02-22 13:47:17 +00:00
Robert Lee
9e44a2793d audio: update speaker protection bin file
Change list:
1. Re-characterized speaker model on top speaker due to a design change
2. set Tmax to 105 degC for Waves tuning

Bug: 198765357
Test: builds
Change-Id: Ib1793b25c58aed5f7e4df2ff07b11f0cebf876da
Merged-In: Ib1793b25c58aed5f7e4df2ff07b11f0cebf876da
Signed-off-by: Robert Lee <lerobert@google.com>
(cherry picked from commit 52798a52d71d972415dc4964ec18591f177cc620)
2022-02-22 09:20:24 +00:00
Chris Kuiper
cdc1dc5379 Config: Fine-tune ambient thresholds for brightness stability.
Porting to C10/P10.

Bug: 215655995
Test: adb shell dumpsys display and check the log.
Change-Id: I68d2121bb8694aab0e23ab67b5cc2cc5d5b1fdb4
2022-02-17 16:53:48 +00:00
samou
d321e3f112 Create initial power_profile.xml
Bug: 219368899
Change-Id: I38c0c65e5be0b4ae3fb22637f3273d039b1fd685
2022-02-17 09:08:16 +00:00
Roger Wang
a34fbb7284 wifi: configuration update
Align configuration as following.
1. Dual AP interface
2. verbose logging always on
3. hotspot MFP

Bug: 219927253
Test: dual hotspot can be turned ON and client can connect to hotspot
Change-Id: I0885b55c37135fe632b597bc605a8f281c0448b2
2022-02-17 04:27:25 +00:00
Midas Chien
ba2ac351b5 display: enable smooth display by default
Turn on Smooth Display in Settings App by default. Users can disable it
in Settings App.

Bug: 219650450
Test: Smooth Display is enabled by default after factory reset
Change-Id: I3acc5d548bad8a5068a75140673512ba793890e8
2022-02-17 02:21:59 +00:00
William Tai
790649ba23 display : update color data file
Update disply color data for LHBM.

Bug: 203594609
Test: adb shell displaycolor_service 653
Change-Id: Ifda684838351babe226dfe763a2d60298c60e274
2022-02-17 00:13:10 +00:00
William Tai
3ca336a5a4 display : add color data file
Add disply color data file.

Bug: 199468488
Test: adb shell displaycolor_service 653
Change-Id: I2d67a763c546d77cb7b4887f3af88ad25fbe2031
2022-02-17 00:13:10 +00:00
William Tai
605228a63c display : update color data file
Update disply color data for LHBM.

Bug: 199469421
Test: adb shell displaycolor_service 653
Change-Id: I608f4bab5a7c7d9210c6401bae44270cbab8241b
2022-02-17 00:13:10 +00:00
TeYuan Wang
12d950f1d1 thermal: bringup basic thermal throttling for dogfood
Bug: 219869479
Test: verified by emul_temp
Change-Id: Ifc2123bd78c62126a25b5d3e4d9413a4dc97bcd6
2022-02-16 19:34:39 +00:00
Tai Kuo
e6f34d946a haptics: enable hapitcs sink and slot setting
Bug: 199578214
Test: trigger audio coupled haptics via sound picker app
Change-Id: I2c20f75d5df59e5d72800878c76c5ad3c1709079
2022-02-16 17:39:13 +00:00
Robin Hsu
9adc062bcc config.xml: max_cached_processes changed to 64
Bug: 190531672
Test: dumpsys activity -i | grep -i cached_process
Signed-off-by: Robin Hsu <robinhsu@google.com>
Change-Id: I3cf8989a398ea594187b0e5a8cc8bad315b78ac3
2022-02-16 14:25:35 +00:00
shawnlin
f2817de6da Add no cutout overlay packages for C10 & P10
Bug: 219644611
Test: make
Change-Id: I2b021c5e9fc1c1b5f8bf48372b7128644a95b75b
2022-02-16 02:24:09 +00:00
Victor Liu
723ea1022f uwb: remove calibration script
The calibration script will be copied higher level device uwb.mk

Bug: 219611318
Test: builds
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I68175f99e063bd196555929fd2c55e848c3c360a
2022-02-15 19:52:43 +00:00