Home
last modified time | relevance | path

Searched refs:GetPath (Results 1 – 13 of 13) sorted by relevance

/aosp14/frameworks/base/libs/androidfw/
H A DAssetsProvider.cpp76 const std::string* ZipAssetsProvider::PathOrDebugName::GetPath() const { in GetPath() function in android::ZipAssetsProvider::PathOrDebugName
201 if (name_.GetPath() == nullptr) { in OpenInternal()
274 std::optional<std::string_view> ZipAssetsProvider::GetPath() const { in GetPath() function in android::ZipAssetsProvider
275 if (name_.GetPath() != nullptr) { in GetPath()
276 return *name_.GetPath(); in GetPath()
341 std::optional<std::string_view> DirectoryAssetsProvider::GetPath() const { in GetPath() function in android::DirectoryAssetsProvider
366 path_ = (primary_->GetDebugName() != kEmptyDebugString) ? primary_->GetPath() in MultiAssetsProvider()
367 : secondary_->GetPath(); in MultiAssetsProvider()
392 std::optional<std::string_view> MultiAssetsProvider::GetPath() const { in GetPath() function in android::MultiAssetsProvider
430 std::optional<std::string_view> EmptyAssetsProvider::GetPath() const { in GetPath() function in android::EmptyAssetsProvider
H A DApkAssets.cpp157 std::optional<std::string_view> ApkAssets::GetPath() const { in GetPath() function in android::ApkAssets
158 return assets_provider_->GetPath(); in GetPath()
H A DAssetManager2.cpp221 if (auto apk_assets_path = apk_assets->GetPath()) { in BuildDynamicRefTable()
694 if (auto path = assets->GetPath()) { in FindEntry()
/aosp14/frameworks/base/libs/androidfw/include/androidfw/
H A DAssetsProvider.h54 WARN_UNUSED virtual std::optional<std::string_view> GetPath() const = 0;
96 WARN_UNUSED std::optional<std::string_view> GetPath() const override;
120 WARN_UNUSED const std::string* GetPath() const;
148 WARN_UNUSED std::optional<std::string_view> GetPath() const override;
173 WARN_UNUSED std::optional<std::string_view> GetPath() const override;
200 WARN_UNUSED std::optional<std::string_view> GetPath() const override;
H A DApkAssets.h65 std::optional<std::string_view> GetPath() const;
/aosp14/frameworks/base/cmds/idmap2/libidmap2/
H A DIdmap.cpp129 return IsUpToDate(target.GetPath(), overlay.GetPath(), overlay_name, *target_crc, *overlay_crc, in IsUpToDate()
367 return Error(target_crc.GetError(), "failed to get zip CRC for '%s'", target.GetPath().data()); in FromContainers()
374 overlay.GetPath().data()); in FromContainers()
380 header->target_path_ = target.GetPath(); in FromContainers()
381 header->overlay_path_ = overlay.GetPath(); in FromContainers()
386 return Error(info.GetError(), "failed to get overlay info for '%s'", overlay.GetPath().data()); in FromContainers()
394 overlay.GetPath().data()); in FromContainers()
H A DResourceMapping.cpp137 log_info.Warning(LogMessage() << "overlay '" << overlay.GetPath() in FromContainers()
H A DResourceContainer.cpp312 const std::string& GetPath() const override;
401 const std::string& ApkResourceContainer::GetPath() const { in GetPath() function in android::idmap2::ApkResourceContainer
H A DFabricatedOverlay.cpp407 const std::string& FabContainer::GetPath() const { in GetPath() function in android::idmap2::FabContainer
/aosp14/frameworks/base/cmds/idmap2/include/idmap2/
H A DResourceContainer.h32 WARN_UNUSED virtual const std::string& GetPath() const = 0;
H A DFabricatedOverlay.h120 WARN_UNUSED const std::string& GetPath() const override;
/aosp14/frameworks/base/core/jni/
H A Dandroid_content_res_ApkAssets.cpp123 std::optional<std::string_view> GetPath() const override { in GetPath() function in android::LoaderAssetsProvider
413 if (auto path = apk_assets->GetPath()) { in NativeGetAssetPath()
/aosp14/frameworks/base/cmds/idmap2/tests/
H A DFabricatedOverlayTests.cpp154 EXPECT_EQ(tf.path, (*container)->GetPath()); in TEST()