Lines Matching refs:assets
194 AssetManager assets; in doList() local
195 if (!assets.addAssetPath(String8(zipFileName), NULL)) { in doList()
205 const ResTable& res = assets.getResources(false); in doList()
211 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml", in doList()
400 Vector<String8> getNfcAidCategories(AssetManager& assets, const String8& xmlPath, bool offHost, in getNfcAidCategories() argument
403 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER); in getNfcAidCategories()
742 AssetManager assets; in doDump() local
748 if (!assets.addAssetPath(assetPath, NULL)) { in doDump()
754 if (!assets.addAssetPath(String8(filename), &assetsCookie)) { in doDump()
777 assets.setConfiguration(config); in doDump()
779 const ResTable& res = assets.getResources(false); in doDump()
812 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump()
838 asset = assets.openNonAsset(assetsCookie, resname, Asset::ACCESS_BUFFER); in doDump()
856 asset = assets.openNonAsset(assetsCookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in doDump()
1321 assets.setConfiguration(config, localeStr != NULL ? localeStr : ""); in doDump()
1343 assets.setConfiguration(tmpConfig); in doDump()
1351 assets.setConfiguration(config); in doDump()
1969 Vector<String8> categories = getNfcAidCategories(assets, xmlPath, in doDump()
2296 AssetDir* dir = assets.openNonAssetDir(assetsCookie, "lib"); in doDump()
2566 sp<AaptAssets> assets; in doPackage() local
2607 assets = new AaptAssets(); in doPackage()
2615 assets->setFullResPaths(resPathStore); in doPackage()
2617 assets->setFullAssetPaths(assetPathStore); in doPackage()
2620 err = assets->slurpFromArgs(bundle); in doPackage()
2626 assets->print(String8()); in doPackage()
2654 err = buildResources(bundle, assets, builder); in doPackage()
2667 assets->applyJavaSymbols(); in doPackage()
2693 if (!assets->havePrivateSymbols()) { in doPackage()
2697 err = writeResourceSymbols(bundle, assets, assets->getPackage(), true, in doPackage()
2701 err = writeResourceSymbols(bundle, assets, customPkg, true, in doPackage()
2716 err = writeResourceSymbols(bundle, assets, String8(packageString), true, in doPackage()
2726 err = writeResourceSymbols(bundle, assets, assets->getPackage(), false, false); in doPackage()
2730 err = writeResourceSymbols(bundle, assets, assets->getSymbolsPrivatePackage(), true, false); in doPackage()
2737 err = writeProguardFile(bundle, assets); in doPackage()
2743 err = writeMainDexProguardFile(bundle, assets); in doPackage()
2752 err = addResourcesToBuilder(assets, builder); in doPackage()
2780 err = writeDependencyPreReqs(bundle, assets, fp, includeRaw); in doPackage()