Home
last modified time | relevance | path

Searched refs:exists (Results 1 – 24 of 24) sorted by relevance

/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DIncidentReportListenerTest.java85 assertFalse(REPORT_DEST.exists()); in testCreateDirectoryAtStart()
86 assertFalse(REPORT_FILE.exists()); in testCreateDirectoryAtStart()
88 assertTrue(REPORT_DEST.exists()); in testCreateDirectoryAtStart()
100 assertFalse(REPORT_FILE.exists()); in testCollectFullReportAtEnd()
102 assertTrue(REPORT_FILE.exists()); in testCollectFullReportAtEnd()
122 assertFalse(REPORT_DEST.exists()); in testFailCollectIfNoDestinationDirectory()
DScheduledRunCollectionListenerTest.java195 assertTrue(outputFile.exists()); in testRun()
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/
DScreenRecorderTest.java66 assertThat(file.exists()).isTrue(); in videoIsRecorded()
75 assertThat(Files.exists(file)).isTrue(); in videoCanBeSaved()
DLayersTraceMonitorTest.java80 assertThat(testFile.exists()).isTrue(); in captureLayersTrace()
DWindowManagerTraceMonitorTest.java80 assertThat(testFile.exists()).isTrue(); in captureWindowTrace()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DIncidentReportListener.java73 if (!REPORT_DIRECTORY.toFile().exists()) { in onTestRunEnd()
101 if (!destination.exists()) { in onTestRunEnd()
DScreenshotOnFailureCollector.java141 if (img.exists()) { in takeScreenshot()
171 if (uixFile.exists()) { in collectUiXml()
DBaseMetricListener.java303 if (!destDir.exists() && !destDir.mkdirs()) { in createAndEmptyDirectory()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DDexTestRunner.java312 if (jarFile.exists()) { in parseDexedJarPaths()
331 if (new File(jar).exists() && new File(jar).canRead()) { in makeLoader()
345 if (optDir.exists() || optDir.mkdirs()) { in makeLoader()
DFilesystemUtil.java102 if (!outputDir.exists()) { in dumpMeminfo()
DAuptTestRunner.java181 if (!mResultsDirectory.exists() && !mResultsDirectory.mkdirs()) { in onCreate()
540 if (dcimFolder.exists()) {
541 if (cameraFolder.exists()) {
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/
DLayersTraceSubject.java176 addAssertion(entry -> entry.exists(layerName).negate(), "hasNotLayer(" + layerName + ")"); in hasNotLayer()
181 addAssertion(entry -> entry.exists(layerName), "hasLayer(" + layerName + ")"); in hasLayer()
DTransitionRunner.java282 return layersTrace != null && layersTrace.toFile().exists(); in layersTraceExists()
302 return windowManagerTrace != null && windowManagerTrace.toFile().exists(); in windowManagerTraceExists()
322 return screenCaptureVideo != null && screenCaptureVideo.toFile().exists(); in screenCaptureVideoExists()
DLayersTrace.java344 public Result exists(String layerName) { in exists() method in LayersTrace.Entry
/platform_testing/libraries/junitxml/src/com/android/junitxml/
DJUnitXmlRunner.java65 if (outputFile.exists()) { in getAtestRunListener()
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/
DNotificationHelper.java201 public boolean checkNotificationExistence(int id, boolean exists) throws Exception { in checkNotificationExistence() argument
212 if (isFound == exists) { in checkNotificationExistence()
218 return isFound == exists; in checkNotificationExistence()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DShowmapSnapshotHelper.java86 if (directory.exists()) { in startCollecting()
87 if (file.exists() && !file.delete()) { in startCollecting()
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/
DPerfettoHelper.java201 if (!directory.exists()) { in copyFileOutput()
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/
DProfile.java267 if (!configFile.exists()) { in getConfigurationArgument()
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/
DHelperManager.java106 if (!(new File(path)).exists()) { in getInstance()
DAbstractStandardAppHelper.java274 if (!sScreenshotDirectory.exists()) { in getScreenshotDirectory()
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/
DAppTransitionTests.java368 if (!mRootTrace.exists() && !mRootTrace.mkdirs()) { in createTraceDirectory()
372 if (!mRootTraceSubDir.exists() && !mRootTraceSubDir.mkdirs()) { in createTraceDirectory()
DLatencyTests.java363 if (!mRootTrace.exists() && !mRootTrace.mkdirs()) { in createTraceDirectory()
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
DSystemUiJankTests.java198 if (clearAll.exists()) { in prepareNotifications()
621 while (!clearAll.exists()) { in testClearAll()