/dalvik/vm/ |
JarFile.h | 26 struct JarFile { 36 * On success, returns 0 and sets "*ppJarFile" to a newly-allocated JarFile. 40 JarFile** ppJarFile, bool isBootstrap); 43 * Free a JarFile structure, along with any associated structures. 45 void dvmJarFileFree(JarFile* pJarFile); 47 /* pry the DexFile out of a JarFile */ 48 INLINE DvmDex* dvmGetJarFileDex(JarFile* pJarFile) { 53 INLINE const char* dvmGetJarFileCacheFileName(JarFile* pJarFile) {
|
JarFile.cpp | 193 JarFile** ppJarFile, bool isBootstrap) 350 *ppJarFile = (JarFile*) calloc(1, sizeof(JarFile)); 373 void dvmJarFileFree(JarFile* pJarFile)
|
/libcore/luni/src/test/java/libcore/java/util/jar/ |
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...] |
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...] |
DalvikExecTest.java | 26 import java.util.jar.JarFile; 76 File jarFile; 82 jarFile = Support_Resources.copyFile( 84 res = execDalvik(jarFile.getAbsolutePath(), "dalvikExecTest.HelloWorld"); 87 res = execDalvik(jarFile.getAbsolutePath(), "dalvikExecTest.ResourceDumper"); 102 File jarFile = File.createTempFile("cts_dalvikExecTest_", ".jar"); 103 jarFile.deleteOnExit(); 106 JarOutputStream jarOut = new JarOutputStream(new FileOutputStream(jarFile)); 128 res = execDalvik(jarFile.getAbsolutePath(), "dalvikExecTest.HelloWorld"); 131 res = execDalvik(jarFile.getAbsolutePath(), "dalvikExecTest.ResourceDumper") [all...] |
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarFileTest.java | 37 import java.util.jar.JarFile; 115 * java.util.jar.JarFile#JarFile(java.io.File) 119 JarFile jarFile = new JarFile(new File("Wrong.file")); 127 JarFile jarFile = new JarFile(new File(resources, jarName)); 134 * java.util.jar.JarFile#JarFile(java.lang.String [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
JarFileTest.java | 30 import java.util.jar.JarFile; 86 * Constructs JarFile object. 88 * @tests java.util.jar.JarFile#JarFile(java.io.File) 89 * @tests java.util.jar.JarFile#JarFile(java.lang.String) 94 assertTrue(new JarFile(f).getEntry(JAR1_ENTRY1).getName().equals( 96 assertTrue(new JarFile(f.getPath()).getEntry(JAR1_ENTRY1).getName() 101 * @tests java.util.jar.JarFile#entries() 105 JarFile jarFile = new JarFile(new File(resources, JAR1)) [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...] |
/libcore/benchmarks/src/benchmarks/regression/ |
JarFileBenchmark.java | 35 JarFile jf = new JarFile(f);
|
/external/doclava/src/com/google/doclava/ |
JarUtils.java | 26 import java.util.jar.JarFile; 33 public static JarFile jarForClass(Class<?> clazz, JarFile defaultJar) { 45 return new JarFile(url.substring(JAR_URI_PREFIX.length(), bang)); 57 public static void copyResourcesToDirectory(JarFile fromJar, String jarDir, String destDir)
|
/packages/inputmethods/LatinIME/tools/make-keyboard-text/src/com/android/inputmethod/keyboard/tools/ |
JarUtils.java | 27 import java.util.jar.JarFile; 34 public static JarFile getJarFile(final Class<?> mainClass) { 46 return new JarFile(URLDecoder.decode(jarPath, "UTF-8")); 61 public static ArrayList<String> getNameListing(final JarFile jar, final JarFilter filter) { 77 public static ArrayList<String> getNameListing(final JarFile jar, final String filterName) {
|
MakeKeyboardText.java | 22 import java.util.jar.JarFile; 61 final JarFile jar = JarUtils.getJarFile(MakeKeyboardText.class);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
SecureClassLoader2Test.java | 29 import java.util.jar.JarFile; 64 JarFile jar = new JarFile(file);
|
/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...] |
/external/android-mock/src/com/google/android/testing/mocking/ |
AndroidFrameworkMockGenerator.java | 31 import java.util.jar.JarFile; 101 List<Class<?>> getClassList(JarFile jar) throws ClassNotFoundException { 137 SdkVersion version, JarFile jar) 148 private static JarFile getJarFile(SdkVersion version) throws IOException { 149 File jarFile = new File(getJarFileNameForVersion(version)).getAbsoluteFile(); 150 System.out.println("Using Jar File: " + jarFile.getAbsolutePath()); 151 return new JarFile(jarFile); 160 JarFile jar = getJarFile(version);
|
/libcore/luni/src/main/java/java/util/jar/ |
JarOutputStream.java | 26 * The {@code JarOutputStream} is used to write data in the {@code JarFile} 51 ZipEntry ze = new ZipEntry(JarFile.MANIFEST_NAME);
|
JarFile.java | 32 * {@code JarFile} is used to read jar entries and their associated data from 38 public class JarFile extends ZipFile { 144 * Create a new {@code JarFile} using the contents of the specified file. 151 public JarFile(File file) throws IOException { 156 * Create a new {@code JarFile} using the contents of the specified file. 165 public JarFile(File file, boolean verify) throws IOException { 174 * Create a new {@code JarFile} using the contents of file. 186 public JarFile(File file, boolean verify, int mode) throws IOException { 195 * Create a new {@code JarFile} from the contents of the file specified by 203 public JarFile(String filename) throws IOException [all...] |
JarInputStream.java | 69 if (mEntry.getName().equalsIgnoreCase(JarFile.META_DIR)) { 74 if (mEntry.getName().equalsIgnoreCase(JarFile.MANIFEST_NAME)) { 190 isMeta = jarEntry.getName().toUpperCase(Locale.US).startsWith(JarFile.META_DIR);
|
Pack200.java | 201 void pack(JarFile in, OutputStream out) throws IOException;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ClassCache.java | 13 import java.util.jar.JarFile; 25 JarFile cacheFile; 27 cacheFile = new JarFile(cacheJarFile); 74 private void readEntries(JarFile cacheFile) {
|
/libcore/luni/src/main/java/java/net/ |
JarURLConnection.java | 24 import java.util.jar.JarFile; 159 * Gets the {@code JarFile} object referenced by this {@code 162 * @return the referenced JarFile object. 166 public abstract JarFile getJarFile() throws java.io.IOException; 186 * JarFile}.
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
TestHelper_ClassLoader.java | 25 import java.util.jar.JarFile; 154 JarFile theJar = null; 156 theJar = new JarFile(jarfileName);
|
/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);
|
/external/emma/core/java12/com/vladium/emma/ |
runCommand.java | 14 import java.util.jar.JarFile; 149 final File jarfile = new File (freeArgs [0]); local 153 jarMainClass = openJarFile (jarfile); // the rest of free args are *not* ignored 163 exit (true, "failed to load Main-Class manifest attribute from [" + jarfile.getAbsolutePath () + "]", null, RC_UNEXPECTED); 173 m_classpath = new String [] { jarfile.getPath () }; 286 return "[options] class [args...] | -jar [options] jarfile [args...]"; 297 JarFile jarfile = null; local 300 jarfile = new JarFile (file, false) [all...] |
/external/emma/core/java12/com/vladium/util/ |
IPathEnumerator.java | 21 import java.util.jar.JarFile; 209 // note: Sun's JarFile uses native code and has been known to 216 // I try to read the manifest again via a JarFile if the stream 295 JarFile jarfile = null; local 298 jarfile = new JarFile (archive, false); // 3-arg constructor is not in J2SE 1.2 299 result = jarfile.getManifest (); 306 if (jarfile != null) try { jarfile.close (); } catch (IOException ignore) {} [all...] |