Home
last modified time | relevance | path

Searched refs:outputDir (Results 1 – 18 of 18) sorted by relevance

/platform_testing/libraries/flicker/utils/test/src/android/tools/io/
DArtifactTest.kt27 val outputDir = createTempDirectory().toFile() in equalityTestSameFile() constant
29 val artifact1 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestSameFile()
31 val artifact2 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestSameFile()
37 val outputDir = createTempDirectory().toFile() in equalityTestDifferentFile() constant
38 val artifact1 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestDifferentFile()
39 val artifact2 = createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir).build() in equalityTestDifferentFile()
DArtifactBuilderTest.kt63 createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir = expectedDir).build() in buildArtifactWithOutputDir()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/
DArtifactBuilder.kt43 private var outputDir: File? = null in <lambda>() variable in android.tools.traces.io.ArtifactBuilder
49 fun withOutputDir(value: File): ArtifactBuilder = apply { outputDir = value } in <lambda>()
73 val outputDir = outputDir ?: error("Missing output dir") in <lambda>() constant
75 outputDir.mkdirs() in <lambda>()
76 return outputDir.resolve(fileName) in <lambda>()
82 val outputDir = outputDir ?: error("Missing output dir") in <lambda>() constant
84 var artifactAlreadyExists = existsArchiveFor(outputDir, scenario, counter) in <lambda>()
86 artifactAlreadyExists = existsArchiveFor(outputDir, scenario, ++counter) in <lambda>()
92 outputDir.listFiles()?.filterNot { it.isDirectory }?.map { it.absolutePath } in <lambda>()
103 private fun existsArchiveFor(outputDir: File, scenario: Scenario, counter: Int): Boolean { in <lambda>()
[all …]
DResultWriter.kt41 private var outputDir: File? = null variable in android.tools.traces.io.ResultWriter
56 fun withOutputDir(dir: File) = apply { outputDir = dir } in <lambda>()
86 val outputDir = outputDir in write() constant
87 requireNotNull(outputDir) { "Output dir not configured" } in write()
97 .withOutputDir(outputDir) in write()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DFlickerServiceTracesCollector.kt32 private val outputDir: File = createTempDirectory().toFile(), constant in android.tools.flicker.FlickerServiceTracesCollector
52 outputDir.mkdirs() in stop()
55 val writer = ResultWriter().forScenario(scenario).withOutputDir(outputDir) in stop()
65 if (outputDir.exists()) { in cleanup()
66 outputDir.deleteRecursively() in cleanup()
DUtils.kt82 outputDir: File = createTempDirectory().toFile(), in <lambda>()
86 val writer = ResultWriter().forScenario(scenario).withOutputDir(outputDir).setRunComplete() in <lambda>()
DFlickerServiceResultsCollector.kt342 val outputDir = getDefaultFlickerOutputDir() in <lambda>() constant
344 outputDir.mkdirs() in <lambda>()
345 return outputDir.resolve(fileName) in <lambda>()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DFilesystemUtil.java100 File outputDir = new File(Environment.getExternalStorageDirectory(), "meminfo"); in dumpMeminfo() local
101 Log.i(TAG, outputDir.toString()); in dumpMeminfo()
102 if (!outputDir.exists()) { in dumpMeminfo()
103 boolean yes = outputDir.mkdirs(); in dumpMeminfo()
106 File outputFile = new File(outputDir, String.format("%d.txt", epochSeconds)); in dumpMeminfo()
/platform_testing/libraries/sts-common-util/sts-sdk/package/native-poc/
Dbuild.gradle.template19 ext.copyArtifact = { arch, suffix, outputDir ->
24 into layout.buildDirectory.dir(outputDir)
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DOatDumpCollectorTest.java59 File outputDir = in testCollectOatDump_onRunStartAndRunEnd() local
61 bundle.putString(OatDumpCollector.ADDITIONAL_TEST_OUTPUT_DIR, outputDir.getAbsolutePath()); in testCollectOatDump_onRunStartAndRunEnd()
81 assertTrue(new File(outputDir, filenameStartValue).exists()); in testCollectOatDump_onRunStartAndRunEnd()
99 assertTrue(new File(outputDir, filenameEndValue).exists()); in testCollectOatDump_onRunStartAndRunEnd()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDropCachesRule.java56 File outputDir = in executeDropCachesImpl() local
58 File outputFile = File.createTempFile("drop_cache_script", ".sh", outputDir); in executeDropCachesImpl()
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/
DFlickerBuilder.kt34 private val outputDir: File = getDefaultFlickerOutputDir(), constant in android.tools.flicker.legacy.FlickerBuilder
115 outputDir, in build()
128 outputDir.absoluteFile, in copy()
DFlickerTestDataImpl.kt39 override val outputDir: File, constant in android.tools.flicker.legacy.FlickerTestDataImpl
DFlickerTestData.kt31 val outputDir: File constant
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/
DTransitionRunner.kt49 resultWriter.forScenario(scenario).withOutputDir(flicker.outputDir) in execute()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DFreeMemHelper.java225 File outputDir = InstrumentationRegistry.getInstrumentation(). in executeDropCachesImpl() local
227 File outputFile = File.createTempFile("drop_cache_script", ".sh", outputDir); in executeDropCachesImpl()
/platform_testing/libraries/flicker/utils/test/src/android/tools/utils/
DUtils.kt216 outputDir: File = createTempDirectory().toFile(), in outputFileName()
221 .withOutputDir(outputDir) in outputFileName()
/platform_testing/libraries/flicker/test/src/android/tools/
DUtils.kt125 Mockito.`when`(mockedFlicker.outputDir).thenReturn(createTempDirectory().toFile()) in createMockedFlicker()