Commit graph

184 commits

Author SHA1 Message Date
Sayanna Chandula
1f98950323 thermal: enable thermal engine for evt1.0 devices
New version of thermal engine (Powerlink v2) uses ODPM data for
thermal mitigation. But proto devices does not support ODPM.
Currently we have disabled thermal mitigation for all A0 based
devices through a separate config, thermal_info_config_A0.json.
This change restricts using separate thermal config  only for the
proto devices and uses thermal_info_config.json for the rest.
Fix a format issue with qi-quiet sensor definition.

Bug: 196478280
Test: Build and boot on device. Check thermal config
Signed-off-by: Sayanna Chandula <sayanna@google.com>
Change-Id: I0922e935cafe118f3437335e2a72b87aae6f6009
2022-04-25 18:20:58 +00:00
Isaac Chiou
e86f1e8450 wifi: Seperate WifiOverlay2022 into C10 and P10
Since the behaviors of Wifi/LTE coex avoidance for GPS L1 between C10 and P10 are difference, we need two independent overlay for C10 and P10.
For ravenclaw and cloudripper, they follow the overlay of C10 since they are only for developing purpose.

Bug: 228415213
Test: Overlay config can be read correctly.
Change-Id: I4323682686d8f83b584f2a56f01ebe8ea831cb43
2022-04-20 15:57:53 +00:00
TeYuan Wang
f0cda432e8 thermal: bringup PID thermal throttling for CPU GPU
Bug: 196478280
Test: run burn8 and manhattan
Change-Id: I447fa5bc452f413f65c46c235a5a3692b628586b
2022-04-20 15:37:48 +00:00
Patty
7a63683bc8 Add ewp test tool in userdebug build am: 92755e7a37
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17607098

Change-Id: Id1098419eac267b83a3327710a7ca847e5067fd1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-19 12:04:59 +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
neoyu
537fb5e54c Add property to set initial svn as 1 am: ea01db85ba
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17681645

Change-Id: I52d92939ed545336489c1573adeb017a3374b431
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-11 06:39:18 +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
Daniel Solomon
6a6d41f779 display: Set ro.surface_flinger.ignore_hdr_camera_layers
This property prevents display high brightness mode from being triggered
due to HDR layers produced by camera.

Bug: 218728138
Change-Id: I772d6c73e877661a2296a448725e9a0ca247ed07
2022-04-08 21:39:57 +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
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
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
Kris Chen
953a9bbfa1 c10p10: Enable ALS feed forward
Bug: 197780765
Test: build and test fingerprint on device.
Change-Id: Ia135a56c18a4e9993b05eb93abca2b241764e67b
2022-03-22 03:24:42 +00:00
Yung Ti Su
46e193ec79 Add LE audio hardware offload property
Add these property for the development on userdebug and eng only on P22.

Test: manual

Signed-off-by: Yung Ti Su <andysu@google.com>
Change-Id: Ic80ffbbfdcafda4bba9ed6edf01002d3db7e0c0b
2022-03-18 15:22:49 +00:00
Ken Tsou
27b511c302 battery: disable wireless for pts battery test
Disable wireless charging during drain, usb charging,
and charger stress test
  - vendor.disable.wlc 1
If device is placed onto dreamliner and shutdwon(drain out),
it would boot up by DC_CHG and keep shutdown(0%)-boot up
(by DC_CHG) continuously. To avoid this symptom, limit wireless
current_max as 75000 after device boot up
  - persist.vendor.limit.wlc.current=1

How to verify:
  adb shell setprop vendor.disable.wlc 1
  adb shell cat /sys/class/power_supply/wireless/online >>>> 0

  adb shell setprop persist.vendor.limit.wlc.current 1
  adb shell cat /sys/class/power_supply/dc/current_max >>>> 75000

Bug: 204211357
Test: set the property manually and query the result from file node.
Change-Id: I3ae2460f964b12924c3432d7f84203e2d802aa5f
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 6e0bb1cb11b05768d04767e85cd28eaef212f305)
2022-03-17 18:03:29 +00:00
Yanting Yang
c83cb2cf1e Add initial MIC e-labels for JP SKU of C10 and P10
- Add label for GFE4J (mmWave-JP) of C10.
- Add label for G03Z5 (Sub6-JP) of P10.

Bug: 213977009
Test: visual
Change-Id: If34fbb37f5269294bd2fd5d599f79d3d1df57cf4
2022-03-14 11:58:29 +00:00
Jimmy Shiu
b9cf8d408a 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
Merged-In: I32d9093e48ca5f62cf0d05ec43a8b77b99ed254d
2022-03-08 15:22:52 +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
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
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
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
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
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
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
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
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
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
Cyan_Hsieh
186d6a9157 Add init.pantah.rc for Cheetah/Panther
Bug: 211568122
Change-Id: I0819b3a7fdda22acfbd2df3cbf752713a8b6fd23
2021-12-27 12:35:04 +08:00
Sasha Smundak
984a5c8989 Use soong_config_ macros to set Soong config variables.
Bug: 198503843
Test: treehugger
Change-Id: Ia396897ce7c93d0cfa62cac9ba5072af3f6d24d7
2021-12-16 11:29:58 -08:00
chloedai
4ec6f57257 Update CFG file for P10 EVT
Update init.panther.rc to make device able to check ro.boot.hardware.revision
Add libnfc-hal-st-proto1.conf to load st54j_conf_PROTO1.bin for proto1

BYPASS_INCLUSIVE_LANGUAGE_REASON=Keep the legacy name

Bug: 209525702
Test: Manually update .rc file, .conf file and st54j_conf_PROTO1.bin
to P10 proto1, then check the CFG version which is loaded

Change-Id: I33dd4d0dacb01bb544997913800a2c2ecc92b34e
2021-12-09 16:26:56 +08:00
Wayne Lin
9265c3258f Add gps.xml for P22
Add customized gps.xml for P22 project

Bug: 208725716
Test: build pass
Change-Id: I9464daf47668c033d17b3b56497999e1bbc3346c
2021-12-07 10:14:10 +00:00
Robin Peng
05184e544a pantah: add PRODUCT_SOONG_NAMESPACES for trusty liboemcrypto.so
Bug: 208614761
Change-Id: I76727907af2618c752505e2f26148ec7dbd3d8d7
2021-12-02 18:57:00 +08:00
Cyan_Hsieh
ff4c7ca3b5 Initialize device folder
from: 715ff58363e1fd4edc7c1bd428a77af6ddcb7684
with updated device path

Bug: 198128551
Change-Id: I2d9eace5077290b74ef00efb7304128f344514c1
2021-11-25 19:59:21 +08:00