/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | extractor.cpp | 136 std::string relativePath = GetRelativePath(fileName); in GetData() 142 std::string relativePath = GetRelativePath(fileName); in GetSafeData() 152 std::string relativePath = GetRelativePath(fileName); in GetMmapData() 189 std::string relativePath = GetRelativePath(fileName); in ExtractToBufByName() 195 std::string relativePath = GetRelativePath(fileName); in GetFileInfo() 239 std::string relativePath = GetRelativePath(fileName); in IsHapCompress()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/include/util/ |
H A D | path_util.h | 31 ::string GetRelativePath(::string_view path, ::string_view relativeTo);
|
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/root_info/ |
H A D | napi_root_info_exporter.h | 41 static napi_value GetRelativePath(napi_env env, napi_callback_info info);
|
H A D | napi_root_info_exporter.cpp | 39 NVal::DeclareNapiGetter("relativePath", GetRelativePath), in Export() 236 napi_value NapiRootInfoExporter::GetRelativePath(napi_env env, napi_callback_info info) in GetRelativePath() function in OHOS::FileAccessFwk::NapiRootInfoExporter
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_helper_test/src/ |
H A D | photo_album_asset_test.cpp | 68 EXPECT_EQ(photoAlbum.GetRelativePath(), TEST_RELATIVE_PATH); in HWTEST_F()
|
H A D | file_asset_test.cpp | 56 EXPECT_EQ(fileAsset.GetRelativePath(), TEST_RELATIVE_PATH); in HWTEST_F()
|
/foundation/filemanagement/user_file_service/frameworks/js/napi/file_access_module/file_info/ |
H A D | napi_file_info_exporter.h | 40 static napi_value GetRelativePath(napi_env env, napi_callback_info info);
|
H A D | napi_file_info_exporter.cpp | 33 NVal::DeclareNapiGetter("relativePath", GetRelativePath), in Export() 236 napi_value NapiFileInfoExporter::GetRelativePath(napi_env env, napi_callback_info info) in GetRelativePath() function in OHOS::FileAccessFwk::NapiFileInfoExporter
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | file_path_utils.h | 42 std::string GetRelativePath(const std::string& srcPath);
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_smartalbum_map_operations.cpp | 154 string name = to_string(fileAsset->GetId()) + fileAsset->GetRelativePath() + fileAsset->GetDisplayName(); in MakeRecycleDisplayName() 304 MediaFileUtils::AddDocsToRelativePath(fileAsset->GetRelativePath())); in RecycleDir() 332 string srcRelPath = fileAsset->GetRelativePath() + fileAsset->GetDisplayName() + "/"; in RecycleDir() 333 string newRelPath = fileAsset->GetRelativePath() + newName + "/"; in RecycleDir() 382 MediaFileUtils::AddDocsToRelativePath(fileAsset->GetRelativePath())); in RecycleFile()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_medialibrary_manager.cpp | 374 valuesBucket.Put(MEDIA_DATA_DB_RELATIVE_PATH, fileAsset->GetRelativePath() + in SendObjectInfo() 383 fileAsset->GetRelativePath() + fileAsset->GetDisplayName() + "/"); in SendObjectInfo() 407 parentFileAsset->GetRelativePath() + parentFileAsset->GetDisplayName() + "/"); in MoveObject() 433 parentAsset->GetRelativePath() + parentAsset->GetDisplayName() + "/"); in CopyObject() 473 parentFileAsset->GetRelativePath() + parentFileAsset->GetDisplayName() + "/"); in SetObjectPropValue() 477 valuesBucket.Put(MEDIA_DATA_DB_RELATIVE_PATH, fileAsset->GetRelativePath()); in SetObjectPropValue()
|
/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/ |
H A D | source_map.h | 94 std::string GetRelativePath(const std::string& sources);
|
/foundation/multimedia/media_library/interfaces/kits/js/include/sendable/ |
H A D | sendable_file_asset_napi.h | 57 std::string GetRelativePath() const;
|
/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | photo_album.h | 66 EXPORT const std::string& GetRelativePath() const;
|
H A D | file_asset.h | 61 EXPORT const std::string &GetRelativePath() const;
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_base_utils.h | 97 static std::string GetRelativePath(const std::string& sources, std::string splitStr = "/\\");
|
H A D | jsi_base_utils.cpp | 364 const std::string sourceInfo = GetRelativePath(temp, "/"); in TranslateRawStack() 542 std::string sources = isBundle ? GetRelativePath(mapInfo.sources) : mapInfo.sources; in GetSourceInfo() 547 std::string JsiBaseUtils::GetRelativePath(const std::string& sources, std::string splitStr) in GetRelativePath() function in OHOS::Ace::Framework::JsiBaseUtils
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/ |
H A D | path_util.cpp | 106 string GetRelativePath(string_view path, string_view relativeTo) in GetRelativePath() function
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | photo_album.cpp | 160 const string& PhotoAlbum::GetRelativePath() const in GetRelativePath() function in OHOS::Media::PhotoAlbum
|
/foundation/multimedia/media_library/frameworks/js/src/sendable/ |
H A D | sendable_file_asset_napi.cpp | 252 std::string SendableFileAssetNapi::GetRelativePath() const in GetRelativePath() function in OHOS::Media::SendableFileAssetNapi 254 return fileAssetPtr->GetRelativePath(); in GetRelativePath() 472 MediaFileUtils::AddDocsToRelativePath(fileAsset->GetRelativePath())); in BuildCommitModifyValuesBucket() 492 valuesBucket.Put(MEDIA_DATA_DB_RELATIVE_PATH, fileAsset->GetRelativePath()); in BuildCommitModifyValuesBucket() 623 && !context->objectPtr->GetRelativePath().empty() && !context->objectPtr->GetDisplayName().empty()) { in JSGetThumbnailExecute() 624 path = ROOT_MEDIA_DIR + context->objectPtr->GetRelativePath() + context->objectPtr->GetDisplayName(); in JSGetThumbnailExecute()
|
/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | source_map.cpp | 385 std::string SourceMap::GetRelativePath(const std::string& sources) in GetRelativePath() function in OHOS::JsEnv::SourceMap 480 std::string sources = isModular_ ? mapInfo.sources : GetRelativePath(mapInfo.sources); in GetSourceInfo()
|
/foundation/ability/ability_runtime/js_environment/test/unittest/source_map_test/ |
H A D | source_map_test.cpp | 248 * @tc.name: GetRelativePath 249 * @tc.desc: Verifying GetRelativePath succeeded. 258 auto res = modSourceMap->GetRelativePath(sources); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/ |
H A D | asset_loader.h | 134 static BASE_NS::string GetRelativePath(BASE_NS::string_view path, BASE_NS::string_view relativeTo) in GetRelativePath() function
|
/foundation/multimedia/media_library/frameworks/services/media_scanner/include/scanner/ |
H A D | metadata.h | 44 EXPORT const std::string &GetRelativePath() const;
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_unittest_utils/src/ |
H A D | medialibrary_unittest_utils.cpp | 199 string relativePath = MediaFileUtils::AddDocsToRelativePath(parentAlbumAsset->GetRelativePath() + in CreateFile()
|