Home
last modified time | relevance | path

Searched refs:mock_policy_provider (Results 1 – 2 of 2) sorted by relevance

/system/update_engine/cros/
Dupdate_attempter_unittest.cc1784 auto mock_policy_provider = in ResetRollbackHappenedStart() local
1786 EXPECT_CALL(*mock_policy_provider, IsConsumerDevice()) in ResetRollbackHappenedStart()
1788 EXPECT_CALL(*mock_policy_provider, device_policy_is_loaded()) in ResetRollbackHappenedStart()
1791 EXPECT_CALL(*mock_policy_provider, GetDevicePolicy()) in ResetRollbackHappenedStart()
1796 attempter_.policy_provider_ = std::move(mock_policy_provider); in ResetRollbackHappenedStart()
Domaha_request_action_unittest.cc527 auto mock_policy_provider = in TestUpdateCheck() local
529 EXPECT_CALL(*mock_policy_provider, IsConsumerDevice()) in TestUpdateCheck()
532 EXPECT_CALL(*mock_policy_provider, device_policy_is_loaded()) in TestUpdateCheck()
543 EXPECT_CALL(*mock_policy_provider, GetDevicePolicy()) in TestUpdateCheck()
545 omaha_request_action->policy_provider_ = std::move(mock_policy_provider); in TestUpdateCheck()