Searched refs:WallpaperManager (Results 1 - 9 of 9) sorted by relevance
/base/theme/wallpaper_mgr/frameworks/native/src/ |
H A D | wallpaper_manager.cpp | 58 WallpaperManager::WallpaperManager() in WallpaperManager() function in OHOS::WallpaperMgrService::WallpaperManager 61 WallpaperManager::~WallpaperManager() in ~WallpaperManager() 69 WallpaperManager &WallpaperManager::GetInstance() in GetInstance() 71 static WallpaperManager wallpaperManager; in GetInstance() 75 WallpaperManager::DeathRecipient::DeathRecipient() in DeathRecipient() 78 WallpaperManager::DeathRecipient::~DeathRecipient() in ~DeathRecipient() 81 void WallpaperManager in ~DeathRecipient() [all...] |
H A D | wallpaper_service_cb_stub.cpp | 57 WallpaperMgrService::WallpaperManager::GetInstance().GetCallback()(num); in OnCall()
|
/base/theme/wallpaper_mgr/test/unittest/ |
H A D | wallpaper_test.cpp | 166 WallpaperManager::GetInstance().ResetWallpaper(SYSTYEM, apiInfo); in TearDownTestCase() 167 WallpaperManager::GetInstance().ResetWallpaper(LOCKSCREEN, apiInfo); in TearDownTestCase() 316 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().ResetWallpaper(SYSTYEM, apiInfo); in HWTEST_F() 330 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().ResetWallpaper(LOCKSCREEN, apiInfo); in HWTEST_F() 344 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().ResetWallpaper(INVALID_WALLPAPER_TYPE, apiInfo); in HWTEST_F() 358 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().ResetWallpaper(SYSTYEM, apiInfo); in HWTEST_F() 362 wallpaperErrorCode = WallpaperManager::GetInstance().ResetWallpaper(SYSTYEM, apiInfo); in HWTEST_F() 376 ErrorCode wallpaperErrorCode = WallpaperManager::GetInstance().ResetWallpaper(LOCKSCREEN, apiInfo); in HWTEST_F() 378 int32_t firstId = WallpaperManager::GetInstance().GetWallpaperId(LOCKSCREEN); in HWTEST_F() 381 wallpaperErrorCode = WallpaperManager in HWTEST_F() [all...] |
H A D | wallpaper_permission_test.cpp | 116 OHOS::WallpaperMgrService::WallpaperManager::GetInstance().ResetWallpaper(LOCKSCREEN, apiInfo); in HWTEST_F() 133 OHOS::WallpaperMgrService::WallpaperManager::GetInstance().GetFile(LOCKSCREEN, wallpaperFd); in HWTEST_F() 151 OHOS::WallpaperMgrService::WallpaperManager::GetInstance().GetPixelMap(LOCKSCREEN, apiInfo, pixelMap); in HWTEST_F() 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/test/fuzztest/wallpapermanager_fuzzer/ |
H A D | wallpaper_manager_fuzzer.cpp | 105 WallpaperMgrService::WallpaperManager::GetInstance().GetColors(wallpaperType, apiInfo, colors); in GetColorsFuzzTest() 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() 139 WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper(uri, wallpaperType, apiInfo); in SetWallpaperByUriFuzzTest() 140 WallpaperMgrService::WallpaperManager::GetInstance().Off("colorChange", listener); in SetWallpaperByUriFuzzTest() 156 WallpaperMgrService::WallpaperManager::GetInstance().On("colorChange", listener); in SetWallpaperByMapFuzzTest() 157 WallpaperMgrService::WallpaperManager::GetInstance().SetWallpaper(pixelMap, wallpaperType, apiInfo); in SetWallpaperByMapFuzzTest() 158 WallpaperMgrService::WallpaperManager::GetInstance().Off("colorChange", listener); in SetWallpaperByMapFuzzTest() 166 WallpaperMgrService::WallpaperManager in GetFileFuzzTest() [all...] |
/base/theme/wallpaper_mgr/frameworks/native/include/ |
H A D | wallpaper_manager.h | 36 class WallpaperManager { class 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;
|
/base/theme/wallpaper_mgr/frameworks/js/napi/ |
H A D | napi_wallpaper_ability.cpp | 82 ErrorCode wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().GetColors( in GetColorsInner() 127 WallpaperMgrService::WallpaperManager::GetInstance().GetWallpaperId(context->wallpaperType); in GetIdInner() 166 ErrorCode wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().GetFile( in GetFileInner() 217 ErrorCode wallpaperErrorCode = WallpaperMgrService::WallpaperManager::GetInstance().GetWallpaperMinHeight( in GetMinHeightInner() 265 WallpaperMgrService::WallpaperManager::GetInstance().GetWallpaperMinWidth(apiInfo, context->minWidth); in GetMinWidthInner() 299 context->isChangePermitted = WallpaperMgrService::WallpaperManager::GetInstance().IsChangePermitted(); in IsChangeAllowedInner() 326 context->isOperationAllowed = WallpaperMgrService::WallpaperManager::GetInstance().IsOperationAllowed(); in IsUserChangeAllowedInner() 377 WallpaperMgrService::WallpaperManager::GetInstance().ResetWallpaper(context->wallpaperType, apiInfo); in RestoreInner() 457 WallpaperMgrService::WallpaperManager::GetInstance().SendEvent(context->eventType); in SendEventInner() 513 WallpaperMgrService::WallpaperManager in SetVideoInner() [all...] |
/base/theme/wallpaper_mgr/frameworks/kits/extension/src/ |
H A D | js_wallpaper_extension_ability.cpp | 240 WallpaperMgrService::WallpaperManager::GetInstance().RegisterWallpaperCallback([](int32_t wallpaperType) -> bool { in RegisterWallpaperCallback()
|
Completed in 6 milliseconds