Searched refs:otherUserId (Results 1 – 7 of 7) sorted by relevance
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
H A D | ShadowUserManager.java | 171 protected boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument 173 && mSameProfileGroupIds.get(userId) == otherUserId in isSameProfileGroup() 174 || mSameProfileGroupIds.containsKey(otherUserId) in isSameProfileGroup() 175 && mSameProfileGroupIds.get(otherUserId) == userId; in isSameProfileGroup()
|
/aosp12/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/ |
H A D | ProfileSwitcherTest.java | 166 int otherUserId = 1001; in onUserPressed_triggersSwitch() local 169 UserInfo user2 = generateUser(otherUserId, "User2", /* supportsSwitch= */ true, in onUserPressed_triggersSwitch() 178 verify(mCarUserManager).switchUser(otherUserId); in onUserPressed_triggersSwitch()
|
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsActor.java | 243 public boolean isSameProfileGroup(int userId, int otherUserId) { in isSameProfileGroup() argument 244 return getUserInfo(userId).profileGroupId == getUserInfo(otherUserId).profileGroupId; in isSameProfileGroup()
|
/aosp12/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 3692 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument 3694 return mService.isSameProfileGroup(userId, otherUserId); in isSameProfileGroup()
|
/aosp12/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 982 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument 983 if (userId == otherUserId) return true; in isSameProfileGroup() 985 return isSameProfileGroupNoChecks(userId, otherUserId); in isSameProfileGroup() 988 private boolean isSameProfileGroupNoChecks(@UserIdInt int userId, int otherUserId) { in isSameProfileGroupNoChecks() argument 994 UserInfo otherUserInfo = getUserInfoLU(otherUserId); in isSameProfileGroupNoChecks()
|
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
H A D | AppStandbyController.java | 648 final int otherUserId = otherProfiles.get(profileIndex).getIdentifier(); in reportNoninteractiveUsageCrossUserLocked() local 649 reportNoninteractiveUsageLocked(packageName, otherUserId, bucket, subReason, in reportNoninteractiveUsageCrossUserLocked()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationManagerServiceTest.java | 7000 int otherUserId = 11; in testGrantInlineReplyUriPermission_acrossUsers() local 7002 generateNotificationRecord(mTestNotificationChannel, otherUserId); in testGrantInlineReplyUriPermission_acrossUsers() 7017 int otherUserUid = (otherUserId * 100000) + 1; // sysui as a different user in testGrantInlineReplyUriPermission_acrossUsers() 7024 when(mPackageManager.getPackageUid(sysuiPackage, 0, otherUserId)) in testGrantInlineReplyUriPermission_acrossUsers() 7033 eq(otherUserId)); in testGrantInlineReplyUriPermission_acrossUsers()
|