Home
last modified time | relevance | path

Searched refs:mDestDir (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DScreenRecordCollector.java46 private File mDestDir; field in ScreenRecordCollector
59 mDestDir = createAndEmptyDirectory(OUTPUT_DIR); in onTestRunStart()
64 if (mDestDir == null) { in onTestStart()
79 if (mDestDir == null) { in onTestEnd()
117 return Paths.get(mDestDir.getAbsolutePath(), fileName).toFile(); in getOutputFile()
DBatteryStatsListener.java65 private File mDestDir; field in BatteryStatsListener
99 mDestDir = createAndEmptyDirectory(dir); in onTestRunStart()
111 if (mToFile && mDestDir == null) { in onTestStart()
126 if ((mToFile && mDestDir == null) || mPerRun || !mBatteryStatReset) { in onTestEnd()
149 if (mToFile && mDestDir == null) { in onTestRunEnd()
182 File logFile = new File(mDestDir, fileName); in dumpBatteryStats()
DLogcatOnFailureCollector.java52 private File mDestDir; field in LogcatOnFailureCollector
74 mDestDir = createAndEmptyDirectory(DEFAULT_DIR); in onTestRunStart()
104 if (mDestDir == null) { in onTestEnd()
116 File logcat = new File(mDestDir, fileName); in onTestEnd()
DScreenshotOnFailureCollector.java56 private File mDestDir; field in ScreenshotOnFailureCollector
97 mDestDir = createAndEmptyDirectory(dir); in onTestRunStart()
110 if (mDestDir == null) { in onTestFail()
140 File img = new File(mDestDir, fileName); in takeScreenshot()
170 File uixFile = new File(mDestDir, String.format("%s.uix", fileName)); in collectUiXml()