Lines Matching refs:wallpaperService
159 static bool SubscribeCommonEvent(shared_ptr<WallpaperService> wallpaperService);
287 bool WallpaperTest::SubscribeCommonEvent(shared_ptr<WallpaperService> wallpaperService) in SubscribeCommonEvent() argument
289 subscriber = std::make_shared<WallpaperCommonEventSubscriber>(*wallpaperService); in SubscribeCommonEvent()
938 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>(); variable
939 int32_t userId = wallpaperService->QueryActiveUserId();
984 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>(); variable
985 ErrorCode wallpaperErrorCode = wallpaperService->SetWallpaper(0, 0, -1);
987 wallpaperErrorCode = wallpaperService->SetWallpaper(0, 0, FOO_MAX_LEN);
1001 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>(); variable
1002 bool ret = WallpaperTest::SubscribeCommonEvent(wallpaperService);
1024 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>(); variable
1025 ASSERT_EQ(WallpaperTest::SubscribeCommonEvent(wallpaperService), true);
1047 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>(); variable
1048 wallpaperService->InitServiceHandler();
1049 ASSERT_EQ(WallpaperTest::SubscribeCommonEvent(wallpaperService), true);
1102 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>(); variable
1103 wallpaperService->InitServiceHandler();
1104 ASSERT_EQ(WallpaperTest::SubscribeCommonEvent(wallpaperService), true);
1297 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>(); variable
1298 wallpaperService->state_ = WallpaperService::ServiceRunningState::STATE_RUNNING;
1299 wallpaperService->OnStop();
1300 EXPECT_EQ(wallpaperService->state_, WallpaperService::ServiceRunningState::STATE_NOT_START);
1312 std::shared_ptr<WallpaperService> wallpaperService = std::make_shared<WallpaperService>(); variable
1314 wallpaperService->GetPictureFileName(TEST_USERID1, WALLPAPER_SYSTEM, fileName);
1318 wallpaperService->SetWallpaperBackupData(TEST_USERID1, PICTURE, URI, WALLPAPER_SYSTEM);
1319 wallpaperService->GetPictureFileName(TEST_USERID1, WALLPAPER_SYSTEM, fileName);
1322 wallpaperService->OnRemovedUser(TEST_USERID1);