Home | History | Annotate | Download | only in aapt

Lines Matching defs:assets

212         AssetManager assets;
213 if (!assets.addAssetPath(String8(zipFileName), NULL)) {
214 fprintf(stderr, "ERROR: list -a failed because assets could not be loaded\n");
218 const ResTable& res = assets.getResources(false);
228 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
390 Vector<String8> getNfcAidCategories(AssetManager& assets, String8 xmlPath, bool offHost,
393 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER);
596 AssetManager assets;
598 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
599 fprintf(stderr, "ERROR: dump failed because assets could not be loaded\n");
621 assets.setConfiguration(config);
623 const ResTable& res = assets.getResources(false);
656 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER);
682 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER);
700 asset = assets.openNonAsset(assetsCookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER);
1085 assets.setLocale(localeStr != NULL ? localeStr : "");
1107 assets.setConfiguration(tmpConfig);
1115 assets.setConfiguration(config);
1665 Vector<String8> categories = getNfcAidCategories(assets, xmlPath,
1981 AssetDir* dir = assets.openNonAssetDir(assetsCookie, "lib");
2247 sp<AaptAssets> assets;
2287 // Load the assets.
2288 assets = new AaptAssets();
2290 // Set up the resource gathering in assets if we're going to generate
2296 assets->setFullResPaths(resPathStore);
2298 assets->setFullAssetPaths(assetPathStore);
2301 err = assets->slurpFromArgs(bundle);
2307 assets->print(String8());
2335 err = buildResources(bundle, assets, builder);
2348 assets->applyJavaSymbols();
2374 if (!assets->havePrivateSymbols()) {
2378 err = writeResourceSymbols(bundle, assets, assets->getPackage(), true,
2382 err = writeResourceSymbols(bundle, assets, customPkg, true,
2397 err = writeResourceSymbols(bundle, assets, String8(packageString), true,
2407 err = writeResourceSymbols(bundle, assets, assets->getPackage(), false, false);
2411 err = writeResourceSymbols(bundle, assets, assets->getSymbolsPrivatePackage(), true, false);
2418 err = writeProguardFile(bundle, assets);
2427 err = addResourcesToBuilder(assets, builder);
2455 err = writeDependencyPreReqs(bundle, assets, fp, includeRaw);
2456 // Also manually add the AndroidManifeset since it's not under res/ or assets/