Lines Matching defs:result
120 bool ScreenLockServiceTest::ExecuteCmd(const std::string &cmd, std::string &result)
138 result = std::string(output);
332 std::string result;
333 auto ret = ScreenLockServiceTest::ExecuteCmd(CMD1, result);
347 std::string result;
348 auto ret = ScreenLockServiceTest::ExecuteCmd(CMD2, result);
362 std::string result;
363 auto ret = ScreenLockServiceTest::ExecuteCmd(CMD3, result);
384 int32_t result = ScreenLockSystemAbility::GetInstance()->Lock(listener);
385 EXPECT_EQ(result, E_SCREENLOCK_OK);
387 result = ScreenLockSystemAbility::GetInstance()->Lock(listener);
388 EXPECT_EQ(result, E_SCREENLOCK_OK);
404 int32_t result = ScreenLockSystemAbility::GetInstance()->UnlockScreen(listener);
405 EXPECT_EQ(result, E_SCREENLOCK_NOT_FOCUS_APP);
406 result = ScreenLockSystemAbility::GetInstance()->Unlock(listener);
407 EXPECT_EQ(result, E_SCREENLOCK_NOT_FOCUS_APP);
409 result = ScreenLockSystemAbility::GetInstance()->Unlock(listener);
410 EXPECT_EQ(result, E_SCREENLOCK_NOT_FOCUS_APP);
573 int32_t result = ScreenLockSystemAbility::GetInstance()->Lock(userId);
574 EXPECT_EQ(result, E_SCREENLOCK_OK);
649 int result = ScreenLockSystemAbility::GetInstance()->Dump(fd, args);
650 EXPECT_EQ(result, ERR_OK);