HomeSort by relevance Sort by last modified time
    Searched refs:jarFile (Results 1 - 25 of 164) sorted by null

1 2 3 4 5 6 7

  /libcore/luni/src/test/java/libcore/java/util/jar/
StrictJarFileTest.java 44 StrictJarFile jarFile = new StrictJarFile("Wrong.file");
52 StrictJarFile jarFile = new StrictJarFile(fileName);
53 jarFile.close();
58 StrictJarFile jarFile = new StrictJarFile(new File(resources, JAR_1).getAbsolutePath());
60 Iterator<ZipEntry> it = jarFile.iterator();
81 assertEquals("Blah", new String(Streams.readFully(jarFile.getInputStream(ze)),
95 StrictJarFile jarFile = new StrictJarFile(new File(resources, JAR_1).getAbsolutePath());
97 assertNull(jarFile.findEntry("foobar"));
98 assertNull(jarFile.findEntry("blah.txt"));
99 assertNotNull(jarFile.findEntry("Blah.txt"))
    [all...]
OldJarEntryTest.java 23 import java.util.jar.JarFile;
32 private JarFile jarFile;
41 jarFile = new JarFile(new File(resources, jarName));
46 if (jarFile != null) {
47 jarFile.close();
56 JarEntry newJarEntry = new JarEntry(jarFile.getJarEntry(entryName));
72 assertNotNull("Jar file is null", jarFile);
73 zipEntry = jarFile.getEntry(entryName)
    [all...]
OldJarFileTest.java 23 import java.util.jar.JarFile;
37 new JarFile(new File("Wrong.file"));
43 new JarFile(new File(resources, jarName));
48 new JarFile("Wrong.file");
55 new JarFile(fileName);
60 new JarFile("Wrong.file", false);
67 new JarFile(fileName, true);
72 new JarFile(new File("Wrong.file"), true);
78 new JarFile(new File(resources, jarName), false);
83 new JarFile(new File("Wrong.file"), true
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
JarFileTest.java 50 import java.util.jar.JarFile;
159 * java.util.jar.JarFile#JarFile(java.io.File)
163 JarFile jarFile = new JarFile(new File("Wrong.file"));
171 JarFile jarFile = new JarFile(new File(resources, jarName));
178 * java.util.jar.JarFile#JarFile(java.lang.String
    [all...]
JarEntryTest.java 26 import java.util.jar.JarFile;
36 private JarFile jarFile;
56 jarFile = new JarFile(new File(resources, jarName));
61 if (jarFile != null) {
62 jarFile.close();
71 JarEntry newJarEntry = new JarEntry(jarFile.getJarEntry(entryName));
87 assertNotNull("Jar file is null", jarFile);
88 zipEntry = jarFile.getEntry(entryName)
    [all...]
ManifestTest.java 27 import java.util.jar.JarFile;
62 JarFile jarFile = new JarFile(new File(resources, fileName));
63 Manifest m = jarFile.getManifest();
64 jarFile.close();
  /libcore/luni/src/main/java/libcore/net/url/
JarURLConnectionImpl.java 37 import java.util.jar.JarFile;
50 private static final HashMap<URL, JarFile> jarCache = new HashMap<URL, JarFile>();
56 private JarFile jarFile;
96 public JarFile getJarFile() throws IOException {
98 return jarFile;
110 jarFile = jarCache.get(jarFileURL);
112 if (jarFile == null) {
113 JarFile jar = openJarFile()
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
VMHostTest.java 72 File jarFile = new File(ctsBuild.getTestCasesDir(), getJarFileName());
73 if (!jarFile.exists()) {
74 CLog.e("Missing jar file %s", jarFile.getPath());
78 jarFile.getPath(), localTmpDir.getPath());
79 ZipFile zipFile = new ZipFile(jarFile);
JUnitDeviceTest.java 156 File jarFile;
159 jarFile = mCtsBuild.getTestApp(f);
160 boolean result = getDevice().pushFile(jarFile, fullJarPath);
JarHostTest.java 303 File jarFile = mCtsBuild.getTestApp(mJarFileName);
304 URL urls[] = {jarFile.getCanonicalFile().toURI().toURL()};
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
JarURLConnectionTest.java 31 import java.util.jar.JarFile;
41 private URL copyAndOpenResourceStream(String jarFile, String inFile)
46 Support_Resources.copyFile(resources, "net", jarFile);
47 File file = new File(resources.toString() + "/net/" + jarFile);
143 File jarFile = File.createTempFile("1+2 3", "test.jar");
144 jarFile.deleteOnExit();
145 JarOutputStream out = new JarOutputStream(new FileOutputStream(jarFile));
151 + jarFile.getAbsolutePath().replaceAll(" ", "%20") + "!/")
166 JarFile jarFile1 = connection.getJarFile();
172 JarFile jarFile2 = connection.getJarFile()
    [all...]
  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfoSource.java 176 private void findClassesInJar(File jarFile, String pathPrefix,
179 Set<String> entryNames = getJarEntries(jarFile);
246 private Set<String> getJarEntries(File jarFile)
248 Set<String> entryNames = jarFiles.get(jarFile);
251 ZipFile zipFile = new ZipFile(jarFile);
279 jarFiles.put(jarFile, entryNames);
  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java 35 import java.util.jar.JarFile;
46 private URL createContent(String jarFile, String inFile)
51 Support_Resources.copyFile(resources, "net", jarFile);
52 File file = new File(resources.toString() + "/net/" + jarFile);
81 JarFile jf = juc.getJarFile();
211 File jarFile = File.createTempFile("1+2 3", "test.jar");
212 jarFile.deleteOnExit();
213 JarOutputStream out = new JarOutputStream(new FileOutputStream(jarFile));
219 + jarFile.getAbsolutePath().replaceAll(" ", "%20") + "!/")
235 JarFile jarFile1 = connection.getJarFile()
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
OldAndroidZipStressTest.java 27 import java.util.jar.JarFile;
39 JarFile jarFile = new JarFile(file);
40 JarEntry je = jarFile.getJarEntry("AndroidManifest.xml");
46 InputStream is = jarFile.getInputStream(je);
  /cts/suite/cts/hostTests/jank/src/com/android/cts/jank/
CtsHostJankTest.java 70 File jarFile = mBuild.getTestApp(mJarName);
71 boolean result = mDevice.pushFile(jarFile, mJarPath);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/
LibraryClasspathContainerInitializer.java 216 for (File jarFile : sanitizedList) {
217 if (jarFile instanceof CPEFile) {
218 CPEFile cpeFile = (CPEFile) jarFile;
229 String jarPath = jarFile.getAbsolutePath();
243 File srcPath = getFile(jarFile, value);
252 File docPath = getFile(jarFile, value);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/configuration/org.eclipse.osgi/bundles/59/1/.cp/
jdtCompilerAdapter.jar 
  /cts/tools/utils/
CollectAllTests.java 43 import java.util.jar.JarFile;
177 JarFile jarFile = null;
179 jarFile = new JarFile(jarFileName);
181 System.err.println("cannot open jarfile " + jarFileName);
190 Enumeration<JarEntry> jarEntries = jarFile.entries();
  /cts/tools/vm-tests-tf/src/util/build/
BuildDalvikSuite.java 488 BuildStep.BuildFile jarFile = new BuildStep.BuildFile(
491 "classes.dex", jarFile, true);
507 BuildStep.BuildFile jarFile = new BuildStep.BuildFile(
511 "classes.dex", jarFile, true);
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.launcher.jar 
org.eclipse.equinox.launcher_1.1.0.v20100507.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar 
  /prebuilts/devtools/tools/lib/
lint-api.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-api/22.2.0/
lint-api-22.2.0.jar 

Completed in 678 milliseconds

1 2 3 4 5 6 7