Home
last modified time | relevance | path

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

1234

/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java144 if (platformDir != null && !platformDir.isEmpty() && new File(platformDir).isDirectory()) { in getPlatformDir()
191 if (!root.isDirectory()) { in getPlatformDirFromRoot()
195 if (!out.isDirectory()) { in getPlatformDirFromRoot()
199 if (!host.isDirectory()) { in getPlatformDirFromRoot()
202 File[] hosts = host.listFiles(path -> path.isDirectory() && in getPlatformDirFromRoot()
217 if (!out.isDirectory()) { in getPlatformDirFromHostOut()
221 if (!sdkDir.isDirectory()) { in getPlatformDirFromHostOut()
226 return path.isDirectory() && path.getName().startsWith("sdk"); in getPlatformDirFromHostOut()
240 path -> path.isDirectory() && path.getName().contains("android-sdk")); in getPlatformDirFromHostOutSdkSdk()
245 path -> path.isDirectory() && path.getName().startsWith("android-")); in getPlatformDirFromHostOutSdkSdk()
[all …]
/frameworks/base/core/java/android/app/backup/
DBackupUtils.java39 if (fileFromList.isDirectory()) { in isFileSpecifiedInPathList()
40 if (file.isDirectory()) { in isFileSpecifiedInPathList()
/frameworks/base/services/core/java/com/android/server/
DExtconUEventObserver.java101 Slog.wtf(TAG, file + " exists " + file.exists() + " isDir " + file.isDirectory() in getExtconInfos()
165 return extconDir.exists() && extconDir.isDirectory(); in namedExtconDirExists()
171 return extconDir.exists() && extconDir.isDirectory(); in extconExists()
/frameworks/base/tools/aapt/
DFileFinder.cpp23 bool isDirectory(const char* filename) { in isDirectory() function
62 if (isDirectory(fullPath.string()) ) { in findFiles()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java238 if (!parent.isDirectory()) { in createDocument()
330 final boolean isDirectory = file.isDirectory(); in deleteDocument()
331 if (isDirectory) { in deleteDocument()
339 removeFromMediaStore(visibleFile, isDirectory); in deleteDocument()
388 if (parent.isDirectory()) { in queryChildDocuments()
424 if (file.isDirectory()) { in querySearchDocuments()
451 if (file.isDirectory()) { in getDocumentType()
504 if (file.isDirectory()) { in matchSearchQueryArguments()
DNativeLibraryHelper.java266 if (files[nn].isDirectory()) { in removeNativeBinariesFromDirLI()
288 if (!path.isDirectory()) { in createNativeLibrarySubdir()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java52 if (!baseDir.isDirectory()) { in CameraTestResultPrinter()
134 if (path.isDirectory()) { in purgeFiles()
/frameworks/base/media/java/android/media/
DMediaScannerClient.java25 boolean isDirectory, boolean noMedia); in scanFile() argument
DMediaScanner.java550 long fileSize, boolean isDirectory, boolean noMedia) { in beginFile() argument
556 if (!isDirectory) { in beginFile()
581 (isDirectory ? MtpConstants.FORMAT_ASSOCIATION : 0), in beginFile()
620 boolean isDirectory, boolean noMedia) {
623 doScanFile(path, null, lastModified, fileSize, isDirectory, false, noMedia);
628 long fileSize, boolean isDirectory, boolean scanAlways, boolean noMedia) {
633 fileSize, isDirectory, noMedia);
1486 if (file.isDirectory()) return false;
/frameworks/base/services/tests/servicestests/src/com/android/server/
DMountServiceTests.java212 mountDir.isDirectory()); in testMountAndUnmountObbNormal()
270 assertTrue("OBB mounted path should be a directory", mountDir1.isDirectory()); in testMountAndUnmountTwoObbs()
274 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.cpp151 long long fileSize, bool isDirectory, bool noMedia) in scanFile() argument
154 path, lastModified, fileSize, isDirectory); in scanFile()
163 fileSize, isDirectory, noMedia); in scanFile()
/frameworks/av/media/libmedia/include/media/
Dmediascanner.h118 long long fileSize, bool isDirectory, bool noMedia) = 0;
/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/core/tests/hosttests/test-apps/MultiDexLegacyTestServicesTests2/src/com/android/framework/multidexlegacytestservices/test2/
DServicesTests.java197 if (subElement.isDirectory()) { in clearDirContent()
320 Assert.assertTrue(dir.getAbsolutePath(), dir.isDirectory()); in getSecondaryFolder()
/frameworks/base/services/coverage/java/com/android/server/coverage/
DCoverageService.java109 if (f.isDirectory()) { in onDump()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java337 if ((new File(ai.modulePath)).isDirectory()) { in populateAllPackagesCacheIfNeeded()
639 if (apexDir.isDirectory()) { in getActiveApexInfos()
645 if (file.isDirectory() && !file.getName().contains("@")) { in getActiveApexInfos()
/frameworks/base/core/tests/coretests/src/android/text/
DFontFallbackSetup.java53 if (!cacheDir.isDirectory()) { in FontFallbackSetup()
/frameworks/base/services/core/java/com/android/server/power/
DPreRebootLogger.java91 if (!dumpDir.exists() || !dumpDir.isDirectory()) { in getDumpDir()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java97 if (!file.isDirectory()) { in cleanDirectory()
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
DObbBackupService.java138 if (f.isDirectory()) dirs.add(f);
/frameworks/multidex/library/src/androidx/multidex/
DMultiDex.java452 if (dexDir.isDirectory()) { in clearOldDexDir()
496 if (!dir.isDirectory()) { in mkdirChecked()
502 ". parent file is a dir " + parent.isDirectory() + in mkdirChecked()
/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java82 if (rollbackDir.isDirectory()) { in loadRollbacks()
399 if (file.isDirectory()) { in removeFile()
/frameworks/av/drm/drmserver/
DPlugInManager.h239 bool isDirectory(const struct dirent* pEntry) const { in isDirectory() function
/frameworks/base/services/robotests/backup/src/android/app/backup/
DBackupUtilsTest.java179 if (!directory.isDirectory()) { in directory()

1234