Home
last modified time | relevance | path

Searched refs:resources_asset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
DApkAssets.cpp29 ApkAssets::ApkAssets(std::unique_ptr<Asset> resources_asset, in ApkAssets() argument
35 : resources_asset_(std::move(resources_asset)), in ApkAssets()
59 std::unique_ptr<ApkAssets> ApkAssets::LoadTable(std::unique_ptr<Asset> resources_asset, in LoadTable() argument
62 if (resources_asset == nullptr) { in LoadTable()
65 return LoadImpl(std::move(resources_asset), std::move(assets), flags, nullptr /* idmap_asset */, in LoadTable()
114 auto resources_asset = assets->Open(kResourcesArsc, Asset::AccessMode::ACCESS_BUFFER, in LoadImpl() local
116 if (resources_asset == nullptr && resources_asset_exists) { in LoadImpl()
122 return LoadImpl(std::move(resources_asset), std::move(assets), property_flags, in LoadImpl()
126 std::unique_ptr<ApkAssets> ApkAssets::LoadImpl(std::unique_ptr<Asset> resources_asset, in LoadImpl() argument
136 if (resources_asset != nullptr) { in LoadImpl()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DApkAssets.h54 static std::unique_ptr<ApkAssets> LoadTable(std::unique_ptr<Asset> resources_asset,
103 static std::unique_ptr<ApkAssets> LoadImpl(std::unique_ptr<Asset> resources_asset,
109 ApkAssets(std::unique_ptr<Asset> resources_asset,