/frameworks/base/libs/androidfw/ |
D | AssetManager.cpp | 73 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/ |
D | SplitAssetDependencyLoader.java | 26 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()
|
D | DefaultSplitAssetLoader.java | 25 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()
|
D | SplitAssetLoader.java | 19 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/ |
D | BridgeAssetManager.java | 26 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()
|
D | AssetManager_Delegate.java | 63 /*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/ |
D | LargeAssetTest.java | 21 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/ |
D | Font_Builder_Delegate.java | 25 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/ |
D | FallbackCategoryProvider.java | 19 import android.content.res.AssetManager; 46 final AssetManager assets = new AssetManager(); in loadFallbacks()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 22 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()
|
D | TypefaceEqualsTest.java | 22 import android.content.res.AssetManager; 40 final AssetManager am = in testFontEqualWithLocale()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Movie.java | 20 import android.content.res.AssetManager; 64 if (is instanceof AssetManager.AssetInputStream) { in decodeStream() 65 final long asset = ((AssetManager.AssetInputStream) is).getNativeAsset(); in decodeStream()
|
D | BitmapRegionDecoder.java | 19 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/ |
D | Typeface_Builder_Delegate.java | 22 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/ |
D | FileA3D.java | 20 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()
|
D | Font.java | 20 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/ |
D | WifiContext.java | 25 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/ |
D | TypefaceCreatePerfTest.java | 20 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/ |
D | AssetManager2_bench.cpp | 51 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/ |
D | AvgBrightnessFilterTest.java | 19 import android.content.res.AssetManager; 33 private AssetManager assetMgr = null;
|
D | ExposureFilterTest.java | 19 import android.content.res.AssetManager; 38 private AssetManager assetMgr = null;
|
D | ContrastRatioFilterTest.java | 26 import android.content.res.AssetManager; 39 private AssetManager assetMgr = null;
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AssetTest.java | 19 import android.content.res.AssetManager; 28 private AssetManager mAssets;
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | Font.java | 23 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/ |
D | PackageUtil.java | 27 import android.content.res.AssetManager; 130 AssetManager assmgr = new AssetManager(); in getAppSnippet()
|