Home
last modified time | relevance | path

Searched refs:fileRealPath (Results 1 - 2 of 2) sorted by relevance

/base/theme/wallpaper_mgr/utils/src/
H A Dfile_deal.cpp145 std::string fileRealPath; in ForcedRefreshDisk() local
146 if (!GetRealPath(sourcePath, fileRealPath)) { in ForcedRefreshDisk()
150 FILE *file = std::fopen(fileRealPath.c_str(), "rb"); in ForcedRefreshDisk()
152 HILOG_ERROR("Fopen failed, %{public}s, %{public}s", fileRealPath.c_str(), strerror(errno)); in ForcedRefreshDisk()
/base/theme/wallpaper_mgr/frameworks/native/src/
H A Dwallpaper_manager.cpp204 std::string fileRealPath; in SetWallpaper() local
205 if (!FileDeal::GetRealPath(uri, fileRealPath)) { in SetWallpaper()
211 ErrorCode wallpaperErrorCode = CheckWallpaperFormat(fileRealPath, false, length); in SetWallpaper()
217 int32_t fd = open(fileRealPath.c_str(), O_RDONLY, 0660); in SetWallpaper()
265 std::string fileRealPath; in SetVideo() local
266 if (!FileDeal::GetRealPath(uri, fileRealPath)) { in SetVideo()
272 ErrorCode wallpaperErrorCode = CheckWallpaperFormat(fileRealPath, true, length); in SetVideo()
277 int32_t fd = open(fileRealPath.c_str(), O_RDONLY, 0660); in SetVideo()
297 std::string fileRealPath; in SetCustomWallpaper() local
298 if (!FileDeal::GetRealPath(uri, fileRealPath)) { in SetCustomWallpaper()
[all...]

Completed in 2 milliseconds