Home
last modified time | relevance | path

Searched refs:otherUserId (Results 1 – 4 of 4) sorted by relevance

/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/
DAppATests.java301 final int otherUserId = Integer.parseInt(arguments.getString("other_user_id")); in testOtherUserDirsNotPresent() local
303 final String ceDataRoot = "/data/user/" + otherUserId; in testOtherUserDirsNotPresent()
304 final String deDataRoot = "/data/user_de/" + otherUserId; in testOtherUserDirsNotPresent()
305 final String profileRoot = "/data/misc/profiles/cur/" + otherUserId; in testOtherUserDirsNotPresent()
315 final int otherUserId = Integer.parseInt(arguments.getString("other_user_id")); in testOtherUserDirsNotAccessible() local
317 final String ceDataRoot = "/data/user/" + otherUserId; in testOtherUserDirsNotAccessible()
318 final String deDataRoot = "/data/user_de/" + otherUserId; in testOtherUserDirsNotAccessible()
319 final String profileRoot = "/data/misc/profiles/cur/" + otherUserId; in testOtherUserDirsNotAccessible()
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/
DContextCrossProfileDeviceTest.java227 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossUsersPermission_throwsException() local
228 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossUsersPermission_throwsException()
248 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException() local
249 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException()
274 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException() local
275 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java1170 int otherUserId = mOtherUserId; in testSecondaryUser() local
1178 if (ShellIdentityUtils.invokeMethodWithShellPermissions(otherUserId, in testSecondaryUser()
1184 Log.d(TAG, "User " + otherUserId + " has been removed"); in testSecondaryUser()
1194 UserHandle.of(otherUserId)); in testSecondaryUser()
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java343 int otherUserId = userId + 1; in testAccess_directory() local
344 assertAccess(new File("/storage/emulated/" + otherUserId), false, false, false); in testAccess_directory()