Home
last modified time | relevance | path

Searched refs:expectedUserId (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DTimeDetectorInternalImplTest.java97 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testGetCapabilitiesAndConfigForDpm() local
98 verify(mFakeServiceConfigAccessorSpy).getConfigurationInternal(expectedUserId); in testGetCapabilitiesAndConfigForDpm()
133 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testSetManualTimeZoneForDpm() local
136 expectedUserId, timeSuggestion, expectedBypassUserPolicyChecks); in testSetManualTimeZoneForDpm()
DTimeDetectorServiceTest.java139 int expectedUserId = mTestCallerIdentityInjector.getCallingUserId(); in testGetCapabilitiesAndConfig() local
140 verify(mFakeTimeDetectorStrategySpy).getCapabilitiesAndConfig(expectedUserId, false); in testGetCapabilitiesAndConfig()
290 int expectedUserId = mTestCallerIdentityInjector.getCallingUserId(); in testSuggestManualTime() local
293 expectedUserId, manualTimeSuggestion, expectedBypassUserPolicyChecks); in testSuggestManualTime()
529 int expectedUserId = mTestCallerIdentityInjector.getCallingUserId(); in testSetManualTime() local
532 expectedUserId, timeSuggestion, expectedBypassUserPolicyChecks); in testSetManualTime()
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DTimeZoneDetectorInternalImplTest.java107 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testGetCapabilitiesAndConfigForDpm() local
110 expectedUserId, expectedBypassUserPolicyChecks); in testGetCapabilitiesAndConfigForDpm()
148 int expectedUserId = mTestCurrentUserIdentityInjector.getCurrentUserId(); in testSetManualTimeZoneForDpm() local
151 expectedUserId, timeZoneSuggestion, expectedBypassUserPolicyChecks); in testSetManualTimeZoneForDpm()
DTimeZoneDetectorServiceTest.java140 int expectedUserId = mTestCallerIdentityInjector.getCallingUserId(); in testGetCapabilitiesAndConfig() local
143 .getCapabilitiesAndConfig(expectedUserId, expectedBypassUserPolicyChecks); in testGetCapabilitiesAndConfig()
306 int expectedUserId = mTestCallerIdentityInjector.getCallingUserId(); in testSuggestManualTimeZone() local
309 expectedUserId, timeZoneSuggestion, expectedBypassUserPolicyChecks); in testSuggestManualTimeZone()
435 int expectedUserId = mTestCallerIdentityInjector.getCallingUserId(); in testSetManualTimeZone() local
438 expectedUserId, timeZoneSuggestion, expectedBypassUserPolicyChecks); in testSetManualTimeZone()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java55 int expectedUserId = 11 + index; in getHistoricalNotification() local
71 .setUserId(expectedUserId) in getHistoricalNotification()
86 int expectedUserId = 11; in testHistoricalNotificationBuilder() local
99 .setUserId(expectedUserId) in testHistoricalNotificationBuilder()
111 assertThat(n.getUserId()).isEqualTo(expectedUserId); in testHistoricalNotificationBuilder()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryFilterTest.java48 int expectedUserId = 11 + index; in getHistoricalNotification() local
60 .setUserId(expectedUserId) in getHistoricalNotification()
DNotificationHistoryProtoHelperTest.java55 int expectedUserId = 11 + index; in getHistoricalNotification() local
71 .setUserId(expectedUserId) in getHistoricalNotification()
DNotificationHistoryDatabaseTest.java71 int expectedUserId = 11 + index; in getHistoricalNotification() local
83 .setUserId(expectedUserId) in getHistoricalNotification()
DNotificationHistoryManagerTest.java70 int expectedUserId = index; in getHistoricalNotification() local
82 .setUserId(expectedUserId) in getHistoricalNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
DGuestUserInteractorTest.kt201 val expectedUserId = NON_GUEST_USER_INFO.id in exit_returnsToLastNonGuest() constant
202 whenever(manager.getUserInfo(expectedUserId)).thenReturn(NON_GUEST_USER_INFO) in exit_returnsToLastNonGuest()
203 repository.lastSelectedNonGuestUserId = expectedUserId in exit_returnsToLastNonGuest()
217 verify(switchUser).invoke(expectedUserId) in exit_returnsToLastNonGuest()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java199 public TestContentObserver(CountDownLatch latch, Uri exptectedUri, int expectedUserId) { in TestContentObserver() argument
203 mExpectedUserId = expectedUserId; in TestContentObserver()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportProgressServiceTest.java106 int expectedUserId, String expectedEmail, String preferredDomain) { in checkFindSendToAccount() argument
108 assertEquals(UserHandle.of(expectedUserId), actual.first); in checkFindSendToAccount()
/frameworks/base/services/core/java/com/android/server/am/
DContentProviderHelper.java179 final int expectedUserId = userId; in getContentProviderImpl() local
322 expectedUserId); in getContentProviderImpl()
609 stable, false, startTime, mService.mProcessList, expectedUserId); in getContentProviderImpl()
1446 long startTime, ProcessList processList, @UserIdInt int expectedUserId) { in incProviderCountLocked() argument
1464 expectedUserId); in incProviderCountLocked()