Commit graph

128 commits

Author SHA1 Message Date
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
Sayanna Chandula
74d797205a thermal: enable cellular emergency sensor
Add cellular-emergency sensor with same virtual
coefficients as virtual-skin, but a 54 degC
emergency threshold.

Bug: 216391268
Test: build and boot on device.
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I8d6178b228ffaf31b80341efb4a78e681940bb47
2022-02-15 18:52:11 +00:00
Kris Chen
db6c57f396 c10p10: Add config_dozeUdfpsLongPressSensorType
Bug: 219382123
Test: sysui has registered the udfps gesture after entering AOD.
Change-Id: I872406401b4f849e866cb28e406552074a929f84
2022-02-15 12:54:22 +00:00
Carter Hsu
7033338dcf audio: update AudioExt to 3.0
Bug: 206065000
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ica399a4bd1ff9e97be514455dcebdb05939d1537
2022-02-15 09:13:54 +00:00
Sayanna Chandula
ab4b15955b thermal: enable charging throttling
Create a virtual rail POWER_FOR_CHARGING_THROTTLING and
bind fcc/dc_icl/wlc_fcc cooling devices with virtual-skin-charge
sensor.

Bug: 204523879
Test: build and boot on device. Check charging throttling
Change-Id: Iffd71c5bb6b8545bb95468b3321bcf57c0b02913
Signed-off-by: Sayanna Chandula <sayanna@google.com>
2022-02-15 05:10:46 +00:00
Sayanna Chandula
ff1e6d34e1 thermal: enable thermal shutdown
Lower thermal shutdown temeprature to 55 degC to renable
shutdown for all HW revs and usecases

Bug: 204522715
Test: build and boot on device. Run a workload and check
thermal shutdown
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I10ca928cf8639f279b9dcb1d609d0bb8c7ed2c29
2022-02-15 05:09:32 +00:00
Bill Lin
5a664f4f15 Update C10/P10 SysUI overlay customization
1. [C10]Remove duplicate config_frontBuiltInDisplayCutoutProtection
2. [C10]Shift right config_frontBuiltInDisplayCutoutProtection position
3. [P10]Shift down config_frontBuiltInDisplayCutoutProtection position

Test: make and flash + enable rounded corner debug + launch front camera
Bug: 199469413
Bug: 203593020
Bug: 199468172
Change-Id: Iec8aaefe9ac649940d2364a95c12c75b69e34871
2022-02-14 09:03:07 +00:00
Carter Hsu
0947bfb59f audio: Update audio recording tuning
Bug: 216206051
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ic76a5c7deafb0a6a5c2390be5c1de2fcdb917ca2
2022-02-14 08:19:56 +00:00
Jasmine Cha
b88ab088d6 audio: enable dual spk control in voice/VOIP
Bug: 204271052
Test: voip with speaker mode
      atest dual_speakers_test

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: I3bb59bf5444a537230c1dc3a4f74bd68ec209f4e
2022-02-14 06:17:53 +00:00
Carter Hsu
6b455f523a audio: Update Audio HIDL to 7.1
Bug: 205235270
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ic2f5708f10dfeac7df75d7279bddb001f4fdcbe6
2022-02-14 01:02:01 +00:00
Victor Liu
93cd6c132a uwb: use per device factory calibration
Use device specific script to select which factory calibration
values to use.

Bug: 218719905
Test: on device
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ie5adea6ce7b15c762a1c09a50b0a872465dcd3eb
2022-02-11 16:29:05 +00:00
George Lee
e192873f42 thermal: enable TPU/GPU cooling for BCL sensors
Bug: 218336859
Test: Boot and confirm state change
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I1475dd3fef29d9615962c2712de907b190826019
2022-02-10 18:47:48 +00:00
Firman Hadi Prayoga
70d87ec8db media_profiles: Advertise 4K60 on C10 and P10.
Bug: 215295165
Test: Manual push, GCA
Change-Id: I32b3685f6722142ce91cd1b715ee1c540c6a1e18
2022-02-10 16:22:38 +00:00
Tim Lin
59ca0ca6bf Add MMS UA, UAProf for C10/P10
Bug: 216398771
Test: make
Change-Id: I2f36baa3a28c1a4be3f07bafc5c9646180045baa
2022-02-10 12:01:30 +00:00
Tai Kuo
33999361aa Remove vibrator long frequency shift properties
(This reverts commit b7a72fc3f6847301fa0af464bc7b27a5fc10dffd)

Bug: 218417769
Test: Check system properties.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I29fff6f97c929ffb5597ad422e7c91fd80908b02
2022-02-10 11:20:08 +00:00
Sayanna Chandula
880e61225a Revert "thermal: remove TPU/GPU cdev dependency"
This reverts commit 0952694db7.
Added cooling devices for TPU/GPU and hence can bring back
the dependency

Bug: 218541675
Test: build and boot on device
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Idd664160d5f9c30ad9c44221a7f0129315f1e415
2022-02-09 00:05:42 +00:00