Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DEnvironmentTest.java25 assertTrue(Environment.getExternalStorageDirectory().isDirectory()); in testEnvironment()
26 assertTrue(Environment.getRootDirectory().isDirectory()); in testEnvironment()
27 assertTrue(Environment.getDownloadCacheDirectory().isDirectory()); in testEnvironment()
28 assertTrue(Environment.getDataDirectory().isDirectory()); in testEnvironment()
DAbiTest.java35 if (!dir.isDirectory()) { in checkElfFilesInDirectory()
49 if (f.isDirectory()) { in checkElfFilesInDirectory()
DFileAccessPermissionTest.java101 assertTrue(file.isDirectory()); in testAccessAppDataDir()
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/
DDocletRunner.java102 return pathname.isDirectory() || pathname.toString().endsWith(".java"); in getSourceFiles()
107 if (file.isDirectory()) { in getSourceFiles()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java279 assertTrue(dir.isDirectory()); in testIdletimerDirectoryExistsAndSane()
380 return (pathname.isDirectory() && name.matches("cpu@[0-9]+")); in testDeviceTreeCpuCurrent()
627 assertTrue(dir.isDirectory()); in tryToReadFromAllIn()
638 if (f.isDirectory()) { in tryToReadFromAllIn()
719 assertTrue(dir.isDirectory()); in getAllWritableFilesInDirAndSubDir()
729 return pathname.isDirectory(); in getAllWritableFilesInDirAndSubDir()
970 assertTrue(dir.isDirectory()); in getAllInsecureDevicesInDirAndSubdir()
980 return pathname.isDirectory(); in getAllInsecureDevicesInDirAndSubdir()
1031 if (!dir.isDirectory()) { in getWritableDirectoryiesAndSubdirectoriesOf()
/cts/common/host-side/java-scanner/src/com/android/compatibility/common/scanner/
DJavaScanner.java109 return pathname.isDirectory() || pathname.toString().endsWith(".java"); in getSourceFiles()
113 if (f.isDirectory()) { in getSourceFiles()
/cts/tests/tests/media/src/android/media/cts/
DScannerNotificationReceiver.java63 if (file.isDirectory()) { in countFiles()
/cts/tests/tests/net/src/android/net/cts/
DVpnServiceTest.java115 assertFalse(file.isDirectory()); in testTunDevice()
/cts/tests/tests/os/src/android/os/storage/cts/
DStorageManagerTest.java78 assertTrue("OBB mounted path should be a directory", mountDir.isDirectory()); in doMountAndUnmountObbNormal()
145 assertTrue("OBB mounted path should be a directory", mountDir1.isDirectory()); in doMountAndUnmountTwoObbs()
152 assertTrue("OBB mounted path should be a directory", mountDir2.isDirectory()); in doMountAndUnmountTwoObbs()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/os/
DFileUtils.java79 public boolean isDirectory() { in isDirectory() method in FileUtils.FileStatus
/cts/apps/CtsVerifier/src/com/android/cts/verifier/suid/
DSuidFilesActivity.java218 return status.isDirectory() && !status.isSymbolicLink(); in accept()
235 return !status.isDirectory() in accept()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestResultRepo.java128 return file.isDirectory(); in accept()
/cts/tools/vm-tests-tf/src/util/build/
DDasmBuildStep.java117 if (!dest.isDirectory()) { in assemble()
/cts/tests/tests/security/src/android/security/cts/
DHwRngTest.java87 assertTrue(SYSFS_HW_RANDOM + " not found", SYSFS_HW_RANDOM.isDirectory()); in testConfigurationIfFilePresent()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DRootProcessScanner.java100 return pathname.isDirectory() && Pattern.matches("\\d+", pathname.getName()); in isPidDirectory()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/device/
DDeviceInfoCollector.java127 if (localResultDir == null || !localResultDir.isDirectory()) { in pullExtendedDeviceInfoResults()
/cts/tools/dasm/src/dasm/
DMain.java142 if (!dest.isDirectory()) { in assemble()
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
DSensorCtsHelper.java246 if (!directoryStructure.isDirectory()) { in createDirectoryStructure()
/cts/tools/signature-tools/test/signature/converter/doclet/
DDocletTestConverter.java103 if(file.isDirectory()){ in removeFile()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DDeviceInfoActivity.java137 if (!dir.mkdirs() && !dir.isDirectory()) { in createFilePath()
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/
DFileUtil.java169 if (entry.isDirectory()) { in removeEntry()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java374 if (file.isDirectory()) { in deleteContents()
/cts/tools/dasm/src/java_cup/
DMain.java322 if (!f.exists() || !f.isDirectory()) in parse_args()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_FilesTest.java81 if (f.isDirectory()) { in deleteAll()
/cts/tools/dex-tools/dex/
Dclasses0.out.dex10867 public boolean isDirectory()
26104 private static boolean isDirectory(
55272 public boolean isDirectory()