Lines Matching refs:Asset
147 std::unique_ptr<Asset> OpenInternal( in OpenInternal()
148 const std::string& path, Asset::AccessMode mode, bool* file_exists) const override { in OpenInternal()
173 std::unique_ptr<Asset> asset = in OpenInternal()
174 Asset::createFromCompressedMap(std::move(map), entry.uncompressed_length, mode); in OpenInternal()
200 std::unique_ptr<Asset> asset = Asset::createFromUncompressedMap(std::move(map), in OpenInternal()
251 std::unique_ptr<Asset> OpenInternal( in OpenInternal()
252 const std::string& path, Asset::AccessMode /* mode */, bool* file_exists) const override { in OpenInternal()
282 std::unique_ptr<Asset> OpenInternal(const std::string& /*path */, in OpenInternal()
283 Asset::AccessMode /* mode */, in OpenInternal()
315 std::unique_ptr<Asset> OpenInternal( in OpenInternal()
316 const std::string& path, Asset::AccessMode mode, bool* file_exists) const override { in OpenInternal()
380 std::unique_ptr<Asset> idmap_asset = CreateAssetFromFile(idmap_path); in LoadOverlay()
423 std::unique_ptr<Asset> ApkAssets::CreateAssetFromFile(const std::string& path) { in CreateAssetFromFile()
433 std::unique_ptr<Asset> ApkAssets::CreateAssetFromFd(base::unique_fd fd, in CreateAssetFromFd()
458 return Asset::createFromUncompressedMap(std::move(file_map), in CreateAssetFromFd()
460 Asset::AccessMode::ACCESS_RANDOM); in CreateAssetFromFd()
466 std::unique_ptr<Asset> idmap_asset, std::unique_ptr<const LoadedIdmap> idmap) { in LoadImpl()
472 auto resources_asset_ = assets->Open(kResourcesArsc, Asset::AccessMode::ACCESS_BUFFER, in LoadImpl()
516 std::unique_ptr<Asset> resources_asset, const std::string& path, in LoadTableImpl()