Home
last modified time | relevance | path

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

/system/update_engine/update_manager/
Dmock_policy.h37 &DefaultPolicy::UpdateCheckAllowed)); in MockPolicy()
42 &DefaultPolicy::UpdateCanBeApplied)); in MockPolicy()
47 testing::Invoke(&default_policy_, &DefaultPolicy::UpdateCanStart)); in MockPolicy()
50 testing::Invoke(&default_policy_, &DefaultPolicy::P2PEnabled)); in MockPolicy()
55 &DefaultPolicy::P2PEnabledChanged)); in MockPolicy()
94 DefaultPolicy default_policy_;
Ddefault_policy.cc36 EvalStatus DefaultPolicy::UpdateCheckAllowed(EvaluationContext* ec, in UpdateCheckAllowed()
64 EvalStatus DefaultPolicy::UpdateCanBeApplied(EvaluationContext* ec, in UpdateCanBeApplied()
73 EvalStatus DefaultPolicy::UpdateCanStart(EvaluationContext* ec, in UpdateCanStart()
92 EvalStatus DefaultPolicy::P2PEnabled(EvaluationContext* ec, in P2PEnabled()
100 EvalStatus DefaultPolicy::P2PEnabledChanged(EvaluationContext* ec, in P2PEnabledChanged()
Ddefault_policy.h60 class DefaultPolicy : public Policy {
62 DefaultPolicy() : aux_state_(new DefaultPolicyState()) {} in DefaultPolicy() function
63 ~DefaultPolicy() override = default;
103 DISALLOW_COPY_AND_ASSIGN(DefaultPolicy);
Dfake_update_manager.h34 set_policy(new DefaultPolicy()); in FakeUpdateManager()
Dupdate_manager_unittest.cc101 class FailingPolicy : public DefaultPolicy {
123 class LazyPolicy : public DefaultPolicy {
140 class DelayPolicy : public DefaultPolicy {
Dupdate_manager.h159 const DefaultPolicy default_policy_;