Commit graph

133 commits

Author SHA1 Message Date
linpeter
d95bbb9740 init: set dimming_on node permission before start hwcompower
Give dimming_on node sutiable permission to allow
hwcomposer to set dimming_on to display driver.

Bug: 177141990
test: check file node permission
Change-Id: I1f78b77884d619f1e48a63ac11c4201089010a0d
2021-03-23 05:55:01 +00:00
Adam Shih
777c58e8ae Align modem's DAC setting with other AB partitions
Bug: 183174452
Test: Apply OTA locally under SELinux enforcing mode
Change-Id: I0cf4fdff565ded69cc342d7052aed990c6f55593
2021-03-23 04:54:57 +00:00
Adam Shih
435f68ed7b allow modem image to do OTA
Bug: 183174452
Test: run ./system/update_engine/scripts/update_device.py path/to/oriole-ota-*.zip
exit with status 0

Change-Id: I21a1cfcdf29eae1e06ed922cc44c1ff5b2916144
2021-03-23 00:08:27 +00:00
Oleg Matcovschi
9ef069c978 gs101: migrate to bootimg v4
Bug: 183237066
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: If4ed53f3ea4964139b33ef691469a1dbbfa97e80
2021-03-22 19:28:26 +00:00
eddielan
5ad06a0dc2 Move config_biometric_sensors to device/google
Bug: 182868067
Test: Build Pass
Change-Id: I03b2d310ad58d6fa0c1a739b0d8cbd4ca4e3c231
2021-03-22 07:59:39 +00:00
David Li
62903463d5 audio: add /dev/acd-audio_dcdoff_ref for audio effect visualizer
Set /dev/acd-audio_dcdoff_ref as 0660 system audio
crw-rw---- 1 system audio u:object_r:aoc_device:s0  500,  29 2021-03-18 22:19 /dev/acd-audio_dcdoff_ref

Bug: 180984363
Bug: 165719427
Test: make -j128
Test: ls -alZ /dev/acd-audio_dcdoff_ref
Change-Id: I4720349eccd5e3b797ff8e964329fe6352d5bba0
2021-03-22 02:07:32 +00:00
Ilya Matyukhin
e9170d48ab Revert^2 "Include the Soong namespace of the UDFPS HAL"
548f6b81c4

Change-Id: I68fd69e0a1aefad67da7b23f817462cb330d3c6d
2021-03-21 00:48:41 +00:00
Kris Chen
71020ad126 gs101: exclude udfps.mk
Bug: 183247684
Test: lunch oriole-userdebug; make -j$(nproc);
Test: lunch passport-userdebug; make -j$(nproc)
Change-Id: Iafcd1c9dad0861b0569b6a0350501952af83007d
2021-03-20 01:58:04 +00:00
Ilya Matyukhin
548f6b81c4 Revert "Include the Soong namespace of the UDFPS HAL"
Revert submission 13892440-integrate-goodix-aidl

Reason for revert: b/183225087
Reverted Changes:
I928a7f4d6:Include the Soong namespace of the UDFPS HAL
I7acecd294:Transition to Android.bp
I91bdbceef:Merge the latest goodix AIDL drop

Change-Id: I8799dbcd629e74bd25e8b7d0026af432afc0a5b0
2021-03-19 19:58:07 +00:00
Ilya Matyukhin
4ff707104c Include the Soong namespace of the UDFPS HAL
Bug: 183054007
Test: build
Change-Id: I928a7f4d695aa51ed917fa3cd2d76373029dc198
2021-03-19 18:39:47 +00:00
Roger Wang
f4320ddc94 WiFi: Remove PixelWifiOverlayGs101
New Overlay (PixelWifiOverlay2021) was definded for
2021 projects. Hence, remove PixelWifiOverlayGs101.

Bug: 182766776
Test: overlay config can be read correctly.
Change-Id: I6c020b7a3ff507eccb3309b3eac64f6a61a59e32
2021-03-19 16:53:20 +00:00
Peter Liu
96268d3f51 camera power hint: tune the streaming standard.
1. CPU power seems also high on streaming stadrd mode.
Limit it to a rate that has no obvious performance degradation.
2. Raise the CCI target load to avoid governor raising the mif clock.

Bug: 182944906

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I47654cf2558fa168545e036c6cb58388eb2e2f0a
2021-03-19 04:17:39 +00:00
Quang Luong
7f8e41bd1b Enable default wifi coex algorithm
Bug: 181245154
Test: build
Change-Id: Ia19206307da3936fd32e40ae7bd08a631719e1d3
2021-03-18 13:27:47 -07:00
Benjamin Schwartz
6b4c8b4887 powerstats: Use unique_ptr
Bug: 183051413
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: atest VtsHalPowerStatsTargetTest
Change-Id: Ia15505b219e6a8fe61949f7d75cc6379de837153
2021-03-18 20:20:04 +00:00
Benjamin Schwartz
921b5c3606 Set short suspend threshold to 5 seconds
Bug: 171433995
Test: getprop suspend.short_suspend_threshold_millis
Test: dumpsys suspend_control_internal
Change-Id: Ic32ac59784e40307a29d5ab240475572356124dc
2021-03-18 19:50:31 +00:00
Jimmy Chen
d88b6b9f82 wifi: enable SAE H2E support
Bug: 182857386
Test: connect to 6GHz AP.
Change-Id: I8c7e6118225e053ab3a231c9029fc1492065c7c7
2021-03-18 16:50:47 +00:00
Minchan Kim
5d13529329 BoardConfig: enable dump migration failure
Enable dynamic debug to dump migration failure.

Bug: 182195592
Signed-off-by: Minchan Kim <minchan@google.com>
Change-Id: I4817f84c1d2e15dad48f7c475d7072b88bc12114
2021-03-18 08:00:09 +00:00
Jimmy Shiu
2d8da5bd44 powerhint: Add FIXED_PERFORMANCE hints
According VTS, PowerHal must support FixedPerformance Mode.
Add FIXED_PERFORMANCE hints to fix the VTS failure.

Test: atest VtsHalPowerTargetTest
Bug: 183069028
Change-Id: I1eb6276108593f915f5043efb5a0c7f659c109e9
2021-03-18 07:54:57 +00:00
Roger Wang
a27080df00 gs101: Enable MBB support
Set MBB overriding flag to true in config overlay to
enable MBB support.

Bug: 182859386
Test: Verified MBB is workable.
Change-Id: I33419c40a955bcb21ba80169175467ffafc2dae7
2021-03-18 04:55:48 +00:00
Aaron Tsai
815ce12ad5 Remove unused rmnet and data properties for fixing avc denial error
Bug: 181924792
Test: verified with the forrest ROM and error log gone

Change-Id: Ia8eae9e2c347d79d3c37a894a1919e8f443630f7
2021-03-17 10:18:28 +00:00
TreeHugger Robot
aa58caf942 Merge "init.gs101.rc: add chmod 0771 to camera calibration folder" into sc-dev 2021-03-17 10:10:52 +00:00
Jenny Ho
60dca5dc0a Merge "init.gs101.rc: set system ownership for eeprom" into sc-dev 2021-03-17 08:07:45 +00:00
Jenny Ho
e8ecf4ded7 Merge "dumpstate: Update eeprom dump path" into sc-dev 2021-03-17 08:07:45 +00:00
LABIB MD RASHID
9c47b4ff37 Merge "Sysfs node permission for modem" into sc-dev 2021-03-17 03:02:36 +00:00
Benjamin Schwartz
10e6ca883f powerstats: Add Ufs stats
Bug: 140217385
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: Ie60a8bbb5ac9290d9b707a1529bcc384c5e61626
2021-03-16 13:40:48 -07:00
Chris Fries
8536bb3952 Merge "Revert "Decouple auto-suspend and interactive from display on/off"" into sc-dev 2021-03-16 16:41:03 +00:00
Ken Huang
fba970113a Revert "Decouple auto-suspend and interactive from display on/off"
This reverts commit 8069d3856d.

Reason for revert: black display in AoD
Bug: 182851537

Change-Id: Idc0ef7cf076b6060cc76c983bd512247f9e8a4c0
2021-03-16 16:29:55 +00:00
Charlie Chen
8b400f943c Merge "Revert "Switch back from DMABUF to ION/BLOB allocator"" into sc-dev 2021-03-16 14:56:57 +00:00
TreeHugger Robot
a9eb36903b Merge "gs101: set touch_offload device file permission" into sc-dev 2021-03-16 10:25:45 +00:00
Charlie Chen
935a1dd591 Revert "Switch back from DMABUF to ION/BLOB allocator"
This reverts commit f35c9cb038.
To enable DMABUF again.
Patch: https://android-review.googlesource.com/c/platform/system/memory/libdmabufheap/+/1634146/
fixed the error when using DMABUF

Bug: 153786620
Test: reboot O6 device and confirm the error does not show up again
Change-Id: Id378fe1fe8b9615f72138575cec8e5e1e20caec9
2021-03-16 16:28:15 +08:00
Wesley Wang
16fa1efb47 Merge "Enable battery percentage config for O6/R4" into sc-dev 2021-03-16 07:34:10 +00:00
Tai Kuo
b6b9bdaa0f gs101: set touch_offload device file permission
Bug: 173331163
Bug: 174189640
Bug: 174191163
Test: twoshay_touchflow + heatmap reflector APK works.
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: I02c3cf9fd4cd946e603f5cc5f614fa744660d0bc
2021-03-16 14:45:18 +08:00
Tianjie Xu
ad661aed61 Merge "Include the Pixel common board configuration" into sc-dev 2021-03-15 18:46:12 +00:00
Daniel Mentz
b494fcea4d Merge "Add vendor_dlkm partition (2nd attempt)" into sc-dev 2021-03-15 18:34:41 +00:00
Pat Tjin
da98e3c78f Merge "Adjust BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE to 8527020032" into sc-dev 2021-03-15 16:48:48 +00:00
TreeHugger Robot
0e5702d3c5 Merge "gs101: support touch sensitivity mode switching" into sc-dev 2021-03-15 12:03:05 +00:00
Wesley.CW Wang
4dae775116 Enable battery percentage config for O6/R4
Bug: 177972645
Bug: 182451733
Bug: 180676766
Test: m -j40
Change-Id: I9dcb0f09b0a86a163c48366a9c90ad89bf28cab0
2021-03-15 06:32:36 +00:00
chened
b6ac2a4088 init.gs101.rc: add chmod 0771 to camera calibration folder
We found the '-X' of chmod may not work properly.
Add chmod 0771 command to make sure the camera calibration folders have
right permission.
impact folders:
1. /mnt/vendor/persist/camera
2. /mnt/vendor/persist/camera/OTP_calibration
3. /mnt/vendor/persist/camera/pdaf_calibration_data
4. /mnt/vendor/persist/camera/rear

Test: build pass, gca
Bug: 181520309
Change-Id: Ib43b457764d0a700cd6fe413f07731621fa6753c
2021-03-15 13:57:25 +08:00
TreeHugger Robot
83ca249a04 Merge "pixelstats: add ufs host reset count" into sc-dev 2021-03-15 05:42:27 +00:00
TreeHugger Robot
feb9224ab1 Merge "Add variables in google3a_config for camera tuning" into sc-dev 2021-03-15 03:02:55 +00:00
TreeHugger Robot
751d285124 Merge "camera power hint: add streaming high hint." into sc-dev 2021-03-13 02:05:11 +00:00
Peter Liu
f4a74c27e9 camera power hint: add streaming high hint.
Use the streaming high power hint for high power use case such as 4k60.

Bug: 182184999

Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: I2a12eaef54d13c82825e942325f4167fabc601cc
2021-03-12 16:35:54 -08:00
George Lee
d65255508c Merge "bcl: aggregated event count" into sc-dev 2021-03-12 23:13:11 +00:00
George Lee
834dca4c53 bcl: aggregated event count
Enable BCL metrics in bugreport.

Bug: 180620276
Test: Local test
Signed-off-by: George Lee <geolee@google.com>
Change-Id: Iab9ef7aac7c112e4a6938e7f34745b338df6a3f8
2021-03-12 21:31:54 +00:00
Erick Reyes
8103dae27a Merge "gs101: add edgetpu firmware package" into sc-dev 2021-03-12 21:25:48 +00:00
Tianjie
a76d104aac Include the Pixel common board configuration
In particular, the config builds the hashtree with SHA256 for verified boot
2.0.

Bug: 156162446
Test: build an image, run avbtool info_image
Change-Id: Ib588472434f5df0265d8b457c184272ae4b566fb
2021-03-12 11:42:05 -08:00
Mingguang Xu
0a49bee13b Merge "On Pixel 21 enable minimum confirmation duration for sending network score to connectivity service" into sc-dev 2021-03-12 18:21:06 +00:00
Mingguang Xu
ebe9c5f672 On Pixel 21 enable minimum confirmation duration for sending network score to connectivity service
Bug: 182513027

Bug: 182011284

Test: verified feature works on device

Signed-off-by: Mingguang Xu <mingguangxu@google.com>
Change-Id: Icb1264c994fcf6bfbe3b09fc3bae201b59603217
2021-03-12 18:20:18 +00:00
TreeHugger Robot
47c99982ac Merge "bootctrl: Add support for A/B data in devinfo" into sc-dev 2021-03-12 18:18:03 +00:00
Allen Su
d875f8c139 Merge "[Slider] Add pre-grant permission for mvs" into sc-dev 2021-03-12 17:21:44 +00:00