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.java569 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLogging() local
572 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()
573 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLogging()
575 assertThat(logMakerCaptor in testOnCreateLogging()
579 assertThat(logMakerCaptor in testOnCreateLogging()
583 assertThat(logMakerCaptor in testOnCreateLogging()
595 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLoggingFromWorkProfile() local
598 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLoggingFromWorkProfile()
599 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLoggingFromWorkProfile()
601 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.java870 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOrientationChangeLogging() local
871 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()
872 assertThat(logMakerCaptor.getValue().getCategory(), in testOrientationChangeLogging()
874 assertThat(logMakerCaptor.getValue().getSubtype(), in testOrientationChangeLogging()