Home
last modified time | relevance | path

Searched refs:numLogs (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallLoggerTest.kt34 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logChipClicked_clickEventLogged()
44 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logChipVisibilityChanged_changeFromInvisibleToVisible_visibleEventLogged()
53 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logChipVisibilityChanged_changeFromVisibleToInvisible_eventNotLogged()
58 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logChipVisibilityChanged_changeFromVisibleToInvisible_eventNotLogged()
65 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logChipVisibilityChanged_visibleThenVisibleAgain_eventNotLogged()
70 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logChipVisibilityChanged_visibleThenVisibleAgain_eventNotLogged()
DOngoingCallControllerTest.kt554 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in chipClicked_clickEventLogged()
577 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in notifyChipVisibilityChanged_visibleEventLogged()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopModeUiEventLoggerTest.kt54 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(0) in log_invalidUid_eventNotLogged()
60 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(0) in log_emptyPackageName_eventNotLogged()
68 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in log_eventLogged()
84 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(0) in logWithInstanceId_invalidUid_eventNotLogged()
90 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(0) in logWithInstanceId_emptyPackageName_eventNotLogged()
98 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logWithInstanceId_eventLogged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileRequestDialogEventLoggerTest.kt66 assertThat(uiEventLogger.numLogs()).isEqualTo(1) in testLogTileAlreadyAdded()
78 assertThat(uiEventLogger.numLogs()).isEqualTo(1) in testLogDialogShown()
91 assertThat(uiEventLogger.numLogs()).isEqualTo(1) in testLogDialogDismissed()
104 assertThat(uiEventLogger.numLogs()).isEqualTo(1) in testLogDialogTileNotAdded()
118 assertThat(uiEventLogger.numLogs()).isEqualTo(1) in testLogDialogTileAdded()
/frameworks/base/core/tests/coretests/src/com/android/internal/logging/
DUiEventLoggerTest.java63 assertThat(mLogger.numLogs()).isEqualTo(0); in testEmpty()
69 assertThat(mLogger.numLogs()).isEqualTo(1); in testSimple()
76 assertThat(mLogger.numLogs()).isEqualTo(1); in testWithInstance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/sender/
DMediaTttSenderUiEventLoggerTest.kt27 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logSenderStateChange_eventAssociatedWithStateIsLogged()
38 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logUndoClicked_undoEventLogged()
49 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(0) in logUndoClicked_notUndoEvent_eventNotLogged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/
DTemporaryViewUiEventLoggerTest.kt42 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in testViewAdded()
52 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(2) in testMultipleViewsAdded_differentInstanceIds()
65 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in testViewManuallyDismissed()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/
DBouncerInteractorTest.kt90 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(0) in <lambda>()
125 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(2) in <lambda>()
182 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(2) in <lambda>()
222 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(2) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttReceiverUiEventLoggerTest.kt29 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in logReceiverStateChange_eventAssociatedWithStateIsLogged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java179 assertThat(mUiEventLogger.numLogs()).isEqualTo(1); in testCallbackNotified()
326 assertThat(mUiEventLogger.numLogs()).isEqualTo(3); in testCallbackNotified_verifyMetrics()
346 assertThat(mUiEventLogger.numLogs()).isEqualTo(0); in testCallbackNotified_verifyMetrics()
DRemoteInputViewTest.java340 assertEquals(2, mUiEventLoggerFake.numLogs()); in testUiEventLogging_openAndSend()
374 assertEquals(2, mUiEventLoggerFake.numLogs()); in testUiEventLogging_openAndAttach()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedUiEventLoggerTest.java58 assertEquals(1, mUiEventLogger.numLogs()); in testLogEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DTakeScreenshotServiceTest.kt126 assertWithMessage("UiEvent count").that(eventLogger.numLogs()).isEqualTo(2) in takeScreenshotFullscreen_userLocked()
166 assertWithMessage("Expected two UiEvents").that(eventLogger.numLogs()).isEqualTo(2) in takeScreenshotFullscreen_screenCaptureDisabled_allUsers()
DTakeScreenshotExecutorTest.kt97 assertThat(eventLogger.numLogs()).isEqualTo(2) in <lambda>()
131 assertThat(eventLogger.numLogs()).isEqualTo(1) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/settings/brightness/
DBrightnessSliderControllerTest.kt224 assertThat(uiEventLogger.numLogs()).isEqualTo(1) in testSeekBarTrackingStarted()
241 assertThat(uiEventLogger.numLogs()).isEqualTo(1) in testSeekBarTrackingStopped()
/frameworks/base/core/java/com/android/internal/logging/testing/
DUiEventLoggerFake.java74 public int numLogs() { in numLogs() method in UiEventLoggerFake
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DUserDetailViewAdapterTest.kt104 assertEquals(1, uiEventLogger.numLogs()) in testUserSwitchLog()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSTileImplTest.java153 assertEquals(1, mUiEventLoggerFake.numLogs()); in testClick_Metrics()
223 assertEquals(1, mUiEventLoggerFake.numLogs()); in testSecondaryClick_Metrics()
267 assertEquals(1, mUiEventLoggerFake.numLogs()); in testLongClick_Metrics()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java652 assertThat(mUiEventLoggerFake.numLogs()).isEqualTo(1); in testShouldNotFullScreen_isGroupAlertSilenced()
679 assertThat(mUiEventLoggerFake.numLogs()).isEqualTo(1); in testShouldNotFullScreen_isSuppressedByBubbleMetadata()
810 assertThat(mUiEventLoggerFake.numLogs()).isEqualTo(1); in testShouldHeadsUp_snoozed_occluding()
854 assertThat(mUiEventLoggerFake.numLogs()).isEqualTo(1); in testShouldHeadsUp_snoozed_lockedShade()
941 assertThat(mUiEventLoggerFake.numLogs()).isEqualTo(1); in testShouldHeadsUp_snoozed_unlocked()
DVisualInterruptionDecisionProviderTestBase.kt1335 assertEquals(0, uiEventLogger.numLogs()) in <lambda>()
1339 assertEquals(1, uiEventLogger.numLogs()) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/temporarydisplay/chipbar/
DChipbarCoordinatorTest.kt658 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(2) in swipeToDismiss_swipeOccurs_viewDismissed_manuallyDismissedLogged()
678 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in swipeToDismiss_viewUpdatedToFalse_swipeOccurs_viewNotDismissed()
700 assertThat(uiEventLoggerFake.numLogs()).isEqualTo(1) in swipeToDismiss_viewUpdatedToFalse_swipeOccurs_viewNotDismissed()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/
DEventsTest.java109 assertEquals(1, mUiEventLogger.numLogs()); in testLogEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java795 assertEquals(1, mUiEventLogger.numLogs()); in testBindNotification_LogsOpen()
935 assertEquals(2, mUiEventLogger.numLogs()); in testHandleCloseControls_DoesNotUpdateNotificationChannelIfUnchanged()
1005 assertEquals(2, mUiEventLogger.numLogs()); in testSilenceCallsUpdateNotificationChannel()
1348 assertEquals(1, mUiEventLogger.numLogs()); in testCloseControlsDoesNotUpdateIfSaveIsFalse()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSPanelControllerBaseTest.java271 assertEquals(1, mUiEventLogger.numLogs()); in testSetExpanded_Metrics()
279 assertEquals(1, mUiEventLogger.numLogs()); in testSetExpanded_Metrics()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/
DBaseHeadsUpManagerTest.java629 assertEquals(2, mUiEventLoggerFake.numLogs()); in testPinEntry_logsPeek_throttleEnabled()
652 assertEquals(1, mUiEventLoggerFake.numLogs()); in testPinEntry_logsPeek_throttleDisabled()

12