/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/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/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/experimental/NotificationListenerSample/src/com/android/example/notificationlistener/ |
D | Listener.java | 117 boolean exists = mRankingMap.getRanking(delta.mSbn.getKey(), mTmpRanking); 118 if (!exists) { 136 boolean exists = mRankingMap.getRanking(delta.mSbn.getKey(), mTmpRanking); 137 if (exists) {
|
/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()
|
D | ImapTempFileLiteral.java | 108 if (!isDestroyed() && mFile.exists()) { in destroy() 124 return mFile.exists(); in tempFileExistsForTest()
|
/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/services/Telephony/src/com/android/phone/ |
D | CallTime.java | 199 if (file.exists() == false) { in startTrace() 207 if (file.exists() == true) { in startTrace() 212 if (file.exists() == true) { in startTrace()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DataExporter.java | 105 if (!directory.exists()) { in ensureOutputDirectory() 115 return getOutputDirectory(context).exists(); in dumpFileExists() 123 if (!file.exists()) return; in removeFileOrDirectory()
|
/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/Browser/src/com/android/browser/provider/ |
D | SnapshotProvider.java | 122 if (dbPath.exists()) return; in migrateToDataFolder() 124 if (oldPath.exists()) { in migrateToDataFolder() 225 if (f.exists()) { in deleteDataFiles()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/personalization/ |
D | UserHistoryDictionaryTests.java | 187 assertTrue("check exisiting of " + dictFile, dictFile.exists()); in testRandomWords() 231 assertTrue("check exisiting of " + dictFile, dictFile.exists()); in testStressTestForSwitchingLanguagesAndAddingWords() 251 assertTrue("check exisiting of " + dictFile, dictFile.exists()); in testAddManyWords()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | DeleteNonRequiredAppsTask.java | 104 return getSystemAppsFile(context, userId).exists(); in shouldDeleteNonRequiredApps() 130 if (!systemAppsFile.exists()) { in deleteNonRequiredApps() 276 if (!systemAppsFile.exists()) { in readSystemApps()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 155 if ((!nnnAAAAA.exists()) && (!nnnAAAAA.mkdir())) { in ensureOSXCompatibleFolder() 209 if (!dir.exists()) dir.mkdirs(); in addImage() 452 if (f.exists()) { in checkFsWritable()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 544 if (!file.exists()) { in createDefaultFolders() 624 if (origFile.exists() && origFile.length() > 0) { in onCreate() 1226 if (thumbsfolder.exists()) { in updateDatabase() 2956 if (file.exists()) { in insertDirectory() 3214 if (file.exists()) { in insertFile() 3653 if (nomedia.exists()) { in processNewNoMediaPath() 3662 if (nomedia.exists()) { in processNewNoMediaPath() 3811 if (file.exists()) { in ensureFileExists() 3826 if (!directory.exists()) in ensureFileExists() 4760 if (! parent.exists()) { in checkLeadingPathComponentsWorldExecutable() [all …]
|
/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/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamTransferManager.java | 271 if (file.exists()) file.delete(); in cancel() 515 while (dstFile.exists()) { in generateUniqueDestination() 530 while (newFile.exists()) { in generateMultiplePath()
|
/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/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactEntryListAdapter.java | 369 public void setProfileExists(boolean exists) { in setProfileExists() argument 370 mProfileExists = exists; in setProfileExists() 372 if (exists) { in setProfileExists()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppOpsState.java | 254 if (mApkFile.exists()) { in getIcon() 263 if (mApkFile.exists()) { in getIcon() 282 if (!mApkFile.exists()) { in loadLabel()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 1546 if (file.exists()) { in testCreateUniqueFile() 1845 assertTrue(dbFile.exists()); in testDatabaseCorruptionRecovery() 1848 assertFalse(dbFile.exists()); in testDatabaseCorruptionRecovery() 1854 assertTrue(dbFile.exists()); in testDatabaseCorruptionRecovery() 1911 assertTrue(dbFile.exists()); in testBodyDatabaseCorruptionRecovery() 1914 assertFalse(dbFile.exists()); in testBodyDatabaseCorruptionRecovery() 1920 assertTrue(dbFile.exists()); in testBodyDatabaseCorruptionRecovery()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | BinaryDictionaryUtilsTests.java | 83 assertFalse(dictFile0.exists()); in testRenameDictionary() 84 assertTrue(dictFile1.exists()); in testRenameDictionary()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | CursorAnchorInfoCompatWrapper.java | 88 return sCursorAnchorInfoClass.exists() && mInstance != null; in isAvailable() 99 if (!sCursorAnchorInfoClass.exists()) { in fromObject()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 274 assertTrue(mFolder.exists()); in testStoreFoldersFunctions() 275 assertTrue(folderMixedCaseInbox.exists()); in testStoreFoldersFunctions() 276 assertFalse(folderNotInbox.exists()); in testStoreFoldersFunctions()
|