Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_asset_operations.cpp815 static bool CheckTypeFromRootDir(const std::string &rootDirName, int32_t type) in CheckTypeFromRootDir() argument
818 if (!strcmp(rootDirName.c_str(), CAMERA_DIR_VALUES.c_str())) { in CheckTypeFromRootDir()
824 if (!strcmp(rootDirName.c_str(), VIDEO_DIR_VALUES.c_str())) { in CheckTypeFromRootDir()
830 if (!strcmp(rootDirName.c_str(), PIC_DIR_VALUES.c_str())) { in CheckTypeFromRootDir()
836 if (!strcmp(rootDirName.c_str(), AUDIO_DIR_VALUES.c_str())) { in CheckTypeFromRootDir()
842 if (!strcmp(rootDirName.c_str(), DOCS_PATH.c_str())) { in CheckTypeFromRootDir()
846 rootDirName.c_str(), type); in CheckTypeFromRootDir()
895 string rootDirName; in CheckRelativePathWithType() local
896 MediaFileUtils::GetRootDirFromRelativePath(relativePath, rootDirName); in CheckRelativePathWithType()
897 CHECK_AND_RETURN_RET_LOG(!rootDirName.empty(), E_INVALID_PATH, "Cannot get rootdirName"); in CheckRelativePathWithType()
[all …]