Home
last modified time | relevance | path

Searched refs:otherUserId (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionsState.java790 final int otherUserId = other.mUserStates.keyAt(i); in PermissionData() local
792 mUserStates.put(otherUserId, new PermissionState(otherState)); in PermissionData()
/frameworks/base/core/java/android/os/
DUserManager.java3404 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument
3406 return mService.isSameProfileGroup(userId, otherUserId); in isSameProfileGroup()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java906 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument
907 if (userId == otherUserId) return true; in isSameProfileGroup()
909 return isSameProfileGroupNoChecks(userId, otherUserId); in isSameProfileGroup()
912 private boolean isSameProfileGroupNoChecks(@UserIdInt int userId, int otherUserId) { in isSameProfileGroupNoChecks() argument
918 UserInfo otherUserInfo = getUserInfoLU(otherUserId); in isSameProfileGroupNoChecks()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java582 final int otherUserId = otherProfiles.get(profileIndex).getIdentifier(); in reportNoninteractiveUsageCrossUserLocked() local
583 reportNoninteractiveUsageLocked(packageName, otherUserId, bucket, subReason, in reportNoninteractiveUsageCrossUserLocked()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationManagerServiceTest.java5939 int otherUserId = 11; in testGrantInlineReplyUriPermission_acrossUsers() local
5941 generateNotificationRecord(mTestNotificationChannel, otherUserId); in testGrantInlineReplyUriPermission_acrossUsers()
5955 int otherUserUid = (otherUserId * 100000) + 1; // sysui as a different user in testGrantInlineReplyUriPermission_acrossUsers()
5962 when(mPackageManager.getPackageUid(sysuiPackage, 0, otherUserId)) in testGrantInlineReplyUriPermission_acrossUsers()
5971 eq(otherUserId)); in testGrantInlineReplyUriPermission_acrossUsers()