Home
last modified time | relevance | path

Searched refs:outputFile (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/junitxml/src/com/android/junitxml/
DJUnitXmlRunner.java46 String outputFile = System.getenv("XML_OUTPUT_FILE"); in getRunListener() local
48 if (outputFile != null && outputFile.length() > 0) { in getRunListener()
51 new FileOutputStream(outputFile), in getRunListener()
64 File outputFile = new File(outputFileStr); in getAtestRunListener() local
65 if (outputFile.exists()) { in getAtestRunListener()
66 return new AtestRunListener(suiteName, outputFile, count); in getAtestRunListener()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDropCachesRule.java57 File outputFile = File.createTempFile("drop_cache_script", ".sh", outputDir); in executeDropCachesImpl() local
58 outputFile.setWritable(true); in executeDropCachesImpl()
59 outputFile.setExecutable(true, /*ownersOnly*/false); in executeDropCachesImpl()
61 mDropCacheScriptPath = outputFile.toString(); in executeDropCachesImpl()
72 outputFile.delete(); in executeDropCachesImpl()
DScreenRecordRule.java59 File outputFile = FailureWatcher.diagFile(description, "ScreenRecord", "mp4"); in apply() local
62 automation.executeShellCommand("screenrecord " + outputFile); in apply()
68 Log.e(TAG, "Screenrecord captured at: " + outputFile); in apply()
72 automation.executeShellCommand("rm " + outputFile); in apply()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/tags/
DExtensions.kt32 fun TagTrace.writeToFile(outputFile: Path) { in writeToFile()
45 Log.d(LOG_TAG, outputFile.toString()) in writeToFile()
46 Files.createDirectories(outputFile.parent) in writeToFile()
47 Files.write(outputFile, tagTraceBytes) in writeToFile()
/platform_testing/libraries/flicker/src/com/android/server/wm/traces/parser/errors/
DExtensions.kt36 fun ErrorTrace.writeToFile(outputFile: Path) { in ErrorTrace()
48 Log.d(LOG_TAG, outputFile.toString()) in ErrorTrace()
49 Files.createDirectories(outputFile.parent) in ErrorTrace()
50 Files.write(outputFile, errorTraceBytes) in ErrorTrace()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DFreeMemHelper.java227 File outputFile = File.createTempFile("drop_cache_script", ".sh", outputDir); in executeDropCachesImpl() local
228 outputFile.setWritable(true); in executeDropCachesImpl()
229 outputFile.setExecutable(true, /*ownersOnly*/false); in executeDropCachesImpl()
231 String dropCacheScriptPath = outputFile.toString(); in executeDropCachesImpl()
241 outputFile.delete(); in executeDropCachesImpl()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DFilesystemUtil.java106 File outputFile = new File(outputDir, String.format("%d.txt", epochSeconds)); in dumpMeminfo() local
107 Log.i(TAG, outputFile.toString()); in dumpMeminfo()
111 fos = new FileOutputStream(outputFile); in dumpMeminfo()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DScheduledRunCollectionListenerTest.java194 File outputFile = new File(path); in testRun() local
195 assertTrue(outputFile.exists()); in testRun()
205 List<String> lines = Files.readAllLines(outputFile.toPath(), Charset.defaultCharset()); in testRun()