Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestTest.java133 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true); in testRun()
134 EasyMock.expect(mMockITestDevice.isDirectory(testPath1)).andReturn(false); in testRun()
137 EasyMock.expect(mMockITestDevice.isDirectory(testPath2)).andReturn(false); in testRun()
167 EasyMock.expect(mMockITestDevice.isDirectory(modulePath)).andReturn(false); in testRun_moduleName()
192 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true); in testRun_nested()
193 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/" + subFolderName)) in testRun_nested()
195 EasyMock.expect(mMockITestDevice.isDirectory(test1Path)).andReturn(false); in testRun_nested()
225 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true); in doTestFilter()
226 EasyMock.expect(mMockITestDevice.isDirectory(testPath)).andReturn(false); in doTestFilter()
297 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true); in testCommandTooLong()
[all …]
DGoogleBenchmarkTestTest.java96 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true); in testRun()
97 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/test1")).andReturn(false); in testRun()
98 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/test2")).andReturn(false); in testRun()
174 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true); in testRun_withModuleName()
175 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/test1")).andReturn(false); in testRun_withModuleName()
176 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/test2")).andReturn(false); in testRun_withModuleName()
218 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true); in testRun_withRunReportName()
219 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/test1")).andReturn(false); in testRun_withRunReportName()
251 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath)).andReturn(true); in testRun_exceptionDuringExecShell()
252 EasyMock.expect(mMockITestDevice.isDirectory(nativeTestPath + "/test1")).andReturn(false); in testRun_exceptionDuringExecShell()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileUtil.java129 if (parent != null && !parent.isDirectory()) { in mkdirsRWX()
139 if (file.isDirectory() || file.mkdir()) { in mkdirsRWX()
147 return file.isDirectory(); in mkdirsRWX()
165 if (file.isDirectory()) { in chmodRWXRecursively()
260 if (file.isDirectory()) { in setReadableRecursive()
478 if (!destDir.isDirectory() && !destDir.mkdir()) { in recursiveHardlink()
484 if (childFile.isDirectory()) { in recursiveHardlink()
503 if (!destDir.isDirectory() && !destDir.mkdir()) { in recursiveSymlink()
509 if (childFile.isDirectory()) { in recursiveSymlink()
545 if (!destDir.isDirectory() && !destDir.mkdir()) { in recursiveCopy()
[all …]
DZipUtil.java95 if (entry.isDirectory()) { in extractZip()
233 if (file.isDirectory()) { in addToZip()
243 if (file.isDirectory()) { in addToZip()
DSystemUtil.java85 if (dir.exists() && dir.isDirectory()) { in getExternalTestCasesDirs()
111 if (dir.exists() && dir.isDirectory()) { in getExternalTestCasesDir()
DClassPathScanner.java159 if (childFile.isDirectory()) { in getEntriesFromDir()
203 } else if (classPathFile.isDirectory()) { in getClassPathEntries()
/tools/metalava/src/main/java/com/android/tools/metalava/
DRewriteAnnotations.kt70 } else if (source.isDirectory) { in <lambda>()
93 } else if (source.isDirectory) { in <lambda>()
105 if (file.isDirectory) { in <lambda>()
107 if (android.isDirectory) { in <lambda>()
110 if (androidx.isDirectory) { in <lambda>()
145 file.isDirectory -> file.listFiles()?.forEach { rewriteAnnotations(it) } in <lambda>()
248 !entry.isDirectory in <lambda>()
DOptions.kt1126 if (!File(root, "prebuilts/sdk").isDirectory) { in <lambda>()
1527 if (api.isDirectory) { in <lambda>()
1679 if (!file.isDirectory) { in <lambda>()
1690 if (!file.isDirectory) { in <lambda>()
1702 if (!file.isDirectory && !(file.path.endsWith(SdkConstants.DOT_JAR) && file.isFile)) { in <lambda>()
1776 if (output.isDirectory) { in <lambda>()
1795 if (!dir.isDirectory) { in <lambda>()
1808 if (parentFile != null && !parentFile.isDirectory) { in <lambda>()
1822 if (output.isDirectory) { in <lambda>()
DDriver.kt412 val source = if (src.isDirectory) src else stubAnnotations in processFlags()
484 val source = if (src.isDirectory) src else privateAnnotationsSource in processNonCodebaseFlags()
1107 if (file.isDirectory) { in skippableDirectory()
1150 if (file.isDirectory) { in addHiddenPackages()
1166 if (child.isDirectory) in addHiddenPackages()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFsDirectoryEntry.java42 if (e2.isDirectory() == e1.isDirectory()) {
46 if (e2.isDirectory()) return 1;
97 public boolean isDirectory(); in isDirectory() method
/tools/metalava/src/test/java/com/android/tools/metalava/apilevels/
DApiGeneratorTest.kt36 if (!oldSdkJars.isDirectory) { in Extract API levels()
38 if (!oldSdkJars.isDirectory) { in Extract API levels()
45 if (!platformJars.isDirectory) { in Extract API levels()
47 if (!platformJars.isDirectory) { in Extract API levels()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DMockFileUtil.java43 EasyMock.expect(rootEntry.isDirectory()).andStubReturn(isDir); in setMockDirContents()
52 EasyMock.expect(childMockEntry.isDirectory()).andStubReturn(Boolean.FALSE); in setMockDirContents()
85 EasyMock.expect(rootEntry.isDirectory()).andStubReturn(Boolean.TRUE); in setMockDirPath()
90 EasyMock.expect(rootEntry.isDirectory()).andStubReturn(Boolean.FALSE); in setMockDirPath()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstaller.java68 if (testCasesFile.isDirectory()) { in getApkFromVariableTestsDir()
80 if (testDir != null && testDir.isDirectory()) { in getApkFromBuildTestsDir()
90 if (sharedDir != null && sharedDir.isDirectory()) { in getApkFromBuildSharedDir()
/tools/tradefederation/core/src/com/android/tradefed/device/contentprovider/
DContentProviderHandler.java198 if (fileToPush.isDirectory()) { in pushFile()
295 if (!localDir.isDirectory()) { in pullDirInternal()
319 boolean isDirectory = Boolean.valueOf(columnValues.get(COLUMN_DIRECTORY)); in pullDirInternal()
324 if (isDirectory) { in pullDirInternal()
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java111 if (!file.isDirectory()) { in query()
218 value = file.isDirectory(); in getColumnValue()
222 value = file.isDirectory() ? null : getType(file); in getColumnValue()
293 if (rootDir.isDirectory()) { in recursiveDelete()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java278 if (srcFile.isDirectory()) { in copyFile()
283 if (!destDir.isDirectory() && !destDir.mkdirs()) { in copyFile()
298 if (srcFile.isDirectory()) { in copyFile()
307 if (!destDir.isDirectory() && !destDir.mkdirs()) { in copyFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFakeTestsZipFolderTest.java50 assertTrue(base.exists() && base.isDirectory()); in testFakeTestsZipFolder()
60 assertTrue(file.isDirectory()); in testFakeTestsZipFolder()
DFileUtilFuncTest.java54 if (file.isDirectory()) { in tearDown()
131 assertTrue(tmpDir.isDirectory()); in testCreateTempDir()
140 assertTrue(childDir.isDirectory()); in testCreateTempDir_parentFile()
/tools/tradefederation/core/src/com/android/tradefed/device/
DFileEntryWrapper.java77 public boolean isDirectory() { in isDirectory() method in FileEntryWrapper
78 return mFileEntry.isDirectory(); in isDirectory()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DAllTestAppsInstallSetup.java99 if (directory == null || !directory.isDirectory()) { in installApksRecursively()
105 if (f.isDirectory()) { in installApksRecursively()
DInstallAllTestZipAppsSetup.java136 if (directory == null || !directory.isDirectory()) { in installApksRecursively()
142 if (f.isDirectory()) { in installApksRecursively()
DPushFilePreparer.java318 if (src.isDirectory()) { in evaluatePushingPair()
323 } else if (!device.isDirectory(remotePath)) { in evaluatePushingPair()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCamera2StressTest.java112 if (screenshotDir != null && screenshotDir.isDirectory()) { in postScreenshotOnFailure()
115 if (remoteFile.isDirectory()) { in postScreenshotOnFailure()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectoryEntry.java369 public boolean isDirectory() { in isDirectory() method in FatLfnDirectoryEntry
370 return realEntry.isDirectory(); in isDirectory()
DFatLfnDirectory.java160 private ShortName makeShortName(String name, boolean isDirectory) throws IOException { in makeShortName() argument
424 if (!entry.isDirectory()) throw in read()

123