Lines Matching refs:resources_asset
30 ApkAssets::ApkAssets(PrivateConstructorUtil, std::unique_ptr<Asset> resources_asset, in ApkAssets() argument
34 : resources_asset_(std::move(resources_asset)), in ApkAssets()
55 ApkAssetsPtr ApkAssets::LoadTable(std::unique_ptr<Asset> resources_asset, in LoadTable() argument
58 if (resources_asset == nullptr) { in LoadTable()
61 return LoadImpl(std::move(resources_asset), std::move(assets), flags, nullptr /* idmap_asset */, in LoadTable()
110 auto resources_asset = assets->Open(kResourcesArsc, Asset::AccessMode::ACCESS_BUFFER, in LoadImpl() local
112 if (resources_asset == nullptr && resources_asset_exists) { in LoadImpl()
118 return LoadImpl(std::move(resources_asset), std::move(assets), property_flags, in LoadImpl()
122 ApkAssetsPtr ApkAssets::LoadImpl(std::unique_ptr<Asset> resources_asset, in LoadImpl() argument
132 if (resources_asset != nullptr) { in LoadImpl()
133 const auto data = resources_asset->getIncFsBuffer(true /* aligned */); in LoadImpl()
134 const size_t length = resources_asset->getLength(); in LoadImpl()
151 return ApkAssetsPtr::make(PrivateConstructorUtil{}, std::move(resources_asset), in LoadImpl()