Home
last modified time | relevance | path

Searched refs:logMakerCaptor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java560 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLogging() local
563 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()
564 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLogging()
566 assertThat(logMakerCaptor in testOnCreateLogging()
570 assertThat(logMakerCaptor in testOnCreateLogging()
574 assertThat(logMakerCaptor in testOnCreateLogging()
586 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLoggingFromWorkProfile() local
589 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLoggingFromWorkProfile()
590 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLoggingFromWorkProfile()
592 assertThat(logMakerCaptor in testOnCreateLoggingFromWorkProfile()
[all …]
DIntentForwarderActivityTest.java554 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in forwardToManagedProfile_LoggingTest() local
555 verify(activity.getMetricsLogger()).write(logMakerCaptor.capture()); in forwardToManagedProfile_LoggingTest()
557 logMakerCaptor.getValue().getCategory()); in forwardToManagedProfile_LoggingTest()
559 logMakerCaptor.getValue().getSubtype()); in forwardToManagedProfile_LoggingTest()
581 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in forwardToParent_LoggingTest() local
582 verify(activity.getMetricsLogger()).write(logMakerCaptor.capture()); in forwardToParent_LoggingTest()
584 logMakerCaptor.getValue().getCategory()); in forwardToParent_LoggingTest()
586 logMakerCaptor.getValue().getSubtype()); in forwardToParent_LoggingTest()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java862 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOrientationChangeLogging() local
863 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()
864 assertThat(logMakerCaptor.getValue().getCategory(), in testOrientationChangeLogging()
866 assertThat(logMakerCaptor.getValue().getSubtype(), in testOrientationChangeLogging()