/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | IncidentReportListenerTest.java | 85 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()
|
D | ScheduledRunCollectionListenerTest.java | 195 assertTrue(outputFile.exists()); in testRun()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/ |
D | ScreenRecorderTest.java | 66 assertThat(file.exists()).isTrue(); in videoIsRecorded() 75 assertThat(Files.exists(file)).isTrue(); in videoCanBeSaved()
|
D | LayersTraceMonitorTest.java | 80 assertThat(testFile.exists()).isTrue(); in captureLayersTrace()
|
D | WindowManagerTraceMonitorTest.java | 80 assertThat(testFile.exists()).isTrue(); in captureWindowTrace()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | IncidentReportListener.java | 73 if (!REPORT_DIRECTORY.toFile().exists()) { in onTestRunEnd() 101 if (!destination.exists()) { in onTestRunEnd()
|
D | ScreenshotOnFailureCollector.java | 141 if (img.exists()) { in takeScreenshot() 171 if (uixFile.exists()) { in collectUiXml()
|
D | BaseMetricListener.java | 303 if (!destDir.exists() && !destDir.mkdirs()) { in createAndEmptyDirectory()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | DexTestRunner.java | 312 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()
|
D | FilesystemUtil.java | 102 if (!outputDir.exists()) { in dumpMeminfo()
|
D | AuptTestRunner.java | 181 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/ |
D | LayersTraceSubject.java | 176 addAssertion(entry -> entry.exists(layerName).negate(), "hasNotLayer(" + layerName + ")"); in hasNotLayer() 181 addAssertion(entry -> entry.exists(layerName), "hasLayer(" + layerName + ")"); in hasLayer()
|
D | TransitionRunner.java | 282 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()
|
D | LayersTrace.java | 344 public Result exists(String layerName) { in exists() method in LayersTrace.Entry
|
/platform_testing/libraries/junitxml/src/com/android/junitxml/ |
D | JUnitXmlRunner.java | 65 if (outputFile.exists()) { in getAtestRunListener()
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationHelper.java | 201 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/ |
D | ShowmapSnapshotHelper.java | 86 if (directory.exists()) { in startCollecting() 87 if (file.exists() && !file.delete()) { in startCollecting()
|
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/ |
D | PerfettoHelper.java | 201 if (!directory.exists()) { in copyFileOutput()
|
/platform_testing/libraries/health/runners/longevity/platform/src/android/platform/test/longevity/ |
D | Profile.java | 267 if (!configFile.exists()) { in getConfigurationArgument()
|
/platform_testing/libraries/app-helpers/core/src/android/platform/helpers/ |
D | HelperManager.java | 106 if (!(new File(path)).exists()) { in getInstance()
|
D | AbstractStandardAppHelper.java | 274 if (!sScreenshotDirectory.exists()) { in getScreenshotDirectory()
|
/platform_testing/tests/perf/PerfTransitionTest/src/com/android/apptransition/tests/ |
D | AppTransitionTests.java | 368 if (!mRootTrace.exists() && !mRootTrace.mkdirs()) { in createTraceDirectory() 372 if (!mRootTraceSubDir.exists() && !mRootTraceSubDir.mkdirs()) { in createTraceDirectory()
|
D | LatencyTests.java | 363 if (!mRootTrace.exists() && !mRootTrace.mkdirs()) { in createTraceDirectory()
|
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
D | SystemUiJankTests.java | 198 if (clearAll.exists()) { in prepareNotifications() 621 while (!clearAll.exists()) { in testClearAll()
|