Commit graph

1187 commits

Author SHA1 Message Date
eddielan
738f1ea76b fp_test: add command binary for fp test am: cdb78894f0 am: e7b526aa66
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661990

Change-Id: I1647f3cd51b666d31660909d9da0f7be5754937a
2021-06-22 13:52:51 +00:00
eddielan
338c516285 fp_test: add command binary for fp test am: cdb78894f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14661990

Change-Id: I1680805c8346fb33af897172d65567bba1a1161a
2021-06-22 13:41:15 +00:00
eddielan
807e460cd4 fp_test: add command binary for fp test
Bug: 188014250
Test: Build pass, verify on device

Change-Id: Ia3a8a17597fbc90cd0499e03fe0fe607323fdf90
2021-06-22 16:05:07 +08:00
Maciej Żenczykowski
4aea55c71d support both rndis and ncm, but not rndis + ncm am: 49a13bff74 am: 2702c6007c am: dfc7b50d3c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15057012

Change-Id: I903d023a3f3fc5cd8ab39107653eac7a95c26c08
2021-06-22 05:23:11 +00:00
Maciej Żenczykowski
a9527f1946 support both rndis and ncm, but not rndis + ncm am: 49a13bff74 am: 3464f074a4 am: ec3be51045
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15057012

Change-Id: I514631d4e41bce29a6bd75bc401ddcf85f98ae4e
2021-06-22 05:23:02 +00:00
Maciej Żenczykowski
2bae6039e6 support both rndis and ncm, but not rndis + ncm am: 49a13bff74 am: 2702c6007c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15057012

Change-Id: I772695a5a3e2b39b4a02918d7eb56ee4a0123a73
2021-06-22 05:05:07 +00:00
Maciej Żenczykowski
f950610952 support both rndis and ncm, but not rndis + ncm am: 49a13bff74 am: 3464f074a4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15057012

Change-Id: I655d8eb8dd332d8d26fa98e826d8c23d90b3bd96
2021-06-22 05:00:07 +00:00
Maciej Żenczykowski
d5e6f7beab support both rndis and ncm, but not rndis + ncm am: 49a13bff74
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15057012

Change-Id: I70616d47d2b41c1d8d1cf926d6a0bb7e5c872987
2021-06-22 04:51:26 +00:00
Maciej Żenczykowski
e0ccd8fe6d support both rndis and ncm, but not rndis + ncm
Bug: 172793258
Test: N/A
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I6ac656d5eec27fadf76391fc3318b9d29d253a89
2021-06-22 02:53:55 +00:00
Chris.CC Lee
716e3c7eae [Gs101] Update pregrant permissions for Restore APK am: 2a9345c35c am: 96126bc120 am: 09255fd247
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972993

Change-Id: I06c6e5d0d815a25969876e5718024bd25695c450
2021-06-22 02:32:35 +00:00
Chris.CC Lee
cc7e39e002 [Gs101] Update pregrant permissions for Restore APK am: 2a9345c35c am: de790dcbbe am: c1dbb1eec5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972993

Change-Id: I8cb669e8937abcd8ec792857d679304de904749d
2021-06-22 02:32:06 +00:00
Chris.CC Lee
1d50effb48 [Gs101] Update pregrant permissions for Restore APK am: 2a9345c35c am: 96126bc120
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972993

Change-Id: I63bb6f9f85d07ed2e4c81f487fbfdaa5d1374f0d
2021-06-22 02:16:39 +00:00
Chris.CC Lee
9061ae7aa3 [Gs101] Update pregrant permissions for Restore APK am: 2a9345c35c am: de790dcbbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972993

Change-Id: I5d5c9a781e808ae4b0787bc947059b1a65051114
2021-06-22 02:12:48 +00:00
Chris.CC Lee
39758bc260 [Gs101] Update pregrant permissions for Restore APK am: 2a9345c35c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14972993

Change-Id: I0657338e7a79fbe42285b06565b51e8fcbd2d48a
2021-06-22 01:58:56 +00:00
Chris.CC Lee
00d640335c [Gs101] Update pregrant permissions for Restore APK
-. RECEIVE_SMS and READ_PHONE_NUMBERS permissions are no longer used.
-. Add the ACCESS_FINE_LOCATION permission for iOS WiFi D2D which was approved in b/188150877.

Bug: 188150877
Fix: 162937804
Test: Manual tested on Barbet.
Change-Id: I518275717ebd2b81bb888eaddc58222fe92b92c1
2021-06-22 01:37:45 +00:00
Daniel Mentz
ef5cd5f191 Add cl_dsp, input-cs40l26-i2c to kernel module blocklist file am: e6139b59a8 am: d22d29c2f0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15033677

Change-Id: Ifffaff1d7bc27d0f7c1369e5056c680790fb03e6
2021-06-22 00:02:08 +00:00
Shawn Willden
45dac0fc79 Revert^2 "Activate KeyMint" am: 0cdcb9aa18 am: 3f0eeab337 am: 4bf5a587e0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15053361

Change-Id: I5f658b264a861292f32cbcbfc438fd62c07b6260
2021-06-22 00:01:53 +00:00
Lokesh Gidra
d744f7f611 Use 6GB dalvik-heap config for WHI series phones am: a04605d473 am: 125afe8c8b am: 370966c5b2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15052890

Change-Id: If13e208300b1a8bc0a231b59083effd216c45dcd
2021-06-22 00:01:43 +00:00
Daniel Mentz
2139983209 Add cl_dsp, input-cs40l26-i2c to kernel module blocklist file am: e6139b59a8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15033677

Change-Id: Id8bde15d4c0c5de4fcc3164d6f58826a1868fcd6
2021-06-21 23:50:33 +00:00
Shawn Willden
1892254760 Revert^2 "Activate KeyMint" am: 0cdcb9aa18 am: 3f0eeab337
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15053361

Change-Id: I8ca9f94de22e7afba6005acf20f1c1f871b62e0b
2021-06-21 23:50:20 +00:00
Lokesh Gidra
0a210e5e91 Use 6GB dalvik-heap config for WHI series phones am: a04605d473 am: 125afe8c8b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15052890

Change-Id: I1498591ce56d32872f89c515fe019d71ef5a3d5a
2021-06-21 23:50:12 +00:00
Daniel Mentz
d3f341b7d2 Add cl_dsp, input-cs40l26-i2c to kernel module blocklist file
The kernel modules cl_dsp and input-cs40l26-i2c are specific to some
devices. We don't want them to be loaded on other gs101 devices when we
run "modprobe -a".

Bug: 190652328
Change-Id: If5bd77dd9138177f0c66f64b7a273c177472a062
2021-06-21 23:32:39 +00:00
Shawn Willden
03b6bbda27 Revert^2 "Activate KeyMint" am: 0cdcb9aa18
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15053361

Change-Id: Ifffabd8196361fa42ea6ed322b78e2682e2cc558
2021-06-21 23:30:40 +00:00
Lokesh Gidra
9229cd6dd6 Use 6GB dalvik-heap config for WHI series phones am: a04605d473
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15052890

Change-Id: Id68fc8df04fc3e694c7ca504c586845575223190
2021-06-21 23:30:26 +00:00
Shawn Willden
ebf4d9934a Revert^2 "Activate KeyMint"
8f0cd15159b5a3f7d0ddb5cc78d2a364d1982244

Bug: 177729159
Test: VtsAidlKeyMintTargetTest & CtsKeystoreTestCases
Change-Id: I1f6f4c27562104ee650cc085e977ebd4fecdfdf2
2021-06-21 23:12:32 +00:00
Lokesh Gidra
42c5499945 Use 6GB dalvik-heap config for WHI series phones
Since all the WHI phones have 6GB+ RAM, we should be using at least a
6GB dalvik-heap config, as being done in pixel5 and older devices.

Test: build and boot
Bug: 189738006
Change-Id: I5a232d2901dec819b225812d023d2e5a43d3e0a6
2021-06-21 23:05:40 +00:00
Ioannis Ilkos
0c7b369014 Revert "Activate KeyMint" am: 8f0cd15159 am: e5bd48420a am: e5789045f5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15043825

Change-Id: I718053bf30f421fca0e0cd7805d8ff8f8804c101
2021-06-21 20:41:43 +00:00
Ioannis Ilkos
49918b9971 Revert "Activate KeyMint" am: 8f0cd15159 am: 4ca3840ec7 am: fb219205d2
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15043825

Change-Id: I47835d301024978459c072f51b1d1ee94049d4ab
2021-06-21 20:40:10 +00:00
Ioannis Ilkos
d584584b82 Revert "Activate KeyMint" am: 8f0cd15159 am: e5bd48420a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15043825

Change-Id: Ib62cfa136bb4b35ff465d50c502ea716ab2b3a5a
2021-06-21 20:17:32 +00:00
Ioannis Ilkos
d00f50fda5 Revert "Activate KeyMint" am: 8f0cd15159 am: 4ca3840ec7
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15043825

Change-Id: Iab0405f3c05e1318c709bcbb4c3b1affd5c4dc59
2021-06-21 20:15:08 +00:00
Ioannis Ilkos
41cbd060e1 Revert "Activate KeyMint" am: 8f0cd15159
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15043825

Change-Id: I9dbe3f7a53b64f62ff87eb34b07ba22972235c72
2021-06-21 19:55:43 +00:00
Ioannis Ilkos
fb95660824 Revert "Activate KeyMint"
Revert submission 14947110-activate_keymint

Reason for revert: Likely b/191652216
Reverted Changes:
I6c5210356:Activate KeyMint
I784d39383:Activate KeyMint.

Bug: b/191652216
Change-Id: I5f6d69f7657180c09a6ec8e8afad09bbd63cdc32
2021-06-21 15:44:48 +00:00
Shawn Willden
8ffc4e3502 Activate KeyMint am: 1174c80fd3 am: 38901654ec am: 40427ecec4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14947110

Change-Id: I0ecd7ab6c6df6c429b91d8fa201d2a3a948c909c
2021-06-21 13:40:46 +00:00
Shawn Willden
2a2f166468 Activate KeyMint am: 1174c80fd3 am: 38901654ec
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14947110

Change-Id: I0cf063773040c1519b3c0758def239c15faa9ea1
2021-06-21 13:24:36 +00:00
Shawn Willden
766d335728 Activate KeyMint am: 1174c80fd3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14947110

Change-Id: I5fa7b35b0fd2868da07b7a33a953af3e731f03ab
2021-06-21 13:14:49 +00:00
Shawn Willden
e1b88a2894 Activate KeyMint
This CL also removes wait_for_strongbox, which is broken because it
looks only for keymaster implementations, not keymint.  But it's also
unnecessary due to reorganization of the way keystore and vold start
up.

Bug: 177729159
Test: boot & VtsAidlKeyMintTargetTest
Change-Id: I6c5210356396b2079e036e94bb909f3a1a31e6c6
2021-06-21 12:51:58 +00:00
vincenttew
4d9c7b8530 create audio folder to store calibration data am: 17a7f20619 am: e0e1750d83 am: 72fcdb1dbe
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440216

Change-Id: Ia6813e4e9c1dc3dfc98fd11b5edf4a85a8e01988
2021-06-21 12:51:28 +00:00
Alex Hong
86caa07260 Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S) am: 8f1deae1d6 am: 43dd23ddad am: 688f8185b9
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997391

Change-Id: I0892b88daf50183a5477c370ae806085267dd59b
2021-06-21 12:50:03 +00:00
Franklin He
da098885e4 Add ML_ACC powerhint to gs101 am: d071109769 am: afd75f34a0 am: 540a816b60
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997393

Change-Id: I6de77c9e2b007abddc568fd06ec1b56217ce91db
2021-06-21 12:44:11 +00:00
vincenttew
d67a50f089 create audio folder to store calibration data am: 17a7f20619 am: e0e1750d83
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440216

Change-Id: I6f9604d428ccac63058aedc209cce78eda35ae84
2021-06-21 12:25:25 +00:00
Alex Hong
00126bdfef Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S) am: 8f1deae1d6 am: 43dd23ddad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997391

Change-Id: I48ca5843e8c0c7f8e00fe68c43a4bb668ad370ce
2021-06-21 12:25:10 +00:00
Jimmy Shiu
14924bfa75 adpf: move the vendor.powerhal.adpf.rate to raviole am: 012abe59f4 am: 47a6cb77bb am: b8f1592a11
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017732

Change-Id: I0dea43a8a6afba9136b82d2c1281b18a070dd13b
2021-06-21 12:23:13 +00:00
vincenttew
3adb87d7ff create audio folder to store calibration data am: 17a7f20619
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14440216

Change-Id: I4898c0916340dd26a2065337492f063136d48916
2021-06-21 12:15:27 +00:00
Alex Hong
f8406ea3dc Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S) am: 8f1deae1d6
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997391

Change-Id: I7add0ee8eeda63380ae97417edd73fb65f910a6d
2021-06-21 12:14:53 +00:00
Franklin He
78e84102de Add ML_ACC powerhint to gs101 am: d071109769 am: afd75f34a0
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997393

Change-Id: Ia6e6dcfbbc9124df2508c2f2298def0a7159eb65
2021-06-21 12:10:54 +00:00
Jimmy Shiu
d1e7ec6616 adpf: move the vendor.powerhal.adpf.rate to raviole am: 012abe59f4 am: 47a6cb77bb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017732

Change-Id: Ic7d482b35f8b43854054c4639ec4e320ce5098c0
2021-06-21 12:10:39 +00:00
Franklin He
0e490fbcd8 Add ML_ACC powerhint to gs101 am: d071109769
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14997393

Change-Id: I404e1254c891d5ae72d278788b910dff7400f740
2021-06-21 12:06:34 +00:00
Jimmy Shiu
d1ef906204 adpf: move the vendor.powerhal.adpf.rate to raviole am: 012abe59f4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15017732

Change-Id: I10a0a072b47deaac59a7fc40b2d658449e44687c
2021-06-21 11:56:03 +00:00
vincenttew
4b566654f4 create audio folder to store calibration data
Test: build pass
Bug: 188503612
Signed-off-by: vincenttew <vincenttew@google.com>
Change-Id: I5b3bfbd854d62ea8eddea0017fd8654476ae8a20
2021-06-21 10:04:14 +00:00
Alex Hong
b7b25bb84a Upgrade PRODUCT_SHIPPING_API_LEVEL to 31 (Android S)
PRODUCT_SHIPPING_API_LEVEL: 31
Target FCM version: 5
Kernel FCM version: 6

TO-DO: Upgrade "Target FCM version" from 5 to 6
       "Target FCM version" must be 6 if PRODUCT_SHIPPING_API_LEVEL is 31.

Bug: 167997902
Bug: 186723740
Bug: 184801854
Bug: 186500818
Test: The device can boot to home.
      $ adb shell getprop ro.product.first_api_level
        [ro.product.first_api_level]: [31]
      $ adb shell ls /sys/kernel/debug
      $ adb root && adb shell getprop ro.product.debugfs_restrictions.enabled
Change-Id: I79a9d3835b9d3c508e647c1bbf53bd1c1465de05
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-21 08:01:31 +00:00