Lines Matching defs:assets

822         final AssetManager assets = new AssetManager();
826 loadApkIntoAssetManager(assets, lite.baseCodePath, flags);
830 loadApkIntoAssetManager(assets, path, flags);
835 final Package pkg = parseBaseApk(baseApk, assets, flags);
850 parseSplitApk(pkg, i, assets, flags);
858 IoUtils.closeQuietly(assets);
882 final AssetManager assets = new AssetManager();
884 final Package pkg = parseBaseApk(apkFile, assets, flags);
889 IoUtils.closeQuietly(assets);
893 private static int loadApkIntoAssetManager(AssetManager assets, String apkPath, int flags)
903 int cookie = assets.addAssetPath(apkPath);
911 private Package parseBaseApk(File apkFile, AssetManager assets, int flags)
926 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags);
931 res = new Resources(assets, mMetrics, null);
932 assets.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
934 parser = assets.openXmlResourceParser(cookie, ANDROID_MANIFEST_FILENAME);
960 private void parseSplitApk(Package pkg, int splitIndex, AssetManager assets, int flags)
969 final int cookie = loadApkIntoAssetManager(assets, apkPath, flags);
974 res = new Resources(assets, mMetrics, null);
975 assets.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
977 parser = assets.openXmlResourceParser(cookie, ANDROID_MANIFEST_FILENAME);
1311 AssetManager assets = null;
1314 assets = new AssetManager();
1315 assets.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
1318 int cookie = assets.addAssetPath(apkPath);
1327 final Resources res = new Resources(assets, metrics, null);
1328 parser = assets.openXmlResourceParser(cookie, ANDROID_MANIFEST_FILENAME);
1356 IoUtils.closeQuietly(assets);