Searched refs:otherUserId (Results 1 – 4 of 4) sorted by relevance
301 final int otherUserId = Integer.parseInt(arguments.getString("other_user_id")); in testOtherUserDirsNotPresent() local303 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() local317 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()
227 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossUsersPermission_throwsException() local228 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossUsersPermission_throwsException()248 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException() local249 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesPermission_throwsException()274 int otherUserId = getTestUser(); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException() local275 UserHandle otherUserHandle = UserHandle.of(otherUserId); in testBindServiceAsUser_differentProfileGroup_withInteractAcrossProfilesAppOp_throwsException()
1170 int otherUserId = mOtherUserId; in testSecondaryUser() local1178 if (ShellIdentityUtils.invokeMethodWithShellPermissions(otherUserId, in testSecondaryUser()1184 Log.d(TAG, "User " + otherUserId + " has been removed"); in testSecondaryUser()1194 UserHandle.of(otherUserId)); in testSecondaryUser()
343 int otherUserId = userId + 1; in testAccess_directory() local344 assertAccess(new File("/storage/emulated/" + otherUserId), false, false, false); in testAccess_directory()