Home
last modified time | relevance | path

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

/base/theme/wallpaper_mgr/services/src/
Dwallpaper_service_stub.cpp238 int32_t wallpaperFd = INVALID_FD; in OnGetFile() local
239 ErrorCode wallpaperErrorCode = GetFile(wallpaperType, wallpaperFd); in OnGetFile()
242 if (wallpaperFd > INVALID_FD) { in OnGetFile()
243 close(wallpaperFd); in OnGetFile()
247 if (wallpaperErrorCode == E_OK && !reply.WriteFileDescriptor(wallpaperFd)) { in OnGetFile()
249 close(wallpaperFd); in OnGetFile()
252 if (wallpaperFd > INVALID_FD) { in OnGetFile()
253 close(wallpaperFd); in OnGetFile()
Dwallpaper_service.cpp596 ErrorCode WallpaperService::GetFile(int32_t wallpaperType, int32_t &wallpaperFd) in GetFile() argument
610 wallpaperFd = -1; // -1: invalid file description in GetFile()
614 ErrorCode ret = GetImageFd(userId, type, wallpaperFd); in GetFile()
615 HILOG_INFO("GetImageFd fd:%{public}d, ret:%{public}d", wallpaperFd, ret); in GetFile()
/base/theme/wallpaper_mgr/test/unittest/
Dwallpaper_permission_test.cpp131 int32_t wallpaperFd = 0; variable
133 … OHOS::WallpaperMgrService::WallpaperManagerkits::GetInstance().GetFile(LOCKSCREEN, wallpaperFd);
Dwallpaper_test.cpp595 int32_t wallpaperFd = 0; variable
596 … ErrorCode wallpaperErrorCode = WallpaperManagerkits::GetInstance().GetFile(SYSTYEM, wallpaperFd);
609 int32_t wallpaperFd = 0; variable
610 …rrorCode wallpaperErrorCode = WallpaperManagerkits::GetInstance().GetFile(LOCKSCREEN, wallpaperFd);
623 int32_t wallpaperFd = 0; variable
624 …lpaperErrorCode = WallpaperManagerkits::GetInstance().GetFile(INVALID_WALLPAPER_TYPE, wallpaperFd);
638 int32_t wallpaperFd = 0; variable
639 … ErrorCode wallpaperErrorCode = WallpaperManagerkits::GetInstance().GetFile(SYSTYEM, wallpaperFd);
/base/theme/wallpaper_mgr/frameworks/native/include/
Di_wallpaper_service.h62 virtual ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) = 0;
Dwallpaper_manager_kits.h88 virtual ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) = 0;
Dwallpaper_service_proxy.h39 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) override;
Dwallpaper_manager.h85 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) final;
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/
Dwallpaper_manager_fuzzer.cpp166 int32_t wallpaperFd = 0; in GetFileFuzzTest() local
167 WallpaperMgrService::WallpaperManagerkits::GetInstance().GetFile(wallpaperType, wallpaperFd); in GetFileFuzzTest()
/base/theme/wallpaper_mgr/frameworks/native/src/
Dwallpaper_manager.cpp156 ErrorCode WallpaperManager::GetFile(int32_t wallpaperType, int32_t &wallpaperFd) in GetFile() argument
169 ErrorCode wallpaperErrorCode = wallpaperServerProxy->GetFile(wallpaperType, wallpaperFd); in GetFile()
170 if (wallpaperErrorCode == E_OK && wallpaperFd != -1) { in GetFile()
171 wallpaperFdMap_.insert(std::pair<int32_t, int32_t>(wallpaperType, wallpaperFd)); in GetFile()
Dwallpaper_service_proxy.cpp67 ErrorCode WallpaperServiceProxy::GetFile(int32_t wallpaperType, int32_t &wallpaperFd) in GetFile() argument
90 wallpaperFd = reply.ReadFileDescriptor(); in GetFile()
/base/theme/wallpaper_mgr/services/include/
Dwallpaper_service.h71 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) override;
/base/theme/wallpaper_mgr/frameworks/js/napi/
Dnapi_wallpaper_ability.cpp166 napi_create_int32(env, context->wallpaperFd, &data); in GetFileInner()
175 context->wallpaperFd); in GetFileInner()
176 if (wallpaperErrorCode == E_OK && context->wallpaperFd >= 0) { in GetFileInner()
187 HILOG_DEBUG("exec GetFile fd: %{public}d", context->wallpaperFd); in GetFileInner()
Dnapi_wallpaper_ability.h148 int32_t wallpaperFd = INVALID_FD; member