Commit graph

119 commits

Author SHA1 Message Date
Jimmy Shiu
f22e1a32e7 powerhint: Remove unused TAUClampBoost value
Bug: 207573241
Test: boot to home
Change-Id: Icd80b1195d023b4781585ffe5e65322df47194aa
2022-02-23 03:53:30 +00:00
Jimmy Shiu
e53dead22e powerhint: update the config with gs101
update powerhint.json for panther and cheetah

Test: Build and check trace
Bug: 207573241
Change-Id: I3c27fdbe70cf8c950ea2c09bb7a813261838cb23
2022-02-22 17:22:48 +00:00
Jimmy Shiu
28c39289a3 powerhint: fork powerhint.json for pantah
Move the powerhint.json from gs201 to pantah.
Separate powerhint.json for each device.

Test: build and manually check
Bug: 207573241
Change-Id: I32d9093e48ca5f62cf0d05ec43a8b77b99ed254d
2022-02-22 17:22:48 +00:00
Robert Lee
bdd36d9f1e [automerger skipped] audio: update speaker protection bin file am: 65c65dfe82 am: 12612c8b7b -s ours
am skip reason: Merged-In Ie7274f01f831a1b3e17c929472ebffe9d0f1d2a1 with SHA-1 65c65dfe82 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/16974705

Change-Id: Id5eecbb65db4881d63672b9ce13cefbe47324ed4
2022-02-22 16:02:46 +00:00
Robert Lee
8a11288554 [automerger skipped] audio: update speaker protection bin file am: 9e44a2793d am: 18601ed93f -s ours
am skip reason: Merged-In Ib1793b25c58aed5f7e4df2ff07b11f0cebf876da with SHA-1 9e44a2793d is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/16974703

Change-Id: I89ff47b3e4fe9ecbb29601bc23017293d138cb3c
2022-02-22 15:28:05 +00:00
Robert Lee
beb683e4bb [automerger skipped] audio: update speaker protection bin file am: 65c65dfe82 -s ours
am skip reason: Merged-In Ie7274f01f831a1b3e17c929472ebffe9d0f1d2a1 with SHA-1 e6bf777674 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/16974705

Change-Id: I269aa8baebbc04d1e1cc5887552828980a889587
2022-02-22 14:20:35 +00:00
Robert Lee
25d6a11e97 [automerger skipped] audio: update speaker protection bin file am: 9e44a2793d -s ours
am skip reason: Merged-In Ib1793b25c58aed5f7e4df2ff07b11f0cebf876da with SHA-1 a31dcea7d5 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/16974703

Change-Id: I5b34ff348130a98217ec2567e78d0fa53a98e5ea
2022-02-22 13:59:26 +00:00
Robert Lee
12612c8b7b audio: update speaker protection bin file am: 65c65dfe82
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/16974705

Change-Id: I6d45476ad046bcc02f56f1ccab227eac972924d4
2022-02-22 13:49:15 +00:00
Robert Lee
18601ed93f audio: update speaker protection bin file am: 9e44a2793d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/16974703

Change-Id: If6110b622c5a520a517d86005e07d418421c0a7b
2022-02-22 13:49:00 +00: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
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