Home
last modified time | relevance | path

Searched refs:traceType (Results 1 – 25 of 25) sorted by relevance

/platform_testing/libraries/flicker/utils/src/android/tools/io/
DResultArtifactDescriptor.kt24 val traceType: TraceType, constant in android.tools.io.ResultArtifactDescriptor
37 append(traceType.fileName) in <lambda>()
44 if (traceType != other.traceType) return false in equals()
51 var result = traceType.hashCode() in hashCode()
DReader.kt72 fun readBytes(traceType: TraceType, tag: String = Tag.ALL): ByteArray?
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DResultArtifactDescriptorTest.kt51 private fun createDescriptorAndValidateFileName(traceType: TraceType) { in createDescriptorAndValidateFileName()
52 val descriptor = ResultArtifactDescriptor(traceType) in createDescriptorAndValidateFileName()
55 .isEqualTo(traceType.fileName) in createDescriptorAndValidateFileName()
58 private fun createDescriptorAndValidateFileNameWithTag(traceType: TraceType) { in createDescriptorAndValidateFileNameWithTag()
60 val descriptor = ResultArtifactDescriptor(traceType, TEST_TAG) in createDescriptorAndValidateFileNameWithTag()
64 subject.endsWith(traceType.fileName) in createDescriptorAndValidateFileNameWithTag()
DBaseResultReaderTestParseTrace.kt54 assetFiles.forEach { (traceType, assetFile) -> writer.addTraceResult(traceType, assetFile) } in <lambda>() method
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/view/
DViewTraceMonitor.kt30 override val traceType = TraceType.VIEW in <lambda>() constant in android.tools.traces.monitors.view.ViewTraceMonitor
52 val outputFileZip = File.createTempFile(traceType.fileName, "") in <lambda>()
68 val unzippedFile = File.createTempFile(traceType.fileName, fileName) in <lambda>()
71 addTraceResult(traceType, unzippedFile, tag = fileName) in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/wm/
DWindowManagerTraceMonitor.kt31 override val traceType = TraceType.WM constant in android.tools.traces.monitors.wm.WindowManagerTraceMonitor
41 return TRACE_DIR.resolve(traceType.fileName) in doStop()
45 val result = mutableMapOf(traceType to doStop()) in doStopTraces()
DLegacyWmTransitionTraceMonitor.kt29 override val traceType = TraceType.LEGACY_WM_TRANSITION constant in android.tools.traces.monitors.wm.LegacyWmTransitionTraceMonitor
39 return TRACE_DIR.resolve(traceType.fileName) in doStop()
DLegacyShellTransitionTraceMonitor.kt29 override val traceType = TraceType.LEGACY_SHELL_TRANSITION constant in android.tools.traces.monitors.wm.LegacyShellTransitionTraceMonitor
46 return TRACE_DIR.resolve(traceType.fileName) in doStop()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DTraceMonitor.kt35 abstract val traceType: TraceType in <lambda>() constant in android.tools.traces.monitors.TraceMonitor
39 protected open fun doStopTraces(): Map<TraceType, File> = mapOf(traceType to doStop()) in <lambda>()
111 val bytes = reader.readBytes(traceType, tag) ?: error("Missing trace $traceType") in <lambda>()
DScreenRecorder.kt35 override val traceType = TraceType.SCREEN_RECORDING constant in android.tools.traces.monitors.ScreenRecorder
DPerfettoTraceMonitor.kt33 override val traceType = TraceType.PERFETTO constant in android.tools.traces.monitors.PerfettoTraceMonitor
48 traceFile = File.createTempFile(traceType.fileName, "") in doStart()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultWriter.kt74 fun addTraceResult(traceType: TraceType, artifact: File, tag: String = Tag.ALL) = apply { in <lambda>()
77 "Add trace result file=$artifact type=$traceType tag=$tag scenario=$scenario" in <lambda>()
79 val fileDescriptor = ResultArtifactDescriptor(traceType, tag) in <lambda>()
DResultReader.kt71 override fun readBytes(traceType: TraceType, tag: String): ByteArray? = in <lambda>()
72 artifact.readBytes(ResultArtifactDescriptor(traceType, tag)) in <lambda>()
316 fun hasTraceFile(traceType: TraceType, tag: String = Tag.ALL): Boolean { in <lambda>()
317 val descriptor = ResultArtifactDescriptor(traceType, tag) in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DTraceMonitorTest.kt41 abstract val traceType: TraceType in getMonitor() constant in android.tools.monitors.TraceMonitorTest
94 .that(reader.hasTraceFile(traceMonitor.traceType, tag)) in captureTrace()
98 reader.readBytes(traceMonitor.traceType, tag) in captureTrace()
DPerfettoTraceMonitorTest.kt43 override val traceType = TraceType.PERFETTO in <lambda>() constant in android.tools.monitors.PerfettoTraceMonitorTest
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/
DLegacyFlickerTestTest.kt207 traceType: TraceType, in doExecuteAssertionWithoutTraceAndVerifyNotExecuted()
211 traceType, in doExecuteAssertionWithoutTraceAndVerifyNotExecuted()
218 traceType: TraceType, in doExecuteAssertionWithoutTraceAndVerifyNotExecuted()
225 writer.addTraceResult(traceType, file) in doExecuteAssertionWithoutTraceAndVerifyNotExecuted()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/view/
DViewTraceMonitorTest.kt39 override val traceType = TraceType.VIEW constant in android.tools.monitors.view.ViewTraceMonitorTest
73 reader.readBytes(traceMonitor.traceType, tag) in captureTrace()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DSubjectsParserTestParseLayers.kt32 override val traceType = TraceType.SF constant in android.tools.flicker.assertions.SubjectsParserTestParseLayers
DSubjectsParserTestParseWM.kt32 override val traceType = TraceType.WM constant in android.tools.flicker.assertions.SubjectsParserTestParseWM
DBaseSubjectsParserTestParse.kt43 protected abstract val traceType: TraceType constant in android.tools.flicker.assertions.BaseSubjectsParserTestParse
52 writer.addTraceResult(traceType, assetFile) in getTime()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/events/
DEventLogMonitor.kt32 override val traceType = TraceType.EVENT_LOG constant in android.tools.traces.monitors.events.EventLogMonitor
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/wm/
DWindowManagerTraceMonitorTest.kt36 override val traceType = TraceType.WM constant in android.tools.monitors.wm.WindowManagerTraceMonitorTest
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceTracesCollector.kt36 private val traceMonitors = ALL_MONITORS.filter { it.traceType != TraceType.SCREEN_RECORDING } in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DParsedTracesReader.kt82 override fun readBytes(traceType: TraceType, tag: String): ByteArray? { in readLayersDump()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/
DEventLogMonitorTest.kt44 override val traceType = TraceType.EVENT_LOG constant in android.tools.monitors.events.EventLogMonitorTest