HomeSort by relevance Sort by last modified time
    Searched refs:ZipFile (Results 26 - 50 of 81) sorted by null

12 3 4

  /dalvik/tools/dexdeps/src/com/android/dexdeps/
Main.java 26 import java.util.zip.ZipFile;
117 ZipFile zipFile;
123 zipFile = new ZipFile(fileName);
139 ZipEntry entry = zipFile.getEntry(CLASSES_DEX);
143 zipFile.close();
147 InputStream zis = zipFile.getInputStream(entry);
  /frameworks/base/tools/aapt/
ZipEntry.h 20 // The ZipEntry class is tightly meshed with the ZipFile class.
32 class ZipFile;
39 * tuck a pointer to the ZipFile in here for convenience, but that raises
40 * the likelihood of using ZipEntry objects after discarding the ZipFile.)
48 friend class ZipFile;
174 status_t initFromExternal(const ZipFile* pZipFile, const ZipEntry* pEntry);
201 /* mark for deletion; used by ZipFile::remove() */
Main.h 15 #include "ZipFile.h"
51 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<AaptAssets>& assets);
Android.mk 28 ZipFile.cpp
Command.cpp 40 ZipFile* openReadOnly(const char* fileName)
42 ZipFile* zip;
45 zip = new ZipFile;
46 result = zip->open(fileName, ZipFile::kOpenReadOnly);
68 ZipFile* openReadWrite(const char* fileName, bool okayToCreate)
70 ZipFile* zip = NULL;
74 flags = ZipFile::kOpenReadWrite;
76 flags |= ZipFile::kOpenCreate;
78 zip = new ZipFile;
125 ZipFile* zip = NULL
    [all...]
  /frameworks/base/core/java/com/android/internal/content/
PackageHelper.java 33 import java.util.zip.ZipFile;
226 final ZipFile privateZip = new ZipFile(packagePath);
259 private static void copyZipEntry(ZipEntry zipEntry, ZipFile inZipFile,
  /libcore/luni/src/main/java/java/util/zip/
ZipFile.java 50 public class ZipFile implements ZipConstants {
93 * Constructs a new {@code ZipFile} with the specified file.
102 public ZipFile(File file) throws ZipException, IOException {
118 public ZipFile(File file, int mode) throws IOException {
144 public ZipFile(String name) throws IOException {
215 * Gets the ZIP entry with the specified name from this {@code ZipFile}.
278 * Gets the file name of this {@code ZipFile}.
280 * @return the file name of this {@code ZipFile}.
287 * Returns the number of {@code ZipEntries} in this {@code ZipFile}.
447 // explicitly checks that the InputStream returned from ZipFile.getInputStrea
    [all...]
ZipOutputStream.java 32 * stream. Output from {@code ZipOutputStream} conforms to the {@code ZipFile}
63 * @see ZipFile
163 int flags = currentEntry.getMethod() == STORED ? 0 : ZipFile.GPBF_DATA_DESCRIPTOR_FLAG;
167 flags |= ZipFile.GPBF_UTF8_FLAG;
306 int flags = currentEntry.getMethod() == STORED ? 0 : ZipFile.GPBF_DATA_DESCRIPTOR_FLAG;
309 flags |= ZipFile.GPBF_UTF8_FLAG;
347 * Sets the {@code ZipFile} comment associated with the file being written.
  /external/webkit/Tools/Scripts/webkitpy/common/system/
zipfileset.py 25 import zipfile namespace
43 return (temp_file, zipfile.ZipFile(temp_file))
  /frameworks/base/test-runner/src/android/test/
ClassPathPackageInfoSource.java 32 import java.util.zip.ZipFile;
251 ZipFile zipFile = new ZipFile(jarFile);
252 Enumeration<? extends ZipEntry> entries = zipFile.entries();
  /build/tools/releasetools/
sign_target_files_apks 18 Signs all the APK files in a target-files zipfile, producing a new
80 import zipfile namespace
254 # put into a zipfile system/etc/security/otacerts.zip.
258 certs_zip = zipfile.ZipFile(tempfile, "w")
325 input_zip = zipfile.ZipFile(args[0], "r")
326 output_zip = zipfile.ZipFile(args[1], "w")
img_from_target_files 18 Given a target-files zipfile, produces an image zipfile suitable for
44 import zipfile namespace
187 output_zip = zipfile.ZipFile(args[1], "w", compression=zipfile.ZIP_DEFLATED)
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
JarURLConnectionTest.java 34 import java.util.zip.ZipFile;
118 ZipFile jf1 = con1.getJarFile();
120 ZipFile jf2 = con2.getJarFile();
  /frameworks/base/core/java/android/os/
RecoverySystem.java 45 import java.util.zip.ZipFile;
102 ZipFile zip = new ZipFile(keystore);
  /tools/motodev/src/plugins/certmanager/src/com/motorolamobility/studio/android/certmanager/ui/dialogs/
RestoreBackupDialog.java 24 import java.util.zip.ZipFile;
277 ZipFile zipFile = null;
280 zipFile = new ZipFile(archiveFile, ZipFile.OPEN_READ);
281 ArrayList<String> keyStores = new ArrayList<String>(zipFile.size());
283 Enumeration<? extends ZipEntry> entries = zipFile.entries();
319 if (zipFile != null)
323 zipFile.close();
    [all...]
  /development/scripts/
divide_and_compress.py 43 import zipfile namespace
167 A new ZipFile object that points to the modified archive file.
179 compress_bit = zipfile.ZIP_STORED
181 compress_bit = zipfile.ZIP_DEFLATED
195 def OpenZipFileAtPath(self, path, mode=None, compress=zipfile.ZIP_DEFLATED):
204 return zipfile.ZipFile(path, mode)
206 return zipfile.ZipFile(path, mode, compress)
229 compress_bit = zipfile.ZIP_DEFLATE
    [all...]
divide_and_compress_test.py 28 import zipfile namespace
93 only called once on the new ZipFile object.
104 compress=zipfile.ZIP_DEFLATED,
125 source_zip = self.my_mox.CreateMock(zipfile.ZipFile)
143 dest_zip = mox.MockObject(zipfile.ZipFile)
210 """Create a mock ZipFile object for testSingleFileArchive.
217 mock_zip = self.my_mox.CreateMock(zipfile.ZipFile)
    [all...]
  /external/webkit/Tools/BuildSlaveSupport/
test-result-archive 26 import optparse, os, shutil, subprocess, sys, zipfile
107 zipper = zipfile.ZipFile(archiveFile, 'w', zipfile.ZIP_DEFLATED)
  /frameworks/base/test-runner/src/junit/runner/
TestCaseClassLoader.java 158 ZipFile zipFile= null;
164 zipFile= new ZipFile(archive);
168 ZipEntry entry= zipFile.getEntry(fileName);
173 stream= zipFile.getInputStream(entry);
180 zipFile.close();
  /libcore/luni/src/main/java/java/util/jar/
JarFile.java 28 import java.util.zip.ZipFile;
38 public class JarFile extends ZipFile {
181 * the mode to use, either {@link ZipFile#OPEN_READ OPEN_READ} or
182 * {@link ZipFile#OPEN_DELETE OPEN_DELETE}.
  /sdk/assetstudio/src/com/android/assetstudiolib/
GraphicGenerator.java 39 import java.util.zip.ZipFile;
270 final ZipFile zipFile = new JarFile(file);
271 Enumeration<? extends ZipEntry> enumeration = zipFile.entries();
  /tools/motodev/src/plugins/common/src/com/motorola/studio/android/common/utilities/
FileUtil.java 45 import java.util.zip.ZipFile;
    [all...]
  /external/smali/dexlib/src/main/java/org/jf/dexlib/
DexFile.java 42 import java.util.zip.ZipFile;
297 ZipFile zipFile = null;
302 zipFile = new ZipFile(file);
303 ZipEntry zipEntry = zipFile.getEntry("classes.dex");
315 inputStream = new BufferedInputStream(zipFile.getInputStream(zipEntry));
383 if (zipFile != null) {
384 zipFile.close();
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
OldJarURLConnectionTest.java 39 import java.util.zip.ZipFile;
193 ZipFile jf1 = con1.getJarFile();
195 ZipFile jf2 = con2.getJarFile();
  /libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
JarFileTest.java 42 import java.util.zip.ZipFile;
190 ZipFile.OPEN_READ);
199 ZipFile.OPEN_READ);
207 ZipFile.OPEN_READ | ZipFile.OPEN_DELETE + 33);
    [all...]

Completed in 393 milliseconds

12 3 4