Home
last modified time | relevance | path

Searched defs:assets (Results 1 – 25 of 65) sorted by relevance

123

/aosp12/frameworks/base/libs/androidfw/tests/
H A DAssetManager2_bench.cpp42 AssetManager2 assets; in BM_AssetManagerLoadAssets() local
51 AssetManager assets; in BM_AssetManagerLoadAssetsOld() local
65 AssetManager2 assets; in BM_AssetManagerLoadFrameworkAssets() local
74 AssetManager assets; in BM_AssetManagerLoadFrameworkAssetsOld() local
138 AssetManager2 assets; in BM_AssetManagerGetBag() local
159 AssetManager assets; in BM_AssetManagerGetBagOld() local
190 AssetManager2 assets; in BM_AssetManagerGetResourceLocales() local
202 AssetManager assets; in BM_AssetManagerGetResourceLocalesOld() local
226 AssetManager2 assets; in BM_AssetManagerSetConfigurationFramework() local
240 AssetManager assets; in BM_AssetManagerSetConfigurationFrameworkOld() local
H A DTheme_bench.cpp37 AssetManager2 assets; in BM_ThemeApplyStyleFramework() local
48 AssetManager assets; in BM_ThemeApplyStyleFrameworkOld() local
67 AssetManager2 assets; in BM_ThemeGetAttribute() local
80 AssetManager assets; in BM_ThemeGetAttributeOld() local
H A DIdmap_test.cpp69 auto assets = asset_manager.GetApkAssets(); in GetStringFromApkAssets() local
/aosp12/frameworks/base/core/java/android/content/res/
H A DApkAssets.java157 @Nullable AssetsProvider assets) throws IOException { in loadFromPath()
176 @Nullable AssetsProvider assets) throws IOException { in loadFromFd()
199 @Nullable AssetsProvider assets) in loadFromFd()
234 @Nullable AssetsProvider assets) throws IOException { in loadTableFromFd()
258 @Nullable AssetsProvider assets) throws IOException { in loadTableFromFd()
273 @PropertyFlags int flags, @Nullable AssetsProvider assets) throws IOException { in loadFromDir()
287 @Nullable AssetsProvider assets) { in loadEmptyForLoader()
292 @Nullable AssetsProvider assets) throws IOException { in ApkAssets()
301 @NonNull String friendlyName, @PropertyFlags int flags, @Nullable AssetsProvider assets) in ApkAssets()
313 @Nullable AssetsProvider assets) throws IOException { in ApkAssets()
[all …]
H A DResources.java285 final AssetManager assets = impl.getAssets(); in onLoaderUpdated() local
307 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) { in Resources()
/aosp12/frameworks/base/libs/androidfw/
H A DApkAssets.cpp31 std::unique_ptr<AssetsProvider> assets, in ApkAssets()
54 std::unique_ptr<ApkAssets> ApkAssets::Load(std::unique_ptr<AssetsProvider> assets, in Load()
60 std::unique_ptr<AssetsProvider> assets, in LoadTable()
104 std::unique_ptr<ApkAssets> ApkAssets::LoadImpl(std::unique_ptr<AssetsProvider> assets, in LoadImpl()
127 std::unique_ptr<AssetsProvider> assets, in LoadImpl()
/aosp12/frameworks/base/core/java/android/content/pm/split/
H A DSplitAssetDependencyLoader.java86 final AssetManager assets = new AssetManager(); in createAssetManagerWithAssets() local
96 final ArrayList<ApkAssets> assets = new ArrayList<>(); in constructSplit() local
H A DDefaultSplitAssetLoader.java90 AssetManager assets = new AssetManager(); in getBaseAssetManager() local
/aosp12/frameworks/base/startop/view_compiler/
H A Dapk_layout_compiler.cc83 void CompileApkAssetsLayouts(const std::unique_ptr<android::ApkAssets>& assets, in CompileApkAssetsLayouts()
164 auto assets = android::ApkAssets::Load(filename); in CompileApkLayouts() local
171 auto assets = android::ApkAssets::LoadFromFd(std::move(fd), friendly_name); in CompileApkLayoutsFd() local
/aosp12/frameworks/base/tools/aapt/
H A DResource.cpp220 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets, in parsePackage()
594 const sp<AaptAssets>& assets, in applyFileOverlay()
1043 static int32_t getPlatformAssetCookie(const AssetManager& assets) { in getPlatformAssetCookie()
2238 static String16 getAttributeComment(const sp<AaptAssets>& assets, in getAttributeComment()
2259 FILE* fp, const sp<AaptAssets>& assets, in writeResourceLoadedCallbackForLayoutClasses()
2288 FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, in writeResourceLoadedCallback()
2330 FILE* fp, const sp<AaptAssets>& assets, in writeLayoutClasses()
2571 FILE* fp, const sp<AaptAssets>& assets, in writeTextLayoutClasses()
2667 FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, in writeSymbolClass()
2789 FILE* fp, const sp<AaptAssets>& assets, bool includePrivate, in writeTextSymbolClass()
[all …]
H A DCommand.cpp194 AssetManager assets; in doList() local
400 Vector<String8> getNfcAidCategories(AssetManager& assets, const String8& xmlPath, bool offHost, in getNfcAidCategories()
742 AssetManager assets; in doDump() local
2623 sp<AaptAssets> assets; in doPackage() local
H A DXMLNode.cpp974 status_t XMLNode::parseValues(const sp<AaptAssets>& assets, in parseValues()
1010 status_t XMLNode::assignResourceIds(const sp<AaptAssets>& assets, in assignResourceIds()
/aosp12/frameworks/base/core/java/android/content/pm/
H A DFallbackCategoryProvider.java46 final AssetManager assets = new AssetManager(); in loadFallbacks() local
/aosp12/frameworks/base/core/jni/
H A Dandroid_content_res_ApkAssets.cpp81 static jlong CreateGuardedApkAssets(std::unique_ptr<const ApkAssets> assets) { in CreateGuardedApkAssets()
215 auto assets = MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoad() local
230 auto assets = MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoad() local
275 auto assets = in NativeLoadFromFd() local
342 auto assets = in NativeLoadFromFdOffset() local
/aosp12/bootable/recovery/tools/recovery_l10n/src/com/android/recovery_l10n/
H A DMain.java109 AssetManager assets = standardResources.getAssets(); in switchTo() local
/aosp12/frameworks/base/core/tests/coretests/src/android/content/res/
H A DResourcesLocaleTest.java45 final AssetManager assets = new AssetManager(); in createResourcesWithApk() local
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
H A DNavigationModeController.java205 ApkAssets[] assets = context.getResources().getAssets().getApkAssets(); in dumpAssetPaths() local
/aosp12/frameworks/base/core/tests/coretests/src/android/graphics/
H A DTypefaceTest.java136 final AssetManager assets = res.getAssets(); in testMultithreadCacheStressTest() local
/aosp12/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
H A DExternalResources.java75 String packageName, AssetManager assets, DisplayMetrics metrics, Configuration config) { in Resources()
/aosp12/frameworks/base/services/core/java/com/android/server/om/
H A DOverlayManagerShellCommand.java407 final AssetManager assets = res.getAssets(); in runLookup() local
/aosp12/frameworks/base/tools/aapt2/process/
H A DSymbolTable.cpp254 for (const std::unique_ptr<const ApkAssets>& assets : apk_assets_) { in IsPackageDynamic() local
/aosp12/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
H A DExternalResources.java237 private Resources(String packageName, AssetManager assets, DisplayMetrics metrics, in Resources()
/aosp12/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
H A DCarrierIdProvider.java533 CarrierIdProto.CarrierList assets = null; in getUpdateCarrierList() local
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DImageDecoder.java511 AssetSource(@NonNull AssetManager assets, @NonNull String fileName) { in AssetSource()
932 public static Source createSource(@NonNull AssetManager assets, @NonNull String fileName) { in createSource()
/aosp12/frameworks/base/core/java/android/content/pm/parsing/
H A DParsingPackageUtils.java474 final AssetManager assets = assetLoader.getBaseAssetManager(); in parseBaseApk() local
544 ParsingPackage pkg, int splitIndex, AssetManager assets, int flags) { in parseSplitApk()

123