Home
last modified time | relevance | path

Searched refs:mockLogger (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java573 MetricsLogger mockLogger = sOverrides.metricsLogger; in copyTextToClipboardLogging() local
583 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in copyTextToClipboardLogging()
678 MetricsLogger mockLogger = sOverrides.metricsLogger; in testOnCreateLogging() local
682 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()
704 MetricsLogger mockLogger = sOverrides.metricsLogger; in testOnCreateLoggingFromWorkProfile() local
708 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLoggingFromWorkProfile()
729 MetricsLogger mockLogger = sOverrides.metricsLogger; in testEmptyPreviewLogging() local
734 verify(mockLogger, Mockito.times(1)).write(logMakerCaptor.capture()); in testEmptyPreviewLogging()
744 MetricsLogger mockLogger = sOverrides.metricsLogger; in testTitlePreviewLogging() local
757 verify(mockLogger, Mockito.times(2)).write(logMakerCaptor.capture()); in testTitlePreviewLogging()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java1085 MetricsLogger mockLogger = mock(MetricsLogger.class); in testOrientationChangeLogging() local
1092 Mockito.doReturn(mockLogger).when(displayContent).getMetricsLogger(); in testOrientationChangeLogging()
1099 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()