OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:apkAssets
(Results
1 - 5
of
5
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowArscApkAssets9.java
9
import android.content.res.
ApkAssets
;
35
@Implements(value =
ApkAssets
.class, minSdk = Build.VERSION_CODES.P,
43
// #include "androidfw/
ApkAssets
.h"
58
private static final HashMap<Key, WeakReference<
ApkAssets
>> cachedApkAssets =
62
@RealObject private
ApkAssets
realApkAssets;
69
* Caching key for {@link
ApkAssets
}.
111
ApkAssets
call();
114
private static
ApkAssets
getFromCacheOrLoad(Key key, ApkAssetMaker callable) {
116
WeakReference<
ApkAssets
> cachedRef = cachedApkAssets.get(key);
117
ApkAssets
apkAssets
[
all
...]
ShadowArscAssetManager10.java
34
import android.content.res.
ApkAssets
;
100
private static
ApkAssets
[] cachedSystemApkAssets;
101
private static ArraySet<
ApkAssets
> cachedSystemApkAssetsSet;
370
ApkAssets
[] apkAssetsArray = ReflectionHelpers.callInstanceMethod(realAssetManager, "getApkAssets");
372
for (
ApkAssets
apkAssets
: apkAssetsArray) {
373
long apk_assets_native_ptr = ((ShadowArscApkAssets9) Shadow.extract(
apkAssets
)).getNativePtr();
531
protected static void nativeSetApkAssets(long ptr, @NonNull android.content.res.
ApkAssets
[] apk_assets_array,
539
android.content.res.
ApkAssets
apkAssets
= apk_assets_array[i]; // env.GetObjectArrayElement(apk_assets_array, i)
[
all
...]
ShadowArscAssetManager9.java
32
import android.content.res.
ApkAssets
;
94
private static
ApkAssets
[] cachedSystemApkAssets;
95
private static ArraySet<
ApkAssets
> cachedSystemApkAssetsSet;
366
ApkAssets
[] apkAssetsArray = ReflectionHelpers.callInstanceMethod(realAssetManager, "getApkAssets");
368
for (
ApkAssets
apkAssets
: apkAssetsArray) {
369
long apk_assets_native_ptr = ((ShadowArscApkAssets9) Shadow.extract(
apkAssets
)).getNativePtr();
527
protected static void nativeSetApkAssets(long ptr, @NonNull android.content.res.
ApkAssets
[] apk_assets_array,
535
android.content.res.
ApkAssets
apkAssets
= apk_assets_array[i]; // env.GetObjectArrayElement(apk_assets_array, i)
[
all
...]
ShadowLegacyAssetManager.java
20
import android.content.res.
ApkAssets
;
633
ApkAssets
[]
apkAssets
= (
ApkAssets
[]) apkAssetsObject;
636
for (
ApkAssets
apkAsset :
apkAssets
) {
639
directlyOn(realObject, AssetManager.class).setApkAssets(
apkAssets
, invalidateCaches);
[
all
...]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
CppAssetManager2.java
55
//#include "androidfw/
ApkAssets
.h"
84
// Which
ApkAssets
this entry came from.
123
// AssetManager2 provides caching of resources retrieved via the underlying
ApkAssets
.
150
// The ordered list of
ApkAssets
to search. These are not owned by the AssetManager, and must
193
// immutable
ApkAssets
class.
266
// Sets/resets the underlying
ApkAssets
for this AssetManager. The
ApkAssets
270
// change in
ApkAssets
is due to a safe addition of resources with completely
272
// boolean SetApkAssets(final List<
ApkAssets
> apk_assets, boolean invalidate_caches = true);
284
// Assigns package IDs to all shared library
ApkAssets
[
all
...]
Completed in 134 milliseconds