Searched refs:ApkAssetsCookie (Results 1 – 13 of 13) sorted by relevance
/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 const DynamicRefTable* GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const; 165 std::unique_ptr<Asset> Open(const std::string& filename, ApkAssetsCookie cookie, 179 ApkAssetsCookie* out_cookie = nullptr) const; 184 std::unique_ptr<Asset> OpenNonAsset(const std::string& filename, ApkAssetsCookie cookie, 215 ApkAssetsCookie GetResource(uint32_t resid, bool may_be_bag, uint16_t density_override, 231 ApkAssetsCookie ResolveReference(ApkAssetsCookie cookie, Res_value* in_out_value, [all …]
|
/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 | 120 package_group->cookies_.push_back(static_cast<ApkAssetsCookie>(i)); in BuildDynamicRefTable() 182 const ResStringPool* AssetManager2::GetStringPoolForCookie(ApkAssetsCookie cookie) const { in GetStringPoolForCookie() 201 const DynamicRefTable* AssetManager2::GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const { in GetDynamicRefTableForCookie() 203 for (const ApkAssetsCookie& package_cookie : package_group.cookies_) { in GetDynamicRefTableForCookie() 297 std::unique_ptr<Asset> AssetManager2::Open(const std::string& filename, ApkAssetsCookie cookie, in Open() 340 ApkAssetsCookie* out_cookie) const { in OpenNonAsset() 365 ApkAssetsCookie cookie, in OpenNonAsset() 373 ApkAssetsCookie AssetManager2::FindEntry(uint32_t resid, uint16_t density_override, in FindEntry() 407 ApkAssetsCookie best_cookie = kInvalidCookie; in FindEntry() 425 ApkAssetsCookie cookie = package_group.cookies_[pi]; in FindEntry() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | AssetManager2_test.cpp | 106 ApkAssetsCookie cookie = in TEST_F() 136 ApkAssetsCookie cookie = in TEST_F() 164 ApkAssetsCookie cookie = in TEST_F() 209 ApkAssetsCookie cookie = assetmanager.GetResource( in TEST_F() 370 ApkAssetsCookie cookie = in TEST_F() 393 ApkAssetsCookie cookie = in TEST_F() 428 ApkAssetsCookie cookie = assetmanager.GetResource(high_ref, false /*may_be_bag*/, in TEST_F() 615 ApkAssetsCookie cookie = in TEST_F() 650 ApkAssetsCookie cookie = in TEST_F() 674 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/core/jni/ |
D | android_util_AssetManager.cpp | 118 constexpr inline static jint ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie() 122 constexpr inline static ApkAssetsCookie JavaCookieToApkAssetsCookie(jint cookie) { in JavaCookieToApkAssetsCookie() 123 return cookie > 0 ? static_cast<ApkAssetsCookie>(cookie - 1) : kInvalidCookie; in JavaCookieToApkAssetsCookie() 309 static jint CopyValue(JNIEnv* env, ApkAssetsCookie cookie, const Res_value& value, uint32_t ref, in CopyValue() 647 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAsset() 681 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAssetFd() 707 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenXmlAsset() 750 ApkAssetsCookie cookie = in NativeGetResourceValue() 776 ApkAssetsCookie cookie = kInvalidCookie; in NativeGetResourceBagValue() 841 ApkAssetsCookie cookie = in NativeGetResourceStringArray() [all …]
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 44 using android::ApkAssetsCookie; 92 ApkAssetsCookie cookie = am.GetResource(resid, false, 0, &value, &config, &flags); in GetValue()
|
/frameworks/base/startop/view_compiler/ |
D | apk_layout_compiler.cc | 108 android::ApkAssetsCookie cookie = android::kInvalidCookie; in CompileApkAssetsLayouts()
|
/frameworks/base/core/jni/android/graphics/fonts/ |
D | Font.cpp | 104 asset = locked_mgr->OpenNonAsset(str.c_str(), static_cast<ApkAssetsCookie>(cookie - 1), in Font_Builder_getNativeAsset()
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 245 asset = locked_mgr->OpenNonAsset(str.c_str(), static_cast<ApkAssetsCookie>(cookie - 1), in FontFamily_addFontFromAssetManager()
|
/frameworks/base/tools/aapt2/cmd/ |
D | Link.cpp | 725 static android::ApkAssetsCookie FindFrameworkAssetManagerCookie( in FindFrameworkAssetManagerCookie() 734 ApkAssetsCookie idx = assets.GetResource(0x01010000, true /** may_be_bag */, in FindFrameworkAssetManagerCookie() 753 android::ApkAssetsCookie cookie = FindFrameworkAssetManagerCookie(*assets); in ExtractCompileSdkVersions()
|