Commit graph

387 commits

Author SHA1 Message Date
Sayanna Chandula
835341d69a thermal: update usbc overheat mitigation thresholds
Update usbc overheat mitigation thresholds for UI

Bug: 222577017
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ica73dfdb9795db09026822a0fee6048daacc439f
2022-07-19 16:58:18 +00:00
George Lee
7e2cc1ebbe thermal: remove userspace throttling for BCL tzone
This is part of the change to move the throttling mechanism into kernel
space for faster response time.

Bug: 238555356
Test: Confirm kernel space throttling
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I681ad03f5165af00b7db00251e03abeccebdb0cc
2022-07-18 20:56:04 +00:00
Jasmine Cha
b8c2d052d3 audio: update waves table for frc
Bug:238680468
Test: manual test (b/238680468#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I9ca63593e5ea4a34b83a429815ac006bfb99f474
2022-07-18 15:22:06 +00:00
Jasmine Cha
d659991e7b audio: update speaker volume
Bug:238680468
Test: manual test (b/238680468#comment8)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I544375dfba2fee42c0b24242f0817fb3354d69e3
2022-07-18 05:14:16 +00:00
Jasmine Cha
b4a5ce1cab audio: update mps table
Bug: 238403490
Test: manual test (b/238403490#comment4)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ib78388a74ba36239bded6dbfe73168c9c2db9daa
2022-07-18 04:07:01 +00:00
Edwin Tung
49faf9f84b gps: extend min GPS week number
Bug: 238931611
Validity test: 239117198
Test: Gnss Sanity test
Change-Id: If6df6a0a47ecf4f58f634378f8998a78385107fd
2022-07-18 03:42:35 +00:00
Ali K. Zadeh
def7dd9593 MIF frequency optimization for 60fps video recording use-case
This CL sets the MIF min clock frequency to 1539MHz, which based on
initial ODPM and MIPS measurements shows benefit both in terms of power
consumption and cycles-per-instructions (CPI), reducing the gap with R4
device.

Bug: 238775955
Test: ODPM and CPI tests. Link to test results provided in the bug.
Change-Id: I6fc043c3d0d9f052c02dd04eb47f22661cfade6a
2022-07-12 18:10:41 +00:00
jonerlin
25f164f895 Bluetooth: Disable BTRT logging for userdebug eng build
* remove the BTRT logging to advoid Umimplemeted packet type issue
  happening

Bug: 237906721
Test: Manually

Change-Id: I6d2b1444800f7955dc26714d108152cb4abb2114
2022-07-12 16:02:34 +08:00
George Lee
cdc0153692 thermal: Move BCL tzones passive delay to 1s
Bug: 238435115
Test: Boot and verify settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iebf1682246f736ef7cec1796e4dd7539315ee8bc
2022-07-08 21:53:48 +00:00
Labib Rashid
a4f48b4639 Update MIPI / DBR clock rate from latest desense tests / SW updates
Source: https://docs.google.com/spreadsheets/d/1KsOXacU5Q-R04Xa7jBRvNJPdeCfVJp_ldeqgeB_Prxs

Bug: 206984074
Test: Manual HW Lab Tests
Change-Id: Ic82041bba11858e44190d836d818d00fb48bcbf8
2022-07-08 18:48:36 +00:00
Yanting Yang
a1a786582a Add regulation e-labels for C10 and P10
Bug: 233569849
Test: visual
Change-Id: I380581371ab6c5b6c973f8be3fe42cdffbeb0283
2022-07-08 07:09:25 +00:00
Andrew Chant
47e484ec25 pantah: update persist file permissions.
Update persist file permissions on boot to
correct inconsistent output at factory.

Bug: 238045555
Change-Id: I5425bd7affe767c616c616c5c2f65aef9b78ef6b
2022-07-07 11:26:45 -07:00
Tai Kuo
661e6c8c17 Set audio haptic channel amplitude limit
Bug: 236709186
Test: dumpsys vibrator_manager
Change-Id: I23cf1e7dab264448dd0675bb1939135ae0cacd02
2022-07-04 01:34:01 +00:00
Rex Lin
bfb440fa08 uwb: include init.uwb.calib.sh
Bug: 233619860
Bug: 237485063
Test: build pass on both cheetah and aosp_cheetah
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Ic759b1efc206a3c1e68526098d258f2c142c6799
2022-06-29 20:06:08 +08:00
Wilson Sung
7631287df4 Revert "uwb: add back init.uwb.calib.sh"
This reverts commit 915bde6ffe.

Reason for revert: Fix build breakage

Bug: 237485063
Bug: 233619860
Change-Id: I3ad1dc034e2e4c699f9b32e79c40aa257bf19914
2022-06-29 05:27:29 +00:00
TeYuan Wang
5243b1a5ca thermal: enable logging for USBC virtual sensor
Bug: 222577017
Test: Verified by emul_temp
06-28 14:33:25.423 I/pixel-thermal( 6959): usb_pwr_therm: 37
06-28 14:33:25.424 I/pixel-thermal( 6959): USB-MINUS-USB2: 8.456
06-28 14:33:25.425 I/pixel-thermal( 6959): USB-MINUS-NEUTRAL: 7.676

Change-Id: I13a13aa4df7d68946ed0aab7937495b5b5365704
2022-06-28 20:01:29 +00:00
Rex Lin
915bde6ffe uwb: add back init.uwb.calib.sh
Bug: 233619860
Test: build pass
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Iee42962bb19026a5c10f6bb74f723694da27ab76
2022-06-28 16:08:13 +00:00
George Lee
133bcdf2ef thermal: Re-enable Monitoring of BCL tzones
Given that PTS-Thermal fix for Monitored tzones and TRIP_DOWN
is enabled.  We can re-enable monitoring of BCL thermal zones.

Bug: 236930961
Test: Boot and confirm settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Ic848bff8824d693904e7a575b8679a7e305275b4
2022-06-27 15:26:26 +00:00
TeYuan Wang
43ec1192d2 thermal: update CPU/GPU throttling policy to optimize perf
1. GPU 202Mhz thermal throttling is too aggressive and cause frame missing. So, adjust the hardlimit and cdev_ceiling to improve perf.

2. Set the cdev_ceiling for CPU to avoid the abnormal throttling request when ODPM has issue.

Bug: 234998975
Test: Confirm fps drop for pip test
Change-Id: I07b58d4e9412e4389bb7e2bb185ea9da0b18cc13
2022-06-24 06:42:23 +00:00
Sayanna Chandula
af3528b903 thermal: remove gxp cooling device dependency
Bug: 236296247
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ib7aa0b9b929978eb24104c79e93290b292454735
2022-06-23 23:11:18 +00:00
Rex Lin
ba2be5e4a7 uwb: update country files and path
- Add script and conf file to generate country conf
- Modify the cal path

Bug: 233619860
Test: Verified with local build on C10
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: I4d480cea4b06f02082c86fbb6d4a0613f8dfb0c2
2022-06-23 18:38:40 +00:00
Rex Lin
1498c2f809 uwb: remove platform specific calibration file
remove platform(gs101) cal file due to cal path change

Bug: 233619860
Test: Verified with local build on C10
Signed-off-by: Rex Lin <rexcylin@google.com>
Change-Id: Iee4e294aa89d330231a635bbe54be0261cbf8ee2
2022-06-23 18:38:40 +00:00
Mohi Montazer
5b8dbb546c powerhint: Disable PreferIdle STANDARD streaming
Disables PreferIdle powerhint for 30fps streaming, CAMERA_STREAMING_STANDARD

Bug: 189033378
Test: CTS, GCA

Change-Id: Ia28ab19ab6cebad84f2a695070ac04c5ecb18848
2022-06-23 17:46:45 +00:00
Wei Wang
7585632e09 powerhint: boost GPU during app launch
Test: boot with tracing
Bug: 236560387
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I9450350eee774816174c7ff77ebb987ab9053f80
2022-06-23 17:38:52 +00:00
David Chao
d4e403ffe9 thermal: add symlinks in charger
Wait for other modules to complete init, postpone thermal.symlinks init.
And also add symlinks in charger.

Bug: 200615564
Test: thermal symlinks can be created in dev folder
Change-Id: I64a46d299da6bef738f998bb65b26403b6515ed5
2022-06-23 15:36:49 +00:00
Edmond Chung
0e4b561ba0 Enable camera exif model/make reporting
Bug: 223071366
Test: Camera CTS
Change-Id: I797768e46e5f43d7f69cddc02ec66cbc44c5eb6f
2022-06-22 16:58:14 +00:00
chungkai
b928d3083c powerhal: correct the name of powertint "ReducePreferIdle"
Test: Build pass
Bug: 235887477
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I77439156e0fb040b7c82b8b525ac0009de9121c1
2022-06-22 10:03:58 +00:00
Victor Liu
b1f36fbad6 uwb: update antenna delay calibration
Bug: 236387721
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ia0dca042f30f997b8663bb718aa43d6d19b91473
2022-06-17 10:14:58 -07:00
Carter Hsu
9abd1bcddf Audio: update Fortemedia tuning 20220616
FM table change list:
  1. HA
    1) Fine tune P10C10 TMOUS tuning for DVT stage
    2) Fine tune P10C10 NB NS performance
  2. HE
    1) Align the same setting between Rx1 to Rx2
    2) Align the same setting between HEADSET-USB_BLACKBIRD-VOICE_GENERIC-SWB
       and HEADSET-USB_BLACKBIRD-VOICE_RESERVE2-SWB
  3. BT
    Enable RX low latency mode

Bug: 236210273
Test: Acoustic team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I3c347bb740a447cb1fb78b3391acaa3247107220
2022-06-17 09:07:11 +00:00
Carter Hsu
b7b953903e audio: Update Waves tuning
Change list
  For C10 mps:
    - Fix sparkle/sibilance/shrill sound of previous MIX3500M
      release mention in AQTI C10 speaker quality report.
    - Improve volume curve for soft vol levels(Mute+1 ~ Mute+15)
    - Sha1sum: 7095454e3cea59eed5f89da5e87de7815a0f6c0d

  For P10 mps:
    - Fix sparkle/sibilance/shrill sound of previous MIX2000
      release.
    - Sha1sum: e6d4cbc1912a48f059c5767d788f0544a580ba4b

Bug: 235925350
Bug: 235926607
Test: Audio tuning team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I263b581f63a2fd87246e5ee6a74db23dd097567e
2022-06-17 09:07:02 +00:00
Carter Hsu
314998feb2 audio: P10/C10 Media Record tuning update for RC
change list :
    1) mic_path : IIR fine tune on both mono and stereo mode
    2) mic_path : mic swap in stereo mode, top mic in ch1,
       bot mic in ch2
    3) camcorder_path : zoom gain set as "1" in surround
       module in selfie mode
Bug: 236236611
Test: Audio tuning team verified
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I079d57cb16337482994ae5ba2b2a00a143d22f26
2022-06-17 09:06:48 +00:00
bosyuyu
a02980636d P10: add golden files
Bug: 223488668
Bug: 223488674
Bug: 223488959
Test: adb logcat -v threadtime -s libdisplaycolor
Change-Id: If8e9087bf6b86064db35a255e3896ccf0f036c61
2022-06-17 06:58:50 +00:00
bosyuyu
70f3b7fa9e C10G10: add golden files
Bug: 223488668
Bug: 223488674
Bug: 223488959
Test: adb logcat -v threadtime -s libdisplaycolor
Change-Id: Id045185e5cbbd9848e4f8016e51b28d596fae3d6
2022-06-17 06:58:47 +00:00
jonerlin
a4bd3750e3 Add Bluetooth A/B firmware property
* set A firmware BCM.hcd as default selected fimrware

Bug: 229395317
Test: Manually
Change-Id: I8687679d173a96116527276eca1797918c142f1a
2022-06-17 06:43:39 +00:00
Wayne Lin
5931a07af5 gps: update gnss RF path loss
Bug: 232015931
Bug: 232022953
Test: confirm configs are correct
Change-Id: Id9f0b8124015f9b0b7a5a3024e5dda6bda8daca1
2022-06-16 02:52:34 +00:00
Harpreet Eli Sangha
4ecdee6974 Update WCC Eligibility am: fae92708ea
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18672129

Change-Id: I6dc51a856b8a05a3ce4ba37e32670684d43c78a0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-15 08:32:49 +00:00
Wayne Lin
1de8ad96ba gps: enable SUPL OTDOA capable for VZW
Bug: 233849643
Test: confirm config is correct
Change-Id: I54bbb1d430cbafa048291bf8cb00627f7d8dc114
2022-06-14 14:02:36 +00:00
Sayanna Chandula
0f1551bd67 thermal: update virtual skin coefficients to v1.1
Update virtual skin sensor coefficients as per v1.1

Bug: 234872294
Test: Build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I0053b9581ed1fa423ef849850bd8bcbc9084885d
2022-06-14 04:46:27 +00:00
Harpreet Eli Sangha
a4d1b3009c Update WCC Eligibility
Bug: 234530076
Test: Build and Boot
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I8e8971b20c6166773497eca3dfdf342b2bb97284
2022-06-14 01:24:07 +00:00
Robert Lee
c057b09ee7 audio: enable gapless offload flag
Enable gapless support on compressed_offload w/o trimming delay and padding.

Bug: 230305456
Test: test with AOSP Music and MediaMonkey
Change-Id: Ie1129a5323a2225c895cb3f1b332065bc5924075
Signed-off-by: Robert Lee <lerobert@google.com>
2022-06-13 06:49:45 +00:00
Vincent Wang
48101c1997 Move haptic from FaceAuthenticationClient to SysUI(2/2)
Disable haptic from biometric framework & enable haptic in
SysUI

BUG: 231756704
Test: Check if the haptic is abnormal on C10/P10
Change-Id: I40745b34fb6a75318f180c438bbfa7fa461e445a
2022-06-13 05:16:07 +00:00
Devika Krishnadas
d4b1faecc3 Boost GPU for app launch
Bug: 228562770
Bug: 235424392
Test: App launch and see if we scale up
Signed-off-by: Devika Krishnadas <kdevika@google.com>
Change-Id: I801f08a9c4019e1449ead0826413c1400a55b164
2022-06-10 22:17:02 +00:00
George Chang
71da37e6aa Remove SEReset everytime at boot
Using NFC FW SEReset at every power off

Bug: 229736863
Bug: 228642009
Test: manual
Change-Id: I036a79d628c5302e3dae57f2f587c09b16933fde
2022-06-10 09:28:49 +00:00
linpeter
d1335270f3 display: blocking zone update and hbm sunlight refresh rate
zone1 condition(10 nits) in 90Hz
zone2 condition(15 nits, 10 Lux) in 90Hz

Sunlight high brightness mode in 90Hz

Bug: 222637975
Test: check dumpsys
Change-Id: I1c4b3f90d9513f587921c7360b3e257b32b166e8
2022-06-10 01:45:00 +00:00
Grace Cheng
be0d2baf7a Adjust lock icon padding for visual match on C10/P10
Adjust lock icon padding for visual match on C10/P10

Bug: 219895641
Test: Visual comparison of alignment using layout inspector
Change-Id: Iffb6fb6344a29c5cc217f1ff4897790a784e6829
2022-06-09 21:56:40 +00:00
Beverly
9d342cabbe Update longpress time on lock icon to 100ms
Test: manual
Bug: 231712181
Change-Id: I0a9faf86b690399d7bc901e0fc8f72f9f7435b63
2022-06-09 14:27:47 +00:00
George Lee
79753e6c35 thermal: Remove PassiveDelay for VDROOP1/2/BATOILO
Part of removing monitoring of BCL thermal zones.

Bug: 234901714
Test: Boot and confirm settings
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I470951a6a8676079642c7070687198645a163887
2022-06-09 07:02:25 +00:00
millerliang
3df55604f5 audio: adjust the latency for compress-offload
Compress-offload also needs to adjust the latency
to meet the av sync result.

Bug: 234104918
Test: Play AV sync video in YTMusic test apk
Change-Id: I45e4b2d2c477ae2eae14d7342e3a81c38ec61cb4
2022-06-09 03:00:40 +00:00
Ray Chi
bd29a01fca conf: remove the command to start usb statemachine
Bug: 233232746
Test: build pass
Change-Id: I5b82e45e656bd8f6794dbfdb94d0a9b54a674851
2022-06-08 14:31:13 +00:00
George Lee
6f90a13c3a thermal: Re-enable soft_ocp_cpu1 monitoring.
Bug: 234707775
Test: Boot and confirm its monitoring
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I531242c67dfc3d5542f15366f464b28fcbdc0c31
2022-06-07 16:55:11 +00:00