/base/theme/wallpaper_mgr/services/src/ |
D | wallpaper_service_stub.cpp | 238 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()
|
D | wallpaper_service.cpp | 596 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/ |
D | wallpaper_permission_test.cpp | 131 int32_t wallpaperFd = 0; variable 133 … OHOS::WallpaperMgrService::WallpaperManagerkits::GetInstance().GetFile(LOCKSCREEN, wallpaperFd);
|
D | wallpaper_test.cpp | 595 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/ |
D | i_wallpaper_service.h | 62 virtual ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) = 0;
|
D | wallpaper_manager_kits.h | 88 virtual ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) = 0;
|
D | wallpaper_service_proxy.h | 39 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) override;
|
D | wallpaper_manager.h | 85 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) final;
|
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/ |
D | wallpaper_manager_fuzzer.cpp | 166 int32_t wallpaperFd = 0; in GetFileFuzzTest() local 167 WallpaperMgrService::WallpaperManagerkits::GetInstance().GetFile(wallpaperType, wallpaperFd); in GetFileFuzzTest()
|
/base/theme/wallpaper_mgr/frameworks/native/src/ |
D | wallpaper_manager.cpp | 156 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()
|
D | wallpaper_service_proxy.cpp | 67 ErrorCode WallpaperServiceProxy::GetFile(int32_t wallpaperType, int32_t &wallpaperFd) in GetFile() argument 90 wallpaperFd = reply.ReadFileDescriptor(); in GetFile()
|
/base/theme/wallpaper_mgr/services/include/ |
D | wallpaper_service.h | 71 ErrorCode GetFile(int32_t wallpaperType, int32_t &wallpaperFd) override;
|
/base/theme/wallpaper_mgr/frameworks/js/napi/ |
D | napi_wallpaper_ability.cpp | 166 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()
|
D | napi_wallpaper_ability.h | 148 int32_t wallpaperFd = INVALID_FD; member
|