Lines Matching defs:assets

763         final AssetManager assets = new AssetManager();
767 loadApkIntoAssetManager(assets, lite.baseCodePath, flags);
771 loadApkIntoAssetManager(assets, path, flags);
776 final Package pkg = parseBaseApk(baseApk, assets, flags);
789 parseSplitApk(pkg, i, assets, flags);
796 IoUtils.closeQuietly(assets);
820 final AssetManager assets = new AssetManager();
822 final Package pkg = parseBaseApk(apkFile, assets, flags);
826 IoUtils.closeQuietly(assets);
830 private static int loadApkIntoAssetManager(AssetManager assets, String apkPath, int flags)
840 int cookie = assets.addAssetPath(apkPath);
848 private Package parseBaseApk(File apkFile, AssetManager assets, int flags)
857 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags);
862 res = new Resources(assets, mMetrics, null);
863 assets.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
865 parser = assets.openXmlResourceParser(cookie, ANDROID_MANIFEST_FILENAME);
889 private void parseSplitApk(Package pkg, int splitIndex, AssetManager assets, int flags)
899 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags);
904 res = new Resources(assets, mMetrics, null);
905 assets.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
907 parser = assets.openXmlResourceParser(cookie, ANDROID_MANIFEST_FILENAME);
1135 AssetManager assets = null;
1138 assets = new AssetManager();
1139 assets.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1142 int cookie = assets.addAssetPath(apkPath);
1151 final Resources res = new Resources(assets, metrics, null);
1152 parser = assets.openXmlResourceParser(cookie, ANDROID_MANIFEST_FILENAME);
1172 IoUtils.closeQuietly(assets);