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.java568 MetricsLogger mockLogger = sOverrides.metricsLogger; in testOnCreateLogging() local
572 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()
594 MetricsLogger mockLogger = sOverrides.metricsLogger; in testOnCreateLoggingFromWorkProfile() local
598 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLoggingFromWorkProfile()
619 MetricsLogger mockLogger = sOverrides.metricsLogger; in testEmptyPreviewLogging() local
624 verify(mockLogger, Mockito.times(1)).write(logMakerCaptor.capture()); in testEmptyPreviewLogging()
634 MetricsLogger mockLogger = sOverrides.metricsLogger; in testTitlePreviewLogging() local
646 verify(mockLogger, Mockito.times(2)).write(logMakerCaptor.capture()); in testTitlePreviewLogging()
672 MetricsLogger mockLogger = sOverrides.metricsLogger; in testImagePreviewLogging() local
676 verify(mockLogger, Mockito.times(2)).write(logMakerCaptor.capture()); in testImagePreviewLogging()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java858 MetricsLogger mockLogger = mock(MetricsLogger.class); in testOrientationChangeLogging() local
865 Mockito.doReturn(mockLogger).when(displayContent).getMetricsLogger(); in testOrientationChangeLogging()
871 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()