Home
last modified time | relevance | path

Searched refs:jarFile (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java95 StrictJarFile jarFile = new StrictJarFile(fileName); in testConstructor() local
96 jarFile.close(); in testConstructor()
104 StrictJarFile jarFile = new StrictJarFile(fd); in testConstructor_FD() local
105 jarFile.close(); in testConstructor_FD()
111 StrictJarFile jarFile = in testIteration() local
113 checkIteration(jarFile); in testIteration()
121 StrictJarFile jarFile = new StrictJarFile(fd); in testIteration_FD() local
122 checkIteration(jarFile); in testIteration_FD()
125 private static void checkIteration(StrictJarFile jarFile) throws Exception { in checkIteration() argument
126 Iterator<ZipEntry> it = jarFile.iterator(); in checkIteration()
[all …]
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/
DFileUtils.java55 Path jarFile = Paths.get(String.format( in getJarFile() local
57 if (Files.exists(jarFile)) { in getJarFile()
58 return jarFile; in getJarFile()
78 Path jarFile = getJarFile(file); in getJarFilesFromFile() local
79 if (jarFile == null) { in getJarFilesFromFile()
82 jarFiles.add(jarFile); in getJarFilesFromFile()
/cts/tools/vm-tests-tf/targetprep/src/android/core/vm/targetprep/
DVmTestPreparer.java86 File jarFile = ctsBuild.getTestFile(JAR_FILE); in installVmPrereqs() local
87 if (!jarFile.exists()) { in installVmPrereqs()
88 throw new RuntimeException("Missing jar file " + jarFile.getPath()); in installVmPrereqs()
92 if (!device.pushFile(jarFile, jarOnDevice)) { in installVmPrereqs()
93 throw new RuntimeException("Failed to push vm test jar " + jarFile + " to " in installVmPrereqs()
/cts/hostsidetests/security/src/android/security/cts/
DSELinuxNeverallowRulesTestVendor.java82 JarFile jarFile = new JarFile(SELinuxHostTest.class in generateRules() local
87 jarFile.stream().forEach(entry -> { in generateRules()
106 jarFile.close(); in generateRules()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DJarTestFinder.java38 try (JarFile jarFile = new JarFile(jarTestFile)) { in getClasses() argument
39 Enumeration<JarEntry> e = jarFile.entries(); in getClasses()
DTestSuiteParser.java415 try (JarFile jarFile = new JarFile(jarTestFile)) { in getJarTestClasses() argument
416 Enumeration<JarEntry> e = jarFile.entries(); in getJarTestClasses()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DJarTestFinder.java41 try (JarFile jarFile = new JarFile(jarTestFile)) { in getClasses() argument
42 Enumeration<JarEntry> e = jarFile.entries(); in getClasses()
DTestCaseReport.java295 try (JarFile jarFile = new JarFile(jarTestFile)) { in getJarTestClasses() argument
296 Enumeration<JarEntry> e = jarFile.entries(); in getJarTestClasses()
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java89 File jarFile = buildHelper.getTestFile(DEVICE_JAR_FILENAME); in setUp() local
90 boolean success = getDevice().pushFile(jarFile, getDeviceJarFilepath()); in setUp()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildDalvikSuite.java272 BuildStep.BuildFile jarFile = new BuildStep.BuildFile( in generateBuildStepForDependant() local
275 "classes.dex", jarFile, true); in generateBuildStepForDependant()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DApexSignatureVerificationTest.java258 File jarFile = new File( in pullWellKnownSignatures() local
260 keyPath = getResourcesFromJarFile(jarFile, WELL_KNOWN_PUBKEY_PATTERN); in pullWellKnownSignatures()
/cts/hostsidetests/appcompat/strictjavapackages/src/android/compat/sjp/cts/
DStrictJavaPackagesTest.java1015 try (JarFile jarFile = new JarFile(jar)) { in getJarFileContents() argument
1016 return jarFile.stream() in getJarFileContents()