/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileUtils.java | 132 if (file.exists()) { in openInputStream() 167 if (file.exists()) { in openOutputStream() 176 if (parent != null && parent.exists() == false) { in openOutputStream() 222 if (!file.exists()) { in touch() 419 boolean file1Exists = file1.exists(); in contentEquals() 420 if (file1Exists != file2.exists()) { in contentEquals() 587 if (destDir.exists() && destDir.isDirectory() == false) { in copyFileToDirectory() 639 if (srcFile.exists() == false) { in copyFile() 648 if (destFile.getParentFile() != null && destFile.getParentFile().exists() == false) { in copyFile() 653 if (destFile.exists() && destFile.canWrite() == false) { in copyFile() [all …]
|
D | FileDeleteStrategy.java | 73 if (fileToDelete == null || fileToDelete.exists() == false) { in deleteQuietly() 94 if (fileToDelete.exists() && doDelete(fileToDelete) == false) { in delete()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | SearchBot.java | 74 assertTrue(fragmentSearchView.exists()); in clickIcon() 107 assertTrue(textField.exists()); in assertInputEquals() 115 assertTrue(textField.exists()); in assertInputFocused() 119 public void assertInputExists(boolean exists) in assertInputExists() argument 121 assertEquals(exists, findSearchViewTextField().exists()); in assertInputExists() 128 assertTrue(textField.exists()); in assertFragmentInputFocused() 132 public void assertFragmentInputExists(boolean exists) in assertFragmentInputExists() argument 134 assertEquals(exists, findFragmentSearchViewTextField().exists()); in assertFragmentInputExists()
|
D | DirectoryListBot.java | 86 if (!findDocument(label).exists()) { in assertDocumentsPresent() 99 if (findDocument(label).exists()) { in assertDocumentsAbsent() 109 …public void assertDocumentsCountOnList(boolean exists, int count) throws UiObjectNotFoundException… in assertDocumentsCountOnList() argument 111 assertEquals(exists, docsList.exists()); in assertDocumentsCountOnList() 112 if(docsList.exists()) { in assertDocumentsCountOnList() 126 assertTrue(messageTextView.exists()); in assertHasMessage() 128 assertFalse(messageTextView.exists()); in assertHasMessage() 149 assertTrue(messageTextView.exists()); in assertPlaceholderMessageText() 279 if (!findDocument(label).exists()) { in hasDocuments()
|
/packages/services/Car/car_product/build/ |
D | car.mk | 62 $(call inherit-product-if-exists, frameworks/base/data/fonts/fonts.mk) 63 $(call inherit-product-if-exists, external/google-fonts/dancing-script/fonts.mk) 64 $(call inherit-product-if-exists, external/google-fonts/carrois-gothic-sc/fonts.mk) 65 $(call inherit-product-if-exists, external/google-fonts/coming-soon/fonts.mk) 66 $(call inherit-product-if-exists, external/google-fonts/cutive-mono/fonts.mk) 67 $(call inherit-product-if-exists, external/noto-fonts/fonts.mk) 68 $(call inherit-product-if-exists, external/roboto-fonts/fonts.mk) 69 $(call inherit-product-if-exists, external/hyphenation-patterns/patterns.mk) 70 $(call inherit-product-if-exists, frameworks/base/data/keyboards/keyboards.mk) 71 $(call inherit-product-if-exists, frameworks/webview/chromium/chromium.mk)
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarLocationServiceTest.java | 240 assertThat(getLocationCacheFile().exists()).isFalse(); in testDoesNotLoadLocationWhenNoFileExists() 389 assertFalse(getLocationCacheFile().exists()); in testDoesNotStoreNullLocation() 407 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileWhenLocationIsDisabled() 413 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileWhenLocationIsDisabled() 430 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileUponSuspendExit() 447 assertTrue(getLocationCacheFile().exists()); in testDeletesCacheFileWhenDrivingStateBecomesMoving() 455 assertFalse(getLocationCacheFile().exists()); in testDeletesCacheFileWhenDrivingStateBecomesMoving()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | IdleServiceTest.java | 86 assertFalse(a.exists()); in testPruneThumbnails() 87 assertFalse(b.exists()); in testPruneThumbnails() 88 assertTrue(c.exists()); in testPruneThumbnails() 89 assertFalse(d.exists()); in testPruneThumbnails()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
D | SimpleTempStorage.java | 67 } while (p.exists() && count > 0); in createTempPath() 69 if (p.exists() || !p.mkdirs()) { in createTempPath() 96 } while (f.exists() && count > 0); in createTempFile() 98 if (f.exists()) { in createTempFile()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | ConfigDialogFragment.java | 65 public static void show(VpnSettings parent, VpnProfile profile, boolean edit, boolean exists) { in show() argument 71 args.putBoolean(ARG_EXISTS, exists); in show() 90 boolean exists = args.getBoolean(ARG_EXISTS); in onCreateDialog() 92 final Dialog dialog = new ConfigDialog(getActivity(), this, profile, editing, exists); in onCreateDialog()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/ |
D | ConfigDialogFragment.java | 65 public static void show(VpnSettings parent, VpnProfile profile, boolean edit, boolean exists) { in show() argument 71 args.putBoolean(ARG_EXISTS, exists); in show() 90 boolean exists = args.getBoolean(ARG_EXISTS); in onCreateDialog() 92 final Dialog dialog = new ConfigDialog(getActivity(), this, profile, editing, exists); in onCreateDialog()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallTime.java | 200 if (file.exists() == false) { in startTrace() 208 if (file.exists() == true) { in startTrace() 213 if (file.exists() == true) { in startTrace()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DataExporter.java | 102 if (!directory.exists()) { in ensureOutputDirectory() 112 return getOutputDirectory(context).exists(); in dumpFileExists() 120 if (!file.exists()) return; in removeFileOrDirectory()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveImage.java | 154 if (!saveDirectory.exists()) in getFinalSaveDirectory() 199 if (auxDir.exists()) { in deleteAuxFiles() 477 if (!auxDiretory.exists()) { in moveSrcToAuxIfNeeded() 487 if (!noMedia.exists()) { in moveSrcToAuxIfNeeded() 510 if (!newSrcFile.exists()) { in moveSrcToAuxIfNeeded() 682 if (oldSelectedFile.exists()) { in linkNewFileToUri()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/ |
D | MigrateSystemAppsSnapshotTaskTest.java | 116 assertFalse(SystemAppsSnapshot.getFolder(mContext).exists()); in testRun_nothingToMigrate() 182 assertFalse(legacyFolder.exists()); in assertFilesAreMigrated() 183 assertTrue(newFolder.exists()); in assertFilesAreMigrated()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | DbDowngradeHelperTest.java | 71 assertFalse(mSchemaFile.exists()); in testDowngradeSchemaMatchesVersion() 86 assertFalse(mSchemaFile.exists()); in testUpdateSchemaFile() 89 assertTrue(mSchemaFile.exists()); in testUpdateSchemaFile()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | PhotoStoreTest.java | 134 assertTrue(storedFile.exists()); in runStorageTestForResource() 179 assertTrue(new File(entry.path).exists()); in testRemoveEntry() 184 assertFalse(new File(entry.path).exists()); in testRemoveEntry()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
D | SizeFileComparator.java | 111 size1 = sumDirectoryContents && file1.exists() ? FileUtils.sizeOfDirectory(file1) : 0; in compare() 117 size2 = sumDirectoryContents && file2.exists() ? FileUtils.sizeOfDirectory(file2) : 0; in compare()
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | FileUtils.java | 59 Log.d(TAG, "Testing file " + dir + " exists=" + dir.exists() in makeDirectory() 62 if (dir.exists()) { in makeDirectory()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.java | 877 boolean exists = false; in jj_add_error_token() 881 exists = true; in jj_add_error_token() 884 exists = false; in jj_add_error_token() 888 if (exists) break; in jj_add_error_token() 891 if (!exists) jj_expentries.addElement(jj_expentry); in jj_add_error_token()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | LicenseHtmlLoader.java | 73 if (file.exists() && file.length() != 0) { in getVaildXmlFiles() 86 if (cachedHtmlFile.exists() && cachedHtmlFile.length() != 0) { in isCachedHtmlFileOutdated()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarUxRestrictionsManagerServiceTest.java | 114 assertFalse(new File(mTempSystemCarDir, CONFIG_FILENAME_PRODUCTION).exists()); in testSaveConfig_WriteStagedFile() 169 assertFalse(staged.exists()); in testLoadConfig_PromoteStagedFileWhenParked() 184 assertTrue(staged.exists()); in testLoadConfig_NoPromoteStagedFileWhenMoving()
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
D | ImapTempFileLiteral.java | 105 if (!isDestroyed() && mFile.exists()) { in destroy() 121 return mFile.exists(); in tempFileExistsForTest()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | ImapService.java | 447 if (!remoteFolder.exists()) { in synchronizeMailboxGeneric() 1105 if (!remoteFolder.exists()) { in processPendingDataChange() 1140 if (!remoteFolder.exists()) { in processPendingDataChange() 1202 if (!remoteFolder.exists()) { in processPendingMoveToTrash() 1221 if (!remoteTrashFolder.exists()) { in processPendingMoveToTrash() 1230 if (remoteTrashFolder.exists()) { in processPendingMoveToTrash() 1289 if (!remoteTrashFolder.exists()) { in processPendingDeleteFromTrash() 1332 if (!remoteFolder.exists()) { in processPendingAppend()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/ |
D | ImapTempFileLiteral.java | 101 if (!isDestroyed() && file.exists()) { in destroy() 117 return file.exists(); in tempFileExistsForTest()
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | SessionStorageManagerImpl.java | 66 if (!sessionDirectory.exists() && !sessionDirectory.mkdirs()) { in getSessionDirectory() 99 if (!tempFile.exists()) { in createTemporaryOutputPath()
|