Searched refs:DefaultPolicy (Results 1 – 6 of 6) sorted by relevance
34 DefaultPolicy::DefaultPolicy(chromeos_update_engine::ClockInterface* clock) in DefaultPolicy() function in chromeos_update_manager::DefaultPolicy37 EvalStatus DefaultPolicy::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed()62 EvalStatus DefaultPolicy::UpdateCanBeApplied(EvaluationContext* ec, in UpdateCanBeApplied()71 EvalStatus DefaultPolicy::UpdateCanStart(EvaluationContext* ec, in UpdateCanStart()90 EvalStatus DefaultPolicy::UpdateDownloadAllowed(EvaluationContext* ec, in UpdateDownloadAllowed()98 EvalStatus DefaultPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled()106 EvalStatus DefaultPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged()
61 class DefaultPolicy : public Policy {63 explicit DefaultPolicy(chromeos_update_engine::ClockInterface* clock);64 DefaultPolicy() : DefaultPolicy(nullptr) {} in DefaultPolicy() function65 ~DefaultPolicy() override {} in ~DefaultPolicy()113 DISALLOW_COPY_AND_ASSIGN(DefaultPolicy);
38 &DefaultPolicy::UpdateCheckAllowed)); in MockPolicy()43 &DefaultPolicy::UpdateCanBeApplied)); in MockPolicy()48 testing::Invoke(&default_policy_, &DefaultPolicy::UpdateCanStart)); in MockPolicy()53 &DefaultPolicy::UpdateDownloadAllowed)); in MockPolicy()56 testing::Invoke(&default_policy_, &DefaultPolicy::P2PEnabled)); in MockPolicy()61 &DefaultPolicy::P2PEnabledChanged)); in MockPolicy()102 DefaultPolicy default_policy_;
35 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
102 class FailingPolicy : public DefaultPolicy {124 class LazyPolicy : public DefaultPolicy {141 class DelayPolicy : public DefaultPolicy {
160 const DefaultPolicy default_policy_;