/system/update_engine/ |
D | connection_manager.cc | 67 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in IsUpdateAllowedOver() local 71 if (!device_policy) { in IsUpdateAllowedOver() 75 device_policy = system_state_->device_policy(); in IsUpdateAllowedOver() 79 if (!device_policy) { in IsUpdateAllowedOver() 89 if (device_policy->GetAllowedConnectionTypesForUpdate(&allowed_types)) { in IsUpdateAllowedOver() 112 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in IsAllowedConnectionTypesForUpdateSet() local 113 if (!device_policy) { in IsAllowedConnectionTypesForUpdateSet() 119 if (!device_policy->GetAllowedConnectionTypesForUpdate(&allowed_types)) { in IsAllowedConnectionTypesForUpdateSet()
|
D | common_service.cc | 177 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in SetChannel() local 181 if (!device_policy) { in SetChannel() 185 device_policy = system_state_->device_policy(); in SetChannel() 190 if (device_policy && device_policy->GetReleaseChannelDelegated(&delegated) && in SetChannel()
|
D | update_attempter_unittest.cc | 782 auto device_policy = std::make_unique<policy::MockDevicePolicy>(); in UpdateTestStart() local 783 EXPECT_CALL(*device_policy, LoadPolicy()) in UpdateTestStart() 787 new policy::PolicyProvider(std::move(device_policy))); in UpdateTestStart() 815 auto device_policy = std::make_unique<policy::MockDevicePolicy>(); in RollbackTestStart() local 816 EXPECT_CALL(*device_policy, LoadPolicy()).WillRepeatedly(Return(true)); in RollbackTestStart() 817 fake_system_state_.set_device_policy(device_policy.get()); in RollbackTestStart() 820 EXPECT_CALL(*device_policy, GetOwner(_)) in RollbackTestStart() 824 EXPECT_CALL(*device_policy, GetOwner(_)) in RollbackTestStart() 830 new policy::PolicyProvider(std::move(device_policy))); in RollbackTestStart() 1116 auto device_policy = std::make_unique<policy::MockDevicePolicy>(); in ReadScatterFactorFromPolicyTestStart() local [all …]
|
D | real_system_state.h | 76 const policy::DevicePolicy* device_policy) override { in set_device_policy() argument 77 device_policy_ = device_policy; in set_device_policy() 80 inline const policy::DevicePolicy* device_policy() override { in device_policy() function
|
D | system_state.h | 63 virtual void set_device_policy(const policy::DevicePolicy* device_policy) = 0; 64 virtual const policy::DevicePolicy* device_policy() = 0;
|
D | update_attempter.cc | 314 const policy::DevicePolicy* device_policy = nullptr; in RefreshDevicePolicy() local 316 device_policy = &policy_provider_->GetDevicePolicy(); in RefreshDevicePolicy() 318 if (device_policy) in RefreshDevicePolicy() 323 system_state_->set_device_policy(device_policy); in RefreshDevicePolicy() 324 system_state_->p2p_manager()->SetDevicePolicy(device_policy); in RefreshDevicePolicy() 449 if (system_state_ && system_state_->device_policy()) { in CalculateUpdateParams() 450 if (!system_state_->device_policy()->GetDeviceQuickFixBuildToken(&token)) in CalculateUpdateParams() 500 const policy::DevicePolicy* device_policy = system_state_->device_policy(); in CalculateScatteringParams() local 501 if (device_policy) { in CalculateScatteringParams() 503 device_policy->GetScatterFactorInSeconds(&new_scatter_factor_in_secs); in CalculateScatteringParams() [all …]
|
D | connection_manager_unittest.cc | 277 policy::MockDevicePolicy device_policy; in TEST_F() local 279 fake_system_state_.set_device_policy(&device_policy); in TEST_F() 286 policy::MockDevicePolicy device_policy; in TEST_F() local 288 fake_system_state_.set_device_policy(&device_policy); in TEST_F() 318 policy::MockDevicePolicy device_policy; in TEST_F() local 320 fake_system_state_.set_device_policy(&device_policy); in TEST_F() 325 EXPECT_CALL(device_policy, GetAllowedConnectionTypesForUpdate(_)) in TEST_F()
|
D | fake_system_state.h | 56 const policy::DevicePolicy* device_policy) override { in set_device_policy() argument 57 device_policy_ = device_policy; in set_device_policy() 60 inline const policy::DevicePolicy* device_policy() override { in device_policy() function
|
D | fake_p2p_manager.h | 37 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override {} in SetDevicePolicy() argument
|
D | p2p_manager.h | 67 virtual void SetDevicePolicy(const policy::DevicePolicy* device_policy) = 0;
|
D | p2p_manager.cc | 125 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override; 229 const policy::DevicePolicy* device_policy) { in SetDevicePolicy() argument 230 device_policy_ = device_policy; in SetDevicePolicy()
|
D | omaha_request_action_unittest.cc | 516 const policy::MockDevicePolicy device_policy; in TestUpdateCheck() local 519 EXPECT_CALL(device_policy, GetRollbackAllowedMilestones(_)) in TestUpdateCheck() 525 .WillRepeatedly(ReturnRef(device_policy)); in TestUpdateCheck()
|
D | payload_state.cc | 1257 const policy::DevicePolicy* policy = system_state_->device_policy(); in ComputeCandidateUrls()
|
/system/update_engine/update_manager/ |
D | staging_utils.cc | 39 int GetStagingSchedule(const DevicePolicy* device_policy, in GetStagingSchedule() argument 42 if (!device_policy->GetDeviceUpdateStagingSchedule(&staging_schedule) || in GetStagingSchedule() 100 StagingCase CalculateStagingCase(const DevicePolicy* device_policy, in CalculateStagingCase() argument 106 int max_days = GetStagingSchedule(device_policy, &new_staging_schedule); in CalculateStagingCase()
|
D | staging_utils.h | 55 int GetStagingSchedule(const policy::DevicePolicy* device_policy, 64 StagingCase CalculateStagingCase(const policy::DevicePolicy* device_policy,
|
/system/vold/ |
D | FsCrypt.cpp | 435 EncryptionPolicy device_policy; in fscrypt_initialize_systemwide_keys() local 436 if (!install_storage_key(DATA_MNT_POINT, options, device_key, &device_policy)) return false; in fscrypt_initialize_systemwide_keys() 439 if (!OptionsToString(device_policy.options, &options_string)) { in fscrypt_initialize_systemwide_keys() 447 if (!android::vold::writeStringToFile(device_policy.key_raw_ref, ref_filename)) return false; in fscrypt_initialize_systemwide_keys()
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | service_contexts | 35 device_policy u:object_r:device_policy_service:s0
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | service_contexts | 36 device_policy u:object_r:device_policy_service:s0
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | service_contexts | 38 device_policy u:object_r:device_policy_service:s0
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | service_contexts | 48 device_policy u:object_r:device_policy_service:s0
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | service_contexts | 63 device_policy u:object_r:device_policy_service:s0
|
/system/sepolicy/private/ |
D | service_contexts | 63 device_policy u:object_r:device_policy_service:s0
|