Home
last modified time | relevance | path

Searched refs:DefaultPolicy (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/update_manager/
Ddefault_policy.cc34 DefaultPolicy::DefaultPolicy(chromeos_update_engine::ClockInterface* clock) in DefaultPolicy() function in chromeos_update_manager::DefaultPolicy
37 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()
Ddefault_policy.h61 class DefaultPolicy : public Policy {
63 explicit DefaultPolicy(chromeos_update_engine::ClockInterface* clock);
64 DefaultPolicy() : DefaultPolicy(nullptr) {} in DefaultPolicy() function
65 ~DefaultPolicy() override {} in ~DefaultPolicy()
113 DISALLOW_COPY_AND_ASSIGN(DefaultPolicy);
Dmock_policy.h38 &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_;
Dfake_update_manager.h35 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
Dupdate_manager_unittest.cc102 class FailingPolicy : public DefaultPolicy {
124 class LazyPolicy : public DefaultPolicy {
141 class DelayPolicy : public DefaultPolicy {
Dupdate_manager.h160 const DefaultPolicy default_policy_;