Home
last modified time | relevance | path

Searched refs:createAndEmptyDirectory (Results 1 – 12 of 12) sorted by relevance

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DBatteryStatsListenerTest.java86 doReturn(mLogDir).when(listener).createAndEmptyDirectory(anyString()); in initListener()
100 verify(mListener).createAndEmptyDirectory(BatteryStatsListener.DEFAULT_DIR); in testTestRunCollector()
136 verify(mListener).createAndEmptyDirectory("unique/bs/dir"); in testTestRunSaveToSpecifiedDirCollector()
148 verify(mListener, times(0)).createAndEmptyDirectory(BatteryStatsListener.DEFAULT_DIR); in testTestRunToBytesCollector()
194 verify(mListener).createAndEmptyDirectory(BatteryStatsListener.DEFAULT_DIR); in testTestCaseCollector()
DScreenshotOnFailureCollectorTest.java101 doReturn(mLogDir).when(listener).createAndEmptyDirectory(anyString()); in initListener()
114 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testSavePngAsFile()
156 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testSaveUixAsFile()
194 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testNoUixWithoutOption()
230 verify(mListener).createAndEmptyDirectory(ScreenshotOnFailureCollector.DEFAULT_DIR); in testSavesIterations()
DScreenRecordCollectorTest.java92 doReturn(mLogDir).when(listener).createAndEmptyDirectory(anyString()); in initListener()
110 verify(mListener).createAndEmptyDirectory(ScreenRecordCollector.OUTPUT_DIR); in testScreenRecord()
DIncidentReportListenerTest.java113 doReturn(null).when(mListener).createAndEmptyDirectory(anyString()); in testFailCollectIfNoDestinationDirectory()
DLogcatOnFailureCollectorTest.java89 Mockito.doReturn(mLogDir).when(listener).createAndEmptyDirectory(Mockito.anyString()); in initListener()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DIncidentReportListener.java58 File result = createAndEmptyDirectory(DIRECTORY_NAME); in onTestRunStart()
DLogcatOnFailureCollector.java74 mDestDir = createAndEmptyDirectory(DEFAULT_DIR); in onTestRunStart()
DScreenRecordCollector.java59 mDestDir = createAndEmptyDirectory(OUTPUT_DIR); in onTestRunStart()
DBatteryStatsListener.java99 mDestDir = createAndEmptyDirectory(dir); in onTestRunStart()
DScreenshotOnFailureCollector.java97 mDestDir = createAndEmptyDirectory(dir); in onTestRunStart()
DScheduledRunCollectionListener.java97 File destDir = createAndEmptyDirectory(destination.getParent().toString()); in TimeSeriesCsvWriter()
DBaseMetricListener.java299 public File createAndEmptyDirectory(String dir) { in createAndEmptyDirectory() method in BaseMetricListener