Home
last modified time | relevance | path

Searched refs:DevicePolicy (Results 1 – 17 of 17) sorted by relevance

/system/update_engine/update_manager/
Dreal_device_policy_provider.cc35 using policy::DevicePolicy;
110 bool (DevicePolicy::*getter)(T*) const) { in UpdateVariable()
188 vector<DevicePolicy::WeeklyTimeInterval> parsed_intervals; in ConvertDisallowedTimeIntervals()
235 UpdateVariable(&var_release_channel_, &DevicePolicy::GetReleaseChannel); in RefreshDevicePolicy()
237 &DevicePolicy::GetReleaseChannelDelegated); in RefreshDevicePolicy()
238 UpdateVariable(&var_release_lts_tag_, &DevicePolicy::GetReleaseLtsTag); in RefreshDevicePolicy()
239 UpdateVariable(&var_update_disabled_, &DevicePolicy::GetUpdateDisabled); in RefreshDevicePolicy()
241 &DevicePolicy::GetTargetVersionPrefix); in RefreshDevicePolicy()
245 &DevicePolicy::GetRollbackAllowedMilestones); in RefreshDevicePolicy()
257 &DevicePolicy::GetHttpDownloadsEnabled); in RefreshDevicePolicy()
[all …]
Dstaging_utils.h30 using StagingSchedule = std::vector<policy::DevicePolicy::DayPercentagePair>;
55 int GetStagingSchedule(const policy::DevicePolicy* device_policy,
64 StagingCase CalculateStagingCase(const policy::DevicePolicy* device_policy,
Dstaging_utils.cc34 using policy::DevicePolicy;
38 int GetStagingSchedule(const DevicePolicy* device_policy, in GetStagingSchedule()
99 StagingCase CalculateStagingCase(const DevicePolicy* device_policy, in CalculateStagingCase()
Dreal_device_policy_provider.h155 bool (policy::DevicePolicy::*getter)(T*) const);
Dreal_device_policy_provider_unittest.cc44 using policy::DevicePolicy;
365 vector<DevicePolicy::WeeklyTimeInterval> intervals = { in TEST_F()
/system/update_engine/common/
Dsystem_state.h35 class DevicePolicy; variable
69 virtual void set_device_policy(const policy::DevicePolicy* device_policy) = 0;
70 virtual const policy::DevicePolicy* device_policy() = 0;
/system/update_engine/cros/
Dreal_system_state.h63 void set_device_policy(const policy::DevicePolicy* device_policy) override { in set_device_policy()
67 const policy::DevicePolicy* device_policy() override { in device_policy()
135 const policy::DevicePolicy* device_policy_{nullptr};
Dfake_system_state.h67 const policy::DevicePolicy* device_policy) override { in set_device_policy()
71 inline const policy::DevicePolicy* device_policy() override { in device_policy()
300 const policy::DevicePolicy* device_policy_;
Dconnection_manager.cc65 const policy::DevicePolicy* device_policy = in IsUpdateAllowedOver()
111 const policy::DevicePolicy* device_policy = in IsAllowedConnectionTypesForUpdateSet()
Dp2p_manager.h66 virtual void SetDevicePolicy(const policy::DevicePolicy* device_policy) = 0;
Dfake_p2p_manager.h37 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override {} in SetDevicePolicy()
Dmock_p2p_manager.h74 MOCK_METHOD1(SetDevicePolicy, void(const policy::DevicePolicy*));
Dp2p_manager.cc125 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override;
168 const policy::DevicePolicy* device_policy_ = nullptr;
224 const policy::DevicePolicy* device_policy) { in SetDevicePolicy()
Dupdate_attempter.cc324 const policy::DevicePolicy* device_policy = nullptr; in RefreshDevicePolicy()
457 const policy::DevicePolicy* device_policy = in CalculateScatteringParams()
827 const policy::DevicePolicy* device_policy = in Rollback()
1835 const policy::DevicePolicy* device_policy = in ReportTimeToUpdateAppliedMetric()
1838 vector<policy::DevicePolicy::WeeklyTimeInterval> parsed_intervals; in ReportTimeToUpdateAppliedMetric()
Dcommon_service.cc177 const policy::DevicePolicy* device_policy = in SetChannel()
Dpayload_state.cc1235 const policy::DevicePolicy* policy = SystemState::Get()->device_policy(); in ComputeCandidateUrls()
Dupdate_attempter_unittest.cc67 using policy::DevicePolicy;