/platform_testing/libraries/flicker/utils/src/android/tools/io/ |
D | ResultArtifactDescriptor.kt | 24 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()
|
D | Reader.kt | 72 fun readBytes(traceType: TraceType, tag: String = Tag.ALL): ByteArray?
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/ |
D | ResultArtifactDescriptorTest.kt | 51 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()
|
D | BaseResultReaderTestParseTrace.kt | 54 assetFiles.forEach { (traceType, assetFile) -> writer.addTraceResult(traceType, assetFile) } in <lambda>() method
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/view/ |
D | ViewTraceMonitor.kt | 30 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/ |
D | WindowManagerTraceMonitor.kt | 31 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()
|
D | LegacyWmTransitionTraceMonitor.kt | 29 override val traceType = TraceType.LEGACY_WM_TRANSITION constant in android.tools.traces.monitors.wm.LegacyWmTransitionTraceMonitor 39 return TRACE_DIR.resolve(traceType.fileName) in doStop()
|
D | LegacyShellTransitionTraceMonitor.kt | 29 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/ |
D | TraceMonitor.kt | 35 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>()
|
D | ScreenRecorder.kt | 35 override val traceType = TraceType.SCREEN_RECORDING constant in android.tools.traces.monitors.ScreenRecorder
|
D | PerfettoTraceMonitor.kt | 33 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/ |
D | ResultWriter.kt | 74 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>()
|
D | ResultReader.kt | 71 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/ |
D | TraceMonitorTest.kt | 41 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()
|
D | PerfettoTraceMonitorTest.kt | 43 override val traceType = TraceType.PERFETTO in <lambda>() constant in android.tools.monitors.PerfettoTraceMonitorTest
|
/platform_testing/libraries/flicker/test/src/android/tools/flicker/legacy/ |
D | LegacyFlickerTestTest.kt | 207 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/ |
D | ViewTraceMonitorTest.kt | 39 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/ |
D | SubjectsParserTestParseLayers.kt | 32 override val traceType = TraceType.SF constant in android.tools.flicker.assertions.SubjectsParserTestParseLayers
|
D | SubjectsParserTestParseWM.kt | 32 override val traceType = TraceType.WM constant in android.tools.flicker.assertions.SubjectsParserTestParseWM
|
D | BaseSubjectsParserTestParse.kt | 43 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/ |
D | EventLogMonitor.kt | 32 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/ |
D | WindowManagerTraceMonitorTest.kt | 36 override val traceType = TraceType.WM constant in android.tools.monitors.wm.WindowManagerTraceMonitorTest
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceTracesCollector.kt | 36 private val traceMonitors = ALL_MONITORS.filter { it.traceType != TraceType.SCREEN_RECORDING } in <lambda>()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/ |
D | ParsedTracesReader.kt | 82 override fun readBytes(traceType: TraceType, tag: String): ByteArray? { in readLayersDump()
|
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/events/ |
D | EventLogMonitorTest.kt | 44 override val traceType = TraceType.EVENT_LOG constant in android.tools.monitors.events.EventLogMonitorTest
|