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.java776 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in copyTextToClipboardLogging() local
784 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in copyTextToClipboardLogging()
787 assertThat(logMakerCaptor.getValue().getCategory(), in copyTextToClipboardLogging()
789 assertThat(logMakerCaptor.getValue().getSubtype(), is(1)); in copyTextToClipboardLogging()
1048 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLogging() local
1051 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()
1052 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLogging()
1054 assertThat(logMakerCaptor in testOnCreateLogging()
1058 assertThat(logMakerCaptor in testOnCreateLogging()
1062 assertThat(logMakerCaptor in testOnCreateLogging()
[all …]
DIntentForwarderActivityTest.java605 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in forwardToManagedProfile_LoggingTest() local
606 verify(activity.getMetricsLogger()).write(logMakerCaptor.capture()); in forwardToManagedProfile_LoggingTest()
608 logMakerCaptor.getValue().getCategory()); in forwardToManagedProfile_LoggingTest()
610 logMakerCaptor.getValue().getSubtype()); in forwardToManagedProfile_LoggingTest()
632 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in forwardToParent_LoggingTest() local
633 verify(activity.getMetricsLogger()).write(logMakerCaptor.capture()); in forwardToParent_LoggingTest()
635 logMakerCaptor.getValue().getCategory()); in forwardToParent_LoggingTest()
637 logMakerCaptor.getValue().getSubtype()); in forwardToParent_LoggingTest()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java1531 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOrientationChangeLogging() local
1532 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()
1533 assertThat(logMakerCaptor.getValue().getCategory(), in testOrientationChangeLogging()
1535 assertThat(logMakerCaptor.getValue().getSubtype(), in testOrientationChangeLogging()