Aaron Ding
aa420345a9
do not mount the debugfs on userdebug builds
...
Bug: 186500818
Change-Id: Ic22af74fa850b1072c3dc781a3b49ae95a9156ba
Signed-off-by: Aaron Ding <aaronding@google.com>
2021-06-04 04:00:00 +00:00
Maciej Żenczykowski
729e8901ab
allow hal_usb_impl configfs:dir { create rmdir };
...
This is needed to allow USB HAL to create multi-config gadget
(ie. rndis + ncm).
Bug: 172793258
Test: built and booted on oriole
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Ifb98b23138122ad4e0aeea8dd9c93d7b3e16d3aa
2021-06-04 02:53:11 +00:00
Philip Cuadra
53bee0f7e3
Target arm v8.2a and A55 for GS101 am: 261aa24bad am: 26d57fd133 am: 18807292bc
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824875
Change-Id: Iba78dea4daf98bcd758c7f1039dafb760fe9a013
2021-06-03 23:15:04 +00:00
Philip Cuadra
19cc85c0de
Target arm v8.2a and A55 for GS101 am: 261aa24bad am: 26d57fd133
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824875
Change-Id: Ibb673a5c73ae6b65d0fca2b0498ae1c796048d02
2021-06-03 22:52:51 +00:00
Philip Cuadra
fb1e9bac6e
Target arm v8.2a and A55 for GS101 am: 261aa24bad
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14824875
Change-Id: I044f469c3a9c48b3dc3dba4c97f342e42369b537
2021-06-03 22:32:17 +00:00
Philip Cuadra
0111d397d2
Target arm v8.2a and A55 for GS101
...
This will let bionic use 8.2a atomics which helps scudo locking.
Bug 189248298
Test: Presubmit
Change-Id: Ifa7a6d8386c8adcadb81cb762758b06a8164f700
2021-06-03 22:13:43 +00:00
jznpark
3d127f9224
[RCS] Add sepolicy for RCS as non-system app
...
As shannon-rcs has been changed from system app
to non-system app, sepolicy has to be updated.
Bug: 186135775
Bug: 189707387
Test: sanity test
Signed-off-by: jznpark <jzn.park@samsung.com>
Change-Id: I32cce90611c619494136a6b1d01b3fb48330d169
2021-06-03 13:30:26 -07:00
Chiawei Wang
f5ca97f1e7
Merge "pixelstats: fix permission errors" into sc-dev am: 9cfc661bee
am: a1a00508b1
am: bc80f56382
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14781915
Change-Id: I98fde1cd10a64f84cc4b3e443f921a8b5cdaa85f
2021-06-03 09:56:00 +00:00
Chiawei Wang
a8d15f6691
Merge "pixelstats: fix permission errors" into sc-dev am: 9cfc661bee
am: 2d240b30a8
am: ccb61d83df
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14781915
Change-Id: Icc7d240fae4677853861260e865a68f7444898d9
2021-06-03 09:55:29 +00:00
Rick Yiu
a4dbe2ef40
gs101-sepolicy: Fix avc denials for sysfs_vendor_sched
...
Bug: 190011861
Bug: 190011862
Bug: 190011863
Bug: 190012301
Bug: 190012320
Test: boot to home
Change-Id: Icddb42fb194547211e33cf1d871e839a954b0919
2021-06-03 17:55:17 +08:00
Chiawei Wang
bc80f56382
Merge "pixelstats: fix permission errors" into sc-dev am: 9cfc661bee
am: a1a00508b1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14781915
Change-Id: I3c76cb431b38fc09508198ba6bfc6aef43d36493
2021-06-03 09:41:59 +00:00
Chiawei Wang
ccb61d83df
Merge "pixelstats: fix permission errors" into sc-dev am: 9cfc661bee
am: 2d240b30a8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14781915
Change-Id: Ie91ad4bf9eefd33df53f9f2f26aa7b95c7cf7811
2021-06-03 09:30:21 +00:00
Chiawei Wang
2d240b30a8
Merge "pixelstats: fix permission errors" into sc-dev am: 9cfc661bee
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14781915
Change-Id: I74c9d026da00446746d0e2cbd4eb3570b99e0527
2021-06-03 09:06:10 +00:00
Chiawei Wang
a1a00508b1
Merge "pixelstats: fix permission errors" into sc-dev am: 9cfc661bee
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14781915
Change-Id: I89bbeeca2f88a9a82b5d7a1a66a70d16f79627ce
2021-06-03 09:03:14 +00:00
Chiawei Wang
9cfc661bee
Merge "pixelstats: fix permission errors" into sc-dev
2021-06-03 08:45:12 +00:00
Peter Liu
226bc94a59
camera power hint: add extreme and low power hint am: 54fee28be2 am: b42857f422 am: 225f6901c4
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14803938
Change-Id: Ia462f44607418a63a0eea3f731be6e01aad4b38a
2021-06-03 06:39:15 +00:00
Peter Liu
4e11c30676
camera power hint: add extreme and low power hint am: 54fee28be2 am: b42857f422
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14803938
Change-Id: I036f45307afa4cf38f217ae98590892e41ee0716
2021-06-03 06:20:24 +00:00
Peter Liu
f3796d863a
camera power hint: add extreme and low power hint am: 54fee28be2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14803938
Change-Id: I63a3f2e785ae84b8706149f833749ed4354ca91e
2021-06-03 06:05:47 +00:00
Peter Liu
638ed8c296
camera power hint: add extreme and low power hint
...
Add two more mode for power hint fine tuning.
streaming extreme targets 240fps mode and streaming low targets photo
mode.
Test:
this change is no op, so we will do the test on corresponding lyric
change (ag/14804030).
Bug: 189886881
Signed-off-by: Peter Liu <pingchienliu@google.com>
Change-Id: Icd31501347108ccb5b0ec278a92bee89f543c192
2021-06-03 05:41:14 +00:00
wenchangliu
ab33b08cb2
Move input surface to CCodec am: 4272b53d9b am: d7c599a84e am: caf884d6d8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788706
Change-Id: I2837b2fe6f34fd9f57a72005fdf47a77e7ee6a8d
2021-06-03 02:59:50 +00:00
Chiawei Wang
9d5830ac19
pixelstats: fix permission errors
...
1. sysfs_dma_heap erros are fixed by ag/13926718
2. debugfs_mgm error is fixed by ag/14683912
Bug: 188114896
Bug: 183338421
Bug: 188495492
Test: pts-tradefed run pts -m PtsSELinuxTest
http://sponge2/6cbd0af0-5414-4f2c-aea0-99b4981360a4
Signed-off-by: Chiawei Wang <chiaweiwang@google.com>
Change-Id: Icd2fa4e7f168d15fd4cec3000bc0e7a33eab4d3e
2021-06-03 02:52:33 +00:00
wenchangliu
a2a333b4c1
Move input surface to CCodec am: 4272b53d9b am: d7c599a84e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788706
Change-Id: Ic8c7feec67927b263e421f2a4284b4c6475cd497
2021-06-03 02:34:13 +00:00
wenchangliu
b0318db085
Move input surface to CCodec am: 4272b53d9b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14788706
Change-Id: I8a94f262f7e176686afeba551a0dcb17493e2c09
2021-06-03 02:13:11 +00:00
Rick Yiu
13a2d518cc
Merge "gs101-sepolicy: Refine policy for sysfs_vendor_sched" into sc-dev am: b530a26f1f
am: 3ad28926f7
am: 85aaaab7bb
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14774943
Change-Id: I392863914a6a87bcae0bcf5b0918372ad3d0ff10
2021-06-03 02:04:21 +00:00
Rick Yiu
92f4310aef
Merge "gs101-sepolicy: Refine policy for sysfs_vendor_sched" into sc-dev am: b530a26f1f
am: b6b7564259
am: ca8dc8bfe3
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14774943
Change-Id: Iac5edca6ef8448f81a82ef720cf23587576abb98
2021-06-03 02:04:10 +00:00
wenchangliu
a9a6612873
Move input surface to CCodec
...
Bug: 186447629
Test: atest CtsMediaTestCases -- \
--module-arg CtsMediaTestCases:size:small
Test: camera recording
Change-Id: I3aa79073f45d0d06a55abed08763d8c1ac45932a
2021-06-03 01:51:52 +00:00
Rick Yiu
85aaaab7bb
Merge "gs101-sepolicy: Refine policy for sysfs_vendor_sched" into sc-dev am: b530a26f1f
am: 3ad28926f7
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14774943
Change-Id: Ia9a01e54849d669e01f97bff67570a3fcb2ae6c6
2021-06-03 01:37:53 +00:00
Rick Yiu
ca8dc8bfe3
Merge "gs101-sepolicy: Refine policy for sysfs_vendor_sched" into sc-dev am: b530a26f1f
am: b6b7564259
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14774943
Change-Id: If3c7cef9f544fd8e038969952183e7f56b76a7a2
2021-06-03 01:36:08 +00:00
Rick Yiu
b6b7564259
Merge "gs101-sepolicy: Refine policy for sysfs_vendor_sched" into sc-dev am: b530a26f1f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14774943
Change-Id: Id352df8328a33017692f2a0df544b9db1556d1cf
2021-06-03 01:20:00 +00:00
Rick Yiu
3ad28926f7
Merge "gs101-sepolicy: Refine policy for sysfs_vendor_sched" into sc-dev am: b530a26f1f
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14774943
Change-Id: I47a0e9367819d6ddd3b384f93c7199dead2e809e
2021-06-03 01:16:38 +00:00
Rick Yiu
b530a26f1f
Merge "gs101-sepolicy: Refine policy for sysfs_vendor_sched" into sc-dev
2021-06-03 00:56:00 +00:00
George Lee
08c2f76628
bcl: disable.bcl property to disable clk div am: a2edbb8e2a am: 16daa670a8 am: 0d51ae7ca5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14805155
Change-Id: I92442a6216acc8ec183a65e75cc936f391ad3ed4
2021-06-02 22:41:25 +00:00
George Lee
10d3638e84
bcl: disable.bcl property to disable clk div am: a2edbb8e2a am: 16daa670a8
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14805155
Change-Id: Ic79c2e6e9b2bdcdff7a86510c161975eceb1ab75
2021-06-02 22:17:19 +00:00
George Lee
21b0ccde39
bcl: disable.bcl property to disable clk div am: a2edbb8e2a
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/14805155
Change-Id: I4f2c6e5ce944486fb4a0002e3e8c30f7dcf4af82
2021-06-02 21:56:33 +00:00
George Lee
f41184fff0
bcl: disable.bcl property to disable clk div
...
Bug: 188365095
Test: Local Test
/sys/devices/virtual/pmic/mitigation/instruction # setprop vendor.disable.bcl.control 0
/sys/devices/virtual/pmic/mitigation/instruction # cat enable_mitigation
1
/sys/devices/virtual/pmic/mitigation/instruction # setprop vendor.disable.bcl.control 0
/sys/devices/virtual/pmic/mitigation/instruction # setprop vendor.disable.bcl.control 1
/sys/devices/virtual/pmic/mitigation/instruction # cat enable_mitigation
0
Signed-off-by: George Lee <geolee@google.com>
Change-Id: I326d2d8f1b694d1e5d2a5d663c8fa58e55d37d85
2021-06-02 21:38:37 +00:00
Peter Csaszar
44a98c9c17
pixel-selinux: Add mlstrustedobject for SJTAG am: 7ea6a44719
am: c9da551db2
am: a6bde7a1d6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14794010
Change-Id: Idbe7ddb81cf5c61e6ff1af3bbb2cedd88108459f
2021-06-02 21:35:09 +00:00
Peter Csaszar
2063a7ea18
pixel-selinux: Add mlstrustedobject for SJTAG am: 7ea6a44719
am: 7a3703432e
am: 72500dfbe6
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14794010
Change-Id: I4d704e4a0b953b2fb78487252a1296ace9c208fb
2021-06-02 21:34:03 +00:00
Peter Csaszar
a6bde7a1d6
pixel-selinux: Add mlstrustedobject for SJTAG am: 7ea6a44719
am: c9da551db2
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14794010
Change-Id: Iac6d4896dcb274355ba690604399586e7923e49f
2021-06-02 21:17:34 +00:00
Peter Csaszar
72500dfbe6
pixel-selinux: Add mlstrustedobject for SJTAG am: 7ea6a44719
am: 7a3703432e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14794010
Change-Id: I4f26f81458ce2205236a945fc8e0a236746a7921
2021-06-02 21:15:33 +00:00
Peter Csaszar
7a3703432e
pixel-selinux: Add mlstrustedobject for SJTAG am: 7ea6a44719
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14794010
Change-Id: I943d236681c0c24d2c6f6a70eda2081c78abf9df
2021-06-02 20:59:29 +00:00
Peter Csaszar
c9da551db2
pixel-selinux: Add mlstrustedobject for SJTAG am: 7ea6a44719
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14794010
Change-Id: I2b1b51ecfec820558988666ab03082951dd21fec
2021-06-02 20:56:54 +00:00
Peter Csaszar
7ea6a44719
pixel-selinux: Add mlstrustedobject for SJTAG
...
This CL adds the "mlstrustedobject" to types for files involved in the
SJTAG authentication flow, in order to address MLS-based AVC denials.
Bug: 189466122
Test: No more AVC denials when activating SJTAG in BetterBug
Signed-off-by: Peter Csaszar <pcsaszar@google.com>
Change-Id: Ieb88653830ce95751eee5cf26c26fd6302067bce
2021-06-02 12:23:01 -07:00
Aaron Ding
8e334be407
pixel-selinux: add SJTAG policies am: 9f8d552411
am: 9a43bd9ead
am: a260db294e
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14795132
Change-Id: I647dfacb8ac1e72300dca6e61346d485524929f1
2021-06-02 07:10:34 +00:00
Aaron Ding
bbba17dde3
remove sysfs_type from vendor_page_pinner_debugfs am: 2dbe515943
am: 2f3336940b
am: 15e36312cd
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14782004
Change-Id: If213a0c164c7bfeacee2779cb9391ce207998960
2021-06-02 07:10:30 +00:00
Aaron Ding
c1748eb562
pixel-selinux: add SJTAG policies am: 9f8d552411
am: 86e17fa6a1
am: ae49d5d313
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14795132
Change-Id: Ia90da11b5ff23e67d81d453b9b091f60e92db65c
2021-06-02 07:10:25 +00:00
Aaron Ding
b31322c604
remove sysfs_type from vendor_page_pinner_debugfs am: 2dbe515943
am: 59a7ae7afe
am: 28493f84c5
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14782004
Change-Id: I19fd48abfa9f918f2628c234cbd7b98e9d8b915f
2021-06-02 07:10:15 +00:00
Aaron Ding
a260db294e
pixel-selinux: add SJTAG policies am: 9f8d552411
am: 9a43bd9ead
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14795132
Change-Id: If999a72b561a4e3f0ebf9ce2ec1f082cb98adaa4
2021-06-02 06:51:46 +00:00
Aaron Ding
15e36312cd
remove sysfs_type from vendor_page_pinner_debugfs am: 2dbe515943
am: 2f3336940b
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14782004
Change-Id: I21cad6d28945ae9cbb26e586d86ab1a02dbebb1e
2021-06-02 06:51:41 +00:00
Aaron Ding
ae49d5d313
pixel-selinux: add SJTAG policies am: 9f8d552411
am: 86e17fa6a1
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14795132
Change-Id: I0c1b46866c6813baac6e409924bc5928e3b85d86
2021-06-02 06:48:58 +00:00
Aaron Ding
28493f84c5
remove sysfs_type from vendor_page_pinner_debugfs am: 2dbe515943
am: 59a7ae7afe
...
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14782004
Change-Id: I46dbfe1f8d6830eed0d651a291d90f7a2279ae07
2021-06-02 06:48:54 +00:00