Commit graph

233 commits

Author SHA1 Message Date
David Li
b90de91a0d audio: add dynamics processing effect to audio_effects.xml am: 9e36616a4d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17374225

Change-Id: Ica76eac5d40c01d6a1839ba6ada1592df1ea2cc6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-29 02:06:27 +00:00
David Li
9e36616a4d audio: add dynamics processing effect to audio_effects.xml
Bug: 215662726
Test: n/a
Change-Id: I1346de62a2e1425250583d7bc1365ffa72353ee6
2022-03-29 01:48:50 +00:00
George Lee
db577efd2e thermal: BCL policy for cold temperature am: c7017427f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17160894

Change-Id: Ied69a31a6646dd38086e5b7cf7ebc253afa4774f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-28 18:07:45 +00:00
George Lee
c7017427f5 thermal: BCL policy for cold temperature
Add cold temperature policy to combat sharp SOC% drop

Bug: 223420221
Test: Local peak current shock test at cold temperature
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If1db429a6c6c181735af001a72372f63a59d01c4
2022-03-28 17:48:38 +00:00
Martin Liu
7a9e7e015b set swiotlb as noforce am: 0f4fbe609b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17395310

Change-Id: I0b8c680e1e151691ea279b1234460fd13d1cd433
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-03-25 13:14:08 +00:00
Martin Liu
0f4fbe609b set swiotlb as noforce
There is no swiotlb usage so we can append noforce to
remove 2MB reserved memory.

Bug: 226578178
Test: check total memory and io_tlb_nslabs
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I746e8a1d18d78243bfe6a0b7549d5cf09cc4e227
2022-03-25 12:57:43 +00:00
Speth Chang
ddbdf6e989 WAR: set MIF floor to 2G when GCA capture am: 9eb76e0f20
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17346845

Change-Id: Ib996fa2c95ede908d4e4165398f29e752122b9aa
Signed-off-by: Automerger Merge Worker
2022-03-24 21:25:06 +00:00
Speth Chang
9eb76e0f20 WAR: set MIF floor to 2G when GCA capture
Due to b/214429812, QURGENT currently is not working properly, and cause
easily see EBUF full when capture on GCA. Temporary increase MIF clock to
mitigate memory interface congestion. We should revert this when
b/214429812 fixed.

Bug: 223734867
Test: P22 GCA capture
Change-Id: I0cc16d5bd83cb23462147c44547077665bc1dc73
2022-03-24 21:10:13 +00:00
Omer Osman
028e863a9d Include libspatialaudio and librondo in product builds am: d2cbdf2b6b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17365115

Change-Id: Ife322a7e0e6354e565c34852731d5077b4c330e4
2022-03-24 19:37:35 +00:00
Omer Osman
d2cbdf2b6b Include libspatialaudio and librondo in product builds
Test: Spatialized audio (including headtracking) with Pixel Buds and
multichannel mp4 file playback

Change-Id: I4f216aff07c25f80337ea07470983c4ae1e48efb
2022-03-24 19:01:45 +00:00
chungkai
dc9c17b539 sched: move sysfs to procfs am: df927bb9d0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17346843

Change-Id: I5e702ec6c048808bf340487608fe850705cd5993
2022-03-24 18:16:44 +00:00
chungkai
df927bb9d0 sched: move sysfs to procfs
Modify the path of vendor_sched nodes

Test: powerhal work normally
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I0f499fac276fbdd3bf965bdd8c81bc4c4e7f48c4
2022-03-24 17:44:37 +00:00
Tai Kuo
5d5a4ddf85 vibrator: enable composePwle am: 8f7d06bba3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17147030

Change-Id: Ie6784d25e6f0985887f92132612f6bb5ce0eef9d
2022-03-24 04:06:10 +00:00
Tai Kuo
8f7d06bba3 vibrator: enable composePwle
Bug: 193784220
Test: adb shell getprop | grep vibrator
Test: adb shell dumpsys vibrator_manager
Test: adb shell dumpsys android.hardware.vibrator.IVibrator/default
Test: atest VtsHalVibratorTargetTest
Change-Id: I66b109d67400cf6382b23c0969726031d38b2697
2022-03-24 02:38:33 +00:00
Victor Liu
3eb9495160 uwb: Increase CCC uwbtime0 delay am: 16c5cab354
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17324037

Change-Id: Id4d1f319d65adbd6aa49b0ad7e41ea096c30066e
2022-03-23 20:56:35 +00:00
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
df77baeede Camera: Update target load for high streaming case am: 8f0dc7db93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17339288

Change-Id: I6ca84638ef358de274a0b3ff53df3767ded90c9b
2022-03-23 08:39:45 +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
f8f133ffff P22: update display blocking zone for EVT1.0 am: 8489809c43
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17189643

Change-Id: Iee45c38458cc9fa372aaf23b80273ecdc016adfb
2022-03-23 08:03:08 +00:00
Jasmine Cha
a1ed941a7a audio: update waves preset am: 63c82ed9e5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17308103

Change-Id: Ia1431504dbd1d082d6537ff92591637d2e96be8f
2022-03-23 08:02:51 +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
e95360b49b thermal: update C10 and P10 v4 thermal coefficients am: 3baae0f8d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17188908

Change-Id: I4c97871db049159132e7b5dc252b9e948dcf7e96
2022-03-23 03:54:31 +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
edd8b042eb Devices will not skip lockscreen after face unlock am: 181a35eb41
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17332577

Change-Id: I5c240a43d7a45ceaec1d708aead6248d00e37f74
2022-03-23 01:32:50 +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
54909fd10f C10/P10: Delay twoshay service start stage. am: 376d1de226
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17290406

Change-Id: I4a83d1fc1e1c312c2cacfb7eb5b420a527374f87
2022-03-22 23:20:49 +00:00
Jimmy Shiu
87496d3e3a powerhint: updating uclamp_min for little cores am: 9419013949
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17122706

Change-Id: Ie7b6cbb588b663ee620b740bbebae15691cdb804
2022-03-22 23:19:38 +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
a0d2a3b3fb c10p10: Enable ALS feed forward am: 953a9bbfa1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17289089

Change-Id: I519f5d593a394c5b904af5bb6c75a7e488e3e2b9
2022-03-22 03:59:58 +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
ef8090cae4 Add LE audio hardware offload property am: 46e193ec79
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17252886

Change-Id: I429a4adcf5009ae34b93343cfcaffecdb5afd869
2022-03-18 20:40:32 +00:00
Yung Ti Su
a147e44da9 Seperate audio_policy_configuration for a2dp and le am: 3ff3a57ebb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17252885

Change-Id: I34b6f9eeeb08d6250004b32888d003aac7d2ba74
2022-03-18 20:40:31 +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
cde948aba4 bt: support Sar backoff high resolution command in P22 projects am: 3275b689d7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17157248

Change-Id: I54ea676688d3276239d21eb20e915544fab3e32f
2022-03-18 06:22:12 +00: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
28a3178752 audio: add recording debug files am: 8eb016913d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17226772

Change-Id: I840dd457d9d0d4483a9767c131f1193736c88ad4
2022-03-18 03:15:46 +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
7d6979c509 battery: disable wireless for pts battery test am: 27b511c302
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17226779

Change-Id: I0d7ebb47ed9d51fd8c6d681ded40cab3b33681af
2022-03-17 19:48:43 +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
4603abf556 disable powerhint for F2FS gc_urgent mode am: d92fb5e527
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17223831

Change-Id: I8326bb939262bfd983c23391e007021cf57a74f3
2022-03-17 00:20:55 +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
be8278b51f Handle the network selection restoring in modem side am: 8358d48714
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17105749

Change-Id: If87e99ce2a17b412ca211ae2e4c4a1279fb7ad93
2022-03-16 14:54:08 +00: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
70a53a7caf Add override for fingerprint sensor gesture support am: 28f176b9fc
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17206765

Change-Id: I6e88bc0937728e6e52f3eaf9b4f1f0bc1d4b921f
2022-03-16 09:42:40 +00: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
4fc86f964c audio: update w spatial and mic MBDRC mode tuning am: 185ba5d4b4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17050384

Change-Id: Idff0db51ae7d47239d705fa1b3c2fb15b0d70023
2022-03-15 10:09:40 +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