Searched refs:ApkAssetsCookie (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 37 using ApkAssetsCookie = int32_t; variable 39 enum : ApkAssetsCookie { 53 ApkAssetsCookie cookie; 107 const ResStringPool* GetStringPoolForCookie(ApkAssetsCookie cookie) const; 115 const DynamicRefTable* GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const; 152 std::unique_ptr<Asset> Open(const std::string& filename, ApkAssetsCookie cookie, 166 ApkAssetsCookie* out_cookie = nullptr) const; 171 std::unique_ptr<Asset> OpenNonAsset(const std::string& filename, ApkAssetsCookie cookie, 202 ApkAssetsCookie GetResource(uint32_t resid, bool may_be_bag, uint16_t density_override, 218 ApkAssetsCookie ResolveReference(ApkAssetsCookie cookie, Res_value* in_out_value, [all …]
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 112 package_group->cookies_.push_back(static_cast<ApkAssetsCookie>(i)); in BuildDynamicRefTable() 167 const ResStringPool* AssetManager2::GetStringPoolForCookie(ApkAssetsCookie cookie) const { in GetStringPoolForCookie() 186 const DynamicRefTable* AssetManager2::GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const { in GetDynamicRefTableForCookie() 188 for (const ApkAssetsCookie& package_cookie : package_group.cookies_) { in GetDynamicRefTableForCookie() 243 std::unique_ptr<Asset> AssetManager2::Open(const std::string& filename, ApkAssetsCookie cookie, in Open() 283 ApkAssetsCookie* out_cookie) const { in OpenNonAsset() 301 ApkAssetsCookie cookie, in OpenNonAsset() 309 ApkAssetsCookie AssetManager2::FindEntry(uint32_t resid, uint16_t density_override, in FindEntry() 341 ApkAssetsCookie best_cookie = kInvalidCookie; in FindEntry() 356 ApkAssetsCookie cookie = package_group.cookies_[pi]; in FindEntry() [all …]
|
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() 335 ApkAssetsCookie new_cookie = in ApplyStyle() 346 ApkAssetsCookie new_cookie = theme->GetAttribute(cur_ident, &value, &type_set_flags); in ApplyStyle() 415 ApkAssetsCookie cookie = kInvalidCookie; in RetrieveAttributes() 438 ApkAssetsCookie new_cookie = in RetrieveAttributes()
|
/frameworks/base/libs/androidfw/tests/ |
D | Theme_test.cpp | 83 ApkAssetsCookie cookie; in TEST_F() 107 ApkAssetsCookie cookie; in TEST_F() 153 ApkAssetsCookie cookie; in TEST_F() 187 ApkAssetsCookie cookie; in TEST_F() 221 ApkAssetsCookie cookie; in TEST_F() 250 ApkAssetsCookie cookie; in TEST_F()
|
D | AssetManager2_test.cpp | 102 ApkAssetsCookie cookie = in TEST_F() 132 ApkAssetsCookie cookie = in TEST_F() 160 ApkAssetsCookie cookie = in TEST_F() 205 ApkAssetsCookie cookie = assetmanager.GetResource( in TEST_F() 350 ApkAssetsCookie cookie = in TEST_F() 373 ApkAssetsCookie cookie = in TEST_F() 408 ApkAssetsCookie cookie = assetmanager.GetResource(high_ref, false /*may_be_bag*/, 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 | 104 constexpr inline static jint ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie() 108 constexpr inline static ApkAssetsCookie JavaCookieToApkAssetsCookie(jint cookie) { in JavaCookieToApkAssetsCookie() 109 return cookie > 0 ? static_cast<ApkAssetsCookie>(cookie - 1) : kInvalidCookie; in JavaCookieToApkAssetsCookie() 199 static jint CopyValue(JNIEnv* env, ApkAssetsCookie cookie, const Res_value& value, uint32_t ref, in CopyValue() 490 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAsset() 524 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAssetFd() 550 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenXmlAsset() 593 ApkAssetsCookie cookie = in NativeGetResourceValue() 619 ApkAssetsCookie cookie = kInvalidCookie; in NativeGetResourceBagValue() 684 ApkAssetsCookie cookie = in NativeGetResourceStringArray() [all …]
|
/frameworks/base/core/jni/android/graphics/ |
D | FontFamily.cpp | 244 asset = locked_mgr->OpenNonAsset(str.c_str(), static_cast<ApkAssetsCookie>(cookie - 1), in FontFamily_addFontFromAssetManager()
|