Home
last modified time | relevance | path

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

1234

/frameworks/support/core-utils/java/android/support/v4/provider/
DRawDocumentFile.java55 if (target.isDirectory() || target.mkdir()) { in createDirectory()
74 if (mFile.isDirectory()) { in getType()
82 public boolean isDirectory() { in isDirectory() method in RawDocumentFile
83 return mFile.isDirectory(); in isDirectory()
168 if (file.isDirectory()) { in deleteContents()
DSingleDocumentFile.java61 public boolean isDirectory() { in isDirectory() method in SingleDocumentFile
62 return DocumentsContractApi19.isDirectory(mContext, mUri); in isDirectory()
DTreeDocumentFile.java79 public boolean isDirectory() { in isDirectory() method in TreeDocumentFile
80 return DocumentsContractApi19.isDirectory(mContext, mUri); in isDirectory()
DDocumentFile.java226 public abstract boolean isDirectory(); in isDirectory() method in DocumentFile
/frameworks/support/core-utils/tests/java/android/support/v4/provider/
DDocumentFileTest.java103 if (file.isDirectory()) { in deleteContents()
123 assertTrue("isDirectory", doc.isDirectory()); in testSimple()
146 assertTrue("isDirectory", meow.isDirectory()); in testTraverse()
157 assertTrue("isDirectory", bar.isDirectory()); in testTraverse()
238 assertFalse("isDirectory", newFile.isDirectory()); in testCreate()
250 assertFalse("isDirectory", newRaw.isDirectory()); in testCreate()
256 assertTrue("isDirectory", newDir.isDirectory()); in testCreate()
320 assertTrue(meow.isDirectory()); in testRename()
326 assertTrue(meow.isDirectory()); in testRename()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java142 if (platformDir != null && !platformDir.isEmpty() && new File(platformDir).isDirectory()) { in getPlatformDir()
177 if (!root.isDirectory()) { in getPlatformDirFromRoot()
181 if (!out.isDirectory()) { in getPlatformDirFromRoot()
185 if (!host.isDirectory()) { in getPlatformDirFromRoot()
188 File[] hosts = host.listFiles(path -> path.isDirectory() && in getPlatformDirFromRoot()
201 if (!out.isDirectory()) { in getPlatformDirFromHostOut()
205 if (!sdkDir.isDirectory()) { in getPlatformDirFromHostOut()
210 return path.isDirectory() && path.getName().startsWith("sdk"); in getPlatformDirFromHostOut()
224 path -> path.isDirectory() && path.getName().contains("android-sdk")); in getPlatformDirFromHostOutSdkSdk()
229 path -> path.isDirectory() && path.getName().startsWith("android-")); in getPlatformDirFromHostOutSdkSdk()
[all …]
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java165 if (!parent.isDirectory()) { in createDocument()
194 assert (visibleFolder.isDirectory()); in addFolderToMediaStore()
264 final Uri externalUri = newVisibleFile.isDirectory() in moveInMediaStore()
290 final boolean isDirectory = file.isDirectory(); in deleteDocument()
291 if (isDirectory) { in deleteDocument()
298 removeFromMediaStore(visibleFile, isDirectory); in deleteDocument()
375 if (file.isDirectory()) { in querySearchDocuments()
440 if (file.isDirectory()) { in includeFile()
477 if (file.isDirectory()) { in getTypeForFile()
DNativeLibraryHelper.java254 if (files[nn].isDirectory()) { in removeNativeBinariesFromDirLI()
273 if (!path.isDirectory()) { in createNativeLibrarySubdir()
/frameworks/base/tools/aapt/
DFileFinder.cpp23 bool isDirectory(const char* filename) { in isDirectory() function
62 if (isDirectory(fullPath.string()) ) { in findFiles()
/frameworks/base/media/java/android/media/
DMediaScannerClient.java25 boolean isDirectory, boolean noMedia); in scanFile() argument
DMediaScanner.java499 long fileSize, boolean isDirectory, boolean noMedia) { in beginFile() argument
505 if (!isDirectory) { in beginFile()
541 (isDirectory ? MtpConstants.FORMAT_ASSOCIATION : 0)); in beginFile()
575 boolean isDirectory, boolean noMedia) {
578 doScanFile(path, null, lastModified, fileSize, isDirectory, false, noMedia);
582 long fileSize, boolean isDirectory, boolean scanAlways, boolean noMedia) {
587 fileSize, isDirectory, noMedia);
1409 if (file.isDirectory()) return false;
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java212 mountDir.isDirectory()); in testMountAndUnmountObbNormal()
265 assertTrue("OBB mounted path should be a directory", mountDir1.isDirectory()); in testMountAndUnmountTwoObbs()
269 assertTrue("OBB mounted path should be a directory", mountDir2.isDirectory()); in testMountAndUnmountTwoObbs()
/frameworks/base/services/core/java/com/android/server/updates/
DCertificateTransparencyLogInstallReceiver.java59 if (!updateDir.isDirectory()) { in install()
85 if (!newVersion.isDirectory()) { in install()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp149 long long fileSize, bool isDirectory, bool noMedia) in scanFile() argument
152 path, lastModified, fileSize, isDirectory); in scanFile()
161 fileSize, isDirectory, noMedia); in scanFile()
/frameworks/av/media/libmedia/include/media/
Dmediascanner.h118 long long fileSize, bool isDirectory, bool noMedia) = 0;
/frameworks/av/include/media/
Dmediascanner.h118 long long fileSize, bool isDirectory, bool noMedia) = 0;
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
DLayoutXmlProcessor.java115 Preconditions.check(input.getRootInputFolder().isDirectory(), "it must be a directory"); in processAllInputFiles()
117 if (firstLevel.isDirectory()) { in processAllInputFiles()
203 if (file.isDirectory()) { in processResources()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java76 if (!file.isDirectory()) { in cleanDirectory()
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/loaders/
DLoaderDicom.java292 if (file.isDirectory()) { in buildVolume()
307 if (file.isDirectory()) { in buildVolume()
362 if (file.isDirectory()) { in buildRSVolume()
521 if (file1.isDirectory()) { in buildRSVolume2()
/frameworks/base/services/coverage/java/com/android/server/coverage/
DCoverageService.java109 if (f.isDirectory()) { in onDump()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java398 if (dexDir.isDirectory()) { in clearOldDexDir()
442 if (!dir.isDirectory()) { in mkdirChecked()
448 ". parent file is a dir " + parent.isDirectory() + in mkdirChecked()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DMakeCopy.java207 if (layoutDir.isDirectory()) { in addFromFile()
228 return dir.isDirectory(); in makeTargetDir()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java132 if (path.isDirectory()) { in purgeFiles()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java138 if (f.isDirectory()) dirs.add(f);
/frameworks/av/drm/drmserver/
DPlugInManager.h239 bool isDirectory(const struct dirent* pEntry) const { in isDirectory() function

1234