Home
last modified time | relevance | path

Searched refs:apk_assets (Results 1 – 4 of 4) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscApkAssets9.java219 CppApkAssets apk_assets; in nativeLoad() local
222 apk_assets = CppApkAssets.LoadOverlay(path, system); in nativeLoad()
224 apk_assets = in nativeLoad()
227 apk_assets = CppApkAssets.Load(path, system); in nativeLoad()
235 if (apk_assets == null) { in nativeLoad()
239 return Registries.NATIVE_APK_ASSETS_REGISTRY.register(apk_assets); in nativeLoad()
281 CppApkAssets apk_assets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(ptr); in nativeGetAssetPath() local
282 return apk_assets.GetPath(); in nativeGetAssetPath()
288 CppApkAssets apk_assets = Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(ptr); in nativeGetStringBlock() local
289 return apk_assets.GetLoadedArsc().GetStringPool().getNativePtr(); in nativeGetStringBlock()
[all …]
DShadowArscAssetManager10.java536 List<CppApkAssets> apk_assets = new ArrayList<>(); in nativeSetApkAssets() local
548apk_assets.add(Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(apk_assets_native_ptr)); in nativeSetApkAssets()
552 assetmanager.SetApkAssets(apk_assets, invalidate_caches); in nativeSetApkAssets()
954 CppApkAssets apk_assets = assetmanager.GetApkAssets().get(cookie.intValue()); in nativeGetResourceStringArray() local
955 ResStringPool pool = apk_assets.GetLoadedArsc().GetStringPool(); in nativeGetResourceStringArray()
DShadowArscAssetManager9.java532 List<CppApkAssets> apk_assets = new ArrayList<>(); in nativeSetApkAssets() local
544 apk_assets.add(Registries.NATIVE_APK_ASSETS_REGISTRY.getNativeObject(apk_assets_native_ptr)); in nativeSetApkAssets()
548 assetmanager.SetApkAssets(apk_assets, invalidate_caches); in nativeSetApkAssets()
950 CppApkAssets apk_assets = assetmanager.GetApkAssets().get(cookie.intValue()); in nativeGetResourceStringArray() local
951 ResStringPool pool = apk_assets.GetLoadedArsc().GetStringPool(); in nativeGetResourceStringArray()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager2.java273 public boolean SetApkAssets(final List<CppApkAssets> apk_assets, boolean invalidate_caches) { in SetApkAssets() argument
274 apk_assets_ = apk_assets; in SetApkAssets()
517 for (CppApkAssets apk_assets : apk_assets_) { in OpenDir()
523 info.setSourceName(new String8(apk_assets.GetPath())); in OpenDir()
527 if (!apk_assets.ForEachFile(full_path, func)) { in OpenDir()