Commit graph

65 commits

Author SHA1 Message Date
Wei Wang
a08c53bf89 Merge "shusky: adjust zram swap size to 50% of total memory" into udc-d1-dev 2023-04-26 21:41:50 +00:00
Richard Chang
455a5c9c54 shusky: adjust zram swap size to 50% of total memory
- 8 GB 	-> 3.62 GB
- 12 GB -> 5.57 GB

Bug: 249179924
Test: Boot
Change-Id: I8c9a3ce05893564878fc395579ae962a2fbe53ca
2023-04-26 08:50:49 +00:00
timmyli
602ad8190d Disable rlsservice for P23 devices
These devices will use spectral driver for ambient
light and flicker information.

Bug: 277959222
Test: ./run_cts.sh
Change-Id: I5a245fa222bc83ed3c4976895671070be02a9a43
2023-04-24 20:06:09 +00:00
Treehugger Robot
7a889ab62a Merge "[SWB] Enable super wideband" into udc-d1-dev 2023-04-21 01:12:07 +00:00
Bill Yi
062ebe5313 Add AOSP support for Husky and Shiba.
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/husky
platform/vendor/aosp/google_devices/shiba

and the paths are
vendor/google_devices/husky
vendor/google_devices/shiba

TEST:make and flash a husky device

BUG: 278968179
Change-Id: I1c5424dfddddb8ee29a86f2408a231aa5556a0bb
2023-04-19 22:26:16 -07:00
shihchienc
7bdd128083 [SWB] Enable super wideband
Enable SWB by setting system property

Tag: #feature
Bug: 277338500
Test: flash devices and check property
Change-Id: I5dbdafc0a4ed03f137d4ce9602fe67c1b2fca756
2023-04-19 07:06:10 +00:00
Krzysztof Kosiński
9b8eba9a9e Revert "Disable rlsservice for P23 devices"
Revert submission 22636720-disable_rlsservice

Reason for revert: Breaks device context tests, which did not run in presubmit due to b/277661004

Reverted changes: /q/submissionid:22636720-disable_rlsservice

Change-Id: Iae76027b5e92740181eca3f0645c5ea8c6219b87
2023-04-19 00:36:23 +00:00
timmyli
49db9e25f9 Disable rlsservice for P23 devices
These devices will use spectral driver for ambient
light and flicker information.

Bug: 277959222
Test: ./run_cts.sh
Change-Id: Ide881aee6796310c2fc4853f7ce9167a2704e912
2023-04-16 17:25:29 +00:00
Treehugger Robot
e0e5f8c3b7 Merge "bt: update BQR event_mask and set vendor quality configuration" into udc-d1-dev 2023-04-14 09:12:31 +00:00
jonerlin
7da4616689 bt: update BQR event_mask and set vendor quality configuration
enable Vendor Specific Quality event as default.
set bqr event_mask to 295006 (0x4805e), vnd_quality_mask to 29 (0x1d)
for user debug or eng rom

Bug: 240636731
Test: manual test vendor specific masks
Change-Id: I6b2099bc0a0b8ea133a40a286855e2b0fa91e686
2023-04-14 00:13:47 +08:00
George
bdb48f2549 [eSE] Update AIDL secure_element for eSE1
Bug: 261566299
Test: run cts -m CtsOmapiTestCases
Test: atest VtsAidlHalNfcTargetTest
Change-Id: I69d11b1a5e111d8c8500ac2872998c53dde10075
2023-04-13 11:03:25 +00:00
Treehugger Robot
2b2cfc9f3f Merge "uwb: install UWB test apk on HK3 non-user build" into udc-d1-dev 2023-04-11 18:01:49 +00:00
Rex Lin
f6ab97c38d uwb: install UWB test apk on HK3 non-user build
Bug: 275456664
Test: local verified pass
Change-Id: If87e0dc4c5d152c7a90cd527452d716536fa8cac
Signed-off-by: Rex Lin <rexcylin@google.com>
2023-04-10 21:51:23 +08:00
Safayat Ullah
4fa649108c display: add LHBM compensation calibration file
Bug: 243688545
Test: file copied to device
Change-Id: I05b2f6f374d110fe776dd33c7d143038a123e296
2023-04-07 08:35:20 +00:00
Jeremy Nei
68c31f67d6 Add brightness table as part of display color data.
Bug: 255903789
Test: build success
Change-Id: I4cddfca276c30e953fab04d238383ea158532cac
2023-03-28 06:22:22 +00:00
Chris Lu
690a7aad97 husky: support blocking zone for min idle refresh rate
Add the related properties to support it.

Bug: 256662691
Test: the min idle refresh rate works properly
Change-Id: I8e38a1d90c951644b60e76a2e0ce761defa546ce
2023-03-20 14:19:41 +00:00
Joen Chen
c8ac46d1e5 Merge "RRS: add the property for default resolution for RRS" into udc-d1-dev 2023-03-17 20:45:28 +00:00
Sayanna Chandula
cf95b459f5 Merge "thermal: seperate thermal config for charging" into udc-d1-dev 2023-03-17 17:04:42 +00:00
TreeHugger Robot
290197408b Merge "display: enable lbe supported property" into udc-d1-dev 2023-03-17 09:28:24 +00:00
joenchen
f1ba9569e3 RRS: add the property for default resolution for RRS
Add properties
1. assign default resolution 1008p for RRS
2. HWC is initilized with 1008p to avoid to switch resolution
when boot animation is almost over.

Test: Boot w/ and w/o user selected configs and check the resolution
Bug: 243689199
Change-Id: I6f270e0068397ea2ece72e73b357d6870b4e2944
2023-03-16 12:47:19 +00:00
David Chao
d6048d1883 thermal: seperate thermal config for charging
- Separate thermal config for charger mode and remove the unused thermal
throttling.

Bug: 272701980
Test: charging throttling worked properly in charger.

Change-Id: Ic8db468af99d11c24fb3ce074bad524ef1107bb9
2023-03-16 14:38:23 +08:00
linpeter
5f6fd482ed display: enable lbe supported property
Bug: 243688224
Bug: 243694960
Test: lbe can on/off
Change-Id: If05c6dcbfac1a447432d53e4d12a2c548be7e990
2023-03-13 11:26:41 +00:00
Safayat Ullah
d9aec73cba husky: 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: 243688547
Change-Id: I8f3fd697c88c471a8b6890c209f84bb16d0600b6
2023-03-08 13:11:00 +00:00
Zheng Pan
43a46e4391 Shusky: Move init.insmod.cfg from vendor to vendor_dlkm
To decouple init.insmod.${device}.cfg from HLOS,
it is moved to kernel repo and built in vendor_dlkm.img.
Also make init.rc to load it from vendor_dlkm/

Bug: 270603150
Test: Build image and flash, make sure modules are loaded.
Change-Id: Ib280bc587041531198052aae3f9dd05c1a0f975e
2023-03-07 19:08:01 +00:00
Louis Chang
75d678ff85 Merge "Enable WM Extensions" into udc-dev am: cedcc4fb8a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21806822

Change-Id: Ic3030ca0548247ee9a08e3508fce454306201dfb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-07 05:31:09 +00:00
Louis Chang
93d2a6efff Enable WM Extensions
Bug: 270732854
Test: build pass
Change-Id: I612ea7451e588c0a910da82953fcb39ed588c1cc
2023-03-07 02:47:03 +00:00
Shiyong Li
4df3b577a9 Merge "device-husky.mk: let kernel decide display LHBM peak brightness delay" into udc-d1-dev 2023-03-02 21:58:58 +00:00
Shiyong Li
d879c07a58 device-husky.mk: enable display panel operation rate feature
NS minimum dbv is based on EVT1.0, targeting 100 nits.

Bug: 268991972
Change-Id: I8fdfcd68e64f78fa618afc11acd02d13d2ae4e47
Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-03-01 21:14:50 +00:00
Shiyong Li
a664795e63 device-husky.mk: let kernel decide display LHBM peak brightness delay
If kernel supports FFD, it would be 0.8 frame.

Bug: 240216847
Test: UDFPS paper test
Change-Id: I32be131bfd8e7f92c0e91efef0ca286fae4d349c
Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-03-01 21:05:19 +00:00
Patty Huang
f5c46e3aa7 [P23] Enable LE Audio broadcast offload
1. Set the LE Audio broadcast switcher property
2. Enable LE Audio broadcast profile
3. Add support for BLE Broadcast output in audio policy file
4. Add broadcast offload capability

Test: Manual
Tag: #feature
Bug: 268170293
Change-Id: I423d08442a99cf73535f5664f81c722c62b60996
2023-02-24 06:32:43 +00:00
Yang Qi
fc474b2a52 Uwb: Enable Dck R3 flag
Bug: 268413427
Test: Manually tested
Change-Id: I63dcff2b52fc154108d5989e94b57e1d7a5f1794
2023-02-14 22:11:58 +00:00
Yanting Yang
c262fbed31 Add initial MIC e-label for JP SKU of HK3 and SB3
Bug: 267250859
Test: visual
Change-Id: Icf51b10058721b010d7cf3bb354cb4474e9aa0a8
2023-02-09 17:50:01 +00:00
Tai Kuo
55283b8dd3 vibrator: build from hardware/google/pixel folder
Bug: 264625320
Test: HAL started.
Change-Id: I917fab86c126237024c19d5a78fb72afc1012a4c
2023-01-16 15:55:17 +08:00
Tai Kuo
862356a844 vibrator: remove vibrator
Bug: 264625320
Test: HAL does not start.
Change-Id: I8fd1d72e419a8af3000fbe3d593229a7a868e589
2023-01-16 15:55:17 +08:00
Ken Yang
728d9be958 Merge "WLC: Remove wireless_charger service" 2023-01-13 14:41:31 +00:00
Keir Fraser
80a734c75e Enable PKVM memory reclaim on P23 devices
Memory reclaim can be supported now that P23 devices run on
android14-5.15 kernel.

Bug: 264994862
Test: atest MicrodroidBenchmarks
Change-Id: Ibf7d11c48dfdbf90d966b3a7402afe34b682d7f2
2023-01-10 13:02:33 +00:00
Ken Yang
97d1dc3596 WLC: Remove wireless_charger service
Bug: 264624634
Bug: 263830018
Change-Id: I91c7cbde057fd3c445fdffbcafc5b39f29ca7680
Signed-off-by: Ken Yang <yangken@google.com>
2023-01-07 07:34:08 +00:00
Shiyong Li
dddc66f845 device-husky.mk: set display LHBM peak brightness delay as 2 frames
Bug: 263775681
Change-Id: I0d00eb55293002e17839bdc71d9159bd4094ac9a
Signed-off-by: Shiyong Li <shiyongli@google.com>
2023-01-05 18:41:06 +00:00
Cyril Lee
844976e05b Enable quick start for pixel device
Bug: 246218540
Test: build pass with `m -j` command
Change-Id: I4710b25e186452c357344931043b72e6cc86acc7
2022-12-28 01:16:55 +00:00
davidycchen
61dbdcfc42 Add GTI touch dump script
Bug: 243077990
Test: adb bugreport

Change-Id: I34fa88409e610622da0401f1f3f745fe308f316e
Signed-off-by: davidycchen <davidycchen@google.com>
2022-12-26 16:28:05 +08:00
TreeHugger Robot
f72338e7bd Merge "Enable LE Audio unicast offload" 2022-12-26 05:12:52 +00:00
Shawn Lin
b9ede6869b Merge "Update rounded corner, cutout and display shape configs" 2022-12-22 06:17:54 +00:00
Shawn Lin
2c7b9074f4 Update rounded corner, cutout and display shape configs
Bug: 243688044
Test: make
Change-Id: Ica71daf88ac7a115a84f8e603fbb49210d757b2c
2022-12-21 10:35:40 +00:00
Ken Yang
95db2df53b Merge "WLC: Include the wireless_charger from gs-common" 2022-12-21 08:36:15 +00:00
Patty Huang
c0b6391624 Enable LE Audio unicast offload
1. Set the LE Audio unicast offload property
2. Add the offload capability file for unicast

Bug: 257377483
Test: Manual
Change-Id: If6233bfcefa8894f52d0a8c7799ffa5b6b786f53
2022-12-16 08:16:55 +00:00
TreeHugger Robot
c2724b2380 Merge "battery: disable wireless for pts battery test" 2022-12-11 06:42:58 +00:00
Ken Yang
10fe580b45 WLC: Include the wireless_charger from gs-common
Bug: 237600973
Change-Id: I5bcd35ca016a2012f9887ce15e8c88a342f288e6
Signed-off-by: Ken Yang <yangken@google.com>
2022-12-10 14:39:40 +00:00
Ken Tsou
0983124386 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: 261948834
Test: set the property manually and query the result from file node.
Change-Id: I5bcf9baeb2818b439520167b518b2e5c5224d7e2
Signed-off-by: Ken Tsou <kentsou@google.com>
(synced from commit 4c821c04fc25b026f5fc8e9301758bf87dbb4a3e)
2022-12-09 09:10:08 +00:00
Roshan Pius
8e73113deb uwb(hk3): Add UWB framework overlays rro app
Bug: 261908320
Test: Compiles
Change-Id: I369abe1ea668b4db2d50c065c7f53915c569c2e5
2022-12-09 04:36:33 +00:00
More Kuo
dc1d599cd9 Merge "Enable OPUS codec by sysprop" 2022-12-07 06:49:08 +00:00