Home
last modified time | relevance | path

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

123

/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterBuildProviderTest.java173 Assert.assertTrue(file.isFile()); in verifyDownloadedResource()
179 Assert.assertTrue(file.isFile()); in verifyDownloadedResource()
199 Assert.assertTrue(zipFile.isFile()); in testGetBuild_multipleTestResources()
201 Assert.assertTrue(new File(mRootDir, name).isFile()); in testGetBuild_multipleTestResources()
232 Assert.assertTrue(zipFile.isFile()); in testGetBuild_decompressTestResources()
234 assertFalse(FileUtil.getFileForPath(mRootDir, name).isFile()); in testGetBuild_decompressTestResources()
235 Assert.assertTrue(FileUtil.getFileForPath(mRootDir, "dir1", name).isFile()); in testGetBuild_decompressTestResources()
236 Assert.assertTrue(FileUtil.getFileForPath(mRootDir, "dir2", name).isFile()); in testGetBuild_decompressTestResources()
237 Assert.assertTrue(FileUtil.getFileForPath(mRootDir, "dir3", name).isFile()); in testGetBuild_decompressTestResources()
260 Assert.assertTrue(file.isFile()); in testGetBuild_decompressTestResources_withMountZip()
[all …]
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/internal/
DMakeAnnotationsPackagePrivateCommandTest.kt79 assertFalse("${nullable.path} exists", nullable.isFile) in Test copying private annotations from one of the stubs()
82 assertFalse("${nonNull.path} exists", nonNull.isFile) in Test copying private annotations from one of the stubs()
85 assertTrue("${recentlyNull.path} doesn't exist", recentlyNull.isFile) in Test copying private annotations from one of the stubs()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/apilevels/
DApiGeneratorTest.kt92 assertTrue(apiVersionsXml.isFile) in <lambda>()
180 assertTrue(apiVersionsXml.isFile) in <lambda>()
256 assertTrue(apiVersionsXml.isFile) in <lambda>()
411 assertTrue(output.isFile) in <lambda>()
585 assertTrue(output.isFile) in <lambda>()
675 assertTrue(output.isFile) in <lambda>()
DCorrectApiLevelForReleaseTest.kt64 assertTrue(output.isFile) in Correct API Level for release()
DCorrectApiLevelForNonReleaseTest.kt64 assertTrue(output.isFile) in Correct API Level for non-release()
DExtractPublicApiLevelsTest.kt64 assertTrue(output.isFile) in Extract API levels()
DExtractSystemApiLevelsTest.kt104 assertTrue(output.isFile) in Extract System API()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineSourceParser.kt64 .filter { it.isFile && it.extension == "java" } // Ensure only Java files are included in <lambda>()
78 .filter { it.isFile && it.name == "package.html" } in <lambda>()
99 ?.filter { it.isFile && it.extension == "java" } in <lambda>()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DReadWithDifferentCompressionLevelsTest.java31 assertTrue(l9File.isFile()); in readL9()
41 assertTrue(l1File.isFile()); in readL1()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DRunHostScriptTargetPreparer.java103 if (scriptFile == null || !scriptFile.isFile()) { in setUp()
159 if (scriptFile.isFile()) { in findScriptFile()
182 if (adbBinary != null && adbBinary.isFile()) { in setPathVariable()
189 if (fastbootBinary.isFile()) { in setPathVariable()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DTestInformation.java196 if (dependency != null && dependency.isFile()) { in getDependencyFile()
200 if (dependency != null && dependency.isFile()) { in getDependencyFile()
204 if (dependency != null && dependency.isFile()) { in getDependencyFile()
208 if (dependency != null && dependency.isFile()) { in getDependencyFile()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DTargetSetupErrorTest.java51 assertTrue(s.isFile()); in testSerialization()
81 assertTrue(s.isFile()); in testSerialization_withIDevice()
/tools/tradefederation/core/src/com/android/tradefed/util/
DClassPathScanner.java165 } else if (childFile.isFile()) { in getEntriesFromDir()
201 if (classPathFile.isFile() && classPathElement.endsWith(".jar")) { in getClassPathEntries()
228 if (classPathFile.isFile() && classPathElement.endsWith(".jar")) { in getClassPathEntriesFromJar()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DGCSBucketUtilFuncTest.java178 Assert.assertTrue(mBucket.isFile(mRemoteRoot + "/" + FOLDER_NAME + "/" + FILE_NAME)); in testIsFile()
185 Assert.assertFalse(mBucket.isFile(mRemoteRoot + "/" + FOLDER_NAME)); in testIsFile_folder()
190 Assert.assertFalse(mBucket.isFile(mRemoteRoot + "/" + FOLDER_NAME + "/")); in testIsFile_endWithPathSep()
DFakeTestsZipFolderTest.java63 assertTrue(file.isFile()); in testFakeTestsZipFolder()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFsDirectoryEntry.java90 public boolean isFile(); in isFile() method
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DConvertJarsToSignatureFiles.kt64 if (!apiJar.isFile) { in <lambda>()
126 if (oldApiFile.isFile) { in <lambda>()
158 if (xmlFile.isFile) { in <lambda>()
DOptions.kt1005 if (jar.isFile) { in isDeveloperPreviewBuild()
1061 if (jar == null || !jar.isFile) { in findAndroidJars()
1099 .firstOrNull { it.isFile } in getAndroidJarFile()
1113 if (!file.isDirectory && !(file.path.endsWith(SdkConstants.DOT_JAR) && file.isFile)) { in stringToExistingDirsOrJars()
1147 if (!file.isFile) { in stringToExistingFiles()
/tools/tradefederation/core/src/com/android/tradefed/result/
DRetentionFileSaver.java54 if (!retentionFile.isFile() || !retentionFile.getName().equals(RETENTION_FILE_NAME)) { in shouldDelete()
/tools/tradefederation/core/common_util/com/android/tradefed/cache/
DMerkleTree.java44 if (f.isFile()) { in buildFromDir()
DDigestCalculator.java45 if (!file.exists() || !file.isFile()) { in compute()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectoryEntry.java364 public boolean isFile() { in isFile() method in FatLfnDirectoryEntry
365 return realEntry.isFile(); in isFile()
/tools/tradefederation/core/test_framework/com/android/tradefed/util/
DDeviceActionUtil.java198 if (file == null || !file.exists() || !file.isFile()) { in checkFile()
238 .filter(f -> f.isFile() && f.canExecute()) in findExecutableOnPath()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/
DCompatibilityCheckAndroidApisTest.kt307 signatureFile.isFile in Test All Android API levels()
/tools/metalava/buildSrc/src/main/kotlin/com/android/tools/metalava/buildinfo/
DCreateAggregateLibraryBuildInfoFileTask.kt85 (infoFile.isFile and (infoFile.name != outputFile.name)) and in <lambda>()

123