Home
last modified time | relevance | path

Searched refs:AssetManager (Results 1 – 25 of 101) sorted by relevance

12345

/frameworks/base/libs/androidfw/
DAssetManager.cpp73 const char* AssetManager::RESOURCES_FILENAME = "resources.arsc";
74 const char* AssetManager::IDMAP_BIN = "/system/bin/idmap";
75 const char* AssetManager::VENDOR_OVERLAY_DIR = "/vendor/overlay";
76 const char* AssetManager::PRODUCT_OVERLAY_DIR = "/product/overlay";
77 const char* AssetManager::SYSTEM_EXT_OVERLAY_DIR = "/system_ext/overlay";
78 const char* AssetManager::ODM_OVERLAY_DIR = "/odm/overlay";
79 const char* AssetManager::OEM_OVERLAY_DIR = "/oem/overlay";
80 const char* AssetManager::OVERLAY_THEME_DIR_PROPERTY = "ro.boot.vendor.overlay.theme";
81 const char* AssetManager::TARGET_PACKAGE_NAME = "android";
82 const char* AssetManager::TARGET_APK_PATH = "/system/framework/framework-res.apk";
[all …]
/frameworks/base/core/java/android/content/pm/split/
DSplitAssetDependencyLoader.java26 import android.content.res.AssetManager;
46 private final AssetManager[] mCachedAssetManagers;
59 mCachedAssetManagers = new AssetManager[mSplitPaths.length]; in SplitAssetDependencyLoader()
82 private static AssetManager createAssetManagerWithAssets(ApkAssets[] apkAssets) { in createAssetManagerWithAssets()
83 final AssetManager assets = new AssetManager(); in createAssetManagerWithAssets()
114 public AssetManager getBaseAssetManager() throws PackageParserException { in getBaseAssetManager()
120 public AssetManager getSplitAssetManager(int idx) throws PackageParserException { in getSplitAssetManager()
129 for (AssetManager assets : mCachedAssetManagers) { in close()
DDefaultSplitAssetLoader.java25 import android.content.res.AssetManager;
42 private AssetManager mCachedAssetManager;
66 public AssetManager getBaseAssetManager() throws PackageParserException { in getBaseAssetManager()
85 AssetManager assets = new AssetManager(); in getBaseAssetManager()
95 public AssetManager getSplitAssetManager(int splitIdx) throws PackageParserException { in getSplitAssetManager()
DSplitAssetLoader.java19 import android.content.res.AssetManager;
28 AssetManager getBaseAssetManager() throws PackageParser.PackageParserException; in getBaseAssetManager()
29 AssetManager getSplitAssetManager(int splitIdx) throws PackageParser.PackageParserException; in getSplitAssetManager()
/frameworks/layoutlib/bridge/src/android/content/res/
DBridgeAssetManager.java26 public class BridgeAssetManager extends AssetManager {
37 public static AssetManager initSystem() { in initSystem()
38 if (!(AssetManager.sSystem instanceof BridgeAssetManager)) { in initSystem()
41 AssetManager.sSystem = new BridgeAssetManager(); in initSystem()
43 return AssetManager.sSystem; in initSystem()
51 AssetManager.sSystem = null; in clearSystem()
DAssetManager_Delegate.java63 /*package*/ static SparseArray<String> getAssignedPackageIdentifiers(AssetManager manager) { in getAssignedPackageIdentifiers()
68 /*package*/ static SparseArray<String> getAssignedPackageIdentifiers(AssetManager manager, in getAssignedPackageIdentifiers()
/frameworks/base/tests/LargeAssetTest/src/com/android/largeassettest/
DLargeAssetTest.java21 import android.content.res.AssetManager;
63 class Validator extends AsyncTask<AssetManager, Integer, Boolean> {
67 protected Boolean doInBackground(AssetManager... params) { in doInBackground()
68 AssetManager am = params[0]; in doInBackground()
70 InputStream is = am.open("million-ints", AssetManager.ACCESS_STREAMING); in doInBackground()
/frameworks/layoutlib/bridge/src/android/graphics/fonts/
DFont_Builder_Delegate.java25 import android.content.res.AssetManager;
65 /*package*/ static ByteBuffer createBuffer(@NonNull AssetManager am, @NonNull String path, in createBuffer()
67 try (InputStream assetStream = isAsset ? am.open(path, AssetManager.ACCESS_BUFFER) in createBuffer()
68 : am.openNonAsset(cookie, path, AssetManager.ACCESS_BUFFER)) { in createBuffer()
/frameworks/base/core/java/android/content/pm/
DFallbackCategoryProvider.java19 import android.content.res.AssetManager;
46 final AssetManager assets = new AssetManager(); in loadFallbacks()
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java22 import android.content.res.AssetManager;
62 private static ByteBuffer mmap(AssetManager am, String path) { in mmap()
102 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testRegularFonts()
117 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testTtcFont()
133 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testVariationFont()
DTypefaceEqualsTest.java22 import android.content.res.AssetManager;
40 final AssetManager am = in testFontEqualWithLocale()
/frameworks/base/graphics/java/android/graphics/
DMovie.java20 import android.content.res.AssetManager;
64 if (is instanceof AssetManager.AssetInputStream) { in decodeStream()
65 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream()
DBitmapRegionDecoder.java19 import android.content.res.AssetManager;
117 if (is instanceof AssetManager.AssetInputStream) { in newInstance()
119 ((AssetManager.AssetInputStream) is).getNativeAsset(), in newInstance()
/frameworks/layoutlib/bridge/src/android/graphics/
DTypeface_Builder_Delegate.java22 import android.content.res.AssetManager;
38 public static String createAssetUid(final AssetManager mgr, String path, int ttcIndex, in createAssetUid()
/frameworks/base/rs/java/android/renderscript/
DFileA3D.java20 import android.content.res.AssetManager;
237 static public FileA3D createFromAsset(RenderScript rs, AssetManager mgr, String path) { in createFromAsset()
304 if (is instanceof AssetManager.AssetInputStream) { in createFromResource()
305 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in createFromResource()
DFont.java20 import android.content.res.AssetManager;
186 AssetManager mgr = res.getAssets(); in createFromAsset()
214 if (is instanceof AssetManager.AssetInputStream) { in createFromResource()
215 long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in createFromResource()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiContext.java25 import android.content.res.AssetManager;
48 private AssetManager mWifiAssetsFromApk;
115 public AssetManager getAssets() { in getAssets()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DTypefaceCreatePerfTest.java20 import android.content.res.AssetManager;
73 final AssetManager am = context.getAssets(); in testCreate_fromAsset()
84 final AssetManager am = context.getAssets(); in testCreate_fromFile()
/frameworks/base/libs/androidfw/tests/
DAssetManager2_bench.cpp51 AssetManager assets; in BM_AssetManagerLoadAssetsOld()
74 AssetManager assets; in BM_AssetManagerLoadFrameworkAssetsOld()
155 AssetManager assets; in BM_AssetManagerGetBagOld()
198 AssetManager assets; in BM_AssetManagerGetResourceLocalesOld()
236 AssetManager assets; in BM_AssetManagerSetConfigurationFrameworkOld()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DAvgBrightnessFilterTest.java19 import android.content.res.AssetManager;
33 private AssetManager assetMgr = null;
DExposureFilterTest.java19 import android.content.res.AssetManager;
38 private AssetManager assetMgr = null;
DContrastRatioFilterTest.java26 import android.content.res.AssetManager;
39 private AssetManager assetMgr = null;
/frameworks/base/core/tests/coretests/src/android/content/
DAssetTest.java19 import android.content.res.AssetManager;
28 private AssetManager mAssets;
/frameworks/base/graphics/java/android/graphics/fonts/
DFont.java23 import android.content.res.AssetManager;
152 public Builder(@NonNull AssetManager am, @NonNull String path) { in Builder()
169 public Builder(@NonNull AssetManager am, @NonNull String path, boolean isAsset, in Builder()
218 public static ByteBuffer createBuffer(@NonNull AssetManager am, @NonNull String path, in createBuffer()
244 try (InputStream assetStream = isAsset ? am.open(path, AssetManager.ACCESS_BUFFER) in createBuffer()
245 : am.openNonAsset(cookie, path, AssetManager.ACCESS_BUFFER)) { in createBuffer()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java27 import android.content.res.AssetManager;
130 AssetManager assmgr = new AssetManager(); in getAppSnippet()

12345