/cts/tests/tests/security/src/android/security/cts/ |
D | BannedFilesTest.java | 57 assertFalse("/dev/socket/init_runit", new File("/dev/socket/init_runit").exists()); in testNoRootCmdSocket() 58 assertFalse("/dev/socket/fotabinder", new File("/dev/socket/fotabinder").exists()); in testNoRootCmdSocket() 62 assertFalse("/sbin/su", new File("/sbin/su").exists()); in testNoSu() 63 assertFalse("/system/bin/su", new File("/system/bin/su").exists()); in testNoSu() 64 assertFalse("/system/sbin/su", new File("/system/sbin/su").exists()); in testNoSu() 65 assertFalse("/system/xbin/su", new File("/system/xbin/su").exists()); in testNoSu() 66 assertFalse("/vendor/bin/su", new File("/vendor/bin/su").exists()); in testNoSu() 77 assertFalse(f.getAbsolutePath() + " exists", f.exists()); in testNoSuInPath()
|
D | HwRngTest.java | 58 DEV_HW_RANDOM.exists() ? 1 : 0, in testDeviceFilePresent() 63 DEV_HW_RANDOM.exists() ? 1 : 0, in testDeviceFilePresent() 73 if (!DEV_HW_RANDOM.exists()) { in testConfigurationIfFilePresent()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/build/ |
D | CtsBuildHelper.java | 108 if (!apkFile.exists()) { in getTestApp() 162 if (!getCtsDir().exists()) { in validateStructure() 166 if (!getTestCasesDir().exists()) { in validateStructure() 171 if (!getTestPlansDir().exists()) { in validateStructure()
|
/cts/hostsidetests/devicepolicy/app/LauncherTestsSupport/src/com/android/cts/launchertests/support/ |
D | LauncherCallbackTestsService.java | 90 boolean exists = eventExists(params, mPackagesAdded); in handleMessage() 93 exists ? RESULT_PASS : RESULT_FAIL, 0)); in handleMessage() 98 boolean exists = eventExists(params, mPackagesRemoved); in handleMessage() 101 exists ? RESULT_PASS : RESULT_FAIL, 0)); in handleMessage() 106 boolean exists = eventExists(params, mPackagesChanged); in handleMessage() 109 exists ? RESULT_PASS : RESULT_FAIL, 0)); in handleMessage() 114 boolean exists = eventExists(params, mPackagesAdded); in handleMessage() 117 exists ? RESULT_FAIL : RESULT_PASS, 0)); in handleMessage()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ReferenceImagesTest.java | 42 if (outputZip.exists()) { in testGenerateReferenceImages() 50 assertTrue("Generated reference image ZIP", outputZip.exists()); in testGenerateReferenceImages()
|
D | ThemeTestUtils.java | 35 if (dir == null || !dir.exists() || file == null || file.exists()) { in compressDirectory()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | SharedPreferencesTest.java | 67 assertFalse(mPrefsFile.exists()); in testNoFileInitially() 72 assertFalse(mPrefsFile.exists()); in testCommitCreatesFiles() 74 assertTrue(mPrefsFile.exists()); in testCommitCreatesFiles() 122 assertFalse(mPrefsFile.exists()); in test() 124 assertTrue(mPrefsFile.exists()); in test() 220 assertFalse(mPrefsFile.exists()); in testRedundantCommitWritesFileIfNotAlreadyExisting() 222 assertTrue(mPrefsFile.exists()); in testRedundantCommitWritesFileIfNotAlreadyExisting() 233 assertTrue(mPrefsFile.exists()); in testRedundantCommitWritesFileIfNotAlreadyExisting()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | PrintStreamPrinterTest.java | 36 if (!mFile.exists()) { in setUp() 70 if (mFile.exists()) { in tearDown()
|
D | PrintWriterPrinterTest.java | 38 if (!mFile.exists()) in setUp() 80 if (mFile.exists()) in tearDown()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_FilesTest.java | 300 assertTrue(sdfile.exists()); in testAccess() 403 + " before running", dir.exists()); in testAccess() 417 assertFalse(dir.getAbsolutePath() + " was created", dir.exists()); in testAccess() 433 assertFalse(file.exists()); in testAccess() 444 assertFalse(file.exists()); in testAccess() 464 assertFalse(dir.exists()); in testAccess() 465 assertFalse(file.exists()); in testAccess() 476 assertFalse(dir.exists()); in testAccess() 477 assertFalse(file.exists()); in testAccess() 479 assertFalse(dir.exists()); in testAccess() [all …]
|
D | MediaStore_Images_ThumbnailsTest.java | 137 assertTrue("image file does not exist", new File(imagePath).exists()); in testQueryExternalMiniThumbnails() 162 assertTrue("thumbnail file does not exist", new File(thumbPath).exists()); in testQueryExternalMiniThumbnails() 170 assertFalse("image file should no longer exist", new File(imagePath).exists()); in testQueryExternalMiniThumbnails() 177 assertFalse("thumbnail file should no longer exist", new File(thumbPath).exists()); in testQueryExternalMiniThumbnails() 188 assertTrue("image file does not exist", new File(imagePath).exists()); in testQueryExternalMiniThumbnails() 191 assertFalse("image file should no longer exist", new File(imagePath).exists()); in testQueryExternalMiniThumbnails() 206 assertTrue("thumbnail file does not exist", new File(thumbPath).exists()); in testQueryExternalMiniThumbnails() 214 assertFalse("thumbnail file should no longer exist", new File(thumbPath).exists()); in testQueryExternalMiniThumbnails() 215 assertTrue("image file should still exist", new File(imagePath).exists()); in testQueryExternalMiniThumbnails()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileObserverTest.java | 54 if (mTestFile != null && mTestFile.exists()) { in tearDown() 58 if (mMoveDestFile != null && mMoveDestFile.exists()) { in tearDown() 62 if (mTestDir != null && mTestDir.exists()) { in tearDown() 128 assertTrue(mTestFile.exists()); in testFileObserver()
|
D | UsbDebuggingTest.java | 33 assertFalse(keys.exists()); in testUsbDebugging()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | VulkanReservedTest.java | 30 assertFalse(filename + " must not exist", new File(filename).exists()); in assertNoFile()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTest.java | 133 assertTrue("CtsLocal root", findRoot("CtsLocal").exists()); in testOpenSimple() 134 assertTrue("CtsCreate root", findRoot("CtsCreate").exists()); in testOpenSimple() 135 assertFalse("CtsGetContent root", findRoot("CtsGetContent").exists()); in testOpenSimple() 293 assertTrue("CtsLocal root", findRoot("CtsLocal").exists()); in testGetContent() 294 assertTrue("CtsCreate root", findRoot("CtsCreate").exists()); in testGetContent() 295 assertTrue("CtsGetContent root", findRoot("CtsGetContent").exists()); in testGetContent()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | WifiTest.java | 113 private boolean awaitNetworkState(String ssid, boolean exists) { in awaitNetworkState() argument 118 if ((getNetworkForSsid(ssid) != null) == exists) { in awaitNetworkState()
|
/cts/hostsidetests/appsecurity/test-apps/WriteExternalStorageApp/src/com/android/cts/writeexternalstorageapp/ |
D | WriteExternalStorageTest.java | 96 assertFalse(probe.exists()); in testWriteExternalStorageDirs() 255 if (test.exists()) { in testVerifyNoMediaCreated() 289 if (testProbe.exists() || testUserProbe.exists()) { in testSecondaryMountPointsNotWritable()
|
/cts/tests/tests/speech/src/android/speech/tts/cts/ |
D | TextToSpeechServiceTest.java | 58 assertFalse(sampleFile.exists()); in testSynthesizeToFile() 64 assertTrue("synthesizeToFile() didn't produce a file", sampleFile.exists()); in testSynthesizeToFile()
|
D | TextToSpeechTest.java | 122 assertFalse(sampleFile.exists()); in testSynthesizeToFile() 129 assertTrue("synthesizeToFile() didn't produce a file", sampleFile.exists()); in testSynthesizeToFile()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | DownloadManagerTest.java | 212 if (uriLocation.exists()) { in testDownloadManagerDestination() 217 if (extFileLocation.exists()) { in testDownloadManagerDestination() 224 if (publicLocation.exists()) { in testDownloadManagerDestination() 269 if (noExtLocation.exists()) { in testDownloadManagerDestinationExtension() 275 if (wrongExtLocation.exists()) { in testDownloadManagerDestinationExtension() 441 assertTrue(location.exists()); in assertSuccessfulDownload()
|
/cts/tests/uiautomator/src/com/android/cts/uiautomatortest/ |
D | CtsUiAutomatorTest.java | 62 if (!new UiObject(new UiSelector().packageName(PKG_NAME)).exists()) in setUp() 101 if (!listView.exists()) in testListScrollAndSelect() 213 getObjectByText("After").exists()); in testSelectAfterContentChanged() 249 assertFalse("Wait for exist must return false after press back", result.exists()); in testDeviceSoftKeys() 391 assertFalse("Object is reported as existing", obj.exists()); in testExceptionObjectNotFound() 413 if (new UiObject(new UiSelector().packageName("android")).exists()) { in testUiWatcher() 755 assertTrue("Screenshot file not detected in store", storePath.exists()); in testTakeScreenShots() 770 assertTrue("Object with selector resource-id not found", toggleButton.exists()); in testSelectorResourceId() 1020 if (!listView.exists()) in openTest() 1067 if (!getObjectByText("Action results").exists() || !getObjectByText(txt).exists()) { in verifyDialogActionResults()
|
/cts/tools/cfassembler/src/dxconvext/util/ |
D | FileUtils.java | 54 if (!file.exists()) { in readFile()
|
/cts/tools/signature-tools/src/signature/io/html/ |
D | HtmlDeltaExternalizer.java | 53 if (!directory.exists()) { in externalize() 78 if (!file.exists()) { in externalize()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableTest.java | 128 assertTrue(imageFile.exists()); in testCreateFromPath() 195 if (emptyFile.exists()) { in testCreateFromStream() 198 if (imageFile.exists()) { in testCreateFromStream() 242 if (emptyFile.exists()) { in testCreateFromResourceStream1() 245 if (imageFile.exists()) { in testCreateFromResourceStream1() 292 if (emptyFile.exists()) { in testCreateFromResourceStream2() 295 if (imageFile.exists()) { in testCreateFromResourceStream2()
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | JillBuildStep.java | 36 if (!outDir.exists() && !outDir.mkdirs()) { in build()
|