/frameworks/base/libs/androidfw/tests/ |
BenchmarkHelpers.cpp | 56 std::vector<std::unique_ptr<const ApkAssets>> apk_assets; local 65 apk_assets.push_back(std::move(apk));
|
AttributeResolution_test.cpp | 70 auto apk_assets = ApkAssets::LoadAsSharedLibrary(GetTestDataPath() + "/styles/styles.apk"); local 71 ASSERT_NE(nullptr, apk_assets); 72 assetmanager.SetApkAssets({apk_assets.get()});
|
/frameworks/base/core/jni/ |
android_content_res_ApkAssets.cpp | 43 std::unique_ptr<const ApkAssets> apk_assets; local 45 apk_assets = ApkAssets::LoadOverlay(path.c_str(), system); 47 apk_assets = ApkAssets::LoadAsSharedLibrary(path.c_str(), system); 49 apk_assets = ApkAssets::Load(path.c_str(), system); 52 if (apk_assets == nullptr) { 57 return reinterpret_cast<jlong>(apk_assets.release()); 81 std::unique_ptr<const ApkAssets> apk_assets = ApkAssets::LoadFromFd(std::move(dup_fd), local 84 if (apk_assets == nullptr) { 90 return reinterpret_cast<jlong>(apk_assets.release()); 98 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr) local 103 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr); local 108 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr); local 119 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr); local [all...] |
android_util_AssetManager.cpp | 310 std::vector<const ApkAssets*> apk_assets; local 311 apk_assets.reserve(apk_assets_len); 324 apk_assets.push_back(reinterpret_cast<const ApkAssets*>(apk_assets_native_ptr)); 328 assetmanager->SetApkAssets(apk_assets, invalidate_caches); 691 const ApkAssets* apk_assets = assetmanager->GetApkAssets()[cookie]; local 692 const ResStringPool* pool = apk_assets->GetLoadedArsc()->GetStringPool(); [all...] |
/frameworks/base/libs/androidfw/ |
AssetManager2.cpp | 69 bool AssetManager2::SetApkAssets(const std::vector<const ApkAssets*>& apk_assets, 71 apk_assets_ = apk_assets; 140 for (const auto& apk_assets : apk_assets_) { 141 base::StringAppendF(&list, "%s,", apk_assets->GetPath().c_str()); 258 const ApkAssets* apk_assets = *iter; local 264 info.setSourceName(String8(apk_assets->GetPath().c_str())); 268 if (!apk_assets->ForEachFile(full_path, func)) { [all...] |