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

  /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/
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)) {
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...]
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...]
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)
700 const policy::DevicePolicy* device_policy = system_state_->device_policy(); local
    [all...]

Completed in 4478 milliseconds