Home | History | Annotate | Download | only in update_engine

Lines Matching refs:device_policy

402   policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy();
403 attempter_.policy_provider_.reset(new policy::PolicyProvider(device_policy));
404 EXPECT_CALL(*device_policy, LoadPolicy())
444 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy();
445 attempter_.policy_provider_.reset(new policy::PolicyProvider(device_policy));
447 EXPECT_CALL(*device_policy, LoadPolicy()).WillRepeatedly(Return(true));
448 fake_system_state_.set_device_policy(device_policy);
468 EXPECT_CALL(*device_policy, GetOwner(_)).WillRepeatedly(
473 EXPECT_CALL(*device_policy, GetOwner(_)).WillRepeatedly(
748 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy();
749 attempter_.policy_provider_.reset(new policy::PolicyProvider(device_policy));
751 EXPECT_CALL(*device_policy, LoadPolicy()).WillRepeatedly(Return(true));
752 fake_system_state_.set_device_policy(device_policy);
754 EXPECT_CALL(*device_policy, GetScatterFactorInSeconds(_))
786 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy();
787 attempter_.policy_provider_.reset(new policy::PolicyProvider(device_policy));
789 EXPECT_CALL(*device_policy, LoadPolicy()).WillRepeatedly(Return(true));
790 fake_system_state_.set_device_policy(device_policy);
792 EXPECT_CALL(*device_policy, GetScatterFactorInSeconds(_))
845 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy();
846 attempter_.policy_provider_.reset(new policy::PolicyProvider(device_policy));
848 EXPECT_CALL(*device_policy, LoadPolicy()).WillRepeatedly(Return(true));
849 fake_system_state_.set_device_policy(device_policy);
851 EXPECT_CALL(*device_policy, GetScatterFactorInSeconds(_))