Home
last modified time | relevance | path

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

12

/frameworks/support/v4/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()
163 if (file.isDirectory()) { in deleteContents()
DSingleDocumentFile.java59 public boolean isDirectory() { in isDirectory() method in SingleDocumentFile
60 return DocumentsContractApi19.isDirectory(mContext, mUri); in isDirectory()
DTreeDocumentFile.java60 public boolean isDirectory() { in isDirectory() method in TreeDocumentFile
61 return DocumentsContractApi19.isDirectory(mContext, mUri); in isDirectory()
DDocumentFile.java227 public abstract boolean isDirectory(); in isDirectory() method in DocumentFile
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DMain.java107 if (platformDir != null && !platformDir.isEmpty() && new File(platformDir).isDirectory()) { in getPlatformDir()
137 if (!root.isDirectory()) { in getPlatformDirFromRoot()
141 if (!out.isDirectory()) { in getPlatformDirFromRoot()
145 if (!host.isDirectory()) { in getPlatformDirFromRoot()
151 return path.isDirectory() && (path.getName().startsWith("linux-") || path.getName() in getPlatformDirFromRoot()
165 if (!out.isDirectory()) { in getPlatformDirFromHostOut()
169 if (!sdkDir.isDirectory()) { in getPlatformDirFromHostOut()
176 return path.isDirectory() && path.getName().startsWith("sdk"); in getPlatformDirFromHostOut()
192 return path.isDirectory() && path.getName().contains("android-sdk"); in getPlatformDirFromHostOutSdkSdk()
200 return path.isDirectory() && path.getName().startsWith("android-"); in getPlatformDirFromHostOutSdkSdk()
[all …]
/frameworks/support/tests/java/android/support/v4/provider/
DDocumentFileTest.java103 assertTrue("isDirectory", doc.isDirectory()); in testSimple()
125 assertTrue("isDirectory", meow.isDirectory()); in testTraverse()
136 assertTrue("isDirectory", bar.isDirectory()); in testTraverse()
217 assertFalse("isDirectory", newFile.isDirectory()); in testCreate()
229 assertFalse("isDirectory", newRaw.isDirectory()); in testCreate()
235 assertTrue("isDirectory", newDir.isDirectory()); in testCreate()
299 assertTrue(meow.isDirectory()); in testRename()
305 assertTrue(meow.isDirectory()); in testRename()
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/
DA3DSelector.java43 if (file.isDirectory()) { in accept()
62 if (mCurrentSubList[i].isDirectory()) { in populateList()
99 if (selectedFile.isDirectory()) { in onListItemClick()
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/
DFileSelector.java43 if (file.isDirectory()) { in accept()
62 if (mCurrentSubList[i].isDirectory()) { in populateList()
99 if (selectedFile.isDirectory()) { in onListItemClick()
/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.java443 long fileSize, boolean isDirectory, boolean noMedia) { in beginFile() argument
449 if (!isDirectory) { in beginFile()
485 (isDirectory ? MtpConstants.FORMAT_ASSOCIATION : 0)); in beginFile()
518 boolean isDirectory, boolean noMedia) {
521 doScanFile(path, null, lastModified, fileSize, isDirectory, false, noMedia);
525 long fileSize, boolean isDirectory, boolean scanAlways, boolean noMedia) {
530 fileSize, isDirectory, noMedia);
1385 if (file.isDirectory()) return false;
DMiniThumbFile.java105 if (!directory.isDirectory()) { in miniThumbDataFile()
/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/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java225 mountDir.isDirectory()); in testMountAndUnmountObbNormal()
278 assertTrue("OBB mounted path should be a directory", mountDir1.isDirectory()); in testMountAndUnmountTwoObbs()
282 assertTrue("OBB mounted path should be a directory", mountDir2.isDirectory()); in testMountAndUnmountTwoObbs()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java253 if (file.isDirectory()) { in includeFile()
321 if (!parent.isDirectory()) { in createDocument()
430 if (file.isDirectory()) { in deleteDocument()
473 if (file.isDirectory()) { in querySearchDocuments()
526 if (file.isDirectory()) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DMimePredicate.java37 if (doc.isDirectory()) { in apply()
/frameworks/av/include/media/
Dmediascanner.h118 long long fileSize, bool isDirectory, bool noMedia) = 0;
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java211 if (dir.exists() && dir.isDirectory()) {
238 if (directory.exists() && directory.isDirectory()) {
297 if (path.isDirectory()) { in eraseFiles()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDexExtractor.java289 if (!dir.isDirectory()) { in mkdirChecked()
295 ". parent file is a dir " + parent.isDirectory() + in mkdirChecked()
/frameworks/base/core/java/com/android/internal/content/
DNativeLibraryHelper.java239 if (files[nn].isDirectory()) { in removeNativeBinariesFromDirLI()
257 if (!path.isDirectory()) { in createNativeLibrarySubdir()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java138 if (f.isDirectory()) dirs.add(f);
/frameworks/av/drm/libdrmframework/include/
DPlugInManager.h247 bool isDirectory(const struct dirent* pEntry) const { in isDirectory() function
/frameworks/base/core/java/com/android/internal/os/
DSamplingProfilerIntegration.java65 if (dir.isDirectory()) {
/frameworks/support/v4/kitkat/android/support/v4/provider/
DDocumentsContractApi19.java53 public static boolean isDirectory(Context context, Uri self) { in isDirectory() method in DocumentsContractApi19
/frameworks/base/core/java/android/speech/srec/
DRecognizer.java147 if ((new File(dir)).isDirectory()) return dir; in getConfigDir()

12