/platform_testing/libraries/flicker/utils/test/src/android/tools/io/ |
D | ArtifactBuilderTest.kt | 34 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 …]
|
D | RunStatusTest.kt | 31 val artifact = in fromFileNameGetsCorrectStatus() constant 38 val statusFromFile = RunStatus.fromFileName(artifact.file.name) in fromFileNameGetsCorrectStatus() 40 artifact.deleteIfExists() in fromFileNameGetsCorrectStatus()
|
D | ResultWriterTest.kt | 63 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()
|
D | ResultReaderTest.kt | 47 data.artifact.deleteIfExists() in failFileNotFound()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/ |
D | ResultData.kt | 36 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>()
|
D | ResultReader.kt | 59 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 …]
|
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>() 80 files[fileDescriptor] = artifact in <lambda>() 94 val artifact = in write() constant 102 artifact, in write()
|
D | ArtifactBuilder.kt | 109 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>()
|
D | ResultReaderWithLru.kt | 49 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
|
D | IResultData.kt | 28 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/ |
D | PocActivity.java | 36 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/ |
D | ParsedTracesReader.kt | 33 override val artifact: TestArtifact, constant in android.tools.utils.ParsedTracesReader 48 get() = artifact.absolutePath 66 artifact, in readLayersTrace()
|
D | Utils.kt | 136 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/ |
D | EventLogSubjectTest.kt | 37 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/ |
D | SubjectsParserTest.kt | 36 data.artifact.deleteIfExists() in failFileNotFound()
|
/platform_testing/libraries/flicker/utils/src/android/tools/io/ |
D | Reader.kt | 31 val artifact: Artifact constant
|
/platform_testing/libraries/sts-common-util/util/tests/ |
D | Android.bp | 31 // tag this module as a test artifact
|
/platform_testing/libraries/sts-common-util/device-side/tests/ |
D | Android.bp | 31 // tag this module as a test artifact
|
/platform_testing/libraries/sts-common-util/host-side/tests/ |
D | Android.bp | 32 // tag this module as a test artifact
|
/platform_testing/libraries/device-collectors/src/hostsidetests/ |
D | Android.bp | 35 // tag this module as a test artifact
|
/platform_testing/libraries/flicker/src/android/tools/flicker/ |
D | FlickerServiceResultsCollector.kt | 193 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/ |
D | TraceMonitor.kt | 112 result.artifact.deleteIfExists() in <lambda>()
|
/platform_testing/libraries/flicker/src/android/tools/flicker/subject/exceptions/ |
D | ExceptionMessageBuilder.kt | 64 fun setReader(value: Reader) = addExtraDescription("Artifact", value.artifact) in setActual()
|
/platform_testing/libraries/flicker/test/src/android/tools/ |
D | Utils.kt | 64 artifact = TestArtifact(scenario), in <lambda>()
|
/platform_testing/libraries/flicker/ |
D | README.md | 120 …ter the transition is completed. Each iteration will produce a new test artifact. The following mo…
|