Home
last modified time | relevance | path

Searched refs:ROOT_UID (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/os/src/android/os/cts/
DUserHandleTest.java90 assertEquals(UserHandle.getSharedAppGid(Process.ROOT_UID), Process.ROOT_UID); in testGetSharedAppGid()
DProcessTest.java369 assertFalse(Process.isApplicationUid(Process.ROOT_UID)); in testApplicationUids()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/util/
DValidationHelperTest.java70 assertTrue(ValidationHelper.isAppIdValid(Process.ROOT_UID)); in testAppIdValidation()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java148 import static android.os.Process.ROOT_UID;
1298 () -> checkPackage(QUERIES_NOTHING, TARGET_FILTERS, ROOT_UID)); in checkPackage_queriesNothing_validateFailed()
1305 () -> checkPackage(QUERIES_NOTHING, TEST_NONEXISTENT_PACKAGE_NAME_1, ROOT_UID)); in checkPackage_queriesNothing_targetIsNotExisting_validateFailed()
1311 assertThat(checkPackage(QUERIES_NOTHING_PERM, TARGET_FILTERS, ROOT_UID), is(true)); in checkPackage_queriesNothingHasPerm_validateSuccessful()
1320 ROOT_UID)); in checkPackage_queriesNothingHasPerm_targetIsNotExisting_validateFailed()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java149 private static final int ROOT_UID = 0; field in ContextTest
1411 int returnValue = mContext.checkPermission(NOT_GRANTED_PERMISSION, 1, ROOT_UID); in testCheckPermissionRootUser()
1419 int returnValue = mContext.checkPermission(null, 0, ROOT_UID); in testCheckPermissionInvalidRequest()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java62 import static android.os.Process.ROOT_UID;
416 final int uid = intent.getIntExtra(EXTRA_UID, ROOT_UID); in handleIntent()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt33749 field public static final int ROOT_UID = 0; // 0x0