/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | ArchiveHandleTest.java | 79 this(archiveEntry.getName(), archiveEntry.getSize(), archiveEntry.isDirectory()); in ArchiveEntryRecord() 82 private ArchiveEntryRecord(String name, long size, boolean isDirectory) { in ArchiveEntryRecord() argument 85 mIsDirectory = isDirectory; in ArchiveEntryRecord() 115 public boolean isDirectory() { in isDirectory() method in ArchiveHandleTest.ArchiveEntryRecord 408 when(archiveEntry.isDirectory()).thenReturn(true); in getInputStream_directoryEntry_shouldFail() 424 when(archiveEntry.isDirectory()).thenReturn(false); in getInputStream_zeroSizeEntry_shouldFail() 441 when(archiveEntry.isDirectory()).thenReturn(false); in getInputStream_emptyStringEntry_shouldFail()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | FileUtil.java | 79 if (root.isDirectory()) { in removeFileOrDirectoryExcept() 96 if (sourceDir.isDirectory() && targetDir.isDirectory()) { in moveAllContentUnderDirectory() 103 if (file.isDirectory()) { in moveAllContentUnderDirectory()
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | FileUtils.java | 35 if (target.isDirectory()) { in deleteAll() 60 + " isDirectory=" + dir.isDirectory()); in makeDirectory() 63 return dir.isDirectory(); in makeDirectory()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | DocumentsAdapter.java | 70 static boolean isDirectory(Cursor cursor) { in isDirectory() method in DocumentsAdapter 75 boolean isDirectory(Model model, int position) { in isDirectory() method in DocumentsAdapter 78 return isDirectory(cursor); in isDirectory()
|
D | ListDocumentHolder.java | 127 if (mDoc.isDirectory()) { in bindPreviewIcon() 175 return (mDoc.isDirectory() && !(mAction == State.ACTION_BROWSE)) ? in inSelectRegion() 213 if (mDoc.isDirectory()) { in bind()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/ |
D | WriteableArchive.java | 85 if (entry.isDirectory()) { in addEntry() 141 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 | 103 Preconditions.checkArgument(entry.isDirectory() == entry.getName().endsWith("/"), in getEntryPath() 195 if (parentEntry == null || !parentEntry.isDirectory()) { in isChildDocument() 201 String pathWithSlash = entry.isDirectory() ? getEntryPath(entry) in isChildDocument() 298 if (entry.isDirectory()) { in getMimeTypeForEntry()
|
D | ReadableArchive.java | 101 if (entry.isDirectory() != entry.getName().endsWith("/")) { in ReadableArchive() 112 if (entry.isDirectory()) { in ReadableArchive() 130 delimiterIndex = entryPath.lastIndexOf('/', entry.isDirectory() in ReadableArchive() 154 public boolean isDirectory() { in ReadableArchive()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/source/ |
D | TsStreamWriter.java | 50 if (externalFilesDir == null || !externalFilesDir.isDirectory()) { in TsStreamWriter() 151 if (mDirectory == null || !mDirectory.isDirectory()) { in deleteOutdatedFiles() 200 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() 198 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/Car/SystemUpdater/src/com/android/car/systemupdater/ |
D | DeviceListFragment.java | 54 file -> !file.isHidden() && (file.isDirectory() 173 } else if (file.isDirectory()) { in onFileSelected() 199 if (!folder.isDirectory()) { in showFolderContent()
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
D | DownloadCompletionReceiver.java | 54 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile() 62 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile()
|
/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/apps/Camera2/src/com/android/camera/session/ |
D | SessionStorageManagerImpl.java | 70 if (!sessionDirectory.isDirectory()) { in getSessionDirectory() 123 return file.isDirectory(); in cleanUpExpiredSessions()
|
/packages/services/Car/service/src/com/android/car/storagemonitoring/ |
D | SysfsLifetimeWriteInfoProvider.java | 104 if (!fspath.exists() || !fspath.isDirectory()) continue; in load() 105 File[] files = fspath.listFiles(File::isDirectory); in load()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/base/ |
D | DocumentInfo.java | 241 + ", isDirectory=" + isDirectory() in toString() 296 public boolean isDirectory() { in isDirectory() method in DocumentInfo 322 return isDirectory() || (isArchive() && !isInArchive() && !isPartial()); in isContainer()
|
/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 | 143 if (input.isDirectory()) { 155 if (!input.isDirectory()) {
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
D | SipProfileDb.java | 81 if (file.isDirectory()) { in deleteProfile() 90 if(dbDir.isDirectory()) { in cleanupUponMigration()
|
/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/apps/DocumentsUI/src/com/android/documentsui/services/ |
D | CopyJob.java | 328 if (doc.isDirectory()) { in makeOptimizedCopyProgress() 704 if (src.isDirectory()) { in createProgressTracker() 845 if (parent.isDirectory() && doc.authority.equals(parent.authority)) { in isDescendantOf() 862 if (!source.isDirectory() || !target.isDirectory()) { in isRecursiveCopy()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/files/ |
D | ActionHandler.java | 225 assert(doc.isDirectory()); in springOpenDirectory() 539 assert(!doc.isDirectory()); in showChooserForDoc() 572 if (doc.isDirectory() && mState.stack.size() == 1 && mState.stack.get(0).equals(doc)) { in showInspector()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 196 if (!mRootDir.isDirectory()) { in initialize() 198 if (!mRootDir.isDirectory()) { in initialize()
|