Commit graph

265 commits

Author SHA1 Message Date
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
Daniel Mentz
1adeec60ba Add vendor_dlkm partition
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: I6e3b20ada58ffea05de3df8e7eae9fc59a6019e0
2021-03-09 22:48:49 +00:00
Benjamin Schwartz
82a0c52a12 powerstats: acpm_stats driver has moved
Bug: 182255966
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I667fb71f6f2c7aade2d56dc8ec8d4462dcc97594
2021-03-09 11:20:04 -08:00
Benjamin Schwartz
0d6392efa6 Remove power stats HAL 1.0 service
Bug: 179527556
Test: dumpsys android.hardware.power.stats.IPowerStats/default
Test: device boot and examined logs to make sure no errors related to
missing power stats 1.0

Change-Id: Ib8cc394f9968edaf948a2d9700e9f7fcaa5b9dc0
2021-03-09 10:27:55 -08:00
TreeHugger Robot
d287e223f4 Merge "gs101: Use FUSE passthrough by default" into sc-dev 2021-03-09 14:55:44 +00:00
TreeHugger Robot
46663e2a5d Merge "[P21]Phase in FactoryOta" into sc-dev 2021-03-09 11:57:38 +00:00
David Chen
8721f832dc Merge "dumpstate: dump more touch information" into sc-dev 2021-03-09 06:01:28 +00:00
TreeHugger Robot
fed4fa3022 Merge "powerstats: Add NFC, PCIE, WIFI stats" into sc-dev 2021-03-09 04:01:56 +00:00
TreeHugger Robot
9175b81a90 Merge "bootctrl: run clang-format" into sc-dev 2021-03-09 01:54:41 +00:00
Benjamin Schwartz
194edaf7db powerstats: Add NFC, PCIE, WIFI stats
Bug: 179277258
Test: adb shell dumpsys android.hardware.power.stats.IPowerStats/default
Change-Id: I64d84f82eafe34c12caeaa73f24ed79a60db3604
2021-03-09 01:40:43 +00:00
Benjamin Schwartz
627a8136fc Merge "Revert^2 "powerstats: Add PixelStateResidencyDataProvider"" into sc-dev 2021-03-09 01:31:11 +00:00
Benjamin Schwartz
5b34563d88 Revert^2 "powerstats: Add PixelStateResidencyDataProvider"
05a79631f7

Change-Id: If088251400b80a8f47b09d6f2806a3f386ea3161
2021-03-09 01:24:49 +00:00
Benjamin Schwartz
3cde50fe34 Merge "Revert "powerstats: Add PixelStateResidencyDataProvider"" into sc-dev 2021-03-09 00:58:56 +00:00
Benjamin Schwartz
05a79631f7 Revert "powerstats: Add PixelStateResidencyDataProvider"
Revert "powerstats: Create vendor state residency provider"

Revert submission 13807923-pixel provider

Reason for revert: caused build breakage

Reverted Changes:
I6b0c1d350:bthal/1.1: Use PixelStateResidencyProvider
Ia028e589b:powerstats: Create vendor state residency provider...
Id99e6d2a9:powerstats: Add PixelStateResidencyDataProvider

Change-Id: Ib1b18b5984af6b665c4ad0c9e9217a314a64e6ed
2021-03-09 00:54:23 +00:00
TreeHugger Robot
26856c61a8 Merge "powerstats: Add PixelStateResidencyDataProvider" into sc-dev 2021-03-09 00:18:42 +00:00
Fernando Lugo
2b75765719 bootctrl: run clang-format
Bug: 156694052
Signed-off-by: Fernando Lugo <flugo@google.com>
Change-Id: I003fb99e96bcee2d745365992b3c8d4a3816f818
2021-03-08 15:36:55 -08:00
Eric Biggers
c27e9e5ff9 gs101: use wrapped keys for storage encryption
Make better use of the new hardware by using wrapped keys via the KDN
(Key Distribution Network), rather than standard keys.  Wrapped keys are
slightly better protected against being compromised.

When this change is submitted, a factory reset will be required.

Bug: 149360056
Test: Booted Android and verified via the kernel log and
      'dmctl table userdata' that both FBE and metadata encryption are
      using wrapped keys.  Also ran vts_kernel_encryption_test.
      Also storage-qa and reboot stress testing (b/178650615).
Change-Id: Iab6f4199306de02b5846062e7499783b7aedf901
2021-03-08 21:23:20 +00:00
Eric Biggers
fa50bf6c7c Merge changes Ia94682ee,I4da3ce85 into sc-dev
* changes:
  gs101: remove unused fstabs for eMMC storage
  gs101: remove unneeded crypto properties
2021-03-08 21:22:50 +00:00
Benjamin Schwartz
9c9f563bd6 powerstats: Add PixelStateResidencyDataProvider
This data provider will be used to produce state residency data from
other native services that have registered callbacks.

Bug: 179277258
Test: adb shell dumpsys android.hardware.power.stats.IPowerStats/default
Test: killed power.stats and bluetooth services and verified that
providers are re-registered.

Change-Id: Id99e6d2a9300f7c7483e3fb7a6a9604a46fbbc6f
2021-03-08 11:54:56 -08:00