Commit graph

363 commits

Author SHA1 Message Date
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
Jasmine Cha
d31bca5d0e audio: update c10 p10 RC tuning
For C10_LL_Pt_Ls_mix3500M_volCurve_allModes_Speaker_Safe_ONEAL_V2.mps:
- Non media, update the speaker-safe preset for
  Ringtone/Notification/Alarm stream
- sha1sum:  b813efb994561b71715c075c0d34ad8c1a009ade
  /vendor/etc/waves_preset.mps

For  P10_LL_Pt_Ls_mix2000_volCurve_allModes_Speaker_Safe_ONEAL.mps:
- Non media, update the speaker-safe preset for
  Ringtone/Notification/Alarm stream
- sha1sum: 32a42b5ad6f2c2b3b79b2a33d3f53329edf61047
  /vendor/etc/waves_preset.mps

For audio_policy_volumes_C10_Update.xml:
- Revision for low volume to be compatible with the speaker-safe
  preset mentioned above.
- Revision of full volume curve to be compatible with MIX3500M preset
  for below stream type DTMF, System Sound, Enforced Audible.
- sha1sum: 918ebfef1da80f8caca117cc1da00f0a7eade6c1
  /vendor/etc/audio_policy_volumes.xml

For audio_policy_volumes_P10_Update_V2.xml:
- Revision for low volume to be compatible with the speaker-safe
  preset mentioned above
- Revision of full volume curve to be compatible with MIX2000 preset for
  below stream type DTMF, System Sound, Enforced Audible
- sha1sum: 9333ef3a4359b6c5e5b29a3beb40c677f8961c5d
  /vendor/etc/audio_policy_volumes.xml

Bug: 234590302
Bug: 234464916
Test: manual test
      b/234464916#comment4
      b/234590302#comment8

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I9fcaa0ac6f50af7f0728eb5a686b9866317a49d8
2022-06-07 09:45:02 +08:00
George Lee
b2180f952b thermal: Remove Monitor flag for BCL tzones.
Since all of the BCL tzones are triggered from IRQ, we do not need to
monitor the tzones.

Bug: 197189623
Test: Pts Thermal test passing
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I96a245329e59a19f5baf15992c87a3ea568b7ddf
2022-06-06 18:16:34 +00:00
Carter Hsu
5d30102080 audio: update FM tuning 20220602
FM table change list:
1. HE
    a)  Fine tune HE BB SWB FFP, BVE, NS, ECDT
    b) Fine tune HE BB NB/WB/SWB RX volume curve
2. HA
   1) fine-tune C10 TMOUS tuning for DVT stage
   2) fine-tune P10/C10 NB robustness tuning
   3) fine-tune P10/C10 NB acoustic shock for generic
3. HH
    a)  P10/C10 fine tune NS performance
4. AMS : P10/C10 HA/HH/HE all enable AMS.

Bug: 234676284
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9328b8c72c9b4799634bf3d6b63db6a4102fe571
2022-06-06 08:38:57 +08:00
Taeju Park
6cf71dd252 Boost Top-App for app launch
Bug: 228243692
Signed-off-by: Taeju Park <taeju@google.com>
Change-Id: I04a89a99a651438057dfe25710f055d54f4477e8
2022-06-02 19:05:10 +00:00
Yanting Yang
b6bdf33b3f Update e-labels for JP SKU of C10 and P10
Bug: 234574270
Test: make -j
Change-Id: I280164b9a88997fde814957c99b6d5234cf95992
2022-06-02 04:29:50 +00:00
jonerlin
870b1dca7c Bluetooth: update C10/P10 BT RC SAR tables for differnt SKUs/countries
Bug: 234377643
Bug: 234376892
Test: make and manual test, RF member verification
Change-Id: I8dda4bbb1c848fac1d1f880236a27635227d1f23
2022-06-02 04:07:26 +00:00
Alice Kuo
933409ce60 Add support LE audio switcher in the developer option
Bug: 233018305
Bug: 233005340
Test: switch LE audio feature, and check LE audio functionality status
Change-Id: I5305f3b2b1fe19f8a1ddb42ee9101bfb64b9bce2
2022-06-01 16:02:45 +00:00
jonerlin
af53662cd4 Bluetooth: Enable BTRT logging for userdebug eng build
Bug: 215487478
Test: Manually
Change-Id: I701262727a5bf656f15577561a9361e58bd59e5c
2022-06-01 07:21:13 +00:00
George Chang
17a923dc37 Switch NFC from HIDL to AIDL
Bug: 216290344
Test: atest NfcNciInstrumentationTests
Test: atest VtsAidlHalNfcTargetTest
Merged-In: Ieb8be71d3ac4e8e187d8fcc2e3843bfd17112a73
Change-Id: Ieb8be71d3ac4e8e187d8fcc2e3843bfd17112a73
2022-06-01 06:19:26 +00:00
Harpreet Eli Sangha
fae92708ea Update WCC Eligibility
Bug: 234530076
Test: Build and Boot
Signed-off-by: Harpreet Eli Sangha <eliptus@google.com>
Change-Id: I8e8971b20c6166773497eca3dfdf342b2bb97284
2022-06-01 02:25:53 +00:00
TeYuan Wang
d3c9705ecd thermal: bringup charge_mdis PID loop
Bug: 209635028
Bug: 226130317
Test: emul_temp with different power workload
Change-Id: Ic26adbe21450c14569135dd4694083701070df58
2022-05-31 23:23:31 +00:00
TeYuan Wang
4bf5bce6ad thermal: add k_i for CPU GPU PID loop
Bug: 232919952
Test: run manhattan and burn8
Change-Id: I8b0e59b0b32a19b49116240ff01145f9a950ffb6
2022-05-31 17:44:02 +00:00
Cyan_Hsieh
3537df9211 Change padding and height radio for keyboard
Bug: 219397352
Change-Id: Idbecefe6c73966764679dc545dff58dfd220e9e3
2022-05-31 10:56:36 +00:00
millerliang
04cf0e2c32 audio: enable mmap playback and record on BT
AoC can support mmap on BT both playback and recording
after gpar/322484.

Bug: 232205959
Test: Play MMAP games and OboeTester
Change-Id: Id696b578f4a2e3f94d6193e714b6d9f1ace6977a
2022-05-31 08:06:16 +00:00
yixuanjiang
a3e2652c86 audio: enable stereo AAC encoder
Test: local test pass
Bug: 227212413
Signed-off-by: yixuanjiang <yixuanjiang@google.com>
Change-Id: Ibe27d6ba38f1d349c032194c575a311a923196e4
2022-05-31 11:08:12 +08:00
Jimmy Shiu
0dc4b0d855 ADPF: Skip I signal and set Uclamp init value
Skip I signal by setting kI to 0 and use UClampMinInit as the display
update boost value.

Bug: 198663407
Test: Manual Test
Change-Id: I309ae4f63c4d7f50dc320aec28fffbe1473eb6e5
2022-05-27 22:04:51 +00:00
Richard Hsu
18797cfc14 [Tuning] Performance turning for NNAPI ML benchmarks
Sets the ML_ACC boost value to 650. The medium core's capacity is 763, so this means our benchmark process will always be scheduled onto the medium or big cores. We experimented with different uclamp values, and 650 is a good balance between power and performance.

Measurements:
MLPerf IC model Latency (ms) Power (mW) Energy/inference (mJ) MLPerf Scores
Uclamp = 512 0.981 3539 3.47 826
Uclamp = 600 0.973 3683 3.58 872
Uclamp = 650 0.899 3917 3.52 970 <- good balance
Uclamp = 700 0.892 4067 3.63 976
Uclamp = 800 0.875 4440 3.89 997

https://docs.google.com/presentation/d/1zx7sLkhOClmuRTCrq8-l3N1mZrrv7f-CtcdMuzV0eaI/edit?usp=sharing

Bug: 232183574
Test: MLPerf score on P22 improved significantly.

Change-Id: Ib93ecee5af3f1cbe83c5a96dc14b3a537db5abc8
2022-05-27 21:21:41 +00:00
Richard Hsu
2c15fb2a5b [Tuning] Disable CPU Idle in NNAPI workload with PMQoS CPU DMA Latency
To improve the return path latency, we want to keep the CPU at at least WFI state (Idle_1). The PMQos cpu_dma_latency knob prevents the CPU from falling below WFI state. This makes the return path CPU wakeup latency very good. Check with wvw@, the power impact shouldn't be too significant.

The average energy cost per inference dropped from 3.85 to 3.47 mJ. The reason why the power number is lower WITH disable-idle is that, due to better latency, we get to run more inferences given the same amount of time. This makes the average power consumption lower.

Measurement:

MLPerf IC model Latency (ms) Power (mW) Energy/inference (mJ) MLPerf scores
Default 1.35 2837 3.85 560
Disable CPU Idle 0.98 3539 3.47 826

https://docs.google.com/presentation/d/1zx7sLkhOClmuRTCrq8-l3N1mZrrv7f-CtcdMuzV0eaI/edit?pli=1#slide=id.g12dd9e50b4b_0_0

Bug: 232183574
Test: MLPerf on Android T. Performance improved. Verified on Perfetto.
Change-Id: Ia807bf0849e4d9b0b0e8c9510335129ca89e791f
2022-05-27 21:21:41 +00:00
Carter Hsu
ee6a5a5e72 audio: update FM tuning 20220527
FM table change list:
1. HE
    a) Enble BVE for BB on NB,WB, SWB
    b) Fine tune BB RX EQ on NB, WB.
2. HH
    a) Fine Tune RX for dual speaker
    b) Polishing SWB NS performance
3. HA
   a) Update TMOUS tuning for P10/C10 on NB/WB/SWB
   b) Fine tune C10 tuning setting for Generic on NB/WB/SWB
   c) Fine tune P10 tuning setting for Generic on NB
   d) Fine tune NS tuning for P10/C10 on SWB

Bug: 234079372
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: If380495da1e94fff33a2bdc9980f0e546d167e7f
2022-05-27 10:01:49 +00:00
Ching-Sung Li
53d71ce550 Build C10/P10 default CMF color wallpaper
Bug: 193776159
Test: Build pass; Manual
Change-Id: I0b5bd5684420ad5e9b0bca1a328a921b777c78fe
2022-05-26 18:13:39 +00:00
Lucas Wei
192fec00d4 pantah: add requirement for vendor_kernel_boot partition
Bug: 214409109
Signed-off-by: Lucas Wei <lucaswei@google.com>
Change-Id: I756d2bbc730b5901bfe30d415bf519937e8b1ab0
2022-05-26 13:51:34 +00:00
Patty Huang
893479de32 BQR: Enable LE Audio Choppy Event Report
Set the Bit 6 to true to enable the LE Audio Choppy Event Report

Bug: 233553754
Tag: #feature
Test: Verified the LE Audio Choppy Event will be reported

Change-Id: I8b193e9d51cde49b8494fa4f0e0a0cea3b77f2ff
2022-05-26 12:56:52 +00:00
edyblin
69136ea87e Update ./DevInfo/Mod model name am: a7e8dbb927
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18492027

Change-Id: I91e5303db3cec0c875473f07ae0bf9a058ad1fa7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-25 17:48:17 +00:00
edyblin
a7e8dbb927 Update ./DevInfo/Mod model name
Need to set model name to GE2AE and GQML3
Bug: 232495475
Test: Pass at b/232495475#comment7

Change-Id: I21cc02b2a980f493a34bcfcd40117bb827504075
2022-05-25 17:21:09 +00:00