Home
last modified time | relevance | path

Searched refs:AssetManager2 (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/libs/androidfw/tests/
DIdmap_test.cpp65 std::string GetStringFromApkAssets(const AssetManager2& asset_manager, const Res_value& value, in GetStringFromApkAssets()
75 AssetManager2 asset_manager; in TEST_F()
91 AssetManager2 asset_manager; in TEST_F()
107 AssetManager2 asset_manager; in TEST_F()
123 AssetManager2 asset_manager; in TEST_F()
139 AssetManager2 asset_manager; in TEST_F()
156 AssetManager2 asset_manager; in TEST_F()
172 AssetManager2 asset_manager; in TEST_F()
215 AssetManager2 asset_manager; in TEST_F()
219 AssetManager2::ResourceName name; in TEST_F()
[all …]
DAssetManager2_test.cpp107 AssetManager2 assetmanager; in TEST_F()
137 AssetManager2 assetmanager; in TEST_F()
162 AssetManager2 assetmanager; in TEST_F()
210 AssetManager2 assetmanager; in TEST_F()
227 AssetManager2 assetmanager; in TEST_F()
247 AssetManager2 assetmanager; in TEST_F()
250 AssetManager2::ResourceName name; in TEST_F()
257 AssetManager2 assetmanager; in TEST_F()
280 AssetManager2 assetmanager; in TEST_F()
299 AssetManager2 assetmanager; in TEST_F()
[all …]
DTheme_test.cpp64 AssetManager2 assetmanager; in TEST_F()
77 AssetManager2 assetmanager; in TEST_F()
101 AssetManager2 assetmanager; in TEST_F()
134 AssetManager2 assetmanager; in TEST_F()
146 AssetManager2 assetmanager; in TEST_F()
180 AssetManager2 assetmanager; in TEST_F()
214 AssetManager2 assetmanager; in TEST_F()
244 AssetManager2 assetmanager; in TEST_F()
285 AssetManager2 assetmanager_dst; in TEST_F()
289 AssetManager2 assetmanager_src; in TEST_F()
[all …]
DAssetManager2_bench.cpp42 AssetManager2 assets; in BM_AssetManagerLoadAssets()
65 AssetManager2 assets; in BM_AssetManagerLoadFrameworkAssets()
138 AssetManager2 assets; in BM_AssetManagerGetBag()
186 AssetManager2 assets; in BM_AssetManagerGetResourceLocales()
222 AssetManager2 assets; in BM_AssetManagerSetConfigurationFramework()
DTheme_bench.cpp37 AssetManager2 assets; in BM_ThemeApplyStyleFramework()
67 AssetManager2 assets; in BM_ThemeGetAttribute()
DAttributeResolution_bench.cpp46 AssetManager2 assetmanager; in BM_ApplyStyle()
96 AssetManager2 assetmanager; in BM_ApplyStyleFramework()
DBenchmarkHelpers.cpp68 AssetManager2 assetmanager; in GetResourceBenchmark()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp219 Guarded<AssetManager2> guarded_assetmanager;
232 Guarded<AssetManager2>* AssetManagerForNdkAssetManager(::AAssetManager* assetmanager) { in AssetManagerForNdkAssetManager()
239 Guarded<AssetManager2>* AssetManagerForJavaObject(JNIEnv* env, jobject jassetmanager) { in AssetManagerForJavaObject()
243 static Guarded<AssetManager2>& AssetManagerFromLong(jlong ptr) { in AssetManagerFromLong()
249 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeGetOverlayableMap()
295 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeGetOverlayablesToString()
399 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeSetApkAssets()
448 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeSetConfiguration()
455 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in NativeGetAssignedPackageIdentifiers()
485 ScopedLock<AssetManager2> assetmanager(AssetManagerFromLong(ptr)); in ContainsAllocatedTable()
[all …]
/frameworks/base/cmds/idmap2/include/idmap2/
DResourceMapping.h102 static Result<ResourceMapping> CreateResourceMapping(const AssetManager2* target_am,
112 static Result<ResourceMapping> CreateResourceMappingLegacy(const AssetManager2* target_am,
113 const AssetManager2* overlay_am,
118 void FilterOverlayableResources(const AssetManager2* target_am,
DRawPrintVisitor.h53 AssetManager2 target_am_;
54 AssetManager2 overlay_am_;
DPrettyPrintVisitor.h45 AssetManager2 target_am_;
DResourceUtils.h59 Result<std::string> ResToTypeEntryName(const AssetManager2& am, ResourceId resid);
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h79 class AssetManager2 {
96 AssetManager2();
287 DISALLOW_COPY_AND_ASSIGN(AssetManager2);
453 friend class AssetManager2; variable
475 inline const AssetManager2* GetAssetManager() const { in GetAssetManager()
479 inline AssetManager2* GetAssetManager() { in GetAssetManager()
512 explicit Theme(AssetManager2* asset_manager);
514 AssetManager2* asset_manager_;
DResourceUtils.h36 AssetManager2::ResourceName* out_name);
39 std::string ToFormattedResourceString(AssetManager2::ResourceName* resource_name);
DAttributeResolution.h60 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs,
DAssetDir.h73 friend class AssetManager2; variable
/frameworks/base/libs/androidfw/
DAssetManager2.cpp69 AssetManager2::AssetManager2() { in AssetManager2() function in android::AssetManager2
73 bool AssetManager2::SetApkAssets(const std::vector<const ApkAssets*>& apk_assets, in SetApkAssets()
84 void AssetManager2::BuildDynamicRefTable() { in BuildDynamicRefTable()
186 void AssetManager2::DumpToLog() const { in DumpToLog()
226 const ResStringPool* AssetManager2::GetStringPoolForCookie(ApkAssetsCookie cookie) const { in GetStringPoolForCookie()
233 const DynamicRefTable* AssetManager2::GetDynamicRefTableForPackage(uint32_t package_id) const { in GetDynamicRefTableForPackage()
245 std::shared_ptr<const DynamicRefTable> AssetManager2::GetDynamicRefTableForCookie( in GetDynamicRefTableForCookie()
258 AssetManager2::GetOverlayableMapForPackage(uint32_t package_id) const { in GetOverlayableMapForPackage()
278 bool AssetManager2::GetOverlayablesToString(const android::StringPiece& package_name, in GetOverlayablesToString()
334 bool AssetManager2::ContainsAllocatedTable() const { in ContainsAllocatedTable()
[all …]
DResourceUtils.cpp54 AssetManager2::ResourceName* out_name) { in ToResourceName()
79 std::string ToFormattedResourceString(AssetManager2::ResourceName* resource_name) { in ToFormattedResourceString()
DAttributeResolution.cpp72 AssetManager2* assetmanager = theme->GetAssetManager(); in ResolveAttrs()
213 AssetManager2* assetmanager = theme->GetAssetManager(); in ApplyStyle()
406 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs, in RetrieveAttributes()
/frameworks/base/core/jni/include/android_runtime/
Dandroid_util_AssetManager.h28 extern Guarded<AssetManager2>* AssetManagerForJavaObject(JNIEnv* env, jobject jassetmanager);
29 extern Guarded<AssetManager2>* AssetManagerForNdkAssetManager(AAssetManager* assetmanager);
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp46 using android::AssetManager2;
66 Result<ResourceId> WARN_UNUSED ParseResReference(const AssetManager2& am, const std::string& res, in ParseResReference()
88 void PrintValue(AssetManager2* const am, const Res_value& value, const ApkAssetsCookie& cookie, in PrintValue()
119 Result<std::string> WARN_UNUSED GetValue(AssetManager2* const am, ResourceId resid) { in GetValue()
243 AssetManager2 am; in Lookup()
/frameworks/base/cmds/idmap2/libidmap2/
DResourceUtils.cpp74 Result<std::string> ResToTypeEntryName(const AssetManager2& am, uint32_t resid) { in ResToTypeEntryName()
75 AssetManager2::ResourceName name; in ResToTypeEntryName()
/frameworks/base/native/android/
Dasset_manager.cpp86 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_open()
96 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_openDir()
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp267 android::AssetManager2& am, ResourceId id) { in LookupAttributeInTable()
303 android::AssetManager2::ResourceName name; in LookupAttributeInTable()
372 static Maybe<ResourceName> GetResourceName(android::AssetManager2& am, in GetResourceName()
374 android::AssetManager2::ResourceName name; in GetResourceName()
DSymbolTable.h205 android::AssetManager2* GetAssetManager() { in GetAssetManager()
210 android::AssetManager2 asset_manager_;

12