Searched refs:otherUserId (Results 1 – 8 of 8) sorted by relevance
/packages/modules/AdServices/sdksandbox/tests/cts/hostside/provider/src/com/android/sdksandbox/cts/provider/dataisolationtest/ |
D | DataIsolationTestSdkApiImpl.java | 80 final String otherUserId = params.getString("sandbox_isolation_user_id"); in testSdkSandboxDataIsolation_CannotVerifyOtherUserAppExistence() local 82 String sandboxPackageDir1 = "/data/misc_ce/" + otherUserId + "/sdksandbox/" + APP_PKG; in testSdkSandboxDataIsolation_CannotVerifyOtherUserAppExistence() 83 String sandboxPackageDir2 = "/data/misc_ce/" + otherUserId + "/sdksandbox/" + APP_2_PKG; in testSdkSandboxDataIsolation_CannotVerifyOtherUserAppExistence()
|
/packages/modules/AdServices/sdksandbox/tests/hostsidetests/src/com/android/tests/sdksandbox/host/ |
D | SdkSandboxShellHostTest.java | 129 int otherUserId = getDevice().createUser("TestUser_" + System.currentTimeMillis()); in testStartSdkSandboxFailsForIncorrectUser() local 132 otherUserId, DEBUGGABLE_APP_PACKAGE)); in testStartSdkSandboxFailsForIncorrectUser() 178 int otherUserId = getDevice().createUser("TestUser_" + System.currentTimeMillis()); in testStopSdkSandboxFailsForIncorrectUser() local 180 "cmd sdk_sandbox stop --user %s %s", otherUserId, DEBUGGABLE_APP_PACKAGE)); in testStopSdkSandboxFailsForIncorrectUser()
|
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | ShadowUserManager.java | 261 protected boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument 263 && mSameProfileGroupIds.get(userId) == otherUserId in isSameProfileGroup() 264 || mSameProfileGroupIds.containsKey(otherUserId) in isSameProfileGroup() 265 && mSameProfileGroupIds.get(otherUserId) == userId; in isSameProfileGroup()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | UserManagerCompat.java | 68 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument 69 return mUserManager.isSameProfileGroup(userId, otherUserId); in isSameProfileGroup()
|
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/util/ |
D | UriFiltersTest.kt | 54 val otherUserId = UserHandle.myUserId() + 10 in uri_ownedByCurrentUser_otherUserId() constant
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/ |
D | ProfileSwitcherTest.java | 326 int otherUserId = 1001; in onUserPressed_triggersSwitch() local 328 UserInfo user2 = generateUser(otherUserId, "User2"); in onUserPressed_triggersSwitch() 342 .isEqualTo(otherUserId); in onUserPressed_triggersSwitch()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | PickerUriResolverTest.java | 474 final int otherUserId = 50; in testPermissionGrantedOnOtherUserUri() local 475 final Context otherUserContext = createOtherUserContext(otherUserId); in testPermissionGrantedOnOtherUserUri() 478 mediaStoreUserInAnotherValidUser), otherUserId, ACTION_PICK_IMAGES); in testPermissionGrantedOnOtherUserUri()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 251 public boolean isSameProfileGroup(int userId, int otherUserId) { in isSameProfileGroup() argument 252 return getUserInfo(userId).profileGroupId == getUserInfo(otherUserId).profileGroupId; in isSameProfileGroup()
|