Searched refs:apk_assets (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/core/jni/ |
D | android_content_res_ApkAssets.cpp | 43 std::unique_ptr<const ApkAssets> apk_assets; in NativeLoad() local 45 apk_assets = ApkAssets::LoadOverlay(path.c_str(), system); in NativeLoad() 47 apk_assets = ApkAssets::LoadAsSharedLibrary(path.c_str(), system); in NativeLoad() 49 apk_assets = ApkAssets::Load(path.c_str(), system); in NativeLoad() 52 if (apk_assets == nullptr) { in NativeLoad() 57 return reinterpret_cast<jlong>(apk_assets.release()); in NativeLoad() 81 std::unique_ptr<const ApkAssets> apk_assets = ApkAssets::LoadFromFd(std::move(dup_fd), in NativeLoadFromFd() local 84 if (apk_assets == nullptr) { in NativeLoadFromFd() 90 return reinterpret_cast<jlong>(apk_assets.release()); in NativeLoadFromFd() 98 const ApkAssets* apk_assets = reinterpret_cast<const ApkAssets*>(ptr); in NativeGetAssetPath() local [all …]
|
D | android_util_AssetManager.cpp | 466 std::vector<const ApkAssets*> apk_assets; in NativeSetApkAssets() local 467 apk_assets.reserve(apk_assets_len); in NativeSetApkAssets() 480 apk_assets.push_back(reinterpret_cast<const ApkAssets*>(apk_assets_native_ptr)); in NativeSetApkAssets() 484 assetmanager->SetApkAssets(apk_assets, invalidate_caches); in NativeSetApkAssets() 848 const ApkAssets* apk_assets = assetmanager->GetApkAssets()[cookie]; in NativeGetResourceStringArray() local 849 const ResStringPool* pool = apk_assets->GetLoadedArsc()->GetStringPool(); in NativeGetResourceStringArray()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Lookup.cpp | 185 std::vector<std::unique_ptr<const ApkAssets>> apk_assets; in Lookup() local 203 apk_assets.push_back(std::move(target_apk)); in Lookup() 222 apk_assets.push_back(std::move(overlay_apk)); in Lookup() 227 std::transform(apk_assets.cbegin(), apk_assets.cend(), std::back_inserter(raw_pointer_apk_assets), in Lookup()
|
/frameworks/base/libs/androidfw/tests/ |
D | BenchmarkHelpers.cpp | 56 std::vector<std::unique_ptr<const ApkAssets>> apk_assets; in GetResourceBenchmark() local 65 apk_assets.push_back(std::move(apk)); in GetResourceBenchmark()
|
D | AttributeResolution_test.cpp | 70 auto apk_assets = ApkAssets::LoadAsSharedLibrary(GetTestDataPath() + "/styles/styles.apk"); in TEST() local 71 ASSERT_NE(nullptr, apk_assets); in TEST() 72 assetmanager.SetApkAssets({apk_assets.get()}); in TEST()
|
/frameworks/base/tools/aapt2/process/ |
D | SymbolTable.cpp | 225 std::vector<const ApkAssets*> apk_assets; in AddAssetPath() local 227 apk_assets.push_back(apk_asset.get()); in AddAssetPath() 230 asset_manager_.SetApkAssets(apk_assets, true /* invalidate_caches */, in AddAssetPath()
|
/frameworks/base/libs/androidfw/ |
D | AssetManager2.cpp | 77 bool AssetManager2::SetApkAssets(const std::vector<const ApkAssets*>& apk_assets, in SetApkAssets() argument 79 apk_assets_ = apk_assets; in SetApkAssets() 148 for (const auto& apk_assets : apk_assets_) { in DumpToLog() local 149 base::StringAppendF(&list, "%s,", apk_assets->GetPath().c_str()); in DumpToLog() 312 const ApkAssets* apk_assets = *iter; in OpenDir() local 313 if (apk_assets->IsOverlay()) { in OpenDir() 321 info.setSourceName(String8(apk_assets->GetPath().c_str())); in OpenDir() 325 if (!apk_assets->ForEachFile(full_path, func)) { in OpenDir()
|
/frameworks/base/libs/androidfw/include/androidfw/ |
D | AssetManager2.h | 108 bool SetApkAssets(const std::vector<const ApkAssets*>& apk_assets, bool invalidate_caches = true,
|