Home
last modified time | relevance | path

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

12

/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DArtifactBuilderTest.kt34 val artifact = createDefaultArtifactBuilder(status).build() in buildArtifactAndFileExists() constant
35 Truth.assertWithMessage("Artifact exists").that(artifact.file.exists()).isTrue() in buildArtifactAndFileExists()
36 artifact.deleteIfExists() in buildArtifactAndFileExists()
43 val artifact = createDefaultArtifactBuilder(status).build() in buildArtifactWithStatus() constant
44 val statusFromFile = RunStatus.fromFileName(artifact.file.name) in buildArtifactWithStatus()
46 artifact.deleteIfExists() in buildArtifactWithStatus()
52 val artifact = createDefaultArtifactBuilder(RunStatus.RUN_FAILED).build() in buildArtifactWithScenario() constant
54 .that(artifact.file.name) in buildArtifactWithScenario()
56 artifact.deleteIfExists() in buildArtifactWithScenario()
62 val artifact = in buildArtifactWithOutputDir() constant
[all …]
DRunStatusTest.kt31 val artifact = in fromFileNameGetsCorrectStatus() constant
38 val statusFromFile = RunStatus.fromFileName(artifact.file.name) in fromFileNameGetsCorrectStatus()
40 artifact.deleteIfExists() in fromFileNameGetsCorrectStatus()
DResultWriterTest.kt63 val path = File(result.artifact.absolutePath) in writesEmptyFile()
81 val path = File(result.artifact.absolutePath) in writesUndefinedFile()
90 val path = File(result.artifact.absolutePath) in writesRunCompleteFile()
99 val path = File(result.artifact.absolutePath) in writesRunFailureFile()
DResultReaderTest.kt47 data.artifact.deleteIfExists() in failFileNotFound()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DResultData.kt36 final override val artifact: Artifact = _artifact constant
40 get() = artifact.runStatus
51 artifact, in <lambda>()
58 append(artifact) in <lambda>()
69 override fun updateStatus(newStatus: RunStatus) = apply { artifact.updateStatus(newStatus) } in <lambda>()
DResultReader.kt59 override val artifact: Artifact = result.artifact in <lambda>() constant
61 get() = result.artifact.absolutePath in <lambda>()
72 artifact.readBytes(ResultArtifactDescriptor(traceType, tag)) in <lambda>()
84 val traceData = artifact.readBytes(descriptor) in <lambda>()
98 artifact.readBytes(descriptor)?.let { in <lambda>()
129 artifact.readBytes(descriptor)?.let { in <lambda>()
162 val traceData = artifact.readBytes(descriptor) 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>()
[all …]
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>()
80 files[fileDescriptor] = artifact in <lambda>()
94 val artifact = in write() constant
102 artifact, in write()
DArtifactBuilder.kt109 private fun addFile(zipOutputStream: ZipOutputStream, artifact: File, nameInArchive: String) { in <lambda>()
110 Log.v(FLICKER_IO_TAG, "Adding $artifact with name $nameInArchive to zip") in <lambda>()
111 val fi = FileInputStream(artifact) in <lambda>()
124 artifact.deleteIfExists() in <lambda>()
131 files.forEach { (descriptor, artifact) -> in <lambda>() method
135 artifact, in <lambda>()
DResultReaderWithLru.kt49 val key = CacheKey(reader.artifact.stableId, descriptor, reader.transitionTimeRange) in readWmTrace()
57 val key = CacheKey(reader.artifact.stableId, descriptor, reader.transitionTimeRange) in readLayersTrace()
65 val key = CacheKey(reader.artifact.stableId, descriptor, reader.transitionTimeRange) in readEventLogTrace()
99 private val artifact: String, constant in Companion.CacheKey
DIResultData.kt28 val artifact: Artifact constant
/platform_testing/libraries/sts-common-util/sts-sdk/package/test-app/src/main/java/android/security/sts/sts_test_app_package/
DPocActivity.java36 String artifact = "vulnerable"; in onCreate() local
39 vulnerabilityDescriptionIntent.putExtra(DeviceTest.INTENT_ARTIFACT, artifact); in onCreate()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DParsedTracesReader.kt33 override val artifact: TestArtifact, constant in android.tools.utils.ParsedTracesReader
48 get() = artifact.absolutePath
66 artifact, in readLayersTrace()
DUtils.kt136 artifact = TestArtifact(relativePath), in equalsIgnoreOrder()
151 artifact = TestArtifact(relativePath), in getWmDumpReaderFromAsset()
172 return ParsedTracesReader(artifact = TestArtifact(relativePath), layersTrace = layersTrace) in getLayerTraceReaderFromAsset()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/subject/events/
DEventLogSubjectTest.kt37 artifact = TestArtifact.EMPTY, in canDetectFocusChanges()
94 ParsedTracesReader(artifact = TestArtifact.EMPTY, eventLog = EventLog(emptyList())) in canDetectFocusDoesNotChange()
/platform_testing/libraries/flicker/test/src/android/tools/flicker/assertions/
DSubjectsParserTest.kt36 data.artifact.deleteIfExists() in failFileNotFound()
/platform_testing/libraries/flicker/utils/src/android/tools/io/
DReader.kt31 val artifact: Artifact constant
/platform_testing/libraries/sts-common-util/util/tests/
DAndroid.bp31 // tag this module as a test artifact
/platform_testing/libraries/sts-common-util/device-side/tests/
DAndroid.bp31 // tag this module as a test artifact
/platform_testing/libraries/sts-common-util/host-side/tests/
DAndroid.bp32 // tag this module as a test artifact
/platform_testing/libraries/device-collectors/src/hostsidetests/
DAndroid.bp35 // tag this module as a test artifact
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceResultsCollector.kt193 reader.artifact.updateStatus(RunStatus.RUN_EXECUTED) in <lambda>()
207 reader.artifact.updateStatus(RunStatus.ASSERTION_FAILED) in <lambda>()
209 reader.artifact.updateStatus(RunStatus.ASSERTION_SUCCESS) in <lambda>()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/monitors/
DTraceMonitor.kt112 result.artifact.deleteIfExists() in <lambda>()
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/exceptions/
DExceptionMessageBuilder.kt64 fun setReader(value: Reader) = addExtraDescription("Artifact", value.artifact) in setActual()
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt64 artifact = TestArtifact(scenario), in <lambda>()
/platform_testing/libraries/flicker/
DREADME.md120 …ter the transition is completed. Each iteration will produce a new test artifact. The following mo…

12