Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/
DApkAssets.cpp30 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()
[all …]
/frameworks/base/libs/androidfw/include/androidfw/
DApkAssets.h55 static ApkAssetsPtr LoadTable(std::unique_ptr<Asset> resources_asset,
103 static ApkAssetsPtr LoadImpl(std::unique_ptr<Asset> resources_asset,
116 ApkAssets(PrivateConstructorUtil, std::unique_ptr<Asset> resources_asset,