Home
last modified time | relevance | path

Searched refs:SetWallpaper (Results 1 - 12 of 12) sorted by relevance

/base/theme/wallpaper_mgr/test/unittest/
H A Dwallpaper_test.cpp574 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().SetWallpaper(URI, SYSTYEM, apiInfo); in HWTEST_F()
575 EXPECT_EQ(wallpaperErrorCode, E_OK) << "Failed to SetWallpaper"; in HWTEST_F()
591 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().SetWallpaper(URI, LOCKSCREEN, apiInfo); in HWTEST_F()
592 EXPECT_EQ(wallpaperErrorCode, E_OK) << "Failed to SetWallpaper"; in HWTEST_F()
784 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().SetWallpaper(pixelMap, SYSTYEM, apiInfo); in HWTEST_F()
799 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().SetWallpaper(pixelMap, LOCKSCREEN, apiInfo); in HWTEST_F()
815 WallpaperManager::GetInstance().SetWallpaper(pixelMap, INVALID_WALLPAPER_TYPE, apiInfo); in HWTEST_F()
831 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().SetWallpaper(URI, SYSTYEM, apiInfo); in HWTEST_F()
845 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().SetWallpaper(URI, LOCKSCREEN, apiInfo); in HWTEST_F()
860 WallpaperManager::GetInstance().SetWallpaper(UR in HWTEST_F()
[all...]
H A Dwallpaper_permission_test.cpp169 OHOS::WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper(pixelMap, 2, apiInfo); in HWTEST_F()
186 OHOS::WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper(URI, LOCKSCREEN, apiInfo); in HWTEST_F()
/base/theme/wallpaper_mgr/frameworks/native/include/
H A Dwallpaper_manager.h50 ErrorCode SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo);
58 ErrorCode SetWallpaper(
H A Di_wallpaper_service.h53 virtual ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) = 0;
H A Dwallpaper_service_proxy.h36 ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) override;
/base/theme/wallpaper_mgr/services/include/
H A Dwallpaper_service.h66 ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) override;
136 ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length, WallpaperResourceType resourceType);
/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/
H A Dwallpaper_manager_fuzzer.cpp139 WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper(uri, wallpaperType, apiInfo); in SetWallpaperByUriFuzzTest()
157 WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper(pixelMap, wallpaperType, apiInfo); in SetWallpaperByMapFuzzTest()
/base/theme/wallpaper_mgr/frameworks/native/src/
H A Dwallpaper_manager.cpp197 ErrorCode WallpaperManager::SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo) in SetWallpaper() function in OHOS::WallpaperMgrService::WallpaperManager
223 StartAsyncTrace(HITRACE_TAG_MISC, "SetWallpaper", static_cast<int32_t>(TraceTaskId::SET_WALLPAPER)); in SetWallpaper()
227 wallpaperErrorCode = wallpaperServerProxy->SetWallpaper(fd, wallpaperType, length); in SetWallpaper()
233 FinishAsyncTrace(HITRACE_TAG_MISC, "SetWallpaper", static_cast<int32_t>(TraceTaskId::SET_WALLPAPER)); in SetWallpaper()
237 ErrorCode WallpaperManager::SetWallpaper( in SetWallpaper() function in OHOS::WallpaperMgrService::WallpaperManager
H A Dwallpaper_service_proxy.cpp94 ErrorCode WallpaperServiceProxy::SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) in SetWallpaper() function in OHOS::WallpaperMgrService::WallpaperServiceProxy
107 HILOG_DEBUG("WallpaperServiceProxy::SetWallpaper --> start."); in SetWallpaperInner()
132 HILOG_ERROR("WallpaperCallbackProxy::SetWallpaper fail, result = %{public}d.", result); in SetWallpaperInner()
156 HILOG_DEBUG("WallpaperServiceProxy::SetWallpaper --> start."); in SetWallpaperInnerByPixelMap()
182 HILOG_ERROR("WallpaperCallbackProxy::SetWallpaper fail, result = %{public}d!", result); in SetWallpaperInnerByPixelMap()
/base/theme/wallpaper_mgr/services/src/
H A Dwallpaper_service.cpp656 ErrorCode WallpaperService::SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) in SetWallpaper() function in OHOS::WallpaperMgrService::WallpaperService
658 StartAsyncTrace(HITRACE_TAG_MISC, "SetWallpaper", static_cast<int32_t>(TraceTaskId::SET_WALLPAPER)); in SetWallpaper()
659 ErrorCode wallpaperErrorCode = SetWallpaper(fd, wallpaperType, length, PICTURE); in SetWallpaper()
660 FinishAsyncTrace(HITRACE_TAG_MISC, "SetWallpaper", static_cast<int32_t>(TraceTaskId::SET_WALLPAPER)); in SetWallpaper()
671 StartAsyncTrace(HITRACE_TAG_MISC, "SetWallpaper", static_cast<int32_t>(TraceTaskId::SET_WALLPAPER)); in SetWallpaperByPixelMap()
673 FinishAsyncTrace(HITRACE_TAG_MISC, "SetWallpaper", static_cast<int32_t>(TraceTaskId::SET_WALLPAPER)); in SetWallpaperByPixelMap()
683 return SetWallpaper(fd, wallpaperType, length); in SetWallpaperV9()
847 ErrorCode wallpaperErrorCode = SetWallpaper(fd, wallpaperType, length, VIDEO); in SetVideo()
859 HILOG_ERROR("SetWallpaper no set permission!"); in SetCustomWallpaper()
881 ErrorCode wallpaperErrorCode = SetWallpaper(f in SetCustomWallpaper()
1274 ErrorCode WallpaperService::SetWallpaper( SetWallpaper() function in OHOS::WallpaperMgrService::WallpaperService
[all...]
H A Dwallpaper_service_stub.cpp128 HILOG_DEBUG("WallpaperServiceStub::SetWallpaper start."); in OnSetWallpaperInner()
140 wallpaperErrorCode = SetWallpaper(fd, wallpaperType, length); in OnSetWallpaperInner()
162 HILOG_DEBUG("WallpaperServiceStub::SetWallpaper start."); in OnSetWallpaperInnerByPixelMap()
/base/theme/wallpaper_mgr/frameworks/js/napi/
H A Dnapi_wallpaper_ability.cpp582 wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper( in SetImageExec()
587 wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper( in SetImageExec()

Completed in 11 milliseconds