/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | GTestTest.java | 133 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 …]
|
D | GoogleBenchmarkTestTest.java | 96 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/ |
D | FileUtil.java | 129 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 …]
|
D | ZipUtil.java | 95 if (entry.isDirectory()) { in extractZip() 233 if (file.isDirectory()) { in addToZip() 243 if (file.isDirectory()) { in addToZip()
|
D | SystemUtil.java | 85 if (dir.exists() && dir.isDirectory()) { in getExternalTestCasesDirs() 111 if (dir.exists() && dir.isDirectory()) { in getExternalTestCasesDir()
|
D | ClassPathScanner.java | 159 if (childFile.isDirectory()) { in getEntriesFromDir() 203 } else if (classPathFile.isDirectory()) { in getClassPathEntries()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | RewriteAnnotations.kt | 70 } 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>()
|
D | Options.kt | 1126 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>()
|
D | Driver.kt | 412 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/ |
D | FsDirectoryEntry.java | 42 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/ |
D | ApiGeneratorTest.kt | 36 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/ |
D | MockFileUtil.java | 43 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/ |
D | SuiteApkInstaller.java | 68 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/ |
D | ContentProviderHandler.java | 198 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/ |
D | ManagedFileContentProvider.java | 111 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/ |
D | UiConductorTest.java | 278 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/ |
D | FakeTestsZipFolderTest.java | 50 assertTrue(base.exists() && base.isDirectory()); in testFakeTestsZipFolder() 60 assertTrue(file.isDirectory()); in testFakeTestsZipFolder()
|
D | FileUtilFuncTest.java | 54 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/ |
D | FileEntryWrapper.java | 77 public boolean isDirectory() { in isDirectory() method in FileEntryWrapper 78 return mFileEntry.isDirectory(); in isDirectory()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | AllTestAppsInstallSetup.java | 99 if (directory == null || !directory.isDirectory()) { in installApksRecursively() 105 if (f.isDirectory()) { in installApksRecursively()
|
D | InstallAllTestZipAppsSetup.java | 136 if (directory == null || !directory.isDirectory()) { in installApksRecursively() 142 if (f.isDirectory()) { in installApksRecursively()
|
D | PushFilePreparer.java | 318 if (src.isDirectory()) { in evaluatePushingPair() 323 } else if (!device.isDirectory(remotePath)) { in evaluatePushingPair()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | Camera2StressTest.java | 112 if (screenshotDir != null && screenshotDir.isDirectory()) { in postScreenshotOnFailure() 115 if (remoteFile.isDirectory()) { in postScreenshotOnFailure()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | FatLfnDirectoryEntry.java | 369 public boolean isDirectory() { in isDirectory() method in FatLfnDirectoryEntry 370 return realEntry.isDirectory(); in isDirectory()
|
D | FatLfnDirectory.java | 160 private ShortName makeShortName(String name, boolean isDirectory) throws IOException { in makeShortName() argument 424 if (!entry.isDirectory()) throw in read()
|