Commit graph

2709 commits

Author SHA1 Message Date
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
Robert Lee
e6bf777674 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
Signed-off-by: Robert Lee <lerobert@google.com>
2022-02-22 06:17:46 +00:00
Jasmine Cha
09362e966b 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
2022-02-21 05:27:44 +00:00
Robert Lee
a31dcea7d5 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
Signed-off-by: Robert Lee <lerobert@google.com>
2022-02-21 03:24:51 +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
Sayanna Chandula
abf58c7e95 thermal: add TPU/GPU cooling devices
Add the missing cooling devices for TPU/GPU in thermal config

Bug: 218541675
Test: build and boot on device. Check cooling devices
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Id17aa79b58e25a640412a8f1893c3e45f8e2051a
2022-02-09 00:03:47 +00:00
George Lee
0952694db7 thermal: remove TPU/GPU cdev dependency
Bug: 218541675
Test: Boot and confirm state change on device
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I17bef07a9d6414617b5fd44c75661da146ac67ff
2022-02-08 22:43:52 +00:00
George Lee
cebb70c7b8 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: I4baceec1e31a84bf0b38643cbdf1360856aa381f
2022-02-08 00:41:57 +00:00
Bill Yi
00d0441ced Add AOSP support for Cheetah and Panther.
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/cheetah
platform/vendor/aosp/google_devices/panther

and the paths are
vendor/google_devices/cheetah
vendor/google_devices/panther

TEST:make and flash a panther device

BUG: 217478568
Change-Id: Ibddebeab3cca4b4dfab12be519a099ca60ddd0c7
2022-02-04 19:40:44 +00:00
Michael Ayoubi
03a420e1a0 Set per device ro.gms.dck.eligible_wcc.
Bug: b/215397758
Test: Build and flash on device.
Change-Id: I42207312e3f5443214d1aa79d57166ca4038da27
2022-02-02 01:57:13 +00:00
Yohei Yukawa
ca6b8be9e5 Migrate "rounded_corner_content_padding"
This CL updates resource overlay of

  rounded_corner_content_padding

so that the same device-specific value can be seen from both the
Framework code and the SysUI.

With my previous CL [1], the SysUI continues to see the same value
even after this migration.

 [1]: I0c3717c0bdfc928167c6eba06247b37caabf33b9
      24d6b891f572f7be419d3acc9793ca68d062cf35

Bug: 215554582
Test: presubmit
Change-Id: I373b59068959d96f46f8d2d48e4923fbe8c961c8
2022-01-29 02:31:37 +00:00
Robert Lee
1ce4ba5628 audio: update speaker protection bin files
Change list:
1. Enable PICL
2. switch to 48k speaker playback

Bug: 199029784
Bug: 215442102
Test: Builds
Change-Id: Ideb2334cf1bee35396b0a465e33d83171a8f7bb2
Signed-off-by: Robert Lee <lerobert@google.com>
2022-01-28 20:10:49 +00:00
Robert Lee
26780b00e6 audio: update speaker protection bin files
Change list:
1. Enable PICL
2. switch to 48k speaker playback

Bug: 198765357
Bug: 215442102
Test: Builds
Change-Id: I045b457236dfd7243b2b1d93bf088d7f322bc766
Signed-off-by: Robert Lee <lerobert@google.com>
2022-01-28 20:10:49 +00:00
juyuchen
071cd6b172 audio: Switch 96K to 48K TDM speaker playback
Bug: 215442102
Test: manual audio tests.
Signed-off-by: juyuchen <juyuchen@google.com>
Change-Id: I59db8d6735872722b7878b854e2260289c160ba2
2022-01-28 20:10:49 +00:00
Sayanna Chandula
0be31df9b5 thermal: update C10 and P10 thermal configurations
Reduce the thermal thresholds
Bug: 211777844
Test: build and boot on device. Check thermal thresholds
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I708ab2470102a1dae53268db1066ca6857793bc4
2022-01-28 06:53:25 +00:00
SianyiHuang
70440096d6 Config: Update Auto Brightness debounce setting
Bug: 216280663
Test: adb shell dumpsys display and check debounce setting
Change-Id: Ib11c5ded76e2cfe76e16ebe54d9ff2d31ac72eb5
2022-01-27 03:43:23 +00:00
linpeter
94e2b120e2 display: enable hbm dimming
Bug: 207694487
test: hbm dimming check
Change-Id: I8ff55e6a405e4ee68943751c1d80da71c2bdab2c
2022-01-26 16:16:09 +08:00
Gil
3daee5fd26 display: enable P22 C10/P10 supported property
Bug: 199467942
Test: Boot pass and LBE self-check lis
Change-Id: I31201f0a780a1e0394da650efc850626204a9b11
2022-01-26 07:59:14 +00:00
Carter Hsu
c355b3bf5c audio: init Fortemedia table for 895
Bug: 216258666
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: Ia67f75c4945117dab59d769c762e7867fcf1ac2d
2022-01-26 06:26:09 +00:00
Stephane Lee
f37e4dff66 Add device-specific support for GoogleBattery HAL 1.2.
Bug: 205021987
Test: Ensure Adaptive Charging/Battery health flags works as expected.
Change-Id: Ib8c9fb72ce2d85239eb2acc832db390ee54cd46e
2022-01-25 22:47:11 +00:00
Jasmine Cha
cb88a232bf audio: waves: enable battery throttle(action 258)
- use the same sound mode since preset file isn't ready

Bug: 204271308
Test: lr swap/mixed, mute, bypass
 Enable throttle:
 adb shell "echo 24000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 91 > /dev/thermal/tz-by-name/soc/emul_temp"
 Disable throttle:
 adb shell "echo 26000 > /dev/thermal/tz-by-name/battery/emul_temp" && adb shell "echo 79 > /dev/thermal/tz-by-name/soc/emul_temp"

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Iab25f082210d7f43e3439b010754332f6a48e511
2022-01-25 05:25:46 +00:00
George Lee
b60df13d49 thermal: update BCL policy changes for BAACL
Bug: 204271308
Test: Boot and confirm temperature reading
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I10b15a4863dbbc11b9d2149b3fda73f860717a3f
2022-01-24 23:21:23 +00:00
Carter Hsu
d95f875407 audio: enable decoded offload
Bug: 213020870
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I12144bdff8af2aa878f438a97a2d495c5c3d0765
2022-01-22 05:48:09 +00:00
Carter Hsu
d3bed20146 Revert "Revert "Revert "Revert "audio: enable SA lite/full module""""
This reverts commit b68bbcddda.

Reason for revert: <AoC with SA module merged>

Change-Id: Ic9ba6814c6c6e058198eab71eeb35ff267e7f599
2022-01-22 04:32:50 +00:00