Home
last modified time | relevance | path

Searched refs:apkAssets (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowArscApkAssets9.java117 ApkAssets apkAssets; in getFromCacheOrLoad() local
119 apkAssets = cachedRef.get(); in getFromCacheOrLoad()
120 if (apkAssets != null) { in getFromCacheOrLoad()
121 return apkAssets; in getFromCacheOrLoad()
129 apkAssets = callable.call(); in getFromCacheOrLoad()
130 long nativePtr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr(); in getFromCacheOrLoad()
132 cachedApkAssets.put(key, new WeakReference<>(apkAssets)); in getFromCacheOrLoad()
133 return apkAssets; in getFromCacheOrLoad()
DShadowArscAssetManager10.java372 for (ApkAssets apkAssets : apkAssetsArray) { in getAllAssetDirs()
373 … long apk_assets_native_ptr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr(); in getAllAssetDirs()
539 …android.content.res.ApkAssets apkAssets = apk_assets_array[i]; // env.GetObjectArrayElement(apk_as… in nativeSetApkAssets() local
540 if (apkAssets == null) { in nativeSetApkAssets()
544 … long apk_assets_native_ptr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr(); in nativeSetApkAssets()
DShadowArscAssetManager9.java368 for (ApkAssets apkAssets : apkAssetsArray) { in getAllAssetDirs()
369 … long apk_assets_native_ptr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr(); in getAllAssetDirs()
535 …android.content.res.ApkAssets apkAssets = apk_assets_array[i]; // env.GetObjectArrayElement(apk_as… in nativeSetApkAssets() local
536 if (apkAssets == null) { in nativeSetApkAssets()
540 … long apk_assets_native_ptr = ((ShadowArscApkAssets9) Shadow.extract(apkAssets)).getNativePtr(); in nativeSetApkAssets()
DShadowLegacyAssetManager.java633 ApkAssets[] apkAssets = (ApkAssets[]) apkAssetsObject; in setApkAssets() local
636 for (ApkAssets apkAsset : apkAssets) { in setApkAssets()
639 directlyOn(realObject, AssetManager.class).setApkAssets(apkAssets, invalidateCaches); in setApkAssets()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DCppAssetManager2.java1673 for (CppApkAssets apkAssets : apk_assets_) { in getAssetPaths()
1674 FsFile fsFile = Fs.newFile(apkAssets.GetPath()); in getAssetPaths()
1675 assetPaths.add(new AssetPath(fsFile, apkAssets.GetLoadedArsc().IsSystem())); in getAssetPaths()