Commit graph

11403 commits

Author SHA1 Message Date
Alex Hong
8080cd87f3 Remove the RenderScript HAL from the vendor manifest
"android.hardware.renderscript@1.0-impl.so" is already removed.
Remove the declaration of corresponding passthrough HAL from the
vendor manifest as well.

Test: run vts -m vts_treble_vintf_vendor_test
Bug: 184714406
Change-Id: Id7d23003c769a5872bb316090f8b94b27bc83298
2021-05-25 06:50:16 +00:00
Wei Wang
d0de5cda33 Change TA default boost to 1 am: e3a8b86776
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14706520

Change-Id: I65c13349ddbca46018da9bbeedd157c19ac56b42
2021-05-25 06:43:46 +00:00
Wei Wang
382667f2f2 Change TA default boost to 1
We use uclamp as importance metrics for placement, before adding a
dedicated sysfs node, let us use TA default as "1"

Bug: 170487162
Test: boot
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: I57b458fcab1c35b484b1859cea631cca7d495ac8
2021-05-25 06:06:38 +00:00
Krzysztof Kosiński
fd777a1a3a Update GCH configuration for gs101. am: f7395d2bf5 am: e976e00eb8 am: 3e3d51f9bd
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687087

Change-Id: I410a21423628d30063844b22646005bf1204fea4
2021-05-25 05:41:04 +00:00
Krzysztof Kosiński
5730dbeb7a Update GCH configuration for gs101. am: f7395d2bf5 am: e976e00eb8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687087

Change-Id: I2672bd6c74f8db26f6e0d2639df35907c663264e
2021-05-25 05:27:02 +00:00
Krzysztof Kosiński
5239e8db46 Update GCH configuration for gs101. am: f7395d2bf5
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14687087

Change-Id: Ifa5170aaf69ef797e378bb0ba8ee191c939c0771
2021-05-25 05:12:37 +00:00
Krzysztof Kosiński
06861b99cc Update GCH configuration for gs101.
Bug: 188327280
Test: camera preview on oriole
Change-Id: Id7b9b1c6129a45edd0c65ed37531c4f34555a6e0
2021-05-25 04:46:41 +00:00
Roger Fang
2ca5dff832 Merge "sepolicy: gs101: add permission for the hardware info dsp part number" into sc-dev am: 56cbfd5a0a am: 21d7509c17 am: 594eecad3e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14696016

Change-Id: I1e7842f1594234b674714d5be3e637e9f5ff3fa5
2021-05-25 02:18:51 +00:00
Roger Fang
c35b8c491e Merge "sepolicy: gs101: add permission for the hardware info dsp part number" into sc-dev am: 56cbfd5a0a am: 292faf8ed3 am: 8522122b5f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14696016

Change-Id: I11e4eb0a8c44b5098f0835c078a4f111230bcd37
2021-05-25 02:18:00 +00:00
Roger Fang
594eecad3e Merge "sepolicy: gs101: add permission for the hardware info dsp part number" into sc-dev am: 56cbfd5a0a am: 21d7509c17
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14696016

Change-Id: I1d70340b2152d73bec3d51651bb10f68e91952ae
2021-05-25 01:49:44 +00:00
Roger Fang
8522122b5f Merge "sepolicy: gs101: add permission for the hardware info dsp part number" into sc-dev am: 56cbfd5a0a am: 292faf8ed3
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14696016

Change-Id: I9278fff7d05c8e65bd8a9e4d39cc4a1a380ca10f
2021-05-25 01:47:48 +00:00
Roger Fang
292faf8ed3 Merge "sepolicy: gs101: add permission for the hardware info dsp part number" into sc-dev am: 56cbfd5a0a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14696016

Change-Id: I929b5c4b1f37c2e0d8bee655fc0141a5a0bbbd4e
2021-05-25 01:24:04 +00:00
Roger Fang
21d7509c17 Merge "sepolicy: gs101: add permission for the hardware info dsp part number" into sc-dev am: 56cbfd5a0a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14696016

Change-Id: If394b6c1a719b26a295b97980b94fb217442ef76
2021-05-25 01:22:03 +00:00
Ines Ayara
7593a655ed Merge "Transition to using libedgetpu_util.so instead of libedgetpu_darwinn2.so. bug: b/182303547" into sc-dev am: dfb3783187 am: 304a92ea86 am: b311856023
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14652412

Change-Id: Ie6de0c54669ccbad8f3d267596e370c62feaea56
2021-05-25 01:05:02 +00:00
Ines Ayara
cd4e8e3737 Merge "Transition to using libedgetpu_util.so instead of libedgetpu_darwinn2.so. bug: b/182303547" into sc-dev am: dfb3783187 am: 1a7f873b06 am: 23ccf9362e
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14652412

Change-Id: I3c2abc270c2cada2124f86fa51687deb49225988
2021-05-25 01:04:03 +00:00
Roger Fang
56cbfd5a0a Merge "sepolicy: gs101: add permission for the hardware info dsp part number" into sc-dev 2021-05-25 01:02:39 +00:00
Ines Ayara
b311856023 Merge "Transition to using libedgetpu_util.so instead of libedgetpu_darwinn2.so. bug: b/182303547" into sc-dev am: dfb3783187 am: 304a92ea86
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14652412

Change-Id: I1c76cbd2013a9a3b4c8ca34184796a5a2719fdba
2021-05-25 00:41:40 +00:00
Ines Ayara
23ccf9362e Merge "Transition to using libedgetpu_util.so instead of libedgetpu_darwinn2.so. bug: b/182303547" into sc-dev am: dfb3783187 am: 1a7f873b06
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14652412

Change-Id: I330983da9a9c6d35f341c15cb5c367e3be7a6ce7
2021-05-25 00:39:48 +00:00
Ines Ayara
1a7f873b06 Merge "Transition to using libedgetpu_util.so instead of libedgetpu_darwinn2.so. bug: b/182303547" into sc-dev am: dfb3783187
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14652412

Change-Id: I46ee22509e42f4baf7df226b2e2eedcf3ecfaa6c
2021-05-25 00:18:54 +00:00
Ines Ayara
304a92ea86 Merge "Transition to using libedgetpu_util.so instead of libedgetpu_darwinn2.so. bug: b/182303547" into sc-dev am: dfb3783187
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14652412

Change-Id: Ie52a7d786c4344a7ba0e8bf6bbba87ae7f9d0999
2021-05-25 00:16:44 +00:00
Vinay Kalia
68849437bd Allow mediacodec to access the vframe-secure DMA-BUF heap
This patch fixes the following denial:

HwBinder:751_2: type=1400 audit(0.0:9): avc: denied { open } for
path="/dev/dma_heap/vframe-secure" dev="tmpfs" ino=734
scontext=u:r:mediacodec:s0 tcontext=u:object_r:vframe_heap_device:s0
tclass=chr_file permissive=0

Bug: 188121584
Test: AV1 secure video playback

Signed-off-by: Vinay Kalia <vinaykalia@google.com>
Change-Id: I455b39914dd4316a427f5f756b4fb94a2c4db204
2021-05-24 23:57:28 +00:00
Ines Ayara
dfb3783187 Merge "Transition to using libedgetpu_util.so instead of libedgetpu_darwinn2.so. bug: b/182303547" into sc-dev 2021-05-24 23:55:32 +00:00
Ray Chi
bca90d67d1 Revert "gs101: usb: add state of usb extcon to monitorffs" am: cc02825538 am: a37064101d am: 335e4a499d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14518349

Change-Id: I09e88ce800e1fe217ad34bc310c5c0f79ebb9ce0
2021-05-24 16:36:26 +00:00
Tim Murray
90b6533523 gs101: use 64-bit dex2oat am: 1435f7e99c am: 43481be53a am: ecb4ab8025
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14680446

Change-Id: Ib525ddcb807fc91bfe0ffcd9caa4f169d2b68136
2021-05-24 16:35:57 +00:00
Ray Chi
4fe310eb80 Revert "gs101: usb: add state of usb extcon to monitorffs" am: cc02825538 am: a37064101d
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14518349

Change-Id: I82c6926eaa943e508fca7eaa27872b043b1b025c
2021-05-24 16:35:28 +00:00
Tim Murray
d15f2c5aa7 gs101: use 64-bit dex2oat am: 1435f7e99c am: 8c746a8541 am: b05b99b2ad
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14680446

Change-Id: I10fd327fb55264cfca4a3b4273da265a2cbe769e
2021-05-24 16:35:28 +00:00
Ray Chi
73431f3d60 Revert "gs101: usb: add state of usb extcon to monitorffs" am: cc02825538
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14518349

Change-Id: Ie2e406d3bb6bdd9ee3ec7721b7122412eb71be9c
2021-05-24 16:28:12 +00:00
Tim Murray
f9bdb856d5 gs101: use 64-bit dex2oat am: 1435f7e99c am: 43481be53a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14680446

Change-Id: Ide8b71dba3102bcc9c12cd3a318dbc14c28e182e
2021-05-24 16:26:02 +00:00
Tim Murray
2238b25e23 gs101: use 64-bit dex2oat am: 1435f7e99c am: 8c746a8541
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14680446

Change-Id: Iccc5b40255bc41265e817ee2de7f737f0bab6444
2021-05-24 16:12:53 +00:00
Ray Chi
387995b245 Revert "gs101: usb: add state of usb extcon to monitorffs"
This reverts commit 72ef08cafa.

Reason for revert: using alternate method for original behavior change
Bug: 187261232
Test: build pass

Change-Id: I5643a4109f6e4a64d167ed9ee1ce0bc3492cea42
2021-05-24 16:02:50 +00:00
Tim Murray
a8a44a559a gs101: use 64-bit dex2oat am: 1435f7e99c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14680446

Change-Id: I979e5100c1667c0fa250b209aee5f1722e1e0214
2021-05-24 15:56:11 +00:00
Tim Murray
be4b7b6366 gs101: use 64-bit dex2oat
64-bit dex2oat uses slightly more memory in exchange for significantly improved compile time.

Test: boots, works
bug: 188906345
Change-Id: Ie91a2401504596cabacbb04b5d6b7039865c193d
2021-05-24 15:41:36 +00:00
Roger Fang
a97bfcc1e1 sepolicy: gs101: add permission for the hardware info dsp part number
Bug: 188757638
Test: Manually test passed

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: Id0c3226411b058b613b92e67174f14e64c6c3a2b
2021-05-24 08:16:34 +00:00
Chase Wu
0924a30a37 Merge "genfs_contexts: fix path for cs40l25a i2c devices" into sc-v2-dev am: 80ab102382 am: 373fed0402
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14675588

Change-Id: I4c5e3bd7131eeca02c6acf1dcb0220dca87c8fc5
2021-05-24 01:35:39 +00:00
Chase Wu
373fed0402 Merge "genfs_contexts: fix path for cs40l25a i2c devices" into sc-v2-dev am: 80ab102382
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14675588

Change-Id: Id5204cd25e6fa512e485fc771cd1982b0e8f55dd
2021-05-24 01:20:31 +00:00
Chase Wu
80ab102382 Merge "genfs_contexts: fix path for cs40l25a i2c devices" into sc-v2-dev 2021-05-24 01:03:51 +00:00
Rick Yiu
5aeb1b9e45 gs101-sepolicy: Allow dumping vendor groups values
Fix:
avc: denied { read } for name="vendor_sched" dev="sysfs" ino=45566 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:sysfs:s0 tclass=dir permissive=0

avc: denied { read } for name="dump_task_group_ta" dev="proc" ino=4026532542 scontext=u:r:hal_dumpstate_default:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=0

Bug: 172112042
Test: dump data as expected
Change-Id: I9945953dba4afddd34c1535c12193b1f00fdcef9
2021-05-22 21:30:47 +08:00
Peter Csaszar
29ca11c3cc init.gs101.rc: Change owner/group of SJTAG files am: adaa5d69fb am: 1bba2a174a am: 8b2fcec2e4
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14653698

Change-Id: I0ce08664b0ce38648f6811df0e4e42e95e1ed84b
2021-05-22 00:00:57 +00:00
Peter Csaszar
e59ce05dd5 init.gs101.rc: Change owner/group of SJTAG files am: adaa5d69fb am: 9c9bdd4215 am: d762f01241
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14653698

Change-Id: I98fef73f5cdf771c4644238bdb98bc76b513f35f
2021-05-22 00:00:51 +00:00
Peter Csaszar
bb1d1c5f1f init.gs101.rc: Change owner/group of SJTAG files am: adaa5d69fb am: 1bba2a174a
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14653698

Change-Id: I9d2a7627b5855a7459cc220f9a0570a6e55d5830
2021-05-21 23:53:46 +00:00
Peter Csaszar
8c22f52fe6 init.gs101.rc: Change owner/group of SJTAG files am: adaa5d69fb am: 9c9bdd4215
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14653698

Change-Id: Ic415889f02ea0fc202df8f3fb83de9e1107e4cf1
2021-05-21 23:42:05 +00:00
Peter Csaszar
37e1e7c0f7 init.gs101.rc: Change owner/group of SJTAG files am: adaa5d69fb
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14653698

Change-Id: I6036c38c98029e4e4e832f540af91dfa93f17159
2021-05-21 23:27:36 +00:00
Peter Csaszar
9cd8c6e58f init.gs101.rc: Change owner/group of SJTAG files
On userdebug & eng builds, change the owner/group of SJTAG sysfs files
that need to be written to 'system'. This became necessary after these
files were migrated out of DebugFS, as write access to the world is no
longer supported.

Bug: 188817349

Test: Ensure that the writable files in the following directories have
'system' as their owner & group:

  /sys/devices/platform/sjtag_ap/interface/
  /sys/devices/platform/sjtag_gsa/interface/

Signed-off-by: Peter Csaszar <pcsaszar@google.com>

Change-Id: I4420fccd92522a48f44b80bd0a19f4a20eb32442
2021-05-21 14:42:51 -07:00
Grace Chen
9aac443958 Merge "Add selinux permissions for NFC/eSIM firmware upgrade and recovery" into sc-dev am: 16a38b2b6c am: f8cf5a7354 am: 2930cbecc8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14514065

Change-Id: I3690feb255d227aebef57b9f33656590f5dcafc8
2021-05-21 19:54:23 +00:00
Grace Chen
b5b17de9f7 Merge "Add selinux permissions for NFC/eSIM firmware upgrade and recovery" into sc-dev am: 16a38b2b6c am: ebadda8749 am: cd5abb427f
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14514065

Change-Id: I6203e687fa579baa11bbe551cb1c0964f0d82791
2021-05-21 19:53:43 +00:00
Grace Chen
2930cbecc8 Merge "Add selinux permissions for NFC/eSIM firmware upgrade and recovery" into sc-dev am: 16a38b2b6c am: f8cf5a7354
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14514065

Change-Id: I60b4d83788f3a3050341d5fea90500d193b69405
2021-05-21 19:39:12 +00:00
Grace Chen
cd5abb427f Merge "Add selinux permissions for NFC/eSIM firmware upgrade and recovery" into sc-dev am: 16a38b2b6c am: ebadda8749
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14514065

Change-Id: I911c9d6ce67e9632b51dd1b6395cd59f59e1b29f
2021-05-21 19:37:36 +00:00
Grace Chen
ebadda8749 Merge "Add selinux permissions for NFC/eSIM firmware upgrade and recovery" into sc-dev am: 16a38b2b6c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14514065

Change-Id: I62e7a0b9ff71f63221d6eaaad17a9333183912ec
2021-05-21 19:15:18 +00:00
Grace Chen
f8cf5a7354 Merge "Add selinux permissions for NFC/eSIM firmware upgrade and recovery" into sc-dev am: 16a38b2b6c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14514065

Change-Id: I3ea91e07cb86b9ccbe5c27fdbd29eee2cb4512c6
2021-05-21 19:14:16 +00:00
Grace Chen
16a38b2b6c Merge "Add selinux permissions for NFC/eSIM firmware upgrade and recovery" into sc-dev 2021-05-21 19:10:52 +00:00