Home
last modified time | relevance | path

Searched refs:parentPath (Results 1 - 14 of 14) sorted by relevance

/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/
H A Dphoto_file_utils.cpp53 string parentPath = GetEditDataDir(photoPath, userId); in GetEditDataPath() local
54 if (parentPath.empty()) { in GetEditDataPath()
57 return parentPath + "/editdata"; in GetEditDataPath()
62 string parentPath = GetEditDataDir(photoPath, userId); in GetEditDataCameraPath() local
63 if (parentPath.empty()) { in GetEditDataCameraPath()
66 return parentPath + "/editdata_camera"; in GetEditDataCameraPath()
71 string parentPath = GetEditDataDir(photoPath, userId); in GetEditDataSourcePath() local
72 if (parentPath.empty()) { in GetEditDataSourcePath()
75 return parentPath + "/source." + MediaFileUtils::GetExtensionFromPath(photoPath); in GetEditDataSourcePath()
H A Dmoving_photo_file_utils.cpp752 string parentPath = GetMovingPhotoExtraDataDir(imagePath, userId); in GetMovingPhotoExtraDataPath() local
753 if (parentPath.empty()) { in GetMovingPhotoExtraDataPath()
756 return parentPath + "/extraData"; in GetMovingPhotoExtraDataPath()
779 string parentPath = GetLivePhotoCacheDir(imagePath, userId); in GetLivePhotoCachePath() local
780 if (parentPath.empty()) { in GetLivePhotoCachePath()
783 return parentPath + "/livePhoto." + MediaFileUtils::GetExtensionFromPath(imagePath); in GetLivePhotoCachePath()
788 string parentPath = GetLivePhotoCacheDir(imagePath, userId); in GetSourceLivePhotoCachePath() local
789 if (parentPath.empty()) { in GetSourceLivePhotoCachePath()
792 return parentPath + "/sourceLivePhoto." + MediaFileUtils::GetExtensionFromPath(imagePath); in GetSourceLivePhotoCachePath()
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dmedia_scanner.cpp332 string parentPath = parent + SLASH_CHAR; in SetPhotoSubType() local
333 if (parentPath.find(ROOT_MEDIA_DIR) != 0) { in SetPhotoSubType()
338 parentPath.erase(0, len); in SetPhotoSubType()
340 if (parentPath == CAMERA_PATH) { in SetPhotoSubType()
342 } else if ((parentPath == SCREEN_RECORD_PATH) || (parentPath == SCREEN_SHOT_PATH)) { in SetPhotoSubType()
371 string parentPath = parent + SLASH_CHAR; in GetParentDirInfo() local
373 if (parentPath.find(ROOT_MEDIA_DIR) != 0) { in GetParentDirInfo()
381 parentPath.erase(0, len); in GetParentDirInfo()
382 if (!parentPath in GetParentDirInfo()
[all...]
/foundation/filemanagement/user_file_service/interfaces/kits/native/trash/src/
H A Dfile_trash_n_exporter.cpp327 string parentPath = path.substr(0, slashPos); in RecurCheckIfOnlyContentInDir() local
328 HILOG_DEBUG("RecurCheckIfOnlyContentInDir: parentPath = %{public}s", parentPath.c_str()); in RecurCheckIfOnlyContentInDir()
329 int num = ScanDir(parentPath); in RecurCheckIfOnlyContentInDir()
337 return RecurCheckIfOnlyContentInDir(parentPath, trashWithTimePos, trashWithTimePath); in RecurCheckIfOnlyContentInDir()
480 string parentPath = filePath.substr(0, slashPos); in RecoverFile() local
481 int num = ScanDir(parentPath); in RecoverFile()
483 auto err = RmDirent(GetToDeletePath(parentPath, env)); in RecoverFile()
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_object_utils.cpp354 string parentPath = MediaFileUtils::GetParentPath(path); in SetDirValuesByPath() local
355 if (parentPath.length() > ROOT_MEDIA_DIR.length()) { in SetDirValuesByPath()
356 relativePath = parentPath.substr(ROOT_MEDIA_DIR.length()) + "/"; in SetDirValuesByPath()
384 string parentPath = dirAsset.GetAlbumPath(); in InsertDirToDbRecursively() local
386 if ((parentId == 0) && ((parentPath + "/") != ROOT_MEDIA_DIR)) { in InsertDirToDbRecursively()
395 while (parentPath.length() < (path.length() - 1)) { in InsertDirToDbRecursively()
396 size_t index = path.find("/", parentPath.length() + 1); in InsertDirToDbRecursively()
414 parentPath = currentPath; in InsertDirToDbRecursively()
539 string parentPath = MediaFileUtils::GetParentPath(filePath); in DeleteMisc() local
540 auto updatedRows = UpdateDateModified(parentPath); in DeleteMisc()
[all...]
H A Dmedialibrary_asset_operations.cpp1615 string parentPath = GetEditDataDirPath(path); in GetEditDataSourcePath() local
1616 if (parentPath.empty()) { in GetEditDataSourcePath()
1619 return parentPath + "/source." + MediaFileUtils::GetExtensionFromPath(path); in GetEditDataSourcePath()
1624 string parentPath = GetEditDataDirPath(path); in GetEditDataPath() local
1625 if (parentPath.empty()) { in GetEditDataPath()
1628 return parentPath + "/editdata"; in GetEditDataPath()
1633 string parentPath = GetEditDataDirPath(path); in GetEditDataCameraPath() local
1634 if (parentPath.empty()) { in GetEditDataCameraPath()
1637 return parentPath + "/editdata_camera"; in GetEditDataCameraPath()
H A Dmedialibrary_smartalbum_map_operations.cpp494 string parentPath = MediaLibraryObjectUtils::GetPathByIdFromDb(to_string(parentId)); in TrashChildAssetsInfoUtil() local
495 cmd.GetAbsRdbPredicates()->Like(MEDIA_DATA_DB_FILE_PATH, parentPath + "/%")->And()-> in TrashChildAssetsInfoUtil()
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/fuse_manager/
H A Dfuse_manager.cpp579 filesystem::path parentPath; in GetAssetPath() local
581 parentPath = filesystem::path(path).parent_path(); in GetAssetPath()
582 ForceCreateDirectory(parentPath.string()); in GetAssetPath()
584 cInode->mBase->fileType, GetAnonyString(parentPath.string()).c_str(), GetAnonyString(cInode->path).c_str()); in GetAssetPath()
625 filesystem::path parentPath = filesystem::path(localPath).parent_path(); in CloudOpenOnLocal() local
626 ForceCreateDirectory(parentPath.string()); in CloudOpenOnLocal()
704 string parentPath = filesystem::path(cachePath).parent_path().string(); in LoadCacheFileIndex() local
705 if (!ForceCreateDirectory(parentPath)) { in LoadCacheFileIndex()
/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dscene_holder.cpp1658 bool SceneHolder::ReparentEntity(CORE_NS::Entity entity, const BASE_NS::string& parentPath, size_t index) in ReparentEntity() argument
1668 auto parentNode = root.LookupNodeByPath(parentPath); in ReparentEntity()
1670 if (parentPath == "/" || parentPath.empty()) { in ReparentEntity()
1673 CORE_LOG_W("SceneHolder::ReparentEntity, Failed to find parent node '%s'", parentPath.c_str()); in ReparentEntity()
1689 const CORE3D_NS::ISceneNode* SceneHolder::ReparentEntity(const BASE_NS::string& parentPath, const BASE_NS::string& name) in ReparentEntity() argument
1694 auto parentNode = root.LookupNodeByPath(parentPath); in ReparentEntity()
1698 CORE_LOG_W("Could not find: '%s', tried root and parent '%s'", name.c_str(), parentPath.c_str()); in ReparentEntity()
1703 SCENE_PLUGIN_VERBOSE_LOG("reparenting '%s' to '%s'", name.c_str(), parentPath.c_str()); in ReparentEntity()
1704 } else if (!parentPath in ReparentEntity()
[all...]
H A Dscene_holder.h319 const CORE3D_NS::ISceneNode* ReparentEntity(const BASE_NS::string& parentPath, const BASE_NS::string& name);
321 bool ReparentEntity(CORE_NS::Entity entity, const BASE_NS::string& parentPath, size_t index);
H A Dnode_impl.cpp859 auto parentPath = self->META_ACCESS_PROPERTY(Path) in SetPath()
862 auto ecsNode = sceneHolder->ReparentEntity(parentPath, name); in SetPath()
/foundation/filemanagement/dfs_service/utils/dentry/src/
H A Dmeta_file.cpp154 std::string parentPath = MetaFile::GetParentDir(path); in GetParentMetaFile() local
155 if (parentPath == "") { in GetParentMetaFile()
159 return MetaFileMgr::GetInstance().GetMetaFile(userId, parentPath); in GetParentMetaFile()
/foundation/multimedia/media_library/frameworks/services/media_file_extension/src/
H A Dmedia_file_extention_utils.cpp1219 string parentPath = ROOT_MEDIA_DIR + fileAsset->GetRelativePath(); in HandleAlbumRename() local
1220 parentPath.pop_back(); in HandleAlbumRename()
1221 MediaLibraryObjectUtils::UpdateDateModified(parentPath); in HandleAlbumRename()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Djs_accessibility_manager.cpp925 const RefPtr<NG::UINode>& parent, std::string& parentPath, bool& isAllAncestorAccessibilityVisible) in ProcessParentFrameNode()
932 parentPath += "Parent ID: " + std::to_string(parent->GetAccessibilityId()) + in ProcessParentFrameNode()
968 std::string parentPath; in SetRootAccessibilityVisible() local
971 if (ProcessParentFrameNode(parent, parentPath, isAllAncestorAccessibilityVisible)) { in SetRootAccessibilityVisible()
978 nodeInfo.GetAccessibilityId(), parentPath.c_str()); in SetRootAccessibilityVisible()
924 ProcessParentFrameNode( const RefPtr<NG::UINode>& parent, std::string& parentPath, bool& isAllAncestorAccessibilityVisible) ProcessParentFrameNode() argument

Completed in 42 milliseconds