Home
last modified time | relevance | path

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

/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileApp/src/com/android/cts/context/
DContextCrossProfileDeviceTest.java227 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_samePackage_withAcrossUsersPermission_bindsService() local
228 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_samePackage_withAcrossUsersPermission_bindsService()
243 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_differentPackage_withAcrossUsersPermission_throwsException() local
244 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_differentPackage_withAcrossUsersPermission_throwsException()
264 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException() local
265 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException()
290 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException() local
291 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException()
/cts/hostsidetests/appsecurity/test-apps/AppDataIsolationTestApp/AppA/src/com/android/cts/appdataisolation/appa/
DAppATests.java332 final int otherUserId = Integer.parseInt(arguments.getString("other_user_id")); in testOtherUserDirsNotPresent() local
334 final String ceDataRoot = "/data/user/" + otherUserId; in testOtherUserDirsNotPresent()
335 final String deDataRoot = "/data/user_de/" + otherUserId; in testOtherUserDirsNotPresent()
336 final String profileRoot = "/data/misc/profiles/cur/" + otherUserId; in testOtherUserDirsNotPresent()
346 final int otherUserId = Integer.parseInt(arguments.getString("other_user_id")); in testOtherUserDirsNotAccessible() local
348 final String ceDataRoot = "/data/user/" + otherUserId; in testOtherUserDirsNotAccessible()
349 final String deDataRoot = "/data/user_de/" + otherUserId; in testOtherUserDirsNotAccessible()
350 final String profileRoot = "/data/misc/profiles/cur/" + otherUserId; in testOtherUserDirsNotAccessible()
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DUserVisibilityVisibleBackgroundUsersTestCase.java297 int otherUserId = otherUser.id(); in testStartVisibleBgUser_onSecondaryDisplay_displayInUse() local
298 Log.d(TAG, "otherUser: id=" + otherUserId); in testStartVisibleBgUser_onSecondaryDisplay_displayInUse()
300 boolean started = tryToStartVisibleBackgroundUser(otherUserId, in testStartVisibleBgUser_onSecondaryDisplay_displayInUse()
302 assertWithMessage("started user %s on display %s", otherUserId, displayId) in testStartVisibleBgUser_onSecondaryDisplay_displayInUse()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java1362 int otherUserId = mOtherUserId; in testSecondaryUser() local
1370 if (ShellIdentityUtils.invokeMethodWithShellPermissions(otherUserId, in testSecondaryUser()
1376 Log.d(TAG, "User " + otherUserId + " has been removed"); in testSecondaryUser()
1386 UserHandle.of(otherUserId)); in testSecondaryUser()
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java610 int otherUserId = userId + 1; in testAccess_directory() local
611 assertAccess(new File("/storage/emulated/" + otherUserId), false, false, false); in testAccess_directory()