/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 37 using ApkAssetsCookie = int32_t; variable 39 enum : ApkAssetsCookie { 56 ApkAssetsCookie cookie; 117 const ResStringPool* GetStringPoolForCookie(ApkAssetsCookie cookie) const; 125 std::shared_ptr<const DynamicRefTable> GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const; 175 std::unique_ptr<Asset> Open(const std::string& filename, ApkAssetsCookie cookie, 189 ApkAssetsCookie* out_cookie = nullptr) const; 194 std::unique_ptr<Asset> OpenNonAsset(const std::string& filename, ApkAssetsCookie cookie, 225 ApkAssetsCookie GetResource(uint32_t resid, bool may_be_bag, uint16_t density_override, 241 ApkAssetsCookie ResolveReference(ApkAssetsCookie cookie, Res_value* in_out_value, [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | Idmap_test.cpp | 66 ApkAssetsCookie cookie) { in GetStringFromApkAssets() 81 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable5, in TEST_F() 97 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable10, in TEST_F() 113 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable8, in TEST_F() 129 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::integer::config_integer, in TEST_F() 146 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable11, in TEST_F() 162 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable9, in TEST_F() 178 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::layout::hello_view, in TEST_F() 237 ApkAssetsCookie cookie = asset_manager.GetResource(overlayable::R::string::overlayable11, in TEST_F()
|
D | AssetManager2_test.cpp | 115 ApkAssetsCookie cookie = in TEST_F() 145 ApkAssetsCookie cookie = in TEST_F() 173 ApkAssetsCookie cookie = in TEST_F() 218 ApkAssetsCookie cookie = assetmanager.GetResource( in TEST_F() 420 ApkAssetsCookie cookie = in TEST_F() 443 ApkAssetsCookie cookie = in TEST_F() 478 ApkAssetsCookie cookie = assetmanager.GetResource(high_ref, false /*may_be_bag*/, in TEST_F() 665 ApkAssetsCookie cookie = in TEST_F() 700 ApkAssetsCookie cookie = in TEST_F() 724 ApkAssetsCookie cookie = in TEST_F() [all …]
|
D | Theme_test.cpp | 85 ApkAssetsCookie cookie; in TEST_F() 109 ApkAssetsCookie cookie; in TEST_F() 155 ApkAssetsCookie cookie; in TEST_F() 189 ApkAssetsCookie cookie; in TEST_F() 223 ApkAssetsCookie cookie; in TEST_F() 252 ApkAssetsCookie cookie; in TEST_F()
|
D | BenchmarkHelpers.cpp | 80 ApkAssetsCookie cookie = assetmanager.GetResource( in GetResourceBenchmark()
|
D | AttributeResolution_bench.cpp | 114 ApkAssetsCookie cookie = in BM_ApplyStyleFramework()
|
/frameworks/base/libs/androidfw/ |
D | AttributeResolution.cpp | 31 static uint32_t ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie() 109 ApkAssetsCookie cookie = kInvalidCookie; in ResolveAttrs() 142 ApkAssetsCookie new_cookie = in ResolveAttrs() 152 ApkAssetsCookie new_cookie = theme->GetAttribute(cur_ident, &value, &type_set_flags); in ResolveAttrs() 283 ApkAssetsCookie cookie = kInvalidCookie; in ApplyStyle() 341 ApkAssetsCookie new_cookie = in ApplyStyle() 352 ApkAssetsCookie new_cookie = theme->GetAttribute(cur_ident, &value, &type_set_flags); in ApplyStyle() 422 ApkAssetsCookie cookie = kInvalidCookie; in RetrieveAttributes() 445 ApkAssetsCookie new_cookie = in RetrieveAttributes()
|
D | AssetManager2.cpp | 99 std::unordered_map<const ApkAssets*, ApkAssetsCookie> apk_assets_cookies; in BuildDynamicRefTable() 102 apk_assets_cookies[apk_assets_[i]] = static_cast<ApkAssetsCookie>(i); in BuildDynamicRefTable() 226 const ResStringPool* AssetManager2::GetStringPoolForCookie(ApkAssetsCookie cookie) const { in GetStringPoolForCookie() 246 ApkAssetsCookie cookie) const { in GetDynamicRefTableForCookie() 248 for (const ApkAssetsCookie& package_cookie : package_group.cookies_) { in GetDynamicRefTableForCookie() 430 std::unique_ptr<Asset> AssetManager2::Open(const std::string& filename, ApkAssetsCookie cookie, in Open() 473 ApkAssetsCookie* out_cookie) const { in OpenNonAsset() 498 ApkAssetsCookie cookie, in OpenNonAsset() 506 ApkAssetsCookie AssetManager2::FindEntry(uint32_t resid, uint16_t density_override, in FindEntry() 544 ApkAssetsCookie cookie = FindEntryInternal(package_group, type_idx, entry_idx, *desired_config, in FindEntry() [all …]
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 45 using android::ApkAssetsCookie; 88 void PrintValue(AssetManager2* const am, const Res_value& value, const ApkAssetsCookie& cookie, in PrintValue() 123 ApkAssetsCookie cookie = am->GetResource(resid, true, 0, &value, &config, &flags); in GetValue() 149 ApkAssetsCookie bag_cookie; in GetValue()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 110 constexpr inline static jint ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie() 114 constexpr inline static ApkAssetsCookie JavaCookieToApkAssetsCookie(jint cookie) { in JavaCookieToApkAssetsCookie() 115 return cookie > 0 ? static_cast<ApkAssetsCookie>(cookie - 1) : kInvalidCookie; in JavaCookieToApkAssetsCookie() 200 static jint CopyValue(JNIEnv* env, ApkAssetsCookie cookie, const Res_value& value, uint32_t ref, in CopyValue() 575 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAsset() 609 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAssetFd() 635 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenXmlAsset() 692 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenXmlAssetFd() 717 ApkAssetsCookie cookie = in NativeGetResourceValue() 743 ApkAssetsCookie cookie = kInvalidCookie; in NativeGetResourceBagValue() [all …]
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 110 android::ApkAssetsCookie cookie = android::kInvalidCookie; in CompileApkAssetsLayouts()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 733 static android::ApkAssetsCookie FindFrameworkAssetManagerCookie( in FindFrameworkAssetManagerCookie() 742 ApkAssetsCookie idx = assets.GetResource(0x01010000, true /** may_be_bag */, in FindFrameworkAssetManagerCookie() 761 android::ApkAssetsCookie cookie = FindFrameworkAssetManagerCookie(*assets); in ExtractCompileSdkVersions()
|