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.java559 MetricsLogger mockLogger = sOverrides.metricsLogger; in testOnCreateLogging() local
563 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()
585 MetricsLogger mockLogger = sOverrides.metricsLogger; in testOnCreateLoggingFromWorkProfile() local
589 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLoggingFromWorkProfile()
610 MetricsLogger mockLogger = sOverrides.metricsLogger; in testEmptyPreviewLogging() local
615 verify(mockLogger, Mockito.times(1)).write(logMakerCaptor.capture()); in testEmptyPreviewLogging()
625 MetricsLogger mockLogger = sOverrides.metricsLogger; in testTitlePreviewLogging() local
637 verify(mockLogger, Mockito.times(2)).write(logMakerCaptor.capture()); in testTitlePreviewLogging()
663 MetricsLogger mockLogger = sOverrides.metricsLogger; in testImagePreviewLogging() local
667 verify(mockLogger, Mockito.times(2)).write(logMakerCaptor.capture()); in testImagePreviewLogging()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java850 MetricsLogger mockLogger = mock(MetricsLogger.class); in testOrientationChangeLogging() local
857 Mockito.doReturn(mockLogger).when(displayContent).getMetricsLogger(); in testOrientationChangeLogging()
863 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()