/frameworks/base/libs/androidfw/tests/ |
D | Idmap_test.cpp | 65 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 …]
|
D | AssetManager2_test.cpp | 107 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 …]
|
D | Theme_test.cpp | 64 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 …]
|
D | AssetManager2_bench.cpp | 42 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()
|
D | Theme_bench.cpp | 37 AssetManager2 assets; in BM_ThemeApplyStyleFramework() 67 AssetManager2 assets; in BM_ThemeGetAttribute()
|
D | AttributeResolution_bench.cpp | 46 AssetManager2 assetmanager; in BM_ApplyStyle() 96 AssetManager2 assetmanager; in BM_ApplyStyleFramework()
|
D | BenchmarkHelpers.cpp | 68 AssetManager2 assetmanager; in GetResourceBenchmark()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 219 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/ |
D | ResourceMapping.h | 102 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,
|
D | RawPrintVisitor.h | 53 AssetManager2 target_am_; 54 AssetManager2 overlay_am_;
|
D | PrettyPrintVisitor.h | 45 AssetManager2 target_am_;
|
D | ResourceUtils.h | 59 Result<std::string> ResToTypeEntryName(const AssetManager2& am, ResourceId resid);
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 79 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_;
|
D | ResourceUtils.h | 36 AssetManager2::ResourceName* out_name); 39 std::string ToFormattedResourceString(AssetManager2::ResourceName* resource_name);
|
D | AttributeResolution.h | 60 bool RetrieveAttributes(AssetManager2* assetmanager, ResXMLParser* xml_parser, uint32_t* attrs,
|
D | AssetDir.h | 73 friend class AssetManager2; variable
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 69 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 …]
|
D | ResourceUtils.cpp | 54 AssetManager2::ResourceName* out_name) { in ToResourceName() 79 std::string ToFormattedResourceString(AssetManager2::ResourceName* resource_name) { in ToFormattedResourceString()
|
D | AttributeResolution.cpp | 72 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/ |
D | android_util_AssetManager.h | 28 extern Guarded<AssetManager2>* AssetManagerForJavaObject(JNIEnv* env, jobject jassetmanager); 29 extern Guarded<AssetManager2>* AssetManagerForNdkAssetManager(AAssetManager* assetmanager);
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 46 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/ |
D | ResourceUtils.cpp | 74 Result<std::string> ResToTypeEntryName(const AssetManager2& am, uint32_t resid) { in ResToTypeEntryName() 75 AssetManager2::ResourceName name; in ResToTypeEntryName()
|
/frameworks/base/native/android/ |
D | asset_manager.cpp | 86 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_open() 96 ScopedLock<AssetManager2> locked_mgr(*AssetManagerForNdkAssetManager(amgr)); in AAssetManager_openDir()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 267 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()
|
D | SymbolTable.h | 205 android::AssetManager2* GetAssetManager() { in GetAssetManager() 210 android::AssetManager2 asset_manager_;
|