Commit graph

5025 commits

Author SHA1 Message Date
Eric Biggers
fe9ab8c5a4 Merge changes Ia94682ee,I4da3ce85 into sc-dev am: fa50bf6c7c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13807420

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id81d5936a8272cd1c8ff9f0d5cebfa8dbc4a4271
2021-03-08 21:58:08 +00:00
Petri Gynther
e0852fb739 gs101: build vendor_ramdisk.img am: 3c5da8c48b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13807513

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iff808da075e4e7b212c17aa0167838c57f2a1fa1
2021-03-08 21:54:19 +00: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
Petri Gynther
3c5da8c48b gs101: build vendor_ramdisk.img
aosp/1619809 has landed, so let's start building:
out/target/product/<name>/vendor_ramdisk.img

We can then easily grab ramdisk.img + vendor_ramdisk.img
from any go/ab build to our kernel dev environment.

Bug: 170687803
Change-Id: I1469fd9e545353029ceea6251dad631eab2ae1d9
2021-03-08 10:57:28 -08:00
Eric Biggers
93b740b0b0 gs101: remove unused fstabs for eMMC storage
These devices will only use UFS, so remove the emmc and sdboot fstab
files which are unused and outdated.

Bug: 181883233
Change-Id: Ia94682eecca4d792c2a50d2336cd6a542ed282db
2021-03-08 10:17:55 -08:00
Eric Biggers
3014832d9a gs101: remove unneeded crypto properties
It is unnessary to set ro.crypto.dm_default_key.options_format.version=2
or ro.crypto.volume.filenames_mode=aes-256-cts on devices with
PRODUCT_SHIPPING_API_LEVEL >= 30, since in that case these settings are
already the default.

Bug: 181883233
Change-Id: I4da3ce857a45c479e5efcee481f74031093234d8
2021-03-08 10:17:55 -08:00
Beverly
de4b2af870 Move udfps-specific config to device config.xml
Test: manual
Bug: 176550666
Change-Id: Ibaab1a4328e3559b0d0b4d7afd043a5668746ae9
2021-03-08 09:31:33 -05:00
Alessio Balsini
eb39490266 gs101: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the P21 device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2021-03-08 12:05:36 +00:00
Ocean Chen
91262dd631 pixelstats: add ufs host reset count
Add path for new atom, UFS_RESET_COUNT

bug: 176740886
Change-Id: Icae0b5b104674be078854193048c3fc49f7bf527
2021-03-08 17:49:36 +08:00
joeshih
21f5312309 [P21]Phase in FactoryOta
- Phase in FactoryOta to P21

Bug: 182117971
Test: Forrest build
Change-Id: Ibd33c0c1295c420add15c708b43db2913fc55f36
2021-03-08 17:22:29 +08:00
davidycchen
175299a568 dumpstate: dump more touch information
Dump more touch information for P21 projects.

Bug: 174191180
Test: trigger bugreport and check dumpstate.

Signed-off-by: davidycchen <davidycchen@google.com>
Change-Id: Ibdae06b29d8781bcc7973cb8a0ecfd0078ecde96
2021-03-08 16:24:00 +08:00
Edwin Tung
36a0fce6c7 Make Psds server configurable from carrier config am: 75657e2f0e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13782435

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I08d347c453d5c5cc7a8bde0f39a8e93468e4c723
2021-03-08 06:47:56 +00:00
linpeter
728cda9ade display: set atc node permission
Give atc nodes sutiable permission to allow hwcomposer to set
atc config to display driver.

Bug: 168848203
test: check file node permission
Change-Id: I6b1b90d0951aa844d19bd68b9020e501d0e359de
2021-03-08 14:31:35 +08:00
Edwin Tung
75657e2f0e Make Psds server configurable from carrier config
Support loading carrier config with no SIM case
Bug: 167499651

Test: manual
Change-Id: I2bc5bfdca83e79b21de8b660a6f8519e402b7caf
2021-03-08 12:14:45 +08:00
Zhijun He
dd6b7bc70d camera: add more camera permissions am: b14c4e1920
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13800759

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I41fbda2c21c61e308c743821cabec50fc4a38ca5
2021-03-08 01:52:33 +00:00
Zhijun He
b14c4e1920 camera: add more camera permissions
Bug: 182043664
Test: CTS
Change-Id: Ibc4d7300c81e9826ccaf6900d8a847a8192d1823
2021-03-07 23:44:26 +00:00
Robin Peng
ef579ab3d6 Move slider into gs101 and <device> am: c2b5ca99e3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13674427

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2a148a34ee631cae0ae186c852fed36a06a812de
2021-03-07 09:15:12 +00:00
Robin Peng
02fc65a8b4 Revert "Add owners file" am: 0ef3a89b93
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13769338

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie35a7536a6adbf1e7c84add9be00a50392cb5bf5
2021-03-07 09:15:07 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00
Robin Peng
7f0a352736 Add owners file am: a03b8e0a3a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/13769331

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I58946b200d24201d861b65ac4d0a4565cc9f1963
2021-03-04 18:57:28 +00:00
Robin Peng
0ef3a89b93 Revert "Add owners file"
This reverts commit a03b8e0a3a.

Change-Id: I1f9fd5e832f1b2104ad23539d1d5b46dc1aba4e8
2021-03-04 16:59:12 +08:00
Robin Peng
a03b8e0a3a Add owners file
Bug: 167996145
Change-Id: I806e345328fcc3c4000a77eaca59511d73744be6
2021-03-04 16:35:22 +08:00
Inna Palant
9235f933d9 Initial empty repository 2021-01-22 08:04:15 -08:00