Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
H A 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()
H A 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()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
H A 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()
H A 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()
/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationHistoryTest.java48 int expectedUserId = 11 + index; in getHistoricalNotification() local
64 .setUserId(expectedUserId) in getHistoricalNotification()
79 int expectedUserId = 11; in testHistoricalNotificationBuilder() local
92 .setUserId(expectedUserId) in testHistoricalNotificationBuilder()
104 assertThat(n.getUserId()).isEqualTo(expectedUserId); in testHistoricalNotificationBuilder()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/
H A DGuestUserInteractorTest.kt187 val expectedUserId = NON_GUEST_USER_INFO.id regex
188 whenever(manager.getUserInfo(expectedUserId)).thenReturn(NON_GUEST_USER_INFO)
189 repository.lastSelectedNonGuestUserId = expectedUserId
203 verify(switchUser).invoke(expectedUserId)
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationHistoryFilterTest.java48 int expectedUserId = 11 + index; in getHistoricalNotification() local
60 .setUserId(expectedUserId) in getHistoricalNotification()
H A DNotificationHistoryProtoHelperTest.java55 int expectedUserId = 11 + index; in getHistoricalNotification() local
71 .setUserId(expectedUserId) in getHistoricalNotification()
H A DNotificationHistoryDatabaseTest.java71 int expectedUserId = 11 + index; in getHistoricalNotification() local
83 .setUserId(expectedUserId) in getHistoricalNotification()
H A DNotificationHistoryManagerTest.java70 int expectedUserId = index; in getHistoricalNotification() local
82 .setUserId(expectedUserId) in getHistoricalNotification()
/aosp14/frameworks/base/core/tests/coretests/src/android/content/
H A DAbstractCrossUserContentResolverTest.java199 public TestContentObserver(CountDownLatch latch, Uri exptectedUri, int expectedUserId) { in TestContentObserver() argument
203 mExpectedUserId = expectedUserId; in TestContentObserver()
/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportProgressServiceTest.java106 int expectedUserId, String expectedEmail, String preferredDomain) { in checkFindSendToAccount() argument
108 assertEquals(UserHandle.of(expectedUserId), actual.first); in checkFindSendToAccount()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DContentProviderHelper.java173 final int expectedUserId = userId; in getContentProviderImpl() local
299 expectedUserId); in getContentProviderImpl()
573 stable, false, startTime, mService.mProcessList, expectedUserId); in getContentProviderImpl()
1415 long startTime, ProcessList processList, @UserIdInt int expectedUserId) { in incProviderCountLocked() argument
1433 expectedUserId); in incProviderCountLocked()