Searched refs:WallpaperManager (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/base/theme/wallpaper_mgr/test/unittest/ |
H A D | wallpaper_test.cpp | 184 WallpaperManager::GetInstance().ResetWallpaper(SYSTYEM, apiInfo); in TearDownTestCase() 185 WallpaperManager::GetInstance().ResetWallpaper(LOCKSCREEN, apiInfo); in TearDownTestCase() 433 EXPECT_EQ(WallpaperManager::GetInstance().IsChangePermitted(), true); 449 EXPECT_EQ(WallpaperManager::GetInstance().IsOperationAllowed(), true); 560 int32_t id = WallpaperManager::GetInstance().GetWallpaperId(SYSTYEM); 577 int32_t id = WallpaperManager::GetInstance().GetWallpaperId(LOCKSCREEN); 594 int32_t id = WallpaperManager::GetInstance().GetWallpaperId(SYSTYEM); 611 int32_t id = WallpaperManager::GetInstance().GetWallpaperId(LOCKSCREEN); 937 WallpaperManager::GetInstance().ResetWallpaper(LOCKSCREEN, apiInfo); 943 WallpaperManager::GetInstance().SetWallpaper(URI, LOCKSCREEN, apiInfo); [all …]
|
H A D | wallpaper_permission_test.cpp | 116 … OHOS::WallpaperMgrService::WallpaperManager::GetInstance().ResetWallpaper(LOCKSCREEN, apiInfo); 133 OHOS::WallpaperMgrService::WallpaperManager::GetInstance().GetFile(LOCKSCREEN, wallpaperFd); 151 …OHOS::WallpaperMgrService::WallpaperManager::GetInstance().GetPixelMap(LOCKSCREEN, apiInfo, pixelM… 169 … OHOS::WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper(pixelMap, 2, apiInfo); 186 … OHOS::WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper(URI, LOCKSCREEN, apiInfo);
|
/ohos5.0/base/theme/wallpaper_mgr/frameworks/native/src/ |
H A D | wallpaper_manager.cpp | 59 WallpaperManager::WallpaperManager() in WallpaperManager() function in OHOS::WallpaperMgrService::WallpaperManager 62 WallpaperManager::~WallpaperManager() in ~WallpaperManager() 70 WallpaperManager &WallpaperManager::GetInstance() in GetInstance() 72 static WallpaperManager wallpaperManager; in GetInstance() 76 WallpaperManager::DeathRecipient::DeathRecipient() in DeathRecipient() 238 ErrorCode WallpaperManager::SetWallpaper( in SetWallpaper() 325 ErrorCode WallpaperManager::GetPixelMap( in GetPixelMap() 428 bool WallpaperManager::IsChangePermitted() in IsChangePermitted() 438 bool WallpaperManager::IsOperationAllowed() in IsOperationAllowed() 509 JScallback WallpaperManager::GetCallback() in GetCallback() [all …]
|
H A D | wallpaper_service_cb_stub.cpp | 57 WallpaperMgrService::WallpaperManager::GetInstance().GetCallback()(num); in OnCall()
|
/ohos5.0/base/theme/wallpaper_mgr/test/fuzztest/wallpapermanager_fuzzer/ |
H A D | wallpaper_manager_fuzzer.cpp | 112 WallpaperMgrService::WallpaperManager::GetInstance().GetWallpaperId(wallpaperType); in GetWallpaperIdFuzzTest() 123 WallpaperMgrService::WallpaperManager::GetInstance().ResetWallpaper(wallpaperType, apiInfo); in ResetWallpaperFuzzTest() 138 WallpaperMgrService::WallpaperManager::GetInstance().On("colorChange", listener); in SetWallpaperByUriFuzzTest() 140 WallpaperMgrService::WallpaperManager::GetInstance().Off("colorChange", listener); in SetWallpaperByUriFuzzTest() 156 WallpaperMgrService::WallpaperManager::GetInstance().On("colorChange", listener); in SetWallpaperByMapFuzzTest() 158 WallpaperMgrService::WallpaperManager::GetInstance().Off("colorChange", listener); in SetWallpaperByMapFuzzTest() 166 WallpaperMgrService::WallpaperManager::GetInstance().GetFile(wallpaperType, wallpaperFd); in GetFileFuzzTest() 180 WallpaperMgrService::WallpaperManager::GetInstance().IsChangePermitted(); in WallpaperManagerFuzzTest() 181 WallpaperMgrService::WallpaperManager::GetInstance().IsOperationAllowed(); in WallpaperManagerFuzzTest() 203 WallpaperMgrService::WallpaperManager::GetInstance().SetVideo(uri, wallpaperType); in SetVideoFuzzTest() [all …]
|
/ohos5.0/base/theme/wallpaper_mgr/frameworks/native/include/ |
H A D | wallpaper_manager.h | 36 class WallpaperManager { 37 WallpaperManager(); 38 ~WallpaperManager(); 41 DISALLOW_COPY_AND_MOVE(WallpaperManager); 42 static WallpaperManager &GetInstance();
|
H A D | wallpaper_service_cb_stub.h | 26 class WallpaperManager; variable
|
/ohos5.0/base/theme/wallpaper_mgr/frameworks/js/napi/ |
H A D | napi_wallpaper_ability.cpp | 81 … ErrorCode wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().GetColors( in GetColorsInner() 126 … WallpaperMgrService::WallpaperManager::GetInstance().GetWallpaperId(context->wallpaperType); in GetIdInner() 165 ErrorCode wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().GetFile( in GetFileInner() 298 …context->isChangePermitted = WallpaperMgrService::WallpaperManager::GetInstance().IsChangePermitte… in IsChangeAllowedInner() 456 WallpaperMgrService::WallpaperManager::GetInstance().SendEvent(context->eventType); in SendEventInner() 581 … wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper( in SetImageExec() 586 wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper( in SetImageExec() 654 … ErrorCode wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().GetPixelMap( in GetImageInner() 716 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().GetCorrespondWallpaper( in GetCorrespondWallpaperInner() 767 ErrorCode errorCode = WallpaperMgrService::WallpaperManager::GetInstance().On(type, listener); in NAPI_On() [all …]
|
/ohos5.0/base/theme/wallpaper_mgr/frameworks/kits/extension/src/ |
H A D | js_wallpaper_extension_ability.cpp | 240 …WallpaperMgrService::WallpaperManager::GetInstance().RegisterWallpaperCallback([](int32_t wallpape… in RegisterWallpaperCallback()
|