/base/theme/wallpaper_mgr/test/unittest/ |
H A D | wallpaper_test.cpp | 574 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 D | wallpaper_permission_test.cpp | 169 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 D | wallpaper_manager.h | 50 ErrorCode SetWallpaper(std::string uri, int32_t wallpaperType, const ApiInfo &apiInfo); 58 ErrorCode SetWallpaper(
|
H A D | i_wallpaper_service.h | 53 virtual ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) = 0;
|
H A D | wallpaper_service_proxy.h | 36 ErrorCode SetWallpaper(int32_t fd, int32_t wallpaperType, int32_t length) override;
|
/base/theme/wallpaper_mgr/services/include/ |
H A D | wallpaper_service.h | 66 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 D | wallpaper_manager_fuzzer.cpp | 139 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 D | wallpaper_manager.cpp | 197 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 D | wallpaper_service_proxy.cpp | 94 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 D | wallpaper_service.cpp | 656 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 D | wallpaper_service_stub.cpp | 128 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 D | napi_wallpaper_ability.cpp | 582 wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper( in SetImageExec() 587 wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper( in SetImageExec()
|