Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h40 using ApkAssetsCookie = int32_t; variable
42 enum : ApkAssetsCookie {
59 ApkAssetsCookie cookie;
128 const ApkAssetsPtr& GetApkAssets(ApkAssetsCookie cookie) const;
135 const ResStringPool* GetStringPoolForCookie(ApkAssetsCookie cookie) const;
143 std::shared_ptr<const DynamicRefTable> GetDynamicRefTableForCookie(ApkAssetsCookie cookie) const;
194 std::unique_ptr<Asset> Open(const std::string& filename, ApkAssetsCookie cookie,
208 ApkAssetsCookie* out_cookie = nullptr) const;
213 std::unique_ptr<Asset> OpenNonAsset(const std::string& filename, ApkAssetsCookie cookie,
251 ApkAssetsCookie cookie = kInvalidCookie;
[all …]
/frameworks/base/libs/androidfw/
DAssetManager2.cpp66 ApkAssetsCookie cookie;
143 std::unordered_map<const ApkAssets*, ApkAssetsCookie> apk_assets_cookies; in BuildDynamicRefTable()
146 apk_assets_cookies[apk_assets[i].get()] = static_cast<ApkAssetsCookie>(i); in BuildDynamicRefTable()
298 const ResStringPool* AssetManager2::GetStringPoolForCookie(ApkAssetsCookie cookie) const { in GetStringPoolForCookie()
320 ApkAssetsCookie cookie) const { in GetDynamicRefTableForCookie()
322 for (const ApkAssetsCookie& package_cookie : package_group.cookies_) { in GetDynamicRefTableForCookie()
531 std::unique_ptr<Asset> AssetManager2::Open(const std::string& filename, ApkAssetsCookie cookie, in Open()
574 ApkAssetsCookie* out_cookie) const { in OpenNonAsset()
601 ApkAssetsCookie cookie, in OpenNonAsset()
771 ApkAssetsCookie best_cookie = kInvalidCookie; in FindEntryInternal()
[all …]
DAttributeResolution.cpp34 static uint32_t ApkAssetsCookieToJavaCookie(ApkAssetsCookie cookie) { in ApkAssetsCookieToJavaCookie()
/frameworks/base/startop/view_compiler/
Dapk_layout_compiler.cc110 android::ApkAssetsCookie cookie = android::kInvalidCookie; in CompileApkAssetsLayouts()
/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()
522 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAsset()
556 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenNonAssetFd()
582 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenXmlAsset()
641 ApkAssetsCookie cookie = JavaCookieToApkAssetsCookie(jcookie); in NativeOpenXmlAssetFd()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp44 using android::ApkAssetsCookie;
/frameworks/base/tools/aapt2/cmd/
DLink.cpp773 android::ApkAssetsCookie cookie; in ExtractCompileSdkVersions()