Home
last modified time | relevance | path

Searched refs:assetManager (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/tools/split-select/
DMain.cpp125 AssetManager assetManager; in getAppInfo() local
127 if (!assetManager.addAssetPath(path, &cookie)) { in getAppInfo()
131 Asset* asset = assetManager.openNonAsset(cookie, "AndroidManifest.xml", Asset::ACCESS_BUFFER); in getAppInfo()
206 AssetManager assetManager; in extractSplitDescriptionsFromApk() local
209 if (!assetManager.addAssetPath(path, &cookie)) { in extractSplitDescriptionsFromApk()
213 const ResTable& res = assetManager.getResources(false); in extractSplitDescriptionsFromApk()
224 AssetDir* dir = assetManager.openNonAssetDir(cookie, "lib"); in extractSplitDescriptionsFromApk()
/frameworks/native/include/android/
Dasset_manager_jni.h42 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager);
Dnative_activity.h111 AAssetManager* assetManager; member
/frameworks/base/native/android/
Dasset_manager.cpp61 AAssetManager* AAssetManager_fromJava(JNIEnv* env, jobject assetManager) in AAssetManager_fromJava() argument
63 return (AAssetManager*) env->GetLongField(assetManager, gAssetManagerOffsets.mObject); in AAssetManager_fromJava()
/frameworks/base/graphics/java/android/graphics/
DTypeface.java424 public Builder(@NonNull AssetManager assetManager, @NonNull String path) { in Builder() argument
425 this(assetManager, path, true /* is asset */, 0 /* cookie */); in Builder()
436 public Builder(@NonNull AssetManager assetManager, @NonNull String path, boolean isAsset, in Builder() argument
438 mFontBuilder = new Font.Builder(assetManager, path, isAsset, cookie); in Builder()
439 mAssetManager = assetManager; in Builder()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTests.java756 AssetManager assetManager = AssetManager.getSystem(); in testGetResourceNameVariants() local
762 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testGetResourceNameVariants()
798 AssetManager assetManager = AssetManager.getSystem(); in testStringEscaping() local
804 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testStringEscaping()
1156 AssetManager assetManager = AssetManager.getSystem(); in testResourcesGetIdentifier() local
1162 Resources resources = Resources_Delegate.initSystem(context, assetManager, metrics, in testResourcesGetIdentifier()
/frameworks/base/core/java/android/content/res/
DAssetManager.java146 final AssetManager assetManager = new AssetManager(false /*sentinel*/); in build() local
147 assetManager.mApkAssets = apkAssets; in build()
148 AssetManager.nativeSetApkAssets(assetManager.mObject, apkAssets, in build()
150 return assetManager; in build()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java405 BridgeAssetManager assetManager = context.getAssets(); in getAssetRepository() local
406 return assetManager.getAssetRepository(); in getAssetRepository()
/frameworks/layoutlib/bridge/src/android/content/res/
DResources_Delegate.java1167 BridgeAssetManager assetManager = context.getAssets(); in getAssetRepository() local
1168 return assetManager.getAssetRepository(); in getAssetRepository()
/frameworks/base/core/jni/
Dandroid_app_NativeActivity.cpp368 code->assetManager = NdkAssetManagerForJavaObject(env, jAssetMgr); in loadNativeCode_native()
Dandroid_util_AssetManager.cpp1631 jclass assetManager = FindClassOrDie(env, "android/content/res/AssetManager"); in register_android_content_AssetManager() local
1632 gAssetManagerOffsets.mObject = GetFieldIDOrDie(env, assetManager, "mObject", "J"); in register_android_content_AssetManager()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java263 AssetManager assetManager = AssetManager.getSystem(); in initResources() local
267 assetManager, in initResources()
/frameworks/base/core/java/android/content/pm/
DPackageParser.java1594 AssetManager assetManager = new AssetManager(); in newConfiguredAssetManager() local
1595 assetManager.setConfiguration(0, 0, null, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, in newConfiguredAssetManager()
1597 return assetManager; in newConfiguredAssetManager()