Home
last modified time | relevance | path

Searched refs:apk_assets_ (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/cmds/idmap2/tests/
DResourceUtilsTests.cpp36 apk_assets_ = ApkAssets::Load(GetTargetApkPath()); in SetUp()
37 ASSERT_THAT(apk_assets_, NotNull()); in SetUp()
39 am_.SetApkAssets({apk_assets_.get()}); in SetUp()
48 std::unique_ptr<const ApkAssets> apk_assets_; member in android::idmap2::ResourceUtilsTests
/frameworks/base/libs/androidfw/
DAssetManager2.cpp79 apk_assets_ = apk_assets; in SetApkAssets()
94 const size_t apk_assets_count = apk_assets_.size(); in BuildDynamicRefTable()
96 const LoadedArsc* loaded_arsc = apk_assets_[i]->GetLoadedArsc(); in BuildDynamicRefTable()
148 for (const auto& apk_assets : apk_assets_) { in DumpToLog()
183 if (cookie < 0 || static_cast<size_t>(cookie) >= apk_assets_.size()) { in GetStringPoolForCookie()
186 return apk_assets_[cookie]->GetLoadedArsc()->GetStringPool(); in GetStringPoolForCookie()
311 for (auto iter = apk_assets_.rbegin(); iter != apk_assets_.rend(); ++iter) { in OpenDir()
341 for (int32_t i = apk_assets_.size() - 1; i >= 0; i--) { in OpenNonAsset()
345 if (apk_assets_[i]->IsOverlay()) { in OpenNonAsset()
349 std::unique_ptr<Asset> asset = apk_assets_[i]->Open(filename, mode); in OpenNonAsset()
[all …]
/frameworks/base/tools/aapt2/process/
DSymbolTable.cpp223 apk_assets_.push_back(std::move(apk)); in AddAssetPath()
226 for (const std::unique_ptr<const ApkAssets>& apk_asset : apk_assets_) { in AddAssetPath()
253 for (const std::unique_ptr<const ApkAssets>& assets : apk_assets_) { in IsPackageDynamic()
386 if (apk_assets_.empty()) { in FindById()
DSymbolTable.h211 std::vector<std::unique_ptr<const android::ApkAssets>> apk_assets_; variable
/frameworks/base/libs/androidfw/include/androidfw/
DAssetManager2.h112 return apk_assets_; in GetApkAssets()
315 std::vector<const ApkAssets*> apk_assets_; variable