Searched refs:otherUserId (Results 1 – 7 of 7) sorted by relevance
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/ |
H A D | UserVisibilityMediatorMUPANDTest.java | 53 int otherUserId = OTHER_USER_ID; in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId() local 78 int result2 = mMediator.assignUserToDisplayOnStart(otherUserId, otherUserId, BG_VISIBLE, in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId() 82 otherUserId, visibleBgUserId); in testStartVisibleBgUser_onDefaultDisplay_initialCurrentUserId() 93 int otherUserId = YET_ANOTHER_USER_ID; in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId() local 122 int result2 = mMediator.assignUserToDisplayOnStart(otherUserId, otherUserId, BG_VISIBLE, in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId() 126 otherUserId, visibleBgUserId); in testStartVisibleBgUser_onDefaultDisplay_nonInitialCurrentUserId()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/ |
H A D | TimeZoneDetectorStrategyImplTest.java | 278 int otherUserId = currentUserConfig.getUserId() + 1; in testChangeListenerBehavior_otherUser() local 280 .setUserId(otherUserId) in testChangeListenerBehavior_otherUser() 288 otherUserId, requestedChanges, bypassUserPolicyChecks); in testChangeListenerBehavior_otherUser() 301 int otherUserId = currentUserConfig.getUserId() + 1; in testReadAndWriteConfiguration_currentUser() local 303 .setUserId(otherUserId) in testReadAndWriteConfiguration_currentUser() 360 int otherUserId = currentUserConfig.getUserId() + 1; in testReadAndWriteConfiguration_otherUser() local 362 .setUserId(otherUserId) in testReadAndWriteConfiguration_otherUser() 375 otherUserId, bypassUserPolicyChecks); in testReadAndWriteConfiguration_otherUser() 376 verify(mFakeServiceConfigAccessorSpy, times(1)).getConfigurationInternal(otherUserId); in testReadAndWriteConfiguration_otherUser()
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
H A D | AppsFilterImplTest.java | 379 for (int otherUserId : USER_ARRAY) { in testOnUserUpdated_FilterMatches() 382 otherUserId)); in testOnUserUpdated_FilterMatches() 391 for (int otherUserId : USER_ARRAY_WITH_ADDED) { in testOnUserUpdated_FilterMatches() 394 otherUserId)); in testOnUserUpdated_FilterMatches() 403 for (int otherUserId : USER_ARRAY) { in testOnUserUpdated_FilterMatches() 406 otherUserId)); in testOnUserUpdated_FilterMatches()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 4916 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument 4918 return mService.isSameProfileGroup(userId, otherUserId); in isSameProfileGroup()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserManagerService.java | 1207 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument 1208 if (userId == otherUserId) return true; in isSameProfileGroup() 1210 return isSameProfileGroupNoChecks(userId, otherUserId); in isSameProfileGroup() 1213 private boolean isSameProfileGroupNoChecks(@UserIdInt int userId, int otherUserId) { in isSameProfileGroupNoChecks() argument 1219 UserInfo otherUserInfo = getUserInfoLU(otherUserId); in isSameProfileGroupNoChecks()
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/ |
H A D | AppStandbyController.java | 824 final int otherUserId = otherProfiles.get(profileIndex).getIdentifier(); in reportNoninteractiveUsageCrossUserLocked() local 825 reportNoninteractiveUsageLocked(packageName, otherUserId, bucket, subReason, in reportNoninteractiveUsageCrossUserLocked()
|
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | NotificationManagerServiceTest.java | 9259 int otherUserId = 11; 9261 generateNotificationRecord(mTestNotificationChannel, otherUserId); 9276 int otherUserUid = (otherUserId * 100000) + 1; // sysui as a different user 9283 when(mPackageManager.getPackageUid(sysuiPackage, 0, otherUserId)) 9292 eq(otherUserId));
|