Searched refs:otherUserId (Results 1 – 5 of 5) sorted by relevance
227 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_samePackage_withAcrossUsersPermission_bindsService() local228 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_samePackage_withAcrossUsersPermission_bindsService()243 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_differentPackage_withAcrossUsersPermission_throwsException() local244 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_differentPackage_withAcrossUsersPermission_throwsException()264 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException() local265 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException()290 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException() local291 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException()
332 final int otherUserId = Integer.parseInt(arguments.getString("other_user_id")); in testOtherUserDirsNotPresent() local334 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() local348 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()
297 int otherUserId = otherUser.id(); in testStartVisibleBgUser_onSecondaryDisplay_displayInUse() local298 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()
1362 int otherUserId = mOtherUserId; in testSecondaryUser() local1370 if (ShellIdentityUtils.invokeMethodWithShellPermissions(otherUserId, in testSecondaryUser()1376 Log.d(TAG, "User " + otherUserId + " has been removed"); in testSecondaryUser()1386 UserHandle.of(otherUserId)); in testSecondaryUser()
610 int otherUserId = userId + 1; in testAccess_directory() local611 assertAccess(new File("/storage/emulated/" + otherUserId), false, false, false); in testAccess_directory()