Lines Matching defs:assets
193 AssetManager assets;
194 if (!assets.addAssetPath(String8(zipFileName), NULL)) {
195 fprintf(stderr, "ERROR: list -a failed because assets could not be loaded\n");
199 const ResTable& res = assets.getResources(false);
209 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
449 AssetManager assets;
451 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
452 fprintf(stderr, "ERROR: dump failed because assets could not be loaded\n");
472 assets.setConfiguration(config);
474 const ResTable& res = assets.getResources(false);
498 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
525 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
543 asset = assets.openNonAsset("AndroidManifest.xml",
796 assets.setLocale(localeStr != NULL ? localeStr : "");
816 assets.setConfiguration(tmpConfig);
822 assets.setConfiguration(config);
1480 AssetDir* dir = assets.openNonAssetDir(assetsCookie, "lib");
1649 sp<AaptAssets> assets;
1685 // Load the assets.
1686 assets = new AaptAssets();
1688 // Set up the resource gathering in assets if we're going to generate
1694 assets->setFullResPaths(resPathStore);
1696 assets->setFullAssetPaths(assetPathStore);
1699 err = assets->slurpFromArgs(bundle);
1705 assets->print(String8());
1710 err = buildResources(bundle, assets);
1723 assets->applyJavaSymbols();
1749 if (!assets->havePrivateSymbols()) {
1753 err = writeResourceSymbols(bundle, assets, assets->getPackage(), true);
1756 err = writeResourceSymbols(bundle, assets, customPkg, true);
1770 err = writeResourceSymbols(bundle, assets, String8(packageString), true);
1779 err = writeResourceSymbols(bundle, assets, assets->getPackage(), false);
1783 err = writeResourceSymbols(bundle, assets, assets->getSymbolsPrivatePackage(), true);
1790 err = writeProguardFile(bundle, assets);
1797 err = writeAPK(bundle, assets, String8(outputAPKFile));
1814 err = writeDependencyPreReqs(bundle, assets, fp, includeRaw);
1815 // Also manually add the AndroidManifeset since it's not under res/ or assets/