Searched refs:srcRelPath (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_smartalbum_map_operations.cpp | 226 static string GetNewPath(const string &path, const string &srcRelPath, const string &newRelPath) in GetNewPath() argument 228 if ((path.find(srcRelPath) != 0) && (path.find(ROOT_MEDIA_DIR + srcRelPath) != 0)) { in GetNewPath() 235 newPath += path.substr(path.find(srcRelPath) + srcRelPath.length()); in GetNewPath() 239 static int32_t RecycleChildSameNameInfoUtil(const int32_t parentId, const string &srcRelPath, const… in RecycleChildSameNameInfoUtil() argument 258 … values.PutString(MEDIA_DATA_DB_RELATIVE_PATH, GetNewPath(relativePath, srcRelPath, newRelPath)); in RecycleChildSameNameInfoUtil() 273 values.PutString(MEDIA_DATA_DB_FILE_PATH, GetNewPath(path, srcRelPath, newRelPath)); in RecycleChildSameNameInfoUtil() 276 … values.PutString(MEDIA_DATA_DB_RECYCLE_PATH, GetNewPath(recyclePath, srcRelPath, newRelPath)); in RecycleChildSameNameInfoUtil() 290 ret = RecycleChildSameNameInfoUtil(fileId, srcRelPath, newRelPath, false); in RecycleChildSameNameInfoUtil() 332 string srcRelPath = fileAsset->GetRelativePath() + fileAsset->GetDisplayName() + "/"; in RecycleDir() local 334 RecycleChildSameNameInfoUtil(fileAsset->GetId(), srcRelPath, newRelPath, true); in RecycleDir()
|
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_file_extension/src/ |
H A D | media_file_extention_utils.cpp | 1396 string srcRelPath = fileAsset->GetRelativePath(); in CheckRootDir() local 1397 if (srcRelPath.empty()) { in CheckRootDir() 1405 size_t srcPos = srcRelPath.find(SLASH_CHAR); in CheckRootDir() 1408 …MEDIA_ERR_LOG("Invalid relativePath %{private}s, %{private}s", srcRelPath.c_str(), destRelPath.c_s… in CheckRootDir() 1411 if (srcRelPath.substr(0, srcPos) != destRelPath.substr(0, destPos)) { in CheckRootDir()
|