Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java46 int expectedUserId = 11 + index; in getHistoricalNotification() local
62 .setUserId(expectedUserId) in getHistoricalNotification()
77 int expectedUserId = 11; in testHistoricalNotificationBuilder() local
90 .setUserId(expectedUserId) in testHistoricalNotificationBuilder()
102 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.java78 int expectedUserId = 11 + index; in getHistoricalNotification() local
90 .setUserId(expectedUserId) in getHistoricalNotification()
DNotificationHistoryManagerTest.java69 int expectedUserId = index; in getHistoricalNotification() local
81 .setUserId(expectedUserId) in getHistoricalNotification()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java190 public TestContentObserver(CountDownLatch latch, Uri exptectedUri, int expectedUserId) { in TestContentObserver() argument
194 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/opt/car/services/tests/src/com/android/internal/car/
DCarHelperServiceTest.java825 private void expectICarOnUserLifecycleEvent(int eventType, int expectedUserId) in expectICarOnUserLifecycleEvent() argument
827 expectICarOnUserLifecycleEvent(eventType, UserHandle.USER_NULL, expectedUserId); in expectICarOnUserLifecycleEvent()
874 private void expectICarFirstUserUnlocked(int expectedUserId) throws Exception { in expectICarFirstUserUnlocked() argument
896 assertParcelValue(errors, "userId", expectedUserId, actualUserId); in expectICarFirstUserUnlocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java356 private void continueUserSwitchAssertions(int expectedUserId, boolean backgroundUserStopping) in continueUserSwitchAssertions() argument
367 assertEquals("Unexpected userId", expectedUserId, msg.arg1); in continueUserSwitchAssertions()