Home
last modified time | relevance | path

Searched refs:isDirectory (Results 1 – 25 of 75) sorted by relevance

123

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java133 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/
DFileUtil.java82 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/
DFileUtils.java35 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/
DWriteableArchive.java88 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()
DArchive.java98 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()
DReadableArchive.java92 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/
DDocumentsAdapter.java92 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/
DTsStreamWriter.java53 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/
DClipStorage.java80 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/
DFileUtil.java35 if (!directory.exists() || !directory.isDirectory()) { in deleteDirectoryRecursively()
40 if (entry.isDirectory()) { in deleteDirectoryRecursively()
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DFileUtils.java29 if (path.isDirectory()) { in deleteRecursively()
41 if (!dir.isDirectory()) { in deleteFilteredFiles()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/comparator/
DSizeFileComparator.java110 if (file1.isDirectory()) { in compare()
116 if (file2.isDirectory()) { in compare()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DDocumentInfo.java218 + ", 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/
DGalleryAppImpl.java95 if (!cacheDir.isDirectory()) cacheDir.mkdirs(); in getDownloadCache()
97 if (!cacheDir.isDirectory()) { in getDownloadCache()
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java70 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile()
78 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile()
/packages/apps/Camera2/src/com/android/camera/session/
DSessionStorageManagerImpl.java70 if (!sessionDirectory.isDirectory()) { in getSessionDirectory()
123 return file.isDirectory(); in cleanUpExpiredSessions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/codeinspection/
DClassScanner.java73 if (directory.exists() && directory.isDirectory()) { in loadClassFromDirectory()
89 if (tmpDirectory.isDirectory()) { in loadClassFromDirectory()
/packages/apps/Camera2/src/com/android/camera/
DStorage.java333 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/
DDataExporter.java128 if (file.isDirectory()) { in removeFileOrDirectory()
145 if (child.isDirectory()) { in addDirectory()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseVoicemailProviderTest.java132 if (input.isDirectory()) {
144 if (!input.isDirectory()) {
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipProfileDb.java82 if (file.isDirectory()) { in deleteProfile()
91 if(dbDir.isDirectory()) { in cleanupUponMigration()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActionHandler.java215 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/
DFileCache.java196 if (!mRootDir.isDirectory()) { in initialize()
198 if (!mRootDir.isDirectory()) { in initialize()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DPickActivity.java290 assert(doc.isDirectory()); in onDirectoryCreated()
299 if (doc.isDirectory()) { in onDocumentPicked()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DDownloadCache.java205 if (!mRoot.isDirectory()) mRoot.mkdirs(); in initialize()
206 if (!mRoot.isDirectory()) { in initialize()

123