Lines Matching defs:wallpaperService

141     static bool SubscribeCommonEvent(shared_ptr<WallpaperService> wallpaperService);
269 bool WallpaperTest::SubscribeCommonEvent(shared_ptr<WallpaperService> wallpaperService)
271 subscriber = std::make_shared<WallpaperCommonEventSubscriber>(*wallpaperService);
921 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>();
922 int32_t userId = wallpaperService->QueryActiveUserId();
967 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>();
968 ErrorCode wallpaperErrorCode = wallpaperService->SetWallpaper(0, 0, -1);
970 wallpaperErrorCode = wallpaperService->SetWallpaper(0, 0, FOO_MAX_LEN);
984 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>();
985 bool ret = WallpaperTest::SubscribeCommonEvent(wallpaperService);
1007 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>();
1008 ASSERT_EQ(WallpaperTest::SubscribeCommonEvent(wallpaperService), true);
1030 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>();
1031 wallpaperService->InitServiceHandler();
1032 ASSERT_EQ(WallpaperTest::SubscribeCommonEvent(wallpaperService), true);
1085 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>();
1086 wallpaperService->InitServiceHandler();
1087 ASSERT_EQ(WallpaperTest::SubscribeCommonEvent(wallpaperService), true);
1280 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>();
1281 wallpaperService->state_ = WallpaperService::ServiceRunningState::STATE_RUNNING;
1282 wallpaperService->OnStop();
1283 EXPECT_EQ(wallpaperService->state_, WallpaperService::ServiceRunningState::STATE_NOT_START);
1295 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>();
1297 wallpaperService->GetPictureFileName(TEST_USERID1, WALLPAPER_SYSTEM, fileName);
1301 wallpaperService->SetWallpaperBackupData(TEST_USERID1, PICTURE, URI, WALLPAPER_SYSTEM);
1302 wallpaperService->GetPictureFileName(TEST_USERID1, WALLPAPER_SYSTEM, fileName);
1305 wallpaperService->OnRemovedUser(TEST_USERID1);