Searched refs:numCalls (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackScrollLayoutTest.java | 404 final int[] numCalls = {0}; in testClearNotifications_All() local 407 numCalls[0]++; in testClearNotifications_All() 412 assertEquals(1, numCalls[0]); in testClearNotifications_All() 418 final int[] numCalls = {0}; in testClearNotifications_Gentle() local 421 numCalls[0]++; in testClearNotifications_Gentle() 426 assertEquals(1, numCalls[0]); in testClearNotifications_Gentle()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordLoggerFake.java | 56 public int numCalls() { in numCalls() method in NotificationRecordLoggerFake
|
D | NotificationManagerServiceTest.java | 1367 assertEquals(1, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_WritesExpectedLogs() 1396 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_LogsOnMajorUpdates() 1420 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_DoesNotLogOnMinorUpdate() 1439 assertEquals(2, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_DoesNotLogOnTitleUpdate() 1458 assertEquals(3, mNotificationRecordLogger.numCalls()); in testEnqueueNotificationWithTag_LogsAgainAfterCancel() 1486 assertEquals(0, mNotificationRecordLogger.numCalls()); in testCancelNonexistentNotification() 1968 assertEquals(2, mNotificationRecordLogger.numCalls()); in testGroupInstanceIds() 2790 assertEquals(2, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeNonGrouped() 2839 assertEquals(2, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeGroupChild_fellowChildren() 2864 assertEquals(4, mNotificationRecordLogger.numCalls()); in testSnoozeRunnable_snoozeGroupChild_onlyChildOfSummary() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/ |
D | OngoingCallControllerTest.kt | 190 val numCalls = 4 in onEntryUpdated_calledManyTimes_uidObserverUnregisteredManyTimes() constant 192 for (i in 0 until numCalls) { in onEntryUpdated_calledManyTimes_uidObserverUnregisteredManyTimes() 199 verify(mockIActivityManager, times(numCalls - 1)).unregisterUidObserver(any()) in onEntryUpdated_calledManyTimes_uidObserverUnregisteredManyTimes()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | ChooserActivityLoggerFake.java | 82 public int numCalls() { in numCalls() method in ChooserActivityLoggerFake
|
D | ChooserActivityTest.java | 617 assertThat(logger.numCalls(), is(6)); in testNearbyShareLogging() 1751 assertThat(logger.numCalls(), is(6)); in testAppTargetLogging() 1832 assertThat(logger.numCalls(), is(6)); in testDirectTargetLogging() 1883 assertThat(logger.numCalls(), is(6)); in testEmptyDirectRowLogging() 1929 assertThat(logger.numCalls(), is(6)); in testCopyTextToClipboardLogging() 1980 assertThat(logger.numCalls(), is(8)); in testSwitchProfileLogging()
|