Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Ddefault_policy.cc31 DefaultPolicy::DefaultPolicy(chromeos_update_engine::ClockInterface* clock) in DefaultPolicy() function in chromeos_update_manager::DefaultPolicy
34 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()
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()
100 DISALLOW_COPY_AND_ASSIGN(DefaultPolicy);
Dmock_policy.h38 &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_;
Dfake_update_manager.h33 set_policy(new DefaultPolicy(clock)); in FakeUpdateManager()
Dupdate_manager_unittest.cc100 class FailingPolicy : public DefaultPolicy {
121 class LazyPolicy : public DefaultPolicy {
137 class DelayPolicy : public DefaultPolicy {
Dupdate_manager.h146 const DefaultPolicy default_policy_;