Home | History | Annotate | Download | only in aapt

Lines Matching defs:assets

192         AssetManager assets;
193 if (!assets.addAssetPath(String8(zipFileName), NULL)) {
194 fprintf(stderr, "ERROR: list -a failed because assets could not be loaded\n");
198 const ResTable& res = assets.getResources(false);
208 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
448 AssetManager assets;
450 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
451 fprintf(stderr, "ERROR: dump failed because assets could not be loaded\n");
471 assets.setConfiguration(config);
473 const ResTable& res = assets.getResources(false);
497 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
524 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
542 asset = assets.openNonAsset("AndroidManifest.xml",
791 assets.setLocale(localeStr != NULL ? localeStr : "");
811 assets.setConfiguration(tmpConfig);
817 assets.setConfiguration(config);
1471 AssetDir* dir = assets.openNonAssetDir(assetsCookie, "lib");
1640 sp<AaptAssets> assets;
1676 // Load the assets.
1677 assets = new AaptAssets();
1679 // Set up the resource gathering in assets if we're going to generate
1685 assets->setFullResPaths(resPathStore);
1687 assets->setFullAssetPaths(assetPathStore);
1690 err = assets->slurpFromArgs(bundle);
1696 assets->print(String8());
1701 err = buildResources(bundle, assets);
1714 assets->applyJavaSymbols();
1740 if (!assets->havePrivateSymbols()) {
1744 err = writeResourceSymbols(bundle, assets, assets->getPackage(), true);
1747 err = writeResourceSymbols(bundle, assets, customPkg, true);
1761 err = writeResourceSymbols(bundle, assets, String8(packageString), true);
1770 err = writeResourceSymbols(bundle, assets, assets->getPackage(), false);
1774 err = writeResourceSymbols(bundle, assets, assets->getSymbolsPrivatePackage(), true);
1781 err = writeProguardFile(bundle, assets);
1788 err = writeAPK(bundle, assets, String8(outputAPKFile));
1805 err = writeDependencyPreReqs(bundle, assets, fp, includeRaw);
1806 // Also manually add the AndroidManifeset since it's not under res/ or assets/