Commit graph

43571 commits

Author SHA1 Message Date
Treehugger Robot
a7627cf627 Merge "Remove flatten_apex: property" am: 7f7e8d79a9 am: d947550b6f
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2628996

Change-Id: I4e4b6ffab443391acbd51c11bfbd71e4b41e57da
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 06:02:31 +00:00
Treehugger Robot
d947550b6f Merge "Remove flatten_apex: property" am: 7f7e8d79a9
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2628996

Change-Id: I89a052032341990256d608d6708b6d1ac8aceda9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 05:24:50 +00:00
Treehugger Robot
7f7e8d79a9 Merge "Remove flatten_apex: property" 2023-06-21 04:52:41 +00:00
Hongguang Chen
b931bda446 Allow mediatuner to get tuner.server.enable am: 8dd58bffd9 am: b34240136c am: a05a05151b am: d631465cf5
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2631349

Change-Id: Ib797a64ca0b1744170e3d7b463976a55d9f8b3e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 03:33:15 +00:00
Hongguang Chen
d631465cf5 Allow mediatuner to get tuner.server.enable am: 8dd58bffd9 am: b34240136c am: a05a05151b
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2631349

Change-Id: I184ceef10b76d64f14134fdc5466263bcfffbbf5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 02:47:45 +00:00
Hongguang Chen
a05a05151b Allow mediatuner to get tuner.server.enable am: 8dd58bffd9 am: b34240136c
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2631349

Change-Id: I5568ff452381c1d0fb236a80937f3aaba89fd1d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 01:58:22 +00:00
Hongguang Chen
b34240136c Allow mediatuner to get tuner.server.enable am: 8dd58bffd9
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2631349

Change-Id: I3549a333a811c73948e918c2c98946e66b48d834
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-21 01:19:15 +00:00
Pawan Wagh
9f118c8d62 Add MediaPlayerService fuzzer to bindings
Test: m
Bug: 232439428
Change-Id: I669c427279ce43fa614c68a02a468c3e64002537
2023-06-20 22:50:45 +00:00
Hongguang Chen
8dd58bffd9 Allow mediatuner to get tuner.server.enable
Bug: 287520719
Test: start mediatuner
Change-Id: I582aac593e2419b6cae37522e6493744fe58240a
2023-06-20 17:24:51 +00:00
Brian Lindahl
4151bc0423 Force HALs to explicitly enable legacy method for clearing buffer caches am: 612ab8588f am: 73c779e5fd am: 6e1d399ea5 am: eb690132f9
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627815

Change-Id: Ic56faf94f70267a4023b0a2ace47efae6c36c361
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 16:25:27 +00:00
Brian Lindahl
eb690132f9 Force HALs to explicitly enable legacy method for clearing buffer caches am: 612ab8588f am: 73c779e5fd am: 6e1d399ea5
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627815

Change-Id: I7143c988eadeb8ea02c6a77af4737c83ed0b1a21
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 15:41:17 +00:00
Brian Lindahl
6e1d399ea5 Force HALs to explicitly enable legacy method for clearing buffer caches am: 612ab8588f am: 73c779e5fd
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627815

Change-Id: I851f4c59485f839ec35d7d6032e37c04c5089e28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 14:55:03 +00:00
Brian Lindahl
73c779e5fd Force HALs to explicitly enable legacy method for clearing buffer caches am: 612ab8588f
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627815

Change-Id: I05655dff7c72d64498eb9c34e026542967f1431d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-20 14:17:12 +00:00
Jooyung Han
804e234ced Remove flatten_apex: property
We no longer have targets using flattened apexes. Flattened apexes will
be removed from the build system.

Bug: 278826656
Test: m
Change-Id: I657e01dbfd2525b07c29a234277062d5ac2fab9f
2023-06-20 15:41:05 +09:00
Brian Lindahl
4fa55dce1f Force HALs to explicitly enable legacy method for clearing buffer caches
Some HAL implementations can't support setLayerBuffer multiple times to
clear the per-layer buffer caches. Therefore, default this behavior to
disabled, and allow HALs to explcitily enable this behavior to obtain
the necessary memory savings.

Test: play videos with both true and false on both HIDL and AIDL
Bug: 285561686
Ignore-AOSP-First: Submitted in separate changeset to AOSP
Change-Id: If3a4f31ee0de179915e7b33c1fdb145d44658fd9
2023-06-15 20:41:43 +00:00
Brian Lindahl
612ab8588f Force HALs to explicitly enable legacy method for clearing buffer caches
Some HAL implementations can't support setLayerBuffer multiple times to
clear the per-layer buffer caches. Therefore, default this behavior to
disabled, and allow HALs to explcitily enable this behavior to obtain
the necessary memory savings.

Test: play videos with both true and false on both HIDL and AIDL
Bug: 285561686
Change-Id: I928cef25e35cfc5337db4ceb8581bf5926b4fbe3
2023-06-15 14:30:07 -06:00
Automerger Merge Worker
85e530cdf0 Merge "Merge "Reland "Change the stem name to microdroid_precompiled_s..."" am: d16d7d17e5 am: 4eb36f4615 am: c41885d19c am: 2db2ef7074" into udc-d1-dev-plus-aosp 2023-06-15 13:59:44 +00:00
Automerger Merge Worker
822f2157eb Merge "Merge "Reland "Change the stem name to microdroid_precompiled_s..."" am: d16d7d17e5 am: 4eb36f4615 am: c41885d19c am: 2db2ef7074" into udc-d1-dev-plus-aosp 2023-06-15 13:59:44 +00:00
Nikita Ioffe
f43d31e6e9 Merge "Reland "Change the stem name to microdroid_precompiled_s..."" am: d16d7d17e5 am: 4eb36f4615 am: c41885d19c am: 2db2ef7074
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627369

Change-Id: I4a38dbe50caef8e4d7077151c7d5450f7f7653c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 13:59:36 +00:00
Nikita Ioffe
70de48782d Merge "Reland "Change the stem name to microdroid_precompiled_s..."" am: d16d7d17e5 am: 4eb36f4615 am: c41885d19c am: 2db2ef7074
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627369

Change-Id: Ia08fea36d129a6ad7e702526324ee377c0f48dac
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 13:59:29 +00:00
Nikita Ioffe
932dfaa890 Merge "Reland "Change the stem name to microdroid_precompiled_s..."" am: d16d7d17e5 am: 4eb36f4615 am: c41885d19c am: 2db2ef7074
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627369

Change-Id: Id144f621b984082c1c984dc4bfd93c6c1c823a31
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 13:59:22 +00:00
Nikita Ioffe
2db2ef7074 Merge "Reland "Change the stem name to microdroid_precompiled_s..."" am: d16d7d17e5 am: 4eb36f4615 am: c41885d19c
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627369

Change-Id: I71474499b330e978abfd83392a1cfcc02425932c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 13:14:18 +00:00
Dimitry Ivanov
deb762260f Merge "Allow app_zygote to map memfd backed memeory as PROT_EXEC" am: c01d3fb36c am: 6c61a71e33 am: 67c9ae04ba am: 38986ba77c
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2623093

Change-Id: If860b3476259f9adc8074cbe78c5af9aa8a0e92d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 12:31:29 +00:00
Nikita Ioffe
c41885d19c Merge "Reland "Change the stem name to microdroid_precompiled_s..."" am: d16d7d17e5 am: 4eb36f4615
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627369

Change-Id: I2017d5985bfb81918bf4091cecfa4512328c2cd0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 12:25:42 +00:00
Nikita Ioffe
4eb36f4615 Merge "Reland "Change the stem name to microdroid_precompiled_s..."" am: d16d7d17e5
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2627369

Change-Id: I56600eae4e2ba33c56a5d4827db882388cdae97a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 11:45:31 +00:00
Dimitry Ivanov
38986ba77c Merge "Allow app_zygote to map memfd backed memeory as PROT_EXEC" am: c01d3fb36c am: 6c61a71e33 am: 67c9ae04ba
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2623093

Change-Id: Icf8b2ce1f59d6624f1c85aa7ad429d9ee82d72c3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 11:43:40 +00:00
Dimitry Ivanov
67c9ae04ba Merge "Allow app_zygote to map memfd backed memeory as PROT_EXEC" am: c01d3fb36c am: 6c61a71e33
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2623093

Change-Id: Idd9db364d8f6a7f172bda41defe06a2a06a752a7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 10:33:38 +00:00
Nikita Ioffe
d16d7d17e5 Merge "Reland "Change the stem name to microdroid_precompiled_s..."" 2023-06-15 10:27:39 +00:00
Dimitry Ivanov
6c61a71e33 Merge "Allow app_zygote to map memfd backed memeory as PROT_EXEC" am: c01d3fb36c
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2623093

Change-Id: I6e6457337d66ba4e7c5590799c565af05b99e363
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-15 09:51:00 +00:00
Dimitry Ivanov
c01d3fb36c Merge "Allow app_zygote to map memfd backed memeory as PROT_EXEC" 2023-06-15 08:44:16 +00:00
Pawan Wagh
d8e8ac7efb Merge "Revert "Change the stem name to microdroid_precompiled_sepolicy"" am: 899f6c0537 am: b23a691e10 am: 3d5b12e5e8 am: bd2b6d181a
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2626909

Change-Id: I445b7377d081a8f90f65ccccd474b0be8dfc76c1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 20:51:45 +00:00
Pawan Wagh
3fb258b287 Merge "Add update service fuzzer to bindings" am: b4f463824c am: 02c84cec70 am: cf602ed963 am: 9e7493abb8
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2619905

Change-Id: I624aac86c3348e2b2aad40b99a4667b3731ab438
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 20:50:59 +00:00
Nikita Ioffe
4e6839e677 Reland "Change the stem name to microdroid_precompiled_s..."
Bug: 285855150
Test: presubmit
Change-Id: I3343b7cf22165541f880fd1c88b27b0204c94c4b
2023-06-14 20:31:29 +00:00
Pawan Wagh
bd2b6d181a Merge "Revert "Change the stem name to microdroid_precompiled_sepolicy"" am: 899f6c0537 am: b23a691e10 am: 3d5b12e5e8
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2626909

Change-Id: I38d84ca00f8e30e42b4392ed53509040345e84a2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 20:05:48 +00:00
Pawan Wagh
9e7493abb8 Merge "Add update service fuzzer to bindings" am: b4f463824c am: 02c84cec70 am: cf602ed963
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2619905

Change-Id: I179defcdef57cb4abe5e02c71e3c1e134bcc0f5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 20:04:05 +00:00
Pawan Wagh
3d5b12e5e8 Merge "Revert "Change the stem name to microdroid_precompiled_sepolicy"" am: 899f6c0537 am: b23a691e10
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2626909

Change-Id: I0cb302773ae03ac91c4e134d1e8487dbd7192b42
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 18:58:47 +00:00
Pawan Wagh
cf602ed963 Merge "Add update service fuzzer to bindings" am: b4f463824c am: 02c84cec70
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2619905

Change-Id: I5a6dfb0448de6a73711916439e064bd29e4278dc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 18:57:50 +00:00
Pawan Wagh
b23a691e10 Merge "Revert "Change the stem name to microdroid_precompiled_sepolicy"" am: 899f6c0537
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2626909

Change-Id: I69ec0b39693293176b40fb8f9702b8d001c013d7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 18:57:21 +00:00
Pawan Wagh
899f6c0537 Merge "Revert "Change the stem name to microdroid_precompiled_sepolicy"" 2023-06-14 18:40:59 +00:00
Pawan Wagh
8f2923421e Revert "Change the stem name to microdroid_precompiled_sepolicy"
Revert submission 2625691

Reason for revert: b/287283650

Reverted changes: /q/submissionid:2625691

Change-Id: I775d07a388556796d25b4f5d99135d5878489ce8
2023-06-14 18:28:17 +00:00
Pawan Wagh
02c84cec70 Merge "Add update service fuzzer to bindings" am: b4f463824c
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2619905

Change-Id: I3221bc020b8400a6a1e9f0ccf556527e39e71146
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 18:10:07 +00:00
Pawan Wagh
b4f463824c Merge "Add update service fuzzer to bindings" 2023-06-14 17:33:23 +00:00
Nikita Ioffe
4f1084bb80 Merge "Change the stem name to microdroid_precompiled_sepolicy" am: 437f31c328 am: 789c5a3430 am: 2d78078ee0 am: 714fc2abf1
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2617776

Change-Id: I0a25a5693bcb780a48bff6ecc53a4580234dc504
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 17:23:39 +00:00
Nikita Ioffe
714fc2abf1 Merge "Change the stem name to microdroid_precompiled_sepolicy" am: 437f31c328 am: 789c5a3430 am: 2d78078ee0
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2617776

Change-Id: I5f21a403fecf288f36b3f6cbc1234a5834a3c87b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 16:37:50 +00:00
Nikita Ioffe
2d78078ee0 Merge "Change the stem name to microdroid_precompiled_sepolicy" am: 437f31c328 am: 789c5a3430
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2617776

Change-Id: I6d3d6a58e6fd0d8944765fd65037e78470055e08
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 15:50:51 +00:00
Nikita Ioffe
789c5a3430 Merge "Change the stem name to microdroid_precompiled_sepolicy" am: 437f31c328
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2617776

Change-Id: I323e7da1e2a963068e5efbb91fe4372925adaf0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 15:30:48 +00:00
Nikita Ioffe
437f31c328 Merge "Change the stem name to microdroid_precompiled_sepolicy" 2023-06-14 15:20:18 +00:00
dimitry
97f7775743 Allow app_zygote to map memfd backed memeory as PROT_EXEC
Binary translation maps these regions to install translated code,
see linked bug for more context.

Bug: http://b/189502716
Test: run cts -m CtsExternalServiceTestCases -t android.externalservice.cts.ExternalServiceTest#testBindExternalServiceWithZygote
      in binary translated enviroment.
Change-Id: I3bc978b9013e9fc5cf700d1efca769331ec395b0
2023-06-14 12:24:12 +02:00
Eric Biggers
8eaff3d30a Merge "Allow vold to rename system_data_file directories" am: 8b703551d8 am: 0038d8f822 am: 122d3f0d20 am: 9cb04c4dbc
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2619901

Change-Id: Ia6498161ba1781ee5fd99de9bea6d0ae7609ab92
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 00:54:24 +00:00
Eric Biggers
9cb04c4dbc Merge "Allow vold to rename system_data_file directories" am: 8b703551d8 am: 0038d8f822 am: 122d3f0d20
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2619901

Change-Id: I372c6c155928c9772f8d9aa8ba9e82affb12d6cb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-06-14 00:08:32 +00:00