Commit graph

204 commits

Author SHA1 Message Date
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
jonerlin
9170bc5507 Add IBluetoothExt interface and hci_inject tool in user debug build
Bug: 228943442
Test: manually
Change-Id: Ib3ca868ce4d3eebe7c9a5f9e33ceab3f9a9b9a41
2022-05-20 05:06:29 +00:00
Bill Lin
21240c5ca5 Add quickpickup sensor to config.xml
Test: manual enable AOD and verify quick pick up gesture
Bug: 232717890
Change-Id: I5ae6f871168368e351a64a9f4337c83d14f4ecca
2022-05-17 17:41:02 +08:00
Jing Ji
0496799caa Turn on auto restricted bucket on abusive bg battery usage
For devices with ODPM support only.
Bug: 203105544
Test: dumpsys activity -a

Change-Id: I1c841edbbcea6cd37e1495abd95a9b55ead5babc
2022-05-13 18:01:56 +00:00
Labib
2e72a472d3 Update Coex table for P22 devices
Bug: 206337456
Test: Manual
Change-Id: I6c38ac3f62816f20315a6df380b657369aba3496
2022-05-12 04:28:51 +08:00
kuanyuhuang
c46436faa5 A2DP enable AAC-VBR by default
AAC-VBR is more prefered than AAC-CBR for A2DP playback.

Bug: 200101304
Bug: 229939538
Test: dumpsys bluetooth_manager
Change-Id: I8930fdf383a4bbe481371b4aa4379f554bb9bd15
2022-05-09 11:26:52 +00:00
Labib
846d4dd0e9 Update Camera Coex Table
Bug: 206337456
Test: Manual
Change-Id: I71daca44b4fe575b7039d4fabceaec73a75d80ee
2022-04-29 14:55:50 +08:00
Labib
5d65c8e320 Update Coex tables for Scone
Bug: 230301121
Test: Manual
Change-Id: I3b53cd94f970b9dfa5ad0ac0d8a23175671b47bc
2022-04-26 21:31:55 +08:00
Ted Wang
621a512859 Switch BluetoothCcc to 1.1 version
Bug: 229710243
Test: make
Change-Id: I79beee03e8773bb7b3e1dbdd881ddaf6fdb24827
2022-04-26 10:07:23 +00:00
Jasmine Cha
3a50fbbc53 audio: rename spk module config
Bug: 204271052
Test: voip + speaker mode

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I6aa0da65a1b1faa8be26ae8eb77a01b14d277666
2022-04-25 04:50:48 +00:00
Rick Yiu
c7574a18e9 Reduce FG prefer_idle when display is idle
Bug: 178016953
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: If3770c4de98cbbd2f36cc7401d9ac284473c10d4
2022-04-21 16:32:48 +08:00
Jason Chang
beb111be34 Phase out config_roundedCornerMultipleRadius from overlay package
[P10/C10]

Phasing out config_roundedCornerMultipleRadius config from device
overlay package.

Bug: 224688507

Test: Build ROM and pass presubmit test
Change-Id: I325157ca5163d9c429724000be73c07728fbdc45
2022-04-21 06:17:44 +00:00
chungkai
a0b3ae5472 fix path for i2c peripheral device
add potential paths for i2c peripheral devices
sine we enable parallel module loading

Test: without error log on P10 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: I2afcf5d9255cd821a3bb9136d032b82782f396b3
2022-04-20 17:01:39 +00:00
Jimmy Shiu
06a0093822 powerhint: Add Adpf Profiles
Add Adpf Profiles:
1. REFRESH_120FPS
2. REFRESH_90FPS
3. REFRESH_60FPS
4. UiHighBoostWithoutPid
5. UiLowBoostWithoutPid
6. UiLowNoneBoost

Bug: 202158746
Test: boot to home

Change-Id: Ia6b48077dad9f9cf6e10eebcd06e080ae07f75d7
2022-04-20 13:47:14 +00:00
Patty
92755e7a37 Add ewp test tool in userdebug build
Bug: 220121592
Test: make; Test with /vendor/bin/hw/ewp_tool
Change-Id: Ifdb05187b2f46403befb0b087cec9a146e00f8d4
2022-04-19 11:40:00 +00:00
Patty
d92f08f9a2 Add EWP bthal interface
Bug: 220121592
Test: Manual
Change-Id: I693379056b83c1dfc9345b3c2cb6d514d56986af
2022-04-19 11:40:00 +00:00
Carter Hsu
6715af9b17 audio: update Fortemedia tuning 0415
FM table Changelist:
1. P10 HA NB/WB/SWB : FFP parameter update(enable)
2. P10C10 HH NB/WB/SWB:
     (1) TX/RX fine tune for phone call quality
     (2) FFP parameter update (enable)
     (3) Enable Stereo spk in reserve2
3. P10C10 HE NB/WB/SWB:
    (1) Enable Stereo spk in reserve2
4. Align same parameter
     (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
     (2) Handsfree RX to HCO RX

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I50ec916280b96d631f1b656d6c1a0a96d324408f
2022-04-15 17:45:06 +08:00
Ted Wang
26b24cdfd4 Change Timesync node owner to Bluetooth
This patch change owner of Bluetooth Timesync node to be Bluetooth to
allow Bluetooth HAL to read controller timestamp data via this node.

Bug: 226659256
Test: make
Change-Id: I70010daf45186235a48633355b5641b38597b2d6
2022-04-13 12:33:26 +08:00
shawnlin
f94b464832 Fixed status bar glitch for apps that access internal resource dimen
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.

Bug: 216782082
Test: make
Change-Id: Iff388639497a7955e363c3372d79ead35831bea5
2022-04-12 02:15:55 +00:00
neoyu
ea01db85ba Add property to set initial svn as 1
Bug: 228742484
Test: manual
Change-Id: I9c97d2280ac50a0121fafd19a07592b03fd7e439
2022-04-11 06:20:49 +00:00
chungkai
c9cd788e18 fix path for i2c peripheral device
paths are changed when we enable parallel module loading and
reorder the initializtaion of devices.

Test: without avc denial on P10 when booting
Bug: 227541760
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ia94bccdf479262e96210c2eda4794c2708e56861
2022-04-08 02:20:26 +00:00
Rios Kao
9b7f753e57 audio: add immersive playback support
Bug: 227697054
Test: build pass and pts-audio
Change-Id: Iccb1953def4a9dffaf7b9e3dd512c68ae8a37c1e
2022-04-07 02:42:39 +00:00
Rios Kao
7c61e4166e audio: sync mixer table for Eraser capture
Bug: 227697054
Test: build pass and pts-audio.
Change-Id: Id0384c7af546dec1a6237e3091a366a85d097d26
2022-04-07 02:42:39 +00:00
linpeter
3b4f9c3cdc display: update the outdoor auto-brightness curve
Modified the outdoor range mapping in
the outdoor auto-brightness curve.

Bug: 213251504
Test: check the default curve
Change-Id: I387e87f343ffe7af72fb965f2c7ea05eb85dfda1
2022-04-06 10:03:44 +00:00
Mason Wang
006af1e810 P10: Change touch procfs node ownership
Change touch procfs node ownership as system/system for dumpstate.

Bug: 199105131
Test: adb bugreport

Change-Id: Ibae5adfc22e661917618ac75b49bf50804892285
2022-04-06 10:03:14 +00:00
TeYuan Wang
deaa89eb24 thermal: Hide the sensors which are not used by framework
Bug: 227686549
Test: adb shell dumpsys thermalservice
Change-Id: I26e16c664ac95264d0d4cc943bb45627ff774d8c
2022-04-05 23:58:19 +00:00
joenchen
06d7d2a9f2 C10: set value of config_stableDeviceDisplayWidth/Height
Bug: 209592558
Test: adb shell dumpsys display | grep mStableDisplaySize
Change-Id: I76e835c695508295ad23538005bfa899efafbc01
2022-04-05 17:57:46 +00:00
Victor Liu
d36f9382e0 uwb: update aoa_capability in calibration file
Test: builds
Bug: 227427724
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: I9d5d5ad6a89ec2081993e02d00eebe5f3e678831
2022-04-01 23:39:18 +00:00
Jasmine Cha
ae824a50b7 audio: update FM table
FM table Changelist:

C10P10
1. Parameter version update from 1.2.0 to 1.2.1
2. Headset BB
    Disable FFP for NB/WB to avoid low RLR issue (ST solution)
3. Headset TTY Full and HCO
    Set AEC_NUM_CH to be 0x0001 (Original is 0x0000) to make TX work properly.
4. BT
    Disable low latency mode on BTNB-NB and BTNB_NREC-NB to avoid TX clipping/distortion issue (ST solution)
5. HHNB/WB/SWB  NS parameter update for v603
6. HHNB/WB/SWB RX fune tuing for power consuming
7. Align same parameter
   (1) Handsfree TX to VCO TX/ BT-HAC TX/ Headphone TX
   (2) Handsfree RX to HCO RX

Bug: 216258666
Test: b/216258666#comment19

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I583bda3772be7a667aed2b0c8fb34249b3223c9e
2022-04-01 07:59:19 +00:00
David Li
12775d11ed Revert "audio: add dynamics processing effect to audio_effects.xml"
This reverts commit 9e36616a4d.

Reason for revert: disable offload DPE

Change-Id: Iecd1079a625094b322f672846c4cd1517c853827
2022-04-01 05:17:58 +00:00
Yung Ti Su
98696e6eec add BLE Headset Mic
Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ic796722d5186b2bb354315862892c5640252bf67
2022-03-30 14:14:24 +00:00
chungkai
a925b66a17 sched: move sysfs to procfs
Modify name from sysfs_vendor_sched to proc_vendor_sched

Test: without avc denial
Bug: 216207007
Signed-off-by: chungkai <chungkai@google.com>
Change-Id: Ie8fdb9e6634fb160f5cea64883bead93be13d93e
2022-03-30 08:22:02 +00:00
Mason Wang
acfa31d518 Add touch module in init.insmod.xxx.cfg for P10&C10.
Add touch module into the init.insmod.xxx.cfg, it will be loaded after
all common modules in late-init. So the touch module won't be loaded in
off-mode-charge.

Bug: 227269826
Bug: 226881266
Test: Verify pass that the touch module is not loaded in off-mode-charge.

Change-Id: I3f3153afb75355020e17534838410050f20f02b2
2022-03-29 10:26:21 +00:00
Carter Hsu
cc9519a3cb audio: update FM tuning 0324
FM table Changelist:

C10P10
1. Table form 20220309 version
2. HE disable FFP on Blackbrid NB WB
3. BT disable low latency mode on NB

Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ib1641bfd0c42cfcf3636c69c81f8bf5d55202199
2022-03-29 03:37:52 +00:00
Sayanna Chandula
d8f5b8c917 thermal: update dynamic control/switchon trips in powerhint
- Create separate powerhint json files for a0 soc
- Add control/switchon powerhints for all IPs
- Change thermal severity level to LIGHT
- Update trip temps as per policy

Bug: 194509203
Test: Build and boot on device. Check change of trip temperatures
after the thermal severity of LIGHT
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ibd19ea16d0fee25dec801b287e1eab05699a8d7f
2022-03-29 01:51:28 +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
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
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
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
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
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
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
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