Searched refs:DefaultPolicy (Results 1 – 6 of 6) sorted by relevance
31 DefaultPolicy::DefaultPolicy(chromeos_update_engine::ClockInterface* clock) in DefaultPolicy() function in chromeos_update_manager::DefaultPolicy34 EvalStatus DefaultPolicy::UpdateCheckAllowed( in UpdateCheckAllowed()56 EvalStatus DefaultPolicy::UpdateCanStart( in UpdateCanStart()76 EvalStatus DefaultPolicy::UpdateDownloadAllowed( in UpdateDownloadAllowed()85 EvalStatus DefaultPolicy::P2PEnabled( in P2PEnabled()94 EvalStatus DefaultPolicy::P2PEnabledChanged( 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()100 DISALLOW_COPY_AND_ASSIGN(DefaultPolicy);
38 &default_policy_, &DefaultPolicy::UpdateCheckAllowed)); in MockPolicy()42 &default_policy_, &DefaultPolicy::UpdateCanStart)); in MockPolicy()46 &default_policy_, &DefaultPolicy::UpdateDownloadAllowed)); in MockPolicy()49 &default_policy_, &DefaultPolicy::P2PEnabled)); in MockPolicy()53 &default_policy_, &DefaultPolicy::P2PEnabledChanged)); in MockPolicy()85 DefaultPolicy default_policy_;
33 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
100 class FailingPolicy : public DefaultPolicy {121 class LazyPolicy : public DefaultPolicy {137 class DelayPolicy : public DefaultPolicy {
146 const DefaultPolicy default_policy_;