Searched refs:mock_policy_provider (Results 1 – 2 of 2) sorted by relevance
1374 auto mock_policy_provider = in ResetRollbackHappenedStart() local1376 EXPECT_CALL(*mock_policy_provider, IsConsumerDevice()) in ResetRollbackHappenedStart()1378 EXPECT_CALL(*mock_policy_provider, device_policy_is_loaded()) in ResetRollbackHappenedStart()1381 EXPECT_CALL(*mock_policy_provider, GetDevicePolicy()) in ResetRollbackHappenedStart()1386 attempter_.policy_provider_ = std::move(mock_policy_provider); in ResetRollbackHappenedStart()
431 auto mock_policy_provider = in TestUpdateCheck() local433 EXPECT_CALL(*mock_policy_provider, IsConsumerDevice()) in TestUpdateCheck()436 EXPECT_CALL(*mock_policy_provider, device_policy_is_loaded()) in TestUpdateCheck()445 EXPECT_CALL(*mock_policy_provider, GetDevicePolicy()) in TestUpdateCheck()447 omaha_request_action->policy_provider_ = std::move(mock_policy_provider); in TestUpdateCheck()