/aosp14/frameworks/base/libs/androidfw/ |
H A D | AssetsProvider.cpp | 76 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 D | ApkAssets.cpp | 157 std::optional<std::string_view> ApkAssets::GetPath() const { in GetPath() function in android::ApkAssets 158 return assets_provider_->GetPath(); in GetPath()
|
H A D | AssetManager2.cpp | 221 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 D | AssetsProvider.h | 54 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 D | ApkAssets.h | 65 std::optional<std::string_view> GetPath() const;
|
/aosp14/frameworks/base/cmds/idmap2/libidmap2/ |
H A D | Idmap.cpp | 129 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 D | ResourceMapping.cpp | 137 log_info.Warning(LogMessage() << "overlay '" << overlay.GetPath() in FromContainers()
|
H A D | ResourceContainer.cpp | 312 const std::string& GetPath() const override; 401 const std::string& ApkResourceContainer::GetPath() const { in GetPath() function in android::idmap2::ApkResourceContainer
|
H A D | FabricatedOverlay.cpp | 407 const std::string& FabContainer::GetPath() const { in GetPath() function in android::idmap2::FabContainer
|
/aosp14/frameworks/base/cmds/idmap2/include/idmap2/ |
H A D | ResourceContainer.h | 32 WARN_UNUSED virtual const std::string& GetPath() const = 0;
|
H A D | FabricatedOverlay.h | 120 WARN_UNUSED const std::string& GetPath() const override;
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_content_res_ApkAssets.cpp | 123 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 D | FabricatedOverlayTests.cpp | 154 EXPECT_EQ(tf.path, (*container)->GetPath()); in TEST()
|