Home
last modified time | relevance | path

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

/frameworks/base/libs/androidfw/include/androidfw/
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;
DApkAssets.h65 std::optional<std::string_view> GetPath() const;
/frameworks/base/libs/androidfw/
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
DApkAssets.cpp156 std::optional<std::string_view> ApkAssets::GetPath() const { in GetPath() function in android::ApkAssets
157 return assets_provider_->GetPath(); in GetPath()
DAssetManager2.cpp236 if (auto apk_assets_path = apk_assets->GetPath()) { in BuildDynamicRefTable()
725 if (auto path = assets->GetPath()) { in FindEntry()
/frameworks/base/cmds/idmap2/libidmap2/
DIdmap.cpp130 return IsUpToDate(target.GetPath(), overlay.GetPath(), overlay_name, *target_crc, *overlay_crc, in IsUpToDate()
368 return Error(target_crc.GetError(), "failed to get zip CRC for '%s'", target.GetPath().data()); in FromContainers()
375 overlay.GetPath().data()); in FromContainers()
381 header->target_path_ = target.GetPath(); in FromContainers()
382 header->overlay_path_ = overlay.GetPath(); in FromContainers()
387 return Error(info.GetError(), "failed to get overlay info for '%s'", overlay.GetPath().data()); in FromContainers()
395 overlay.GetPath().data()); in FromContainers()
DResourceMapping.cpp137 log_info.Warning(LogMessage() << "overlay '" << overlay.GetPath() in FromContainers()
DResourceContainer.cpp313 const std::string& GetPath() const override;
402 const std::string& ApkResourceContainer::GetPath() const { in GetPath() function in android::idmap2::ApkResourceContainer
DFabricatedOverlay.cpp492 const std::string& FabContainer::GetPath() const { in GetPath() function in android::idmap2::FabContainer
/frameworks/base/cmds/idmap2/include/idmap2/
DResourceContainer.h32 WARN_UNUSED virtual const std::string& GetPath() const = 0;
DFabricatedOverlay.h135 WARN_UNUSED const std::string& GetPath() const override;
/frameworks/native/cmds/dumpstate/
Ddumpstate.h336 std::string GetPath(const std::string& directory, const std::string& suffix) const;
340 std::string GetPath(const std::string& suffix) const;
Ddumpstate.cpp2833 ds.screenshot_path_ = ds.GetPath(ds.CalledByApi() ? "-png.tmp" : ".png"); in PrepareToWriteToFile()
2835 ds.tmp_path_ = ds.GetPath(".tmp"); in PrepareToWriteToFile()
2836 ds.log_path_ = ds.GetPath("-dumpstate_log-" + std::to_string(ds.pid_) + ".txt"); in PrepareToWriteToFile()
2851 ds.path_ = ds.GetPath(ds.CalledByApi() ? "-zip.tmp" : ".zip"); in PrepareToWriteToFile()
2876 final_path = ds.GetPath(ds.options_->out_dir, ".zip"); in FinalizeFile()
3734 std::string final_path = GetPath(".zip"); in CopyBugreportIfUserConsented()
3939 std::string Dumpstate::GetPath(const std::string& suffix) const { in GetPath() function in Dumpstate
3940 return GetPath(bugreport_internal_dir_, suffix); in GetPath()
3943 std::string Dumpstate::GetPath(const std::string& directory, const std::string& suffix) const { in GetPath() function in Dumpstate
/frameworks/base/cmds/idmap2/tests/
DFabricatedOverlayTests.cpp154 EXPECT_EQ(tf.path, (*container)->GetPath()); in TEST()
/frameworks/base/core/jni/
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()
/frameworks/native/cmds/dumpstate/tests/
Ddumpstate_smoke_test.cpp224 return ds.GetPath(".zip"); in getZipFilePath()