Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserVisibilityMediatorMUPANDTest.java53 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()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DA11yShortcutAutoAddableTest.kt147 val otherUserId = USER_ID + 1 in settingSetWithTargetForUsers_onlySignalInThatUser() constant
149 val signalOtherUser by collectLastValue(underTest.autoAddSignal(otherUserId)) in settingSetWithTargetForUsers_onlySignalInThatUser()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DTimeZoneDetectorStrategyImplTest.java278 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()
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DAppsFilterImplTest.java378 for (int otherUserId : USER_ARRAY) { in testOnUserUpdated_FilterMatches()
381 otherUserId)); in testOnUserUpdated_FilterMatches()
390 for (int otherUserId : USER_ARRAY_WITH_ADDED) { in testOnUserUpdated_FilterMatches()
393 otherUserId)); in testOnUserUpdated_FilterMatches()
402 for (int otherUserId : USER_ARRAY) { in testOnUserUpdated_FilterMatches()
405 otherUserId)); in testOnUserUpdated_FilterMatches()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DSnoozeHelperTest.java548 final int otherUserId = 2;
555 NotificationRecord r4 = getNotificationRecord("pkg", 4, "four", UserHandle.of(otherUserId));
DNotificationManagerServiceTest.java10465 int otherUserId = 11;
10467 generateNotificationRecord(mTestNotificationChannel, otherUserId);
10482 int otherUserUid = (otherUserId * 100000) + 1; // sysui as a different user
10489 when(mPackageManager.getPackageUid(sysuiPackage, 0, otherUserId))
10498 eq(otherUserId));
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java830 final int otherUserId = otherProfiles.get(profileIndex).getIdentifier(); in reportNoninteractiveUsageCrossUserLocked() local
831 reportNoninteractiveUsageLocked(packageName, otherUserId, bucket, subReason, in reportNoninteractiveUsageCrossUserLocked()
/frameworks/base/core/java/android/os/
DUserManager.java5336 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument
5338 return mService.isSameProfileGroup(userId, otherUserId); in isSameProfileGroup()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java1587 public boolean isSameProfileGroup(@UserIdInt int userId, int otherUserId) { in isSameProfileGroup() argument
1588 if (userId == otherUserId) return true; in isSameProfileGroup()
1590 return isSameProfileGroupNoChecks(userId, otherUserId); in isSameProfileGroup()
1597 private boolean isSameProfileGroupNoChecks(@UserIdInt int userId, int otherUserId) { in isSameProfileGroupNoChecks() argument
1603 UserInfo otherUserInfo = getUserInfoLU(otherUserId); in isSameProfileGroupNoChecks()