Searched refs:mDestDir (Results 1 – 7 of 7) sorted by relevance
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BatteryStatsListener.java | 65 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()
|
D | MobilityChangeCollector.java | 42 private File mDestDir; field in MobilityChangeCollector 47 mDestDir = createAndEmptyDirectory(DEFAULT_DIR); in onTestRunStart() 56 File mobilityLog = new File(mDestDir, fileName); in onTestRunEnd()
|
D | LogcatCollector.java | 58 private File mDestDir; field in LogcatCollector 88 mDestDir = createAndEmptyDirectory(DEFAULT_DIR); in onTestRunStart() 122 if (mDestDir == null) { in onTestEnd() 134 File logcat = new File(mDestDir, fileName); in onTestEnd() 158 runData.addStringMetric(getTag(), mDestDir.getAbsolutePath().toString()); in onTestRunEnd()
|
D | ScreenRecordCollector.java | 50 private static File mDestDir; field in ScreenRecordCollector 60 mDestDir = createAndEmptyDirectory(OUTPUT_DIR); in onTestRunStart() 65 if (mDestDir == null) { in onTestStart() 79 if (mDestDir == null) { in onTestEnd() 124 return Paths.get(mDestDir.getAbsolutePath(), fileName).toFile(); in getOutputFile()
|
D | ScreenshotOnFailureCollector.java | 56 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()
|
D | GcaEventLogCollector.java | 80 private File mDestDir; field in GcaEventLogCollector 99 mDestDir = createAndEmptyDirectory(DEST_DIR); in onTestRunStart() 167 testData.addFileMetric(fileName, new File(mDestDir, fileName)); in collectEventLog() 173 String.format("cp %s %s/%s", mEventLogPath, mDestDir.getAbsolutePath(), fileName); in copyEventLogToSharedStorage() 176 logListResult(mDestDir.getAbsolutePath()); in copyEventLogToSharedStorage()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | GcaEventLogCollectorTest.java | 55 private File mDestDir; field in GcaEventLogCollectorTest 62 mDestDir = new File("/sdcard", "camera_events_dest"); in setUp() 68 mCollector.recursiveDelete(mDestDir); in tearDown() 75 Mockito.doReturn(mDestDir).when(listener).createAndEmptyDirectory(Mockito.anyString()); in initListener()
|