/platform_testing/libraries/flicker/utils/test/src/android/tools/io/ |
D | ArtifactTest.kt | 27 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()
|
D | ArtifactBuilderTest.kt | 63 createDefaultArtifactBuilder(RunStatus.RUN_FAILED, outputDir = expectedDir).build() in buildArtifactWithOutputDir()
|
/platform_testing/libraries/flicker/utils/src/android/tools/traces/io/ |
D | ArtifactBuilder.kt | 43 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 …]
|
D | ResultWriter.kt | 41 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/ |
D | FlickerServiceTracesCollector.kt | 32 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()
|
D | Utils.kt | 82 outputDir: File = createTempDirectory().toFile(), in <lambda>() 86 val writer = ResultWriter().forScenario(scenario).withOutputDir(outputDir).setRunComplete() in <lambda>()
|
D | FlickerServiceResultsCollector.kt | 342 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/ |
D | FilesystemUtil.java | 100 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/ |
D | build.gradle.template | 19 ext.copyArtifact = { arch, suffix, outputDir -> 24 into layout.buildDirectory.dir(outputDir)
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | OatDumpCollectorTest.java | 59 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/ |
D | DropCachesRule.java | 56 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/ |
D | FlickerBuilder.kt | 34 private val outputDir: File = getDefaultFlickerOutputDir(), constant in android.tools.flicker.legacy.FlickerBuilder 115 outputDir, in build() 128 outputDir.absoluteFile, in copy()
|
D | FlickerTestDataImpl.kt | 39 override val outputDir: File, constant in android.tools.flicker.legacy.FlickerTestDataImpl
|
D | FlickerTestData.kt | 31 val outputDir: File constant
|
/platform_testing/libraries/flicker/src/android/tools/flicker/legacy/runner/ |
D | TransitionRunner.kt | 49 resultWriter.forScenario(scenario).withOutputDir(flicker.outputDir) in execute()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | FreeMemHelper.java | 225 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/ |
D | Utils.kt | 216 outputDir: File = createTempDirectory().toFile(), in outputFileName() 221 .withOutputDir(outputDir) in outputFileName()
|
/platform_testing/libraries/flicker/test/src/android/tools/ |
D | Utils.kt | 125 Mockito.`when`(mockedFlicker.outputDir).thenReturn(createTempDirectory().toFile()) in createMockedFlicker()
|