/packages/apps/UnifiedEmail/src/org/apache/commons/io/ |
D | FileUtils.java | 133 if (file.isDirectory()) { in openInputStream() 168 if (file.isDirectory()) { in openOutputStream() 259 if (found[i].isDirectory()) { in innerListFiles() 295 if (!directory.isDirectory()) { in listFiles() 429 if (file1.isDirectory() || file2.isDirectory()) { in contentEquals() 587 if (destDir.exists() && destDir.isDirectory() == false) { in copyFileToDirectory() 642 if (srcFile.isDirectory()) { in copyFile() 668 if (destFile.exists() && destFile.isDirectory()) { in doCopyFile() 716 if (srcDir.exists() && srcDir.isDirectory() == false) { in copyDirectoryToDirectory() 722 if (destDir.exists() && destDir.isDirectory() == false) { in copyDirectoryToDirectory() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | FileUtil.java | 82 if (root.isDirectory()) { in removeFileOrDirectoryExcept() 99 if (sourceDir.isDirectory() && targetDir.isDirectory()) { in moveAllContentUnderDirectory() 106 if (file.isDirectory()) { in moveAllContentUnderDirectory()
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | FileUtils.java | 35 if (target.isDirectory()) { in deleteAll() 58 " isDirectory=" + dir.isDirectory()); in makeDirectory() 60 if (dir.exists()) return dir.isDirectory(); in makeDirectory()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | WriteableArchive.java | 88 if (entry.isDirectory()) { in addEntry() 144 final boolean isDirectory = Document.MIME_TYPE_DIR.equals(mimeType); in createDocument() 166 final String entryName = parentName + displayName + (isDirectory ? "/" : ""); in createDocument() 177 if (!isDirectory) { in createDocument()
|
D | Archive.java | 98 Preconditions.checkArgument(entry.isDirectory() == entry.getName().endsWith("/"), in getEntryPath() 189 if (parentEntry == null || !parentEntry.isDirectory()) { in isChildDocument() 195 String pathWithSlash = entry.isDirectory() ? getEntryPath(entry) in isChildDocument() 289 if (entry.isDirectory()) { in getMimeTypeForEntry()
|
D | ReadableArchive.java | 92 if (entry.isDirectory() != entry.getName().endsWith("/")) { in ReadableArchive() 101 if (entry.isDirectory()) { in ReadableArchive() 119 delimiterIndex = entryPath.lastIndexOf('/', entry.isDirectory() in ReadableArchive()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DocumentsAdapter.java | 92 static boolean isDirectory(Cursor cursor) { in isDirectory() method in DocumentsAdapter 97 boolean isDirectory(Model model, int position) { in isDirectory() method in DocumentsAdapter 100 return isDirectory(cursor); in isDirectory()
|
/packages/apps/TV/src/com/android/tv/tuner/source/ |
D | TsStreamWriter.java | 53 if (externalFilesDir == null || !externalFilesDir.isDirectory()) { in TsStreamWriter() 151 if (mDirectory == null || !mDirectory.isDirectory()) { in deleteOutdatedFiles() 199 if (mDirectory == null || !mDirectory.isDirectory()) { in getExistingIds()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/ |
D | ClipStorage.java | 80 assert(outDir.isDirectory()); in ClipStorage() 144 assert(mSlots[pos].isDirectory()); in prepareSlot() 196 assert(clipDir.isDirectory()); in prepareStorage()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | FileUtil.java | 35 if (!directory.exists() || !directory.isDirectory()) { in deleteDirectoryRecursively() 40 if (entry.isDirectory()) { in deleteDirectoryRecursively()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | FileUtils.java | 29 if (path.isDirectory()) { in deleteRecursively() 41 if (!dir.isDirectory()) { in deleteFilteredFiles()
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/ |
D | SizeFileComparator.java | 110 if (file1.isDirectory()) { in compare() 116 if (file2.isDirectory()) { in compare()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentInfo.java | 218 + ", isDirectory=" + isDirectory() in toString() 234 public boolean isDirectory() { in isDirectory() method in DocumentInfo 280 return isDirectory() || (isArchive() && !isInArchive() && !isPartial()); in isContainer()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | GalleryAppImpl.java | 95 if (!cacheDir.isDirectory()) cacheDir.mkdirs(); in getDownloadCache() 97 if (!cacheDir.isDirectory()) { in getDownloadCache()
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
D | DownloadCompletionReceiver.java | 70 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile() 78 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile()
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | SessionStorageManagerImpl.java | 70 if (!sessionDirectory.isDirectory()) { in getSessionDirectory() 123 return file.isDirectory(); in cleanUpExpiredSessions()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/ |
D | ClassScanner.java | 73 if (directory.exists() && directory.isDirectory()) { in loadClassFromDirectory() 89 if (tmpDirectory.isDirectory()) { in loadClassFromDirectory()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 333 if (inputPath.isDirectory()) { in renameFile() 386 return parentFile.isDirectory(); in createDirectoryIfNeeded() 504 if (!dir.isDirectory() || !dir.canWrite()) { in getAvailableSpace()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DataExporter.java | 128 if (file.isDirectory()) { in removeFileOrDirectory() 145 if (child.isDirectory()) { in addDirectory()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | BaseVoicemailProviderTest.java | 132 if (input.isDirectory()) { 144 if (!input.isDirectory()) {
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipProfileDb.java | 82 if (file.isDirectory()) { in deleteProfile() 91 if(dbDir.isDirectory()) { in cleanupUponMigration()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 215 assert(doc.isDirectory()); in springOpenDirectory() 483 assert(!doc.isDirectory()); in showChooserForDoc() 565 if (doc.isDirectory()) { in viewDocument()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 196 if (!mRootDir.isDirectory()) { in initialize() 198 if (!mRootDir.isDirectory()) { in initialize()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickActivity.java | 290 assert(doc.isDirectory()); in onDirectoryCreated() 299 if (doc.isDirectory()) { in onDocumentPicked()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | DownloadCache.java | 205 if (!mRoot.isDirectory()) mRoot.mkdirs(); in initialize() 206 if (!mRoot.isDirectory()) { in initialize()
|