Commit graph

133 commits

Author SHA1 Message Date
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
Pat Tjin
d718a1d844 Merge "Move wireless charger HAL to 1.3" into sc-dev 2021-03-11 19:57:54 +00:00
Petri Gynther
ce5bdb9bd3 Remove vendor partition definitions
Remove vendor partition definitions from:
device/google/gs101/BoardConfig-common.mk

The right place for these definitions is:
vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk

This is necessary for -without-vendor builds.

Bug: 182481577
Test: build oriole-userdebug
Change-Id: Iee6e2964dfca84cc0f40f332067332f7564f6f3b
2021-03-11 10:30:57 -08:00
Daeho Jeong
f02d0822ee bfq: turn off slice_idle during booting
Turned off slice_idling during booting to increase total throughput
for faster boot time.

Test: cat /sys/block/sda/queue/iosched/slice_idle
Bug: 171739280
Signed-off-by: Daeho Jeong <daehojeong@google.com>
Change-Id: Id6bb4af2582f40557afaa69c72fdf20d036da4cd
2021-03-11 22:37:55 +09:00
Beverly Tai
290f84e15c Merge "Move udfps-specific config to device config.xml" into sc-dev 2021-03-11 13:35:57 +00:00
George Chang
d6c856cb08 Merge "Remove libnfc-nci from common part" into sc-dev 2021-03-11 11:23:44 +00:00
Eddie Tashjian
30a9866b34 Set selinux label for modem partition mount
Bug: 178980032
Test: Check selinux denials
Change-Id: I4f31f7c0017b5b8268e2889a9dd5809e74d7e538
2021-03-11 10:16:05 +00:00
labib
8f28e8ff01 Sysfs node permission for modem
- write display MIPI frequency

Bug: 171729515
Change-Id: I0e2a6b22d9a77ae224660b64e0ff74b693c15dfd
2021-03-11 17:21:55 +08:00
Wei Sheng Shih
0b19a17b11 Merge "Revert "Add variables in google3a_config for camera tuning"" into sc-dev 2021-03-11 09:02:17 +00:00
Wei Sheng Shih
7e76a03890 Revert "Add variables in google3a_config for camera tuning"
Revert "Separate project-wise tuning folders for 3A"

Revert submission 13706458-Separate target device for tuning

Reason for revert: suspect build break b/182443731
Reverted Changes:
If91bb99b8:Separate project-wise tuning folders for 3A
I605e0327a:Add variables in google3a_config for camera tuning...

Change-Id: Ia4f5a5a6162d2ebe61500b513510555326d8ebb2
2021-03-11 08:35:25 +00:00
Audrey Hung
3fc9518695 Merge "Add variables in google3a_config for camera tuning" into sc-dev 2021-03-11 07:51:46 +00:00
yihsiangpeng
a8ae2173a0 Move wireless charger HAL to 1.3
Bug: 179464598
Signed-off-by: yihsiangpeng <yihsiangpeng@google.com>
Change-Id: I6f2b94f6aae46cf598ae2303bb37269ba2443706
2021-03-11 14:46:50 +08:00
Edwin Tung
b197596149 gps: update gps driver 125.20.23.491687
Implemented A-GNSS capability in the US and Outside US.
Fix on-chip mode TTFF issue
Fix CMAS concurrency issue

Bug: 169307779
Bug: 179691042
Bug: 181001401
Bug: 171887253
Bug: 178079823

Sanity Test: 182243021
Test: build pass

Change-Id: I927095ac504cc613e506e39dfc42b3f84269f567
2021-03-11 14:39:34 +08:00
TreeHugger Robot
6c30423a50 Merge "Don't create /data/camera on init." into sc-dev 2021-03-11 05:59:37 +00:00
TreeHugger Robot
cc1bc811ac Merge "display: set atc node permission" into sc-dev 2021-03-11 04:15:29 +00:00
Petri Gynther
ed3354f4c6 Merge "Remove extra copy of fstab.gs101" into sc-dev 2021-03-11 04:15:03 +00:00
TreeHugger Robot
fd2d2ae8d2 Merge "Revert "Add vendor_dlkm partition"" into sc-dev 2021-03-11 01:51:21 +00:00
Krzysztof Kosiński
a99bd1eecf Don't create /data/camera on init.
This path cannot be used by camera HAL because it would be a
Treble violation.

Bug: 181300165
Test: build, boot, camera preview on a gs101 device
Change-Id: I90f81b5c50e61c501c5f509814368189562a4256
2021-03-10 17:48:38 -08:00
Sunil Ravi
6ff80b0d18 Merge "WiFi: Enable radio stats aggregation" into sc-dev 2021-03-11 00:31:16 +00:00
Erick Reyes
e879e1d264 gs101: add edgetpu firmware package
Firmware is now migrated to Android.bp instead of PRODUCT_COPY_FILES

Bug: 182336890
Tested: Builds

Signed-off-by: Erick Reyes <erickreyes@google.com>
Change-Id: I1ccf6462c907fe23821c041592dc07a715d3de1c
2021-03-10 16:00:44 -08:00
Jaegeuk Kim
a871c2ed5f fstab: enable checkpoint_merge for f2fs
To improve checkpoint speed by blk-cgroup.

Bug: 171739280
Bug: 172521158
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ica6eba1e7cdbce48c948931c1153c5fa78ba6e18
2021-03-10 22:31:42 +00:00
Sunil Ravi
faae2ecb3b WiFi: Enable radio stats aggregation
set config_wifiLinkLayerRadioStatsAggregationEnabled to true
to enable radio stats aggregation logic.

Bug: 180513621
Test: atest com.android.server.wifi.WifiVendorHalTest
Change-Id: I62512c678886b16339333c423c3e738ad626c85a
2021-03-10 11:39:38 -08:00
TreeHugger Robot
61da2b3d52 Merge "gs101: use wrapped keys for storage encryption" into sc-dev 2021-03-10 19:22:49 +00:00
George Chang
ef7df93001 Remove libnfc-nci from common part
Bug: 182243379
Bug: 182351569
Test: build pass
Change-Id: Ib853fb48ace452aa4fcb22398e026af433eaec0b
2021-03-10 19:48:20 +08:00
audreyhung
4b7a3c8f6c Add variables in google3a_config for camera tuning
Add target_device into SOONG_CONFIG_NAMESPACES += google3a_config
for saperating projects (raven, oriole, slider)

Bug: 177041310
Test: build pass, manually test on O6
Change-Id: I605e0327a816fb7d04f57e679f287352e17abee0
2021-03-10 18:30:47 +08:00
SalmaxChang
31ab19d5e7 init: Remove unused log path
The path "/data/log/abox" violates Android treble rule. Pixel uses
google audio HAL but not vendor one. Remove the path.

Bug: 177186257
Change-Id: Ie53be71f31e0d673592457b88304136d4d616780
2021-03-10 06:41:31 +00:00
allenwtsu
0e0ad439a7 [Slider] Add pre-grant permission for mvs
Bug: 181915646
Test: manual
Change-Id: Ia9521d560435baac0483b3fb413787e1cb41ef54
2021-03-10 14:40:42 +08:00
Benjamin Schwartz
caa1b96fc6 Merge "powerstats: Add core stats" into sc-dev 2021-03-10 06:19:43 +00:00
Cody Schuffelen
815b951c33 Revert "Add vendor_dlkm partition"
Revert "Add vendor_dlkm to AB_OTA_PARTITIONS"

Revert submission 13804535-slider_vendor_dlkm

Reason for revert: Evaluating whether a revert fixes b/182319837
Reverted Changes:
I50887cb75:Add vendor_dlkm to AB_OTA_PARTITIONS
I6e3b20ada:Add vendor_dlkm partition

Change-Id: I71817d8ff65dfb63978dc775178947e12bd1982a
2021-03-10 01:37:58 +00:00
Benjamin Schwartz
b5527ad721 Merge "powerstats: acpm_stats driver has moved" into sc-dev 2021-03-10 01:13:33 +00:00
TreeHugger Robot
01e7f56135 Merge "Remove power stats HAL 1.0 service" into sc-dev 2021-03-10 00:45:33 +00:00
Petri Gynther
e951022d5b Remove extra copy of fstab.gs101
vendor_ramdisk.img is assembled from two directories:
$(PRODUCT_OUT)/vendor_ramdisk
$(PRODUCT_OUT)/recovery/root

Eliminate extra copy of fstab.gs101, so that there are no duplicate
files in vendor_ramdisk.img. This is a must-have for toybox cpio,
which is used to extract the archive in kernel build (build/build.sh).

Bug: 182309216
Test: build + inspect vendor_ramdisk.img
Test: prebuilts/build-tools/path/linux-x86/cpio -id
Test: verify install + boot to home + boot to recovery
Change-Id: Ib7c5e9d2535e97945fb90b1e749e2bb33b75329b
2021-03-09 16:09:13 -08:00
Benjamin Schwartz
da983cb5c2 powerstats: Add core stats
Bug: 182273949
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I4151f57ebd68102a58fd7035356279e68805a0f9
2021-03-09 16:05:58 -08:00