Lines Matching refs:bundle
40 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);
42 bool okayToCompress(Bundle* bundle, const String8& pathName);
43 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip);
52 status_t writeAPK(Bundle* bundle, const String8& outputFile, const sp<OutputSet>& outputSet) in writeAPK() argument
76 if (bundle->getUpdate()) { in writeAPK()
78 } else if (bundle->getForce()) { in writeAPK()
94 if (bundle->getVerbose()) { in writeAPK()
108 if (bundle->getVerbose()) { in writeAPK()
112 count = processAssets(bundle, zip, outputSet); in writeAPK()
120 if (bundle->getVerbose()) { in writeAPK()
124 count = processJarFiles(bundle, zip); in writeAPK()
132 if (bundle->getVerbose()) in writeAPK()
143 if (bundle->getVerbose()) in writeAPK()
150 if (bundle->getVerbose()) { in writeAPK()
158 if (bundle->getVerbose() && removed > 0) in writeAPK()
171 if (bundle->getVerbose()) { in writeAPK()
183 if (bundle->getGenDependencies()) { in writeAPK()
201 if (bundle->getVerbose()) { in writeAPK()
209 if (result == NO_ERROR && bundle->getVerbose()) in writeAPK()
218 ssize_t processAssets(Bundle* bundle, ZipFile* zip, const sp<const OutputSet>& outputSet) in processAssets() argument
230 if (!processFile(bundle, zip, storagePath, entry.getFile())) { in processAssets()
245 bool processFile(Bundle* bundle, ZipFile* zip, in processFile() argument
281 if (bundle->getUpdate()) { in processFile()
301 if (bundle->getVerbose()) { in processFile()
308 if (bundle->getVerbose()) { in processFile()
327 int compressionMethod = bundle->getCompressionMethod(); in processFile()
328 if (!okayToCompress(bundle, storageName)) { in processFile()
338 if (bundle->getVerbose()) { in processFile()
366 bool okayToCompress(Bundle* bundle, const String8& pathName) in okayToCompress() argument
379 const android::Vector<const char*>& others(bundle->getNoCompressExtensions()); in okayToCompress()
427 ssize_t processJarFiles(Bundle* bundle, ZipFile* zip) in processJarFiles() argument
431 const android::Vector<const char*>& jars = bundle->getJarFiles(); in processJarFiles()