android_packages_modules_Co.../staticlibs/testutils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Michael Groover a3882a238b Add WRITE_ALLOWLISTED_DEVICE_CONFIG perm when modifying DeviceConfig
Android 16 introduces restrictions on the DeviceConfig flags that
can be modified by the shell user by removing the WRITE_DEVICE_CONFIG
permission from this user and replacing it with the
WRITE_ALLOWLISTED_DEVICE_CONFIG permission; with this permission,
only those flags that have been allowlisted can be modified. This
commit adds the ALLOWLISTED permission to any test that explicitly
adopts the shell permission identity with the WRITE_DEVICE_CONFIG
permission; the WRITE_DEVICE_CONFIG permission is not removed to
ensure tests do not break when run on previous platform releases
without the ALLOWLISTED permission.

Bug: 364083026
Flag: TEST_ONLY
Test: Manually ran all modified tests
Change-Id: Iad68063550f99f3dc78ac2f0483dad98a8a93f2e
2024-11-18 23:28:24 -06:00
..
app/connectivitychecker Disable IWLAN in tests on 24Q2 2024-10-30 17:41:03 +09:00
devicetests Add WRITE_ALLOWLISTED_DEVICE_CONFIG perm when modifying DeviceConfig 2024-11-18 23:28:24 -06:00
host Merge "Disable IWLAN in tests on 24Q2" into main 2024-10-30 09:35:41 +00:00
hostdevice/com/android Fix flakes due to cell reconnecting on wifi toggle 2024-10-24 11:22:56 +09:00
Android.bp Merge "Remove mcts tags since the net-tests-utils-host-common is host_required by other CTS cases" into android15-tests-dev am: 54123391a1 2024-11-08 03:43:15 +00:00