Home
last modified time | relevance | path

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

/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DTraceMonitorTest.kt46 protected val traceMonitor by lazy { getMonitor() } in getMonitor() constant in android.tools.monitors.TraceMonitorTest
51 .that(traceMonitor.isEnabled) in before()
58 if (traceMonitor.isEnabled) { in teardown()
59 traceMonitor.stop(newTestResultWriter()) in teardown()
63 .that(traceMonitor.isEnabled) in teardown()
70 traceMonitor.start() in canStartTrace()
71 Truth.assertThat(traceMonitor.isEnabled).isTrue() in canStartTrace()
77 traceMonitor.start() in canStopTrace()
78 Truth.assertThat(traceMonitor.isEnabled).isTrue() in canStopTrace()
79 traceMonitor.stop(newTestResultWriter()) in canStopTrace()
[all …]
DPerfettoTraceMonitorTest.kt95 val traceMonitor = PerfettoTraceMonitor.newBuilder().enableTransitionsTrace().build() in <lambda>() constant
97 traceMonitor.withTracing { in <lambda>()
117 val traceMonitor = PerfettoTraceMonitor.newBuilder().enableImeTrace().build() in <lambda>() constant
118 val traceData = traceMonitor.withTracing { in <lambda>()
163 val traceMonitor = PerfettoTraceMonitor.newBuilder().enableViewCaptureTrace().build() in <lambda>() constant
165 traceMonitor.withTracing { in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/view/
DViewTraceMonitorTest.kt56 traceMonitor.start() in captureTrace()
60 traceMonitor.stop(writer) in captureTrace()
73 reader.readBytes(traceMonitor.traceType, tag) in captureTrace()