/system/update_engine/cros/ |
D | connection_manager.cc | 65 const policy::DevicePolicy* device_policy = in IsUpdateAllowedOver() local 66 SystemState::Get()->device_policy(); in IsUpdateAllowedOver() 70 if (!device_policy) { in IsUpdateAllowedOver() 74 device_policy = SystemState::Get()->device_policy(); in IsUpdateAllowedOver() 78 if (!device_policy) { in IsUpdateAllowedOver() 88 if (device_policy->GetAllowedConnectionTypesForUpdate(&allowed_types)) { in IsUpdateAllowedOver() 111 const policy::DevicePolicy* device_policy = in IsAllowedConnectionTypesForUpdateSet() local 112 SystemState::Get()->device_policy(); in IsAllowedConnectionTypesForUpdateSet() 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 = in SetChannel() local 178 SystemState::Get()->device_policy(); in SetChannel() 182 if (!device_policy) { in SetChannel() 186 device_policy = SystemState::Get()->device_policy(); in SetChannel() 191 if (device_policy && device_policy->GetReleaseChannelDelegated(&delegated) && in SetChannel()
|
D | real_system_state.h | 63 void set_device_policy(const policy::DevicePolicy* device_policy) override { in set_device_policy() argument 64 device_policy_ = device_policy; in set_device_policy() 67 const policy::DevicePolicy* device_policy() override { in device_policy() function
|
D | connection_manager_unittest.cc | 277 policy::MockDevicePolicy device_policy; in TEST_F() local 279 FakeSystemState::Get()->set_device_policy(&device_policy); in TEST_F() 286 policy::MockDevicePolicy device_policy; in TEST_F() local 288 FakeSystemState::Get()->set_device_policy(&device_policy); in TEST_F() 318 policy::MockDevicePolicy device_policy; in TEST_F() local 320 FakeSystemState::Get()->set_device_policy(&device_policy); in TEST_F() 325 EXPECT_CALL(device_policy, GetAllowedConnectionTypesForUpdate(_)) in TEST_F()
|
D | update_attempter.cc | 324 const policy::DevicePolicy* device_policy = nullptr; in RefreshDevicePolicy() local 326 device_policy = &policy_provider_->GetDevicePolicy(); in RefreshDevicePolicy() 328 if (device_policy) in RefreshDevicePolicy() 333 SystemState::Get()->set_device_policy(device_policy); in RefreshDevicePolicy() 334 SystemState::Get()->p2p_manager()->SetDevicePolicy(device_policy); in RefreshDevicePolicy() 457 const policy::DevicePolicy* device_policy = in CalculateScatteringParams() local 458 SystemState::Get()->device_policy(); in CalculateScatteringParams() 459 if (device_policy) { in CalculateScatteringParams() 461 device_policy->GetScatterFactorInSeconds(&new_scatter_factor_in_secs); in CalculateScatteringParams() 582 auto device_policy = SystemState::Get()->device_policy(); in CalculateStagingParams() local [all …]
|
D | update_attempter_unittest.cc | 745 auto device_policy = std::make_unique<policy::MockDevicePolicy>(); in UpdateTestStart() local 746 EXPECT_CALL(*device_policy, LoadPolicy()) in UpdateTestStart() 750 new policy::PolicyProvider(std::move(device_policy))); in UpdateTestStart() 778 auto device_policy = std::make_unique<policy::MockDevicePolicy>(); in RollbackTestStart() local 779 EXPECT_CALL(*device_policy, LoadPolicy()).WillRepeatedly(Return(true)); in RollbackTestStart() 780 FakeSystemState::Get()->set_device_policy(device_policy.get()); in RollbackTestStart() 783 EXPECT_CALL(*device_policy, GetOwner(_)) in RollbackTestStart() 787 EXPECT_CALL(*device_policy, GetOwner(_)) in RollbackTestStart() 793 new policy::PolicyProvider(std::move(device_policy))); in RollbackTestStart() 1071 auto device_policy = std::make_unique<policy::MockDevicePolicy>(); in ReadScatterFactorFromPolicyTestStart() local [all …]
|
D | fake_system_state.h | 67 const policy::DevicePolicy* device_policy) override { in set_device_policy() argument 68 device_policy_ = device_policy; in set_device_policy() 71 inline const policy::DevicePolicy* device_policy() override { in device_policy() function
|
D | p2p_manager.h | 66 virtual void SetDevicePolicy(const policy::DevicePolicy* device_policy) = 0;
|
D | fake_p2p_manager.h | 37 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override {} in SetDevicePolicy() argument
|
D | omaha_response_handler_action.cc | 216 SystemState::Get()->device_policy() && in PerformAction() 217 SystemState::Get()->device_policy()->IsEnterpriseEnrolled(); in PerformAction()
|
D | p2p_manager.cc | 125 void SetDevicePolicy(const policy::DevicePolicy* device_policy) override; 224 const policy::DevicePolicy* device_policy) { in SetDevicePolicy() argument 225 device_policy_ = device_policy; in SetDevicePolicy()
|
D | payload_state.cc | 1235 const policy::DevicePolicy* policy = SystemState::Get()->device_policy(); in ComputeCandidateUrls()
|
D | omaha_request_action_unittest.cc | 535 const policy::MockDevicePolicy device_policy; in TestUpdateCheck() local 538 EXPECT_CALL(device_policy, GetRollbackAllowedMilestones(_)) in TestUpdateCheck() 544 .WillRepeatedly(ReturnRef(device_policy)); in TestUpdateCheck()
|
/system/update_engine/update_manager/ |
D | staging_utils.cc | 38 int GetStagingSchedule(const DevicePolicy* device_policy, in GetStagingSchedule() argument 41 if (!device_policy->GetDeviceUpdateStagingSchedule(&staging_schedule) || in GetStagingSchedule() 99 StagingCase CalculateStagingCase(const DevicePolicy* device_policy, in CalculateStagingCase() argument 104 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/update_engine/common/ |
D | system_state.h | 69 virtual void set_device_policy(const policy::DevicePolicy* device_policy) = 0; 70 virtual const policy::DevicePolicy* device_policy() = 0;
|
/system/vold/ |
D | FsCrypt.cpp | 442 EncryptionPolicy device_policy; in fscrypt_initialize_systemwide_keys() local 443 if (!install_storage_key(DATA_MNT_POINT, options, device_key, &device_policy)) return false; in fscrypt_initialize_systemwide_keys() 446 if (!OptionsToString(device_policy.options, &options_string)) { in fscrypt_initialize_systemwide_keys() 454 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 | 64 device_policy u:object_r:device_policy_service:s0
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | service_contexts | 92 device_policy u:object_r:device_policy_service:s0
|
/system/sepolicy/private/ |
D | service_contexts | 92 device_policy u:object_r:device_policy_service:s0
|