Home
last modified time | relevance | path

Searched refs:zip (Results 1 – 25 of 202) sorted by relevance

123456789

/frameworks/base/tools/aapt/
DPackage.cpp40 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<const OutputSet>& outputSet);
41 bool processFile(Bundle* bundle, ZipFile* zip, String8 storageName, const sp<const AaptFile>& file);
43 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip);
60 ZipFile* zip = NULL; in writeAPK() local
100 zip = new ZipFile; in writeAPK()
101 status = zip->open(outputFile.string(), ZipFile::kOpenReadWrite | ZipFile::kOpenCreate); in writeAPK()
112 count = processAssets(bundle, zip, outputSet); in writeAPK()
124 count = processJarFiles(bundle, zip); in writeAPK()
146 for (i = 0; i < zip->getNumEntries(); i++) { in writeAPK()
147 ZipEntry* entry = zip->getEntryByIndex(i); in writeAPK()
[all …]
Dprintapk.cpp32 zipfile_t zip; in main() local
72 zip = init_zipfile(buf, size); in main()
73 if (zip == NULL) { in main()
81 while ((entry = iterate_zipfile(zip, &cookie))) { in main()
87 entry = lookup_zipentry(zip, "resources.arsc"); in main()
DCommand.cpp57 ZipFile* zip; in openReadOnly() local
60 zip = new ZipFile; in openReadOnly()
61 result = zip->open(fileName, ZipFile::kOpenReadOnly); in openReadOnly()
71 delete zip; in openReadOnly()
75 return zip; in openReadOnly()
86 ZipFile* zip = NULL; in openReadWrite() local
95 zip = new ZipFile; in openReadWrite()
96 result = zip->open(fileName, flags); in openReadWrite()
98 delete zip; in openReadWrite()
99 zip = NULL; in openReadWrite()
[all …]
/frameworks/base/docs/html/sdk/
Dolder_releases.jd51 href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.6_r1.zip">android-sdk-
52 windows-1 .6_r1.zip</a>
61 href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.6_r1.zip">android-sdk-
62 mac_x86-1 .6_r1.zip</a>
96 href="{@docRoot}sdk/download.html?v=archives/android-sdk-windows-1.5_r3.zip">android-sdk-
97 windows-1 .5_r3.zip</a>
106 href="{@docRoot}sdk/download.html?v=archives/android-sdk-mac_x86-1.5_r3.zip">android-sdk-
107 mac_x86-1 .5_r3.zip</a>
116 href="{@docRoot}sdk/download.html?v=archives/android-sdk-linux_x86-1.5_r3.zip">android-
117 sdk- linux_x86-1.5_r3.zip</a>
[all …]
/frameworks/multidex/library/test/src/android/support/multidex/
DZipUtilTest.java37 import java.util.zip.ZipEntry;
38 import java.util.zip.ZipException;
39 import java.util.zip.ZipFile;
92 ZipFile zip = new ZipFile(zipFile); in testCrcRange() local
93 Assert.assertEquals(zip.size(), toCheck.size()); in testCrcRange()
94 Enumeration<? extends ZipEntry> ref = zip.entries(); in testCrcRange()
108 zip.close(); in testCrcRange()
113 ZipFile zip = new ZipFile(zipFile); in testCrcValue() local
114 Enumeration<? extends ZipEntry> ref = zip.entries(); in testCrcValue()
120 InputStream in = zip.getInputStream(refEntry); in testCrcValue()
[all …]
DZipEntryReader.java28 import java.util.zip.ZipEntry;
29 import java.util.zip.ZipException;
/frameworks/base/core/java/android/app/
DApplicationLoaders.java30 public ClassLoader getClassLoader(String zip, String libPath, ClassLoader parent) in getClassLoader() argument
51 ClassLoader loader = mLoaders.get(zip); in getClassLoader()
56 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader()
58 new PathClassLoader(zip, libPath, parent); in getClassLoader()
61 mLoaders.put(zip, pathClassloader); in getClassLoader()
65 Trace.traceBegin(Trace.TRACE_TAG_ACTIVITY_MANAGER, zip); in getClassLoader()
66 PathClassLoader pathClassloader = new PathClassLoader(zip, parent); in getClassLoader()
/frameworks/base/libs/androidfw/
DAssetManager.cpp1880 sp<SharedZip> zip = gOpen.valueFor(path).promote(); in get() local
1881 if (zip != NULL && zip->mModWhen == modWhen) { in get()
1882 return zip; in get()
1884 if (zip == NULL && !createIfNotPresent) { in get()
1887 zip = new SharedZip(path, modWhen); in get()
1888 gOpen.add(path, zip); in get()
1889 return zip; in get()
2012 sp<SharedZip> zip = mZipFile[idx]; in getZip() local
2013 if (zip == NULL) { in getZip()
2014 zip = SharedZip::get(path); in getZip()
[all …]
/frameworks/base/cmds/idmap/
Dcreate.cpp17 UniquePtr<ZipFileRO> zip(ZipFileRO::open(zip_path)); in get_zip_entry_crc() local
18 if (zip.get() == NULL) { in get_zip_entry_crc()
21 ZipEntryRO entry = zip->findEntryByName(entry_name); in get_zip_entry_crc()
25 if (!zip->getEntryInfo(entry, NULL, NULL, NULL, NULL, NULL, (long*)crc)) { in get_zip_entry_crc()
28 zip->releaseEntry(entry); in get_zip_entry_crc()
Dscan.cpp146 UniquePtr<ZipFileRO> zip(ZipFileRO::open(path)); in parse_apk() local
147 if (zip.get() == NULL) { in parse_apk()
152 if ((entry = zip->findEntryByName("AndroidManifest.xml")) == NULL) { in parse_apk()
158 if (!zip->getEntryInfo(entry, &method, &uncompLen, NULL, NULL, NULL, NULL)) { in parse_apk()
166 FileMap *dataMap = zip->createEntryFileMap(entry); in parse_apk()
/frameworks/base/docs/html/sdk/api_diff/21/
DmissingSinces.txt1102 NO DOC BLOCK: java.util.zip.ZipEntry Field CENATT
1103 NO DOC BLOCK: java.util.zip.ZipFile Field CENATT
1104 NO DOC BLOCK: java.util.zip.ZipInputStream Field CENATT
1105 NO DOC BLOCK: java.util.zip.ZipOutputStream Field CENATT
1106 NO DOC BLOCK: java.util.zip.ZipEntry Field CENATX
1107 NO DOC BLOCK: java.util.zip.ZipFile Field CENATX
1108 NO DOC BLOCK: java.util.zip.ZipInputStream Field CENATX
1109 NO DOC BLOCK: java.util.zip.ZipOutputStream Field CENATX
1110 NO DOC BLOCK: java.util.zip.ZipEntry Field CENCOM
1111 NO DOC BLOCK: java.util.zip.ZipFile Field CENCOM
[all …]
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java46 import java.util.zip.ZipEntry;
47 import java.util.zip.ZipFile;
310 ZipFile zip = new ZipFile(jarPath); in parseZip() local
311 Enumeration<? extends ZipEntry> entries = zip.entries(); in parseZip()
316 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseZip()
320 filesFound.put(entry.getName(), zip.getInputStream(entry)); in parseZip()
/frameworks/base/core/java/android/os/
DRecoverySystem.java44 import java.util.zip.ZipEntry;
45 import java.util.zip.ZipFile;
102 ZipFile zip = new ZipFile(keystore); in getTrustedCerts() local
105 Enumeration<? extends ZipEntry> entries = zip.entries(); in getTrustedCerts()
108 InputStream is = zip.getInputStream(entry); in getTrustedCerts()
116 zip.close(); in getTrustedCerts()
/frameworks/base/docs/html/sdk/installing/
Dinstalling-adt.jd2 adt.zip.version=23.0.4
3 adt.zip.download=ADT-23.0.4.zip
4 adt.zip.bytes=103336810
5 adt.zip.checksum=91a43dcf686ab73dec2c08b77243492b
93 remote update site, you can download the ADT zip file to your local machine and
97 <li>Download the ADT Plugin zip file (do not unpack it):
132 <p>To update your plugin once you've installed using the zip file, you will have
/frameworks/multidex/library/src/android/support/multidex/
DZipUtil.java26 import java.util.zip.CRC32;
27 import java.util.zip.ZipException;
DMultiDexExtractor.java37 import java.util.zip.ZipEntry;
38 import java.util.zip.ZipException;
39 import java.util.zip.ZipFile;
40 import java.util.zip.ZipOutputStream;
/frameworks/base/docs/html/training/enterprise/
Dindex.jd29 <a href="http://developer.android.com/shareables/training/DeviceManagement.zip"
31 <p class="filename">DeviceManagement.zip</p>
/frameworks/base/docs/html/training/animation/
Dlayout.jd18 <a href="{@docRoot}shareables/training/Animations.zip" class=
21 Animations.zip
52 <a href="{@docRoot}shareables/training/Animations.zip">download</a> and
/frameworks/base/docs/html-intl/intl/zh-cn/training/multiscreen/
Dindex.jd34 <a href="http://developer.android.com/shareables/training/NewsReader.zip" class="button">下载示例应用</a>
35 <p class="filename">NewsReader.zip</p>
/frameworks/base/docs/html-intl/intl/ko/training/multiscreen/
Dindex.jd34 <a href="http://developer.android.com/shareables/training/NewsReader.zip" class="button">샘플 앱 다운로드<…
35 <p class="filename">NewsReader.zip</p>
/frameworks/base/docs/html-intl/intl/ja/training/multiscreen/
Dindex.jd34 <a href="http://developer.android.com/shareables/training/NewsReader.zip" class="button">サンプル アプリのダ…
35 <p class="filename">NewsReader.zip</p>
/frameworks/base/docs/html-intl/intl/ru/training/multiscreen/
Dindex.jd34 <a href="http://developer.android.com/shareables/training/NewsReader.zip" class="button">Загрузить …
35 <p class="filename">NewsReader.zip</p>
/frameworks/support/gradle/wrapper/
Dgradle-wrapper.properties6 distributionUrl=../../../../tools/external/gradle/gradle-1.11-bin.zip
/frameworks/testing/espresso/gradle/wrapper/
Dgradle-wrapper.properties6 distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.properties6 distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-all.zip

123456789