/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/compatibility/ |
D | CompatibilityCheckOptionsTest.kt | 149 val jarFile = fakeJar() in fakeJar() constant 150 runTest(ARG_CHECK_COMPATIBILITY_API_RELEASED, jarFile.path) { in fakeJar() 155 previouslyReleasedApi = JarBasedApi(jarFile), in fakeJar() 165 val jarFile = fakeJar() in check compatibility api released mixture of signature and jar() constant 173 jarFile.path, in check compatibility api released mixture of signature and jar() 183 …"--check-compatibility:api:released: Cannot mix jar files (e.g. $jarFile) and signature files (e.g… in check compatibility api released mixture of signature and jar() 189 val jarFile = fakeJar() in check compatibility api removed does not support jar file() constant 193 runTest(ARG_CHECK_COMPATIBILITY_REMOVED_RELEASED, jarFile.path) { in check compatibility api removed does not support jar file() 199 …-check-compatibility:removed:released: Cannot specify jar files for removed API but found $jarFile" in check compatibility api removed does not support jar file() 205 val jarFile = fakeJar() in check compatibility api released jar is not supported for --revert-annotation() constant [all …]
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/common/ |
D | PreviouslyReleasedApiTest.kt | 66 val jarFile = fakeJar("some.jar") in fakeJar() constant 68 PreviouslyReleasedApi.optionalPreviouslyReleasedApi(OPTION_NAME, listOf(jarFile)) in fakeJar() 69 assertThat(previouslyReleasedApi).isEqualTo(JarBasedApi(jarFile)) in fakeJar() 91 val jarFile = fakeJar("some.jar") in check mixture of signature and jar() constant 99 listOf(jarFile, signatureFile) in check mixture of signature and jar() 105 … "$OPTION_NAME: Cannot mix jar files (e.g. $jarFile) and signature files (e.g. $signatureFile)" in check mixture of signature and jar()
|
/tools/platform-compat/java/com/android/class2nonsdklist/ |
D | Class2NonSdkList.java | 241 for (String jarFile : mJarFiles) { in main() 242 mStatus.debug("Processing jar file %s", jarFile); in main() 244 JarReader reader = new JarReader(mStatus, jarFile); in main() 256 for (String jarFile : jarFiles) { in dumpAllMembers() 257 status.debug("Processing jar file %s", jarFile); in dumpAllMembers() 259 JarReader reader = new JarReader(status, jarFile); in dumpAllMembers()
|
/tools/tradefederation/core/lite/com/android/tradefed/lite/ |
D | HostUtils.java | 80 JarFile jarFile = null; in getJUnitClasses() local 83 jarFile = new JarFile(file); in getJUnitClasses() 84 Stream<JarEntry> s = jarFile.stream(); in getJUnitClasses() 136 if (jarFile != null) { in getJUnitClasses() 137 jarFile.close(); in getJUnitClasses()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | IsolatedHostTest.java | 843 File jarFile = getJarFile(jar, mBuildInfo); in getJarPaths() local 844 output.add(jarFile.getAbsolutePath()); in getJarPaths() 857 File jarFile = searchJarFile(testDir, jarName); in getJarFile() local 858 if (jarFile != null) { in getJarFile() 859 return jarFile; in getJarFile() 864 jarFile = in getJarFile() 867 if (jarFile != null) { in getJarFile() 868 return jarFile; in getJarFile() 888 File jarFile = FileUtil.findFile(baseSearchFile, jarName); in searchJarFile() local 889 if (jarFile != null && jarFile.isFile()) { in searchJarFile() [all …]
|
D | HostTest.java | 1014 JarFile jarFile = null; in getClasses() local 1017 jarFile = new JarFile(file); in getClasses() 1018 Enumeration<JarEntry> e = jarFile.entries(); in getClasses() 1078 StreamUtil.close(jarFile); in getClasses()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/ |
D | JarToJDiffCommand.kt | 43 private val jarFile by in <lambda>() constant in com.android.tools.metalava.JarToJDiffCommand 76 val codebase = jarCodebaseLoader.loadFromJarFile(jarFile) in <lambda>()
|
D | Driver.kt | 501 jarLoader = { jarFile -> loadFromJarFile(jarFile) }, in checkCompatibility() method 666 jarLoader = { jarFile -> loadFromJarFile(jarFile) }, in loadFromSources() method
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ClassPathScanner.java | 118 JarFile jarFile = new JarFile(plainFile); in getEntriesFromJar() local 119 for (Enumeration<? extends ZipEntry> e = jarFile.entries(); e.hasMoreElements(); ) { in getEntriesFromJar() 126 jarFile.close(); in getEntriesFromJar()
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | ClusterCommandLauncher.java | 306 final File jarFile = new File(path); in buildJavaClasspath() local 307 if (!jarFile.exists()) { in buildJavaClasspath() 311 if (jarFile.isFile() && !matchPatterns(excludedPatterns, jarFile.getAbsolutePath())) { in buildJavaClasspath() 312 jars.add(jarFile.getAbsolutePath()); in buildJavaClasspath() 314 try (Stream<Path> walk = Files.walk(jarFile.toPath())) { in buildJavaClasspath() 325 String.format("failed to find jars from %s", jarFile), e); in buildJavaClasspath()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | JarHostTestTest.java | 115 File jarFile = FileUtil.createTempFile("test", ".jar", parentDir); in getJarResource() local 116 FileUtil.writeToFile(jarFileStream, jarFile); in getJarResource() 117 return jarFile; in getJarResource()
|
D | IsolatedHostTestTest.java | 79 File jarFile = FileUtil.createTempFile("tradefed-isolation", ".jar", parentDir); in getJarResource() local 81 ResourceUtil.extractResourceWithAltAsFile(filename, PACKAGE + filename, jarFile); in getJarResource() 83 FileUtil.deleteFile(jarFile); in getJarResource() 86 return jarFile; in getJarResource()
|
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/ |
D | PsiBasedCodebase.kt | 453 jarFile: File, in <lambda>() 476 ZipFile(jarFile).use { jar -> in <lambda>() 516 reporter.report(Issues.IO_ERROR, jarFile, e.message ?: e.toString()) in <lambda>()
|
/tools/tradefederation/core/javatests/com/android/tradefed/config/ |
D | ConfigurationFactoryTest.java | 1991 JarFile jarFile = null; in getClassInContribJar() local 1993 jarFile = new JarFile(jar); in getClassInContribJar() 1994 Enumeration<JarEntry> e = jarFile.entries(); in getClassInContribJar() 2007 StreamUtil.close(jarFile); in getClassInContribJar()
|