/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/ |
D | ScreenshotTestRuleTest.kt | 82 assertThat(rule.getPathOnDeviceFor(IMAGE_ACTUAL, goldenIdentifier).exists()).isTrue() in goldenIdentifierResolver() 83 assertThat(rule.getPathOnDeviceFor(IMAGE_DIFF, goldenIdentifier).exists()).isFalse() in goldenIdentifierResolver() 84 assertThat(rule.getPathOnDeviceFor(IMAGE_EXPECTED, goldenIdentifier).exists()).isTrue() in goldenIdentifierResolver() 85 assertThat(rule.getPathOnDeviceFor(RESULT_BIN_PROTO, goldenIdentifier).exists()).isTrue() in goldenIdentifierResolver() 104 assertThat(customizedRule.getPathOnDeviceFor(IMAGE_ACTUAL, goldenIdentifier).exists()) in goldenIdentifierResolver() 106 assertThat(customizedRule.getPathOnDeviceFor(IMAGE_DIFF, goldenIdentifier).exists()) in goldenIdentifierResolver() 108 assertThat(customizedRule.getPathOnDeviceFor(IMAGE_EXPECTED, goldenIdentifier).exists()) in goldenIdentifierResolver() 110 assertThat(customizedRule.getPathOnDeviceFor(RESULT_BIN_PROTO, goldenIdentifier).exists()) in goldenIdentifierResolver() 130 assertThat(rule.getPathOnDeviceFor(IMAGE_ACTUAL, goldenIdentifier).exists()).isTrue() in goldenIdentifierResolver() 131 assertThat(rule.getPathOnDeviceFor(IMAGE_DIFF, goldenIdentifier).exists()).isFalse() in goldenIdentifierResolver() [all …]
|
/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()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/layers/ |
D | LayerSubject.kt | 86 layer ?: return exists() in <lambda>() 100 fun exists(): LayerSubject = apply { in <lambda>() method 117 layer ?: return exists() in <lambda>() 129 layer ?: return exists() in <lambda>() 139 layer ?: return exists() in <lambda>() 149 layer ?: return exists() in <lambda>()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/monitor/ |
D | ScreenRecorderTest.kt | 64 .that(Files.exists(file)) in videoIsRecorded() 74 Truth.assertWithMessage("Trace file $trace not found").that(Files.exists(trace)).isTrue() in videoCanBeSaved()
|
D | TraceMonitorTest.kt | 86 Truth.assertWithMessage("File $testFile exists").that(testFile.exists()).isTrue() in captureTrace()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/monitor/ |
D | ScreenRecorder.kt | 97 require(!Files.exists(sourceFile)) { "Could not delete old trace file" } in startTracing() 108 } while (!Files.exists(sourceFile) && remainingTime > 0) in startTracing() 110 require(Files.exists(sourceFile)) { in startTracing()
|
D | TraceMonitor.kt | 55 require(Files.exists(outputFile)) { "Unable to save trace file $outputFile" } in startTracing()
|
/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()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/traces/windowmanager/ |
D | WindowStateSubject.kt | 69 windowState ?: return exists() in <lambda>() 83 fun exists(): WindowStateSubject = apply { in <lambda>() method
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/windowmanager/ |
D | WindowStateSubjectTest.kt | 37 .exists() in exceptionContainsDebugInfoImaginary()
|
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/ |
D | PinnerHelper.java | 70 if (directory.exists()) { in startCollecting() 71 if (file.exists() && !file.delete()) { in startCollecting()
|
/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()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/layers/ |
D | LayerSubjectTest.kt | 43 .exists() in exceptionContainsDebugInfoImaginary()
|
/platform_testing/libraries/junitxml/src/com/android/junitxml/ |
D | JUnitXmlRunner.java | 65 if (outputFile.exists()) { in getAtestRunListener()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/rules/ |
D | WMFlickerServiceRule.kt | 81 if (Files.exists(outputDir)) { in <lambda>()
|
/platform_testing/tests/functional/notificationtests/src/com/android/notification/functional/ |
D | NotificationHelper.java | 203 public boolean checkNotificationExistence(int id, boolean exists) throws Exception { in checkNotificationExistence() argument 214 if (isFound == exists) { in checkNotificationExistence() 220 return isFound == exists; in checkNotificationExistence()
|
/platform_testing/libraries/audio-test-harness/instrumentation/src/com/android/media/audiotestharness/instrumentation/ |
D | AudioTestHarnessCaptureTest.java | 158 if (outputFile.exists()) { in writeSamplesToAppStorage()
|
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/ui/ |
D | UiSearch.java | 187 if (getUiDevice().findObject(selector).exists()) { in search()
|
D | UiSearch2.java | 193 if (getUiDevice().findObject(selector).exists()) { in search()
|
/platform_testing/libraries/flicker/src/com/android/server/wm/flicker/service/ |
D | FlickerCollectionHelper.kt | 116 if (!Files.exists(outputDir)) { in <lambda>()
|
/platform_testing/libraries/health/rules/src/android/platform/test/rule/ |
D | ScreenRecordRule.kt | 149 ensureThat("Recording output created") { exists() } in <lambda>()
|
/platform_testing/libraries/collectors-helper/perfetto/src/com/android/helpers/ |
D | PerfettoHelper.java | 211 if (!directory.exists()) { in copyFileOutput()
|
/platform_testing/libraries/flicker/test/src/com/android/server/wm/flicker/ |
D | Utils.kt | 136 .that(Files.exists(archivePath)).isTrue() in assertArchiveContainsAllTraces()
|