Commit graph

134 commits

Author SHA1 Message Date
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
Firman Hadi Prayoga
2325e3deb5 media_profiles: Fix camcorder profile mappings.
Media profiles were initially a 1:1 copy of previous project.

Bug: 215340698
Test: GCA
Change-Id: Ib82393ac0df5b879cf9321bc74ac26d4b21bdc91
2022-01-21 20:11:17 +00:00
Andrew Chant
c620c82370 Enable radio on aosp_panther/cheetah
Enable radio on aosp_panther/cheetah.
Prevents gpsd crashloops.

Bug: 215418492
Change-Id: I24398e745e38a9e082c362bdccb30e6078d583be
2022-01-21 09:36:16 +00:00
William Tai
5f9502677f display: update rr regamma table
Update rr regamma table

Bug: 199469302
Test: convert to .txt and check
Change-Id: I31cf710568d61b61c998710e0997f9421b5245a2
2022-01-21 08:43:23 +00:00
Andrew Chant
73c42734d1 Remove DEVICE_USES_NO_TRUSTY for targets.
Remove DEVICE_USES_NO_TRUSTY.
Can't find this referenced anywhere, might just
be confusion-causing.

Bug: 215592080
Change-Id: I0ff62461fd2e7cd6436cdf1f17b9ffefd1afb9c9
2022-01-20 23:35:26 +00:00
Robert Lee
dc37150dbf audio: update speaker protection firmware and bin files
Change list:
1.Update the firmware to v6.63(comment#6)
2.Re-Characterize speaker model with EVT samples.

Bug: 198765357
Test: Builds
Change-Id: I2b0462c56361b5841893118d0e45871a27783817
Signed-off-by: Robert Lee <lerobert@google.com>
2022-01-19 08:40:13 +00:00
George Lee
fa5437f715 thermal: update BCL policy changes
Bug: 197028142
Test: Boot and confirm temperature reading
Signed-off-by: George Lee <geolee@google.com>
Change-Id: If63882cd7335e002a6df51cd6bd1d37f5d8d24e3
2022-01-18 22:36:47 +00:00
Sayanna Chandula
de94c5d8c5 thermal: update C10 and P10 thermal configurations
Add virtual-skin and virtual-skin-charge sensors.
Update the coefficients.
Disable thermal shutdown

Bug: 211777844, 204522715
Test: build and boot on device. Check tskin mitigation
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: Ic48ef0e364ed2d6a3cd581144a7d46bac76f834e
2022-01-18 18:49:44 +00:00
Robert Lee
e3aa0611c1 audio: update speaker protection firmware and bin files
Change list:
1.Update the firmware to v6.63(comment#5)
2.Update the EVT SP model-Version3

Bug: 199029784
Test: Builds
Change-Id: I9c62f761aefb7dfe172399849cfc14b4f3223cbd
Signed-off-by: Robert Lee <lerobert@google.com>
2022-01-18 08:44:55 +00:00
Bill Lin
3ecded6453 Revert some customization config from C10/P10
Previously ag/16573869,ag/16655971 accidently migration some
config unrelated to rounded corner / display cutout.

Test: make and flash, enable debug mode and check visual
Bug: 199468172
Bug: 199467921
Bug: 203593020
Bug: 203592814
Change-Id: Idb5ecfd6e20293c083c3e13a926eef2c48d9605d
2022-01-17 16:49:36 +08:00
Carter Hsu
b68bbcddda Revert "Revert "Revert "audio: enable SA lite/full module"""
This reverts commit c3e70c164b.

Reason for revert: <AoC is reverted in b/214259243>

Change-Id: I0e6dcd259cdb3efe7ec870bf7934da38675edb23
2022-01-14 11:45:12 +00:00
Patty
aff23fef65 Change the makefile include order
- The audio-tables.mk is a project specific makefile, the installed
  file should able to override the common makefile's setting.

Bug: 214374267
Test: Make sure the file added in audio-tables.mk can override the common one.
Change-Id: I875be3d5840aa0ebc108e15160adce305b805040
2022-01-14 08:23:42 +00:00
Patty
9fe81d73de Add LE audio policy file
Bug: 214374267
Test: connect with LE audio device and play music
Change-Id: Ide900151e50634fe87c8918bf70b2ca62f46fd77
2022-01-14 08:23:42 +00:00
Carter Hsu
74d7fb110e audio: enable telephony input and output
Bug: 213020870
Test: build pass
Signed-off-by: Carter Hsu <carterhsu@google.com>
Change-Id: I9c56aa6905645f89b0aa5fe320ac57c2b06f45f1
2022-01-13 02:48:30 +00:00
Carter Hsu
c3e70c164b Revert "Revert "audio: enable SA lite/full module""
This reverts commit 1fa392b4b2.

Reason for revert: <AoC enables the SA module>

Change-Id: I4aaf967432b0254e3369608fa5a95cb2bd87079b
2022-01-12 09:23:09 +00:00
Minchan Kim
c9139250db P22: increase zram size to 3G
Bug: 207572845
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: Id79fe41b0714d7aa654d7f88665d18c216364047
2022-01-12 01:31:27 +00:00
Darren Hsu
41b1b2debb powerstats: add NFC state residency stats for specific device
Bug: 213957442
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ic199fb87bc4679559f96fdf93197f39846fba023
Signed-off-by: Darren Hsu <darrenhsu@google.com>
2022-01-11 10:52:57 +08:00
Midas Chien
8214580c68 display: override P10 set_idle_timer_ms
Bug: 208375625
Test: check property
Change-Id: Ifbba1ddd530499d8d2f167e6c258a19a3ff69dd1
2022-01-10 16:37:21 +00:00
Bill Lin
e8ef12e356 Enable One-handed mode for C10/P10
Test: check settings > system > gesture > one handed mode
Test: make
Bug: 213843981
Change-Id: I0004659b248dafacf903f66cb7f91f0731619581
2022-01-10 10:43:23 +00:00
Bill Lin
7b47713993 Customize Rounded Corner and punch hole for C10/G10
Screen size : 1440x3120

Test: make and flash, enable debug mode and check visual
Bug: 199468172
Bug: 199467921
Bug: 203593020
Bug: 203592814
Change-Id: I0bc273452756a48608e3a7d08e9d19ee85fdcc6f
2022-01-10 08:28:12 +00:00
Cheney Ni
b1b9c9c339 Bluetooth: control A2DP capabilities by each project
Bug: 194607800
Bug: 203042971
Test: pass A2DP playback manual test
Change-Id: I081dc9a7c16d0c6c73d278ad6d99b2704390ed2d
2022-01-07 12:16:46 +00:00
Bill Lin
b5f4b7da86 Customize Rounded Corner and punch hole for P10
Screen size : 1080x2400

Test: make and enable debug
Bug: 199469413
Bug: 199469519
Change-Id: Ica99e6ce1d56f1e6eed1ccd136a566d5cd8a99e7
2022-01-07 11:30:57 +00:00
Wayne Lin
973add41d6 Fix CP LPPe DBH message missing issue
Enable below configs
 - CpLppeCancelDbhOnAgnssProvideLoc
 - CpLppeUseAgnssLocForEmptyDbh

Bug: 212516393
Test: build pass and confirm the configs are correct
Change-Id: I36f7276d769aa340de13c6c7bc3191376a97b58f
2022-01-06 07:52:38 +00:00
Carter Hsu
1fa392b4b2 Revert "audio: enable SA lite/full module"
This reverts commit d5d0e9f343.

Reason for revert: <AOC FW that supports Spatial audio capture has been reverted>

Change-Id: I18286694da289215193c3e39ad71ea4a50392a69
2022-01-06 03:42:31 +00:00
Carter Hsu
be8aaf02d4 audio: change primary output to float
Bug: 200293124
Test: build pass
Change-Id: I356376d8090da006b915e8cce9a71759ebb459e6
Signed-off-by: Carter Hsu <carterhsu@google.com>
2022-01-05 11:19:05 +00:00
Jasmine Cha
5a4b4d3903 audio: enable dual sepaker in voice/voip spekaer mode
- specific top speaker control doesn't merge becuase of pop sound issue
during turning on/off a speaker.

Bug: 207431993
Test: manual test (b/207431993#comment16)

Signed-off-by: Jasmine Cha <chajasmine@google.com>
Change-Id: Ieca51d1f0ca238ff0d9112e8ede9d2eaad28ce98
2022-01-05 09:47:53 +00:00