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");
223 const ResTable& res = assets.getResources(false);
229 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
402 Vector<String8> getNfcAidCategories(AssetManager& assets, String8 xmlPath, bool offHost,
405 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER);
744 AssetManager assets;
746 if (!assets.addAssetPath(String8(filename), &assetsCookie)) {
747 fprintf(stderr, "ERROR: dump failed because assets could not be loaded\n");
769 assets.setConfiguration(config);
771 const ResTable& res = assets.getResources(false);
804 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER);
830 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER);
848 asset = assets.openNonAsset(assetsCookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER);
1272 assets.setLocale(localeStr != NULL ? localeStr : "");
1294 assets.setConfiguration(tmpConfig);
1302 assets.setConfiguration(config);
1897 Vector<String8> categories = getNfcAidCategories(assets, xmlPath,
2221 AssetDir* dir = assets.openNonAssetDir(assetsCookie, "lib");
2487 sp<AaptAssets> assets;
2527 // Load the assets.
2528 assets = new AaptAssets();
2530 // Set up the resource gathering in assets if we're going to generate
2536 assets->setFullResPaths(resPathStore);
2538 assets->setFullAssetPaths(assetPathStore);
2541 err = assets->slurpFromArgs(bundle);
2547 assets->print(String8());
2575 err = buildResources(bundle, assets, builder);
2588 assets->applyJavaSymbols();
2614 if (!assets->havePrivateSymbols()) {
2618 err = writeResourceSymbols(bundle, assets, assets->getPackage(), true,
2622 err = writeResourceSymbols(bundle, assets, customPkg, true,
2637 err = writeResourceSymbols(bundle, assets, String8(packageString), true,
2647 err = writeResourceSymbols(bundle, assets, assets->getPackage(), false, false);
2651 err = writeResourceSymbols(bundle, assets, assets->getSymbolsPrivatePackage(), true, false);
2658 err = writeProguardFile(bundle, assets);
2664 err = writeMainDexProguardFile(bundle, assets);
2673 err = addResourcesToBuilder(assets, builder);
2701 err = writeDependencyPreReqs(bundle, assets, fp, includeRaw);
2702 // Also manually add the AndroidManifeset since it's not under res/ or assets/