Home
last modified time | relevance | path

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

12

/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/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/DumpRenderTree2/src/com/android/dumprendertree2/ui/
DDirListActivity.java114 public ListItem(String relativePath, boolean isDirectory) { in ListItem() argument
117 mIsDirectory = isDirectory; in ListItem()
120 public boolean isDirectory() { in isDirectory() method in DirListActivity.ListItem
176 if (mItems[position].isDirectory()) { in getView()
199 if (item.isDirectory()) { in onCreate()
213 if (item.isDirectory()) { in onCreate()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DFileList.java58 if ((new File(path)).isDirectory()) { in onKeyDown()
100 if (c.isDirectory()) { in getData()
126 if ((new File(path)).isDirectory()) { in onListItemClick()
DFsUtils.java62 if (!d.isDirectory()) { in writeLayoutTestListRecursively()
72 if (f.isDirectory()) { in writeLayoutTestListRecursively()
DMenu.java44 if (f.isDirectory()) in fileFilter()
/frameworks/base/tools/aapt/
DFileFinder.cpp23 bool isDirectory(const char* filename) { in isDirectory() function
62 if (isDirectory(fullPath.string()) ) { in findFiles()
/frameworks/base/services/java/com/android/server/am/
DDeviceMonitor.java81 if (!BASE.isDirectory() && !BASE.mkdirs()) {
142 return file.isDirectory(); in isProcessDirectory()
/frameworks/base/media/java/android/media/
DMediaScannerClient.java25 boolean isDirectory, boolean noMedia); in scanFile() argument
DMediaScanner.java440 long fileSize, boolean isDirectory, boolean noMedia) { in beginFile() argument
445 if (!isDirectory) { in beginFile()
481 (isDirectory ? MtpConstants.FORMAT_ASSOCIATION : 0)); in beginFile()
515 boolean isDirectory, boolean noMedia) {
518 doScanFile(path, null, lastModified, fileSize, isDirectory, false, noMedia);
522 long fileSize, boolean isDirectory, boolean scanAlways, boolean noMedia) {
527 fileSize, isDirectory, noMedia);
1354 if (file.isDirectory()) return false;
DMiniThumbFile.java106 if (!directory.isDirectory()) { in miniThumbDataFile()
/frameworks/base/media/jni/
Dandroid_media_MediaScanner.cpp101 long long fileSize, bool isDirectory, bool noMedia) in scanFile() argument
104 path, lastModified, fileSize, isDirectory); in scanFile()
113 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/core/java/com/android/internal/backup/
DLocalTransport.java155 if (f.isDirectory()) { in deleteContents()
208 if (new File(mDataDir, name).isDirectory()) { in nextRestorePackage()
/frameworks/av/include/media/
Dmediascanner.h92 long long fileSize, bool isDirectory, bool noMedia) = 0;
/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/base/packages/DefaultContainerService/src/com/android/defcontainer/
DDefaultContainerService.java232 if (directory.exists() && directory.isDirectory()) {
258 if (directory.exists() && directory.isDirectory()) {
305 if (path.isDirectory()) { in eraseFiles()
/frameworks/base/core/java/android/speech/srec/
DRecognizer.java149 if ((new File(dir)).isDirectory()) return dir; in getConfigDir()
/frameworks/base/test-runner/src/android/test/
DClassPathPackageInfoSource.java165 } else if (f.isDirectory()) { in findClassesInDirectory()
/frameworks/base/tests/TileBenchmark/src/com/test/tilebenchmark/
DPerformanceTest.java207 if (!siteDir.isDirectory() || !validTest(siteDir.getName())) { in runIteration()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java66 if(file.isDirectory()) { in cleanUpDirectory()
88 if(file.isDirectory()) { in cleanUpCacheDirectory()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DVideoEditorHelper.java448 if (directory.isDirectory()) { in deleteProject()
/frameworks/base/services/java/com/android/server/
DDropBoxManagerService.java581 if (!mDropBoxDir.isDirectory() && !mDropBoxDir.mkdirs()) { in init()
/frameworks/base/core/java/android/app/
DDownloadManager.java497 if (!file.isDirectory()) { in setDestinationInExternalPublicDir()

12