Home
last modified time | relevance | path

Searched refs:ApkAssetsCookie (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h40 using ApkAssetsCookie = int32_t; variable
42 enum : ApkAssetsCookie {
59 ApkAssetsCookie cookie;
131 const ApkAssetsPtr& GetApkAssets(ApkAssetsCookie cookie) const;
138 const ResStringPool* GetStringPoolForCookie(ApkAssetsCookie cookie) const;
146 std::shared_ptr<const DynamicRefTable> GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const;
201 std::unique_ptr<Asset> Open(const std::string& filename, ApkAssetsCookie cookie,
215 ApkAssetsCookie* out_cookie = nullptr) const;
220 std::unique_ptr<Asset> OpenNonAsset(const std::string& filename, ApkAssetsCookie cookie,
263 ApkAssetsCookie cookie = kInvalidCookie;
[all …]
/frameworks/base/libs/androidfw/
DAssetManager2.cpp66 ApkAssetsCookie cookie;
95 ApkAssetsCookie cookie;
158 std::unordered_map<const ApkAssets*, ApkAssetsCookie> apk_assets_cookies; in BuildDynamicRefTable()
161 apk_assets_cookies[apk_assets[i].get()] = static_cast<ApkAssetsCookie>(i); in BuildDynamicRefTable()
313 const ResStringPool* AssetManager2::GetStringPoolForCookie(ApkAssetsCookie cookie) const { in GetStringPoolForCookie()
335 ApkAssetsCookie cookie) const { in GetDynamicRefTableForCookie()
337 for (const ApkAssetsCookie& package_cookie : package_group.cookies_) { in GetDynamicRefTableForCookie()
558 std::unique_ptr<Asset> AssetManager2::Open(const std::string& filename, ApkAssetsCookie cookie, in Open()
601 ApkAssetsCookie* out_cookie) const { in OpenNonAsset()
628 ApkAssetsCookie cookie, in OpenNonAsset()
[all …]
DAttributeResolution.cpp34 static uint32_t ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie()
/frameworks/base/core/jni/
Dandroid_util_AssetManager.cpp112 constexpr inline static jint ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie()
116 constexpr inline static ApkAssetsCookie JavaCookieToApkAssetsCookie(jint cookie) { in JavaCookieToApkAssetsCookie()
117 return cookie > 0 ? static_cast<ApkAssetsCookie>(cookie - 1) : kInvalidCookie; in JavaCookieToApkAssetsCookie()
548 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAsset()
582 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAssetFd()
608 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenXmlAsset()
667 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenXmlAssetFd()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp44 using android::ApkAssetsCookie;
/frameworks/base/tools/aapt2/cmd/
DLink.cpp776 android::ApkAssetsCookie cookie; in ExtractCompileSdkVersions()