HomeSort by relevance Sort by last modified time
    Searched refs:device_policy (Results 1 - 18 of 18) sorted by null

  /external/libbrillo/policy/
libpolicy.cc 9 #include "policy/device_policy.h"
24 PolicyProvider::PolicyProvider(DevicePolicy* device_policy)
25 : device_policy_(device_policy),
libpolicy.h 29 explicit PolicyProvider(DevicePolicy* device_policy);
  /system/update_engine/
common_service.cc 28 #include <policy/device_policy.h>
146 const policy::DevicePolicy* device_policy = system_state_->device_policy(); local
148 // The device_policy is loaded in a lazy way before an update check. Load it
150 if (!device_policy) {
154 device_policy = system_state_->device_policy();
159 if (device_policy && device_policy->GetReleaseChannelDelegated(&delegated) &&
222 const policy::DevicePolicy* device_policy = system_state_->device_policy() local
    [all...]
system_state.h 69 virtual void set_device_policy(const policy::DevicePolicy* device_policy) = 0;
70 virtual const policy::DevicePolicy* device_policy() = 0;
real_system_state.h 27 #include <policy/device_policy.h>
74 const policy::DevicePolicy* device_policy) override {
75 device_policy_ = device_policy;
78 inline const policy::DevicePolicy* device_policy() override {
p2p_manager.h 27 #include <policy/device_policy.h>
65 // Use the device policy specified by |device_policy|. If this is
67 virtual void SetDevicePolicy(const policy::DevicePolicy* device_policy) = 0;
update_attempter_unittest.cc 402 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy(); local
403 attempter_.policy_provider_.reset(new policy::PolicyProvider(device_policy));
404 EXPECT_CALL(*device_policy, LoadPolicy())
444 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy(); local
445 attempter_.policy_provider_.reset(new policy::PolicyProvider(device_policy));
447 EXPECT_CALL(*device_policy, LoadPolicy()).WillRepeatedly(Return(true));
448 fake_system_state_.set_device_policy(device_policy);
468 EXPECT_CALL(*device_policy, GetOwner(_)).WillRepeatedly(
473 EXPECT_CALL(*device_policy, GetOwner(_)).WillRepeatedly(
748 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy() local
786 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy(); local
845 policy::MockDevicePolicy* device_policy = new policy::MockDevicePolicy(); local
    [all...]
connection_manager.cc 24 #include <policy/device_policy.h>
82 const policy::DevicePolicy* device_policy = local
83 system_state_->device_policy();
85 // A device_policy is loaded in a lazy way right before an update check,
86 // so the device_policy should be already loaded at this point. If it's
88 if (!device_policy) {
94 if (device_policy->GetAllowedConnectionTypesForUpdate(&allowed_types)) {
fake_p2p_manager.h 37 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override {}
fake_system_state.h 56 const policy::DevicePolicy* device_policy) override {
57 device_policy_ = device_policy;
60 inline const policy::DevicePolicy* device_policy() override {
update_attempter.cc 38 #include <policy/device_policy.h>
319 const policy::DevicePolicy* device_policy = nullptr; local
321 device_policy = &policy_provider_->GetDevicePolicy();
323 if (device_policy)
328 system_state_->set_device_policy(device_policy);
329 system_state_->p2p_manager()->SetDevicePolicy(device_policy);
468 const policy::DevicePolicy* device_policy = system_state_->device_policy(); local
469 if (device_policy) {
471 device_policy->GetScatterFactorInSeconds(&new_scatter_factor_in_secs)
701 const policy::DevicePolicy* device_policy = system_state_->device_policy(); local
    [all...]
omaha_request_params.cc 32 #include <policy/device_policy.h>
omaha_response_handler_action.cc 23 #include <policy/device_policy.h>
p2p_manager.cc 125 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override;
234 const policy::DevicePolicy* device_policy) {
235 device_policy_ = device_policy;
payload_state.cc 26 #include <policy/device_policy.h>
    [all...]
  /external/libbrillo/policy/tests/
libpolicy_unittest.cc 52 MockDevicePolicyImpl* device_policy = local
54 PolicyProvider provider(device_policy);
162 MockDevicePolicyImpl* device_policy = local
164 PolicyProvider provider(device_policy);
205 MockDevicePolicyImpl* device_policy = local
207 PolicyProvider provider(device_policy);
  /system/update_engine/update_manager/
real_device_policy_provider.cc 24 #include <policy/device_policy.h>
  /external/libbrillo/
Android.mk 79 policy/device_policy.cc \

Completed in 911 milliseconds