Home
last modified time | relevance | path

Searched refs:traceData (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DPerfettoTraceMonitorTest.kt48 override fun assertTrace(traceData: ByteArray) { in <lambda>()
49 Truth.assertThat(traceData.size).isGreaterThan(0) in <lambda>()
76 val traceData = PerfettoTraceMonitor.newBuilder().enableLayersDump().build().withTracing {} in <lambda>() constant
77 assertTrace(traceData) in <lambda>()
80 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>()
96 val traceData = in <lambda>() constant
102 assertTrace(traceData) in <lambda>()
105 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>()
118 val traceData = traceMonitor.withTracing { in <lambda>() constant
124 assertTrace(traceData) in <lambda>()
[all …]
DTraceMonitorTest.kt40 abstract fun assertTrace(traceData: ByteArray) in getMonitor()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultReader.kt84 val traceData = artifact.readBytes(descriptor) in <lambda>() constant
85 traceData?.let { WindowManagerDumpParser().parse(it, clearCache = true) } in <lambda>()
162 val traceData = artifact.readBytes(descriptor) in <lambda>() constant
163 if (traceData != null) { in <lambda>()
164 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>()
185 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.TRANSACTION)) in <lambda>() constant
186 return traceData?.let { in <lambda>()
188 TraceProcessorSession.loadPerfettoTrace(traceData) { session -> in <lambda>()
231 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.PERFETTO)) in <lambda>() constant
233 traceData?.let { in <lambda>()
[all …]
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/wm/
DWindowManagerTraceMonitorTest.kt39 override fun assertTrace(traceData: ByteArray) { in getMonitor()
40 val trace = WindowManagerTraceFileProto.parseFrom(traceData) in getMonitor()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/view/
DViewTraceMonitorTest.kt43 override fun assertTrace(traceData: ByteArray) { in getMonitor()
44 Truth.assertThat(traceData.size).isGreaterThan(0) in getMonitor()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/
DEventLogMonitorTest.kt47 override fun assertTrace(traceData: ByteArray) { in getMonitor()
48 Truth.assertThat(traceData.size).isAtLeast(MAGIC_NUMBER.toByteArray().size) in getMonitor()
49 Truth.assertThat(traceData.slice(0 until MAGIC_NUMBER.toByteArray().size)) in getMonitor()