Home
last modified time | relevance | path

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

123

/frameworks/base/libs/androidfw/tests/
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
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
/frameworks/base/libs/androidfw/
DApkAssets.cpp32 std::unique_ptr<AssetsProvider> assets, package_property_t property_flags, in ApkAssets()
51 ApkAssetsPtr ApkAssets::Load(std::unique_ptr<AssetsProvider> assets, package_property_t flags) { in Load()
56 std::unique_ptr<AssetsProvider> assets, in LoadTable()
100 ApkAssetsPtr ApkAssets::LoadImpl(std::unique_ptr<AssetsProvider> assets, in LoadImpl()
123 std::unique_ptr<AssetsProvider> assets, in LoadImpl()
DAssetManager2.cpp264 const auto& assets = GetApkAssets(i); in DumpToLog() local
303 const auto& assets = GetApkAssets(cookie); in GetStringPoolForCookie() local
357 const auto& assets = GetApkAssets(i); in GetOverlayablesToString() local
416 const auto& assets = GetApkAssets(i); in ContainsAllocatedTable() local
577 const auto& assets = GetApkAssets(i - 1); in OpenNonAsset() local
607 const auto& assets = GetApkAssets(cookie); in OpenNonAsset() local
659 const auto& assets = GetApkAssets(result->cookie); in FindEntry() local
926 const auto& assets = GetApkAssets(cookie); in GetLastResourceResolution() local
958 const auto& assets = GetApkAssets(step.cookie); in GetLastResourceResolution() local
/frameworks/base/core/java/android/content/res/
DApkAssets.java160 @Nullable AssetsProvider assets) throws IOException { in loadFromPath()
179 @Nullable AssetsProvider assets) throws IOException { in loadFromFd()
202 @Nullable AssetsProvider assets) in loadFromFd()
237 @Nullable AssetsProvider assets) throws IOException { in loadTableFromFd()
261 @Nullable AssetsProvider assets) throws IOException { in loadTableFromFd()
276 @PropertyFlags int flags, @Nullable AssetsProvider assets) throws IOException { in loadFromDir()
290 @Nullable AssetsProvider assets) { in loadEmptyForLoader()
295 @Nullable AssetsProvider assets) throws IOException { in ApkAssets()
304 @NonNull String friendlyName, @PropertyFlags int flags, @Nullable AssetsProvider assets) in ApkAssets()
316 @Nullable AssetsProvider assets) throws IOException { in ApkAssets()
[all …]
DResourcesImpl.java177 public ResourcesImpl(@NonNull AssetManager assets, @Nullable DisplayMetrics metrics, in ResourcesImpl()
DResources.java295 final AssetManager assets = impl.getAssets(); in onLoaderUpdated() local
317 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) { in Resources()
/frameworks/base/services/core/java/com/android/server/pm/split/
DSplitAssetDependencyLoader.java82 final AssetManager assets = new AssetManager(); in createAssetManagerWithAssets() local
92 final ArrayList<ApkAssets> assets = new ArrayList<>(); in constructSplit() local
DDefaultSplitAssetLoader.java84 AssetManager assets = new AssetManager(); in getBaseAssetManager() local
/frameworks/base/startop/view_compiler/
Dapk_layout_compiler.cc83 void CompileApkAssetsLayouts(const android::ApkAssetsPtr& assets, CompilationTarget target, in CompileApkAssetsLayouts()
168 auto assets = android::ApkAssets::Load(filename); in CompileApkLayouts() local
175 auto assets = android::ApkAssets::LoadFromFd(std::move(fd), friendly_name); in CompileApkLayoutsFd() local
/frameworks/base/core/jni/
Dandroid_content_res_ApkAssets.cpp81 static jlong CreateGuardedApkAssets(AssetManager2::ApkAssetsPtr assets) { in CreateGuardedApkAssets()
87 apk_assets.safeDelete([&apk_assets](AssetManager2::ApkAssetsPtr* assets) { in DeleteGuardedApkAssets()
235 auto assets = MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoad() local
250 auto assets = MultiAssetsProvider::Create(std::move(loader_assets), in NativeLoad() local
295 auto assets = in NativeLoadFromFd() local
362 auto assets = in NativeLoadFromFdOffset() local
/frameworks/base/tools/aapt/
DResource.cpp220 static status_t parsePackage(Bundle* bundle, const sp<AaptAssets>& assets, in parsePackage()
293 static status_t makeFileResources(Bundle* bundle, const sp<AaptAssets>& assets, in makeFileResources()
344 PreProcessImageWorkUnit(const Bundle* bundle, const sp<AaptAssets>& assets, in PreProcessImageWorkUnit()
364 static status_t preProcessImages(const Bundle* bundle, const sp<AaptAssets>& assets, in preProcessImages()
594 const sp<AaptAssets>& assets, in applyFileOverlay()
1043 static int32_t getPlatformAssetCookie(const AssetManager& assets) { in getPlatformAssetCookie()
1131 static ssize_t extractPlatformBuildVersion(AssetManager& assets, Bundle* bundle) { in extractPlatformBuildVersion()
1199 status_t generateAndroidManifestForSplit(Bundle* bundle, const sp<AaptAssets>& assets, in generateAndroidManifestForSplit()
1256 status_t buildResources(Bundle* bundle, const sp<AaptAssets>& assets, sp<ApkBuilder>& builder) in buildResources()
2222 static String8 getSymbolPackage(const String8& symbol, const sp<AaptAssets>& assets, bool pub) { in getSymbolPackage()
[all …]
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
2640 sp<AaptAssets> assets; in doPackage() local
DXMLNode.cpp974 status_t XMLNode::parseValues(const sp<AaptAssets>& assets, in parseValues()
1010 status_t XMLNode::assignResourceIds(const sp<AaptAssets>& assets, in assignResourceIds()
DResourceTable.cpp40 const sp<AaptAssets>& assets, in compileXmlFile()
55 const sp<AaptAssets>& assets, in compileXmlFile()
71 const sp<AaptAssets>& assets, in compileXmlFile()
778 const sp<AaptAssets>& assets, in compileResourceFile()
1804 status_t ResourceTable::addIncludedResources(Bundle* bundle, const sp<AaptAssets>& assets) in addIncludedResources()
/frameworks/base/core/java/android/content/pm/
DFallbackCategoryProvider.java46 final AssetManager assets = new AssetManager(); in loadFallbacks() local
/frameworks/base/core/tests/coretests/src/android/content/res/
DResourcesLocaleTest.java47 final AssetManager assets = new AssetManager(); in createResourcesWithApk() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationModeController.java214 ApkAssets[] assets = context.getResources().getAssets().getApkAssets(); in dumpAssetPaths() local
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java137 final AssetManager assets = res.getAssets(); in testMultithreadCacheStressTest() local
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
DExternalResources.java75 String packageName, AssetManager assets, DisplayMetrics metrics, Configuration config) { in Resources()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/cpu/
DCpuInfoReaderTest.java560 String[] assets = mAssetManager.list(assetPath); in copyAssets() local
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
DExternalResources.java237 private Resources(String packageName, AssetManager assets, DisplayMetrics metrics, in Resources()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerShellCommand.java520 final AssetManager assets = res.getAssets(); in runLookup() local
/frameworks/base/graphics/java/android/graphics/
DImageDecoder.java559 AssetSource(@NonNull AssetManager assets, @NonNull String fileName) { in AssetSource()
1006 public static Source createSource(@NonNull AssetManager assets, @NonNull String fileName) { in createSource()
/frameworks/base/services/core/java/com/android/server/pm/pkg/parsing/
DParsingPackageUtils.java489 final AssetManager assets; in parseBaseApk() local
570 ParsingPackage pkg, int splitIndex, AssetManager assets, int flags) { in parseSplitApk()

123