Home
last modified time | relevance | path

Searched refs:ResultArtifactDescriptor (Results 1 – 11 of 11) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DTestArtifact.kt20 import android.tools.io.ResultArtifactDescriptor
36 override fun hasTrace(descriptor: ResultArtifactDescriptor): Boolean = false in traceCount()
38 override fun readBytes(descriptor: ResultArtifactDescriptor): ByteArray? = null in traceCount()
DUtils.kt26 import android.tools.io.ResultArtifactDescriptor in <lambda>()
217 files: Map<ResultArtifactDescriptor, File> = emptyMap() in outputFileName()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultReader.kt24 import android.tools.io.ResultArtifactDescriptor in <lambda>()
72 artifact.readBytes(ResultArtifactDescriptor(traceType, tag)) in <lambda>()
82 val descriptor = ResultArtifactDescriptor(TraceType.WM_DUMP, tag) in <lambda>()
97 val descriptor = ResultArtifactDescriptor(TraceType.WM) in <lambda>()
128 val descriptor = ResultArtifactDescriptor(TraceType.SF) in <lambda>()
161 val descriptor = ResultArtifactDescriptor(TraceType.SF_DUMP, tag) in <lambda>()
185 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.TRANSACTION)) in <lambda>()
231 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.PERFETTO)) in <lambda>()
247 val traceData = artifact.readBytes(ResultArtifactDescriptor(TraceType.PERFETTO)) in <lambda>()
259 artifact.readBytes(ResultArtifactDescriptor(TraceType.LEGACY_WM_TRANSITION)) in <lambda>()
[all …]
DResultReaderWithLru.kt22 import android.tools.io.ResultArtifactDescriptor
48 val descriptor = ResultArtifactDescriptor(TraceType.WM) in readWmTrace()
56 val descriptor = ResultArtifactDescriptor(TraceType.SF) in readLayersTrace()
64 val descriptor = ResultArtifactDescriptor(TraceType.EVENT_LOG) in readEventLogTrace()
100 internal val descriptor: ResultArtifactDescriptor,
DResultWriter.kt25 import android.tools.io.ResultArtifactDescriptor
37 private val files = mutableMapOf<ResultArtifactDescriptor, File>()
79 val fileDescriptor = ResultArtifactDescriptor(traceType, tag) in <lambda>()
DArtifactBuilder.kt22 import android.tools.io.ResultArtifactDescriptor in <lambda>()
44 private var files: Map<ResultArtifactDescriptor, File> = emptyMap() in <lambda>()
53 fun withFiles(value: Map<ResultArtifactDescriptor, File>): ArtifactBuilder = apply { in <lambda>()
127 private fun writeToZip(file: File, files: Map<ResultArtifactDescriptor, File>) { in <lambda>()
DFileArtifact.kt23 import android.tools.io.ResultArtifactDescriptor
76 override fun hasTrace(descriptor: ResultArtifactDescriptor): Boolean { in hasTrace()
109 override fun readBytes(descriptor: ResultArtifactDescriptor): ByteArray? { in readBytes()
/platform_testing/libraries/flicker/utils/src/android/tools/io/
DArtifact.kt28 fun readBytes(descriptor: ResultArtifactDescriptor): ByteArray?
31 fun hasTrace(descriptor: ResultArtifactDescriptor): Boolean
DResultArtifactDescriptor.kt22 class ResultArtifactDescriptor( class
42 if (other !is ResultArtifactDescriptor) return false in equals()
/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DResultArtifactDescriptorTest.kt52 val descriptor = ResultArtifactDescriptor(traceType) in createDescriptorAndValidateFileName()
60 val descriptor = ResultArtifactDescriptor(traceType, TEST_TAG) in createDescriptorAndValidateFileNameWithTag()
DArtifactBuilderTest.kt70 val expectedDescriptor = ResultArtifactDescriptor(TraceType.WM) in buildArtifactWithFiles()