Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/packages/
DPackagesTest.java131 try (UserReference otherUser = TestApis.users().createUser().create()) { in installedForUser_doesNotContainPackageNotInstalledForUser() argument
132 assertThat(TestApis.packages().installedForUser(otherUser)) in installedForUser_doesNotContainPackageNotInstalledForUser()
295 try (UserReference otherUser = TestApis.users().createUser().createAndStart()) { in install_alreadyInstalledOnOtherUser_installs() argument
296 TestApis.packages().install(otherUser, TEST_APP_APK_FILE); in install_alreadyInstalledOnOtherUser_installs()
313 try (UserReference otherUser = TestApis.users().createUser().createAndStart()) { in install_byteArray_alreadyInstalledOnOtherUser_installs() argument
314 TestApis.packages().install(otherUser, TEST_APP_BYTES); in install_byteArray_alreadyInstalledOnOtherUser_installs()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAppDataIsolationTests.java396 private Map<String, String> makeOtherUserIdArgs(int otherUser) { in makeOtherUserIdArgs() argument
398 args.put("other_user_id", Integer.toString(otherUser)); in makeOtherUserIdArgs()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DDeviceState.java1870 for (UserReference otherUser : users) {
1871 if (otherUser.equals(user)) {
1875 if (otherUser.parent() != null) {
1879 switchToUser(otherUser);
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java849 final UserHandle otherUser = UserHandle.of(userId); in testCrossUserQuery_withPermission() local
850 final Context userContext = mContext.createContextAsUser(otherUser, 0); in testCrossUserQuery_withPermission()