Commit graph

265 commits

Author SHA1 Message Date
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
Tai Kuo
23ac737b41 gs101: support touch sensitivity mode switching
Route a debug system property to a persist system property to control
the touch driver attribute file glove_mode.

0: default sensitivity mode (default)
1: high sensitivity mode

Bug: 173330977
Bug: 174189638
Bug: 174191024
Test: manual test
Signed-off-by: Tai Kuo <taikuo@google.com>
Change-Id: Ia54ea2b84340c34943809373b87c31604d2ae478
2021-03-12 16:38:23 +08:00
Pat Tjin
977ea34b77 Adjust BOARD_GOOGLE_DYNAMIC_PARTITIONS_SIZE to 8527020032
Subtract out 4MiB for overhead.

Test: build
Bug: 182237294
Signed-off-by: Pat Tjin <pattjin@google.com>
Change-Id: Idf07cf518ea0ab8e8586a85303e27538a8ee2885
2021-03-11 23:21:35 -08:00
Daniel Mentz
fc05a5f218 Add vendor_dlkm partition (2nd attempt)
Certain vendor kernel modules were previously stored in the vendor
partition. With this change, we create a new separate partition named
vendor_dlkm for these vendor modules.

Bug: 173653839
Change-Id: I1fc887bdfac958d3a65fb48a4bf7a398e756733e
2021-03-11 22:52:20 -08:00
audreyhung
5b7f645900 Add variables in google3a_config for camera tuning
1. Add target_device into SOONG_CONFIG_NAMESPACES += google3a_config
for saperating projects (raven, oriole, slider)

2. Add conditional switch for aosp and others of TARGET_PRODUCT.

3. Pass all forrest builds under git_sc-dev with
   293c2c7462: Add variables in google3a_config for camera tuning
   7fd2d5a87c: Revert "Revert "Separate project-wise tuning folders for 3A""

Tag: All build test

47 build(s): 0 failed. 47 passed.

https://android-build.googleplex.com/builds/forrest/run/L45900000832571732

Bug: 177041310
Test: build pass, manually test on O6
Change-Id: I848a2702cecf1a35971ae5cba5ea83d4f6d65c1a
2021-03-12 06:50:10 +00:00
Jenny Ho
e852f75d49 init.gs101.rc: set system ownership for eeprom
Bug: 182531832
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: I09e8e4f8ae9c8fbeea161c1b46f53a2b5996db35
2021-03-12 13:58:36 +08:00
Jenny Ho
361d28d604 dumpstate: Update eeprom dump path
Bug: 182531832
Signed-off-by: Jenny Ho <hsiufangho@google.com>
Change-Id: Ib7f628f226d901e79be9c3c958a5514cce09fbd9
2021-03-12 13:53:31 +08:00
TreeHugger Robot
11c87a5851 Merge "gs101: exclude telephony if BOARD_WITHOUT_RADIO is true" into sc-dev 2021-03-12 05:47:52 +00:00
Edwin Tung
390a7dc844 Merge "gps: update gps driver 125.20.23.491687" into sc-dev 2021-03-12 01:21:53 +00:00
TreeHugger Robot
66c7bf8c9d Merge "Decouple auto-suspend and interactive from display on/off" into sc-dev 2021-03-12 00:50:07 +00:00
Fernando Lugo
cb62396860 bootctrl: Add support for A/B data in devinfo
Bug: 156694052
Signed-off-by: Fernando Lugo <flugo@google.com>
Change-Id: I6f1e3b805e3bcef2246abcffc8c11add29798bc6
2021-03-11 16:46:15 -08:00
Jonglin Lee
fcddc385ca gs101: exclude telephony if BOARD_WITHOUT_RADIO is true
Only include telephony packages if radio is available.

Bug: 182514710
Test: confirmed packages excluded
Signed-off-by: Jonglin Lee <jonglin@google.com>
Change-Id: I3d0c723f310230f3e54bf28422ca24f2be0ee3b6
2021-03-11 16:43:12 -08:00
Chris Fries
0e26f54d1f Merge "Switch back from DMABUF to ION/BLOB allocator" into sc-dev 2021-03-11 23:50:55 +00:00
Daeho Jeong
138fe69c2d Merge "bfq: turn off slice_idle during booting" into sc-dev 2021-03-11 22:58:05 +00:00
TreeHugger Robot
10992cb965 Merge "Revert "Revert "Enable chained vbmeta for boot""" into sc-dev 2021-03-11 22:31:19 +00:00
Will McVicker
b5b92eadd1 Revert "Revert "Enable chained vbmeta for boot""
This reverts commit 8ed24f1c7f8923e0b0ac62c16abc5ea32c1a11e0 which
disables chained vbmeta for boot.

Bug: 176930600
Test: manually verify chained vbmeta is enforced
Change-Id: Iba79a072798ff4dd0eb9add3c36d7f6c1ffb4655
2021-03-11 22:30:45 +00:00
Adrian Salido
8069d3856d Decouple auto-suspend and interactive from display on/off
Without decoupling, PowerManagerService prevents system from going to
suspend when display is in AOD.

Bug: 180896425
Change-Id: I256fddd1bb173b047b4d0d6e03e7cc9ffb50e13d
2021-03-11 14:12:07 -08:00
Wonsik Kim
f35c9cb038 Switch back from DMABUF to ION/BLOB allocator
Revert of the following changes:
I70af757f5 conf: change a group about dma_heap for video codec
Id4fc2f04b uses dmabufheap on codec2
I090f0491f disable to use BLOB allocator

Bug: 182312949
Test: boot without DMABUF failures
Change-Id: Ibeb05a1341c15a206b8c1d2b9c9765769f6472e1
2021-03-11 13:56:46 -08:00
TreeHugger Robot
3904f51a01 Merge "Remove vendor partition definitions" into sc-dev 2021-03-11 21:45:22 +00:00