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()
DIncidentReportListenerTest.java113 doReturn(null).when(mListener).createAndEmptyDirectory(anyString()); in testFailCollectIfNoDestinationDirectory()
DGcaEventLogCollectorTest.java75 Mockito.doReturn(mDestDir).when(listener).createAndEmptyDirectory(Mockito.anyString()); in initListener()
DLogcatCollectorTest.java95 Mockito.doReturn(mLogDir).when(listener).createAndEmptyDirectory(Mockito.anyString()); in initListener()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DMobilityChangeCollector.java47 mDestDir = createAndEmptyDirectory(DEFAULT_DIR); in onTestRunStart()
DIncidentReportListener.java58 File result = createAndEmptyDirectory(DIRECTORY_NAME); in onTestRunStart()
DLogcatCollector.java88 mDestDir = createAndEmptyDirectory(DEFAULT_DIR); in onTestRunStart()
DScreenshotOnFailureCollector.java97 mDestDir = createAndEmptyDirectory(dir); in onTestRunStart()
DBatteryStatsListener.java99 mDestDir = createAndEmptyDirectory(dir); in onTestRunStart()
DGcaEventLogCollector.java99 mDestDir = createAndEmptyDirectory(DEST_DIR); in onTestRunStart()
DBaseMetricListener.java377 public File createAndEmptyDirectory(String dir) { in createAndEmptyDirectory() method in BaseMetricListener