Commit graph

202 commits

Author SHA1 Message Date
Patty Huang
893479de32 BQR: Enable LE Audio Choppy Event Report
Set the Bit 6 to true to enable the LE Audio Choppy Event Report

Bug: 233553754
Tag: #feature
Test: Verified the LE Audio Choppy Event will be reported

Change-Id: I8b193e9d51cde49b8494fa4f0e0a0cea3b77f2ff
2022-05-26 12:56:52 +00:00
Yichi Chen
493be28f05 RRS: Apply the default config from persist prop
vendor_config plays as another role to control the display config during
the boot time. To change the default configuration of the user selected
mode, we use persist config to store the value.

Bug: 232721840
Test: Boot w/ and w/o user selected configs and check the resolution
Change-Id: I8e6f551817e9b7cb747a7f5351430dd2ac9b4624
2022-05-24 13:06:41 +00:00
jonerlin
bb92719a89 Add IBluetoothExt interface and hci_inject tool in user debug build am: 9170bc5507
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17525124

Change-Id: I9fcb2c5bbfea339ebb70a24f589baace72bad09d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-20 12:20:48 +00:00
jonerlin
9170bc5507 Add IBluetoothExt interface and hci_inject tool in user debug build
Bug: 228943442
Test: manually
Change-Id: Ib3ca868ce4d3eebe7c9a5f9e33ceab3f9a9b9a41
2022-05-20 05:06:29 +00:00
Yichi Chen
5f25a289f7 [RRS] Enable RRS in FHD+ by default
The impact of the change only aims to users who have never configed RRS
and those who do factory reset themselves.

Bug: 232536153
Test: factory reset the device and check RRS setting in FHD+
Test: configure RRS and check the config is stored after rebooting
Test: disable smooth display and check the expected refresh rate
Change-Id: I01c46ac2566f0b060fcf23a092601f05bbf568cb
2022-05-14 00:34:22 +00:00
kuanyuhuang
ea734c0a8c A2DP enable AAC-VBR by default am: c46436faa5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/18231682

Change-Id: I5b2c62ef0f8f66f544215b6edeedbdb63d5a794a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-05-12 17:02:31 +00:00
wenchangliu
885e1840d8 c10p10: Enable media performance class 13
Bug: 229938655
Bug: 231176609
Test: atest CtsMediaPerformanceClassTestCases
Test: atest android.hardware.camera2.cts.ExtendedCameraCharacteristicsTest#testCameraPerfClassCharacteristics
Test: atest CtsFileSystemTestCases
Change-Id: Iec4eac3a3148b8ca6eefdf23151a146ab26ec596
2022-05-11 03:29:18 +00:00
kuanyuhuang
c46436faa5 A2DP enable AAC-VBR by default
AAC-VBR is more prefered than AAC-CBR for A2DP playback.

Bug: 200101304
Bug: 229939538
Test: dumpsys bluetooth_manager
Change-Id: I8930fdf383a4bbe481371b4aa4379f554bb9bd15
2022-05-09 11:26:52 +00:00
Isaac Chiou
72652908ce Remove PixelWifiOverlay2022 from factory build
With PixelWifiOverlay2022 in factory build, the overlays can be loaded
properly. Remove PixelWifiOverlay2022 and only add for normal build.

Test: overlays can be read properly in both normal and factory build
Bug: 228415213
Change-Id: I1ac9d8c020c6030e8a6f9759ae761e342adc956f
2022-05-05 17:31:03 +00:00
Kris Chen
2f6ddb4ed3 c10p10: Enable LHBM control from UDFPS HAL
Bug: 229716695
Bug: 224573604
Test: build and test fingerprint on device.
Change-Id: I8e3945bc8c99aae024f0304912419ce0d2820de3
2022-05-05 02:03:43 +00:00
William Tai
f669d8b42e display: add primary display LHBM property
Add primary display LHBM frames to reach peak brightness property.

Bug: 224573604
Test: perfetto
Change-Id: I55b85dff319fa95be6ee33c7286eca1c0a042407
2022-05-05 02:03:43 +00:00
Victor Liu
be32d26e70 uwb: update calibrations
update default calibration
update japan specific calibration
use japan specific calibration

Bug: 229426438
Signed-off-by: Victor Liu <victorliu@google.com>
Change-Id: Ifabe90d0b1361c64b588e032baeec49cc2184e7e
2022-05-02 16:05:55 +00:00
Labib
6ef7054b4d Update Coex tables for Scone am: 5d65c8e320
Original change: https://googleplex-android-review.googlesource.com/c/device/google/pantah/+/17957066

Change-Id: I2e54d5dc8eab5a43e73c418dc63623fff3c3354c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-27 17:29:19 +00:00
Labib
5d65c8e320 Update Coex tables for Scone
Bug: 230301121
Test: Manual
Change-Id: I3b53cd94f970b9dfa5ad0ac0d8a23175671b47bc
2022-04-26 21:31:55 +08:00
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
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
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
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
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
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
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
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
Midas Chien
a1c42e96fd C10: enable idle timer with kernel support
Bug: 208375625
Test: perfetto, check pane_idle
Change-Id: I3b23d831fd071cb52f80775fd6468e3006ca166d
2021-12-24 11:12:27 +00:00
Long Ling
0c6b305213 display : update color data files
Use per display type color data.

Bug: 207034763
Change-Id: I087dde0a0253db90ea0736ad100c3273a1a24ee7
2021-12-22 19:23:52 +00: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
b82f47926c Update CFG file for C10 EVT
Update init.cheetah.rc to make device able to check ro.boot.hardware.revision

Bug: 210755812
Test: Test with C10 proto, pass
Change-Id: Ibdbd43d2c8718d3fe6161f2bf190255daff350ae
2021-12-16 03:23:18 +00: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