Home
last modified time | relevance | path

Searched refs:Policy (Results 1 – 25 of 46) sorted by relevance

12

/system/update_engine/update_manager/
Dpolicy.h212 class Policy {
214 virtual ~Policy() {} in ~Policy()
220 std::string PolicyRequestName(EvalStatus (Policy::*policy_method)( in PolicyRequestName()
224 if (reinterpret_cast<typeof(&Policy::UpdateCheckAllowed)>(policy_method) == in PolicyRequestName()
225 &Policy::UpdateCheckAllowed) in PolicyRequestName()
227 if (reinterpret_cast<typeof(&Policy::UpdateCanBeApplied)>(policy_method) == in PolicyRequestName()
228 &Policy::UpdateCanBeApplied) in PolicyRequestName()
230 if (reinterpret_cast<typeof(&Policy::UpdateCanStart)>(policy_method) == in PolicyRequestName()
231 &Policy::UpdateCanStart) in PolicyRequestName()
233 if (reinterpret_cast<typeof(&Policy::P2PEnabled)>(policy_method) == in PolicyRequestName()
[all …]
Dupdate_manager.h48 EvalStatus (Policy::*policy_method)(EvaluationContext*,
82 EvalStatus (Policy::*policy_method)(
98 EvalStatus (Policy::*policy_method)(
105 EvalStatus (Policy::*policy_method)(EvaluationContext*,
112 void set_policy(const Policy* policy) { policy_.reset(policy); } in set_policy()
131 EvalStatus (Policy::*policy_method)(
146 EvalStatus (Policy::*policy_method)(
155 std::unique_ptr<const Policy> policy_;
Denterprise_device_policy_impl_unittest.cc51 EvalStatus::kContinue, &Policy::UpdateCheckAllowed, &result); in TEST_F()
67 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
84 EvalStatus::kContinue, &Policy::UpdateCheckAllowed, &result); in TEST_F()
108 EvalStatus::kContinue, &Policy::UpdateCheckAllowed, &result); in TEST_F()
132 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
143 EvalStatus::kContinue, &Policy::UpdateCheckAllowed, &result); in TEST_F()
157 EvalStatus::kContinue, &Policy::UpdateCheckAllowed, &result); in TEST_F()
166 EvalStatus::kContinue, &Policy::UpdateCheckAllowed, &result); in TEST_F()
Dchromeos_policy_unittest.cc148 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TestRollbackAllowed()
170 &Policy::UpdateCanBeApplied, in TestDisallowedTimeIntervals()
200 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
208 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
236 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
245 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
272 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
344 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
357 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
364 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
[all …]
Denterprise_rollback_policy_impl_unittest.cc40 &Policy::UpdateCanBeApplied, in TEST_F()
50 &Policy::UpdateCanBeApplied, in TEST_F()
Dupdate_manager_unittest.cc191 umut_->PolicyRequest(&Policy::UpdateCheckAllowed, &result)); in TEST_F()
222 umut_->PolicyRequest(&Policy::UpdateCanStart, &result, update_state)); in TEST_F()
233 umut_->PolicyRequest(&Policy::UpdateCheckAllowed, &result); in TEST_F()
245 EXPECT_DEATH(umut_->PolicyRequest(&Policy::UpdateCheckAllowed, &result), ""); in TEST_F()
260 umut_->AsyncPolicyRequest(callback, &Policy::UpdateCheckAllowed); in TEST_F()
277 umut_->AsyncPolicyRequest(callback, &Policy::UpdateCheckAllowed); in TEST_F()
307 umut_->AsyncPolicyRequest(callback, &Policy::UpdateCheckAllowed); in TEST_F()
Dupdate_manager-inl.h34 EvalStatus (Policy::*policy_method)( in EvaluatePolicy()
80 EvalStatus (Policy::*policy_method)( in OnPolicyReadyToEvaluate()
115 EvalStatus (Policy::*policy_method)( in PolicyRequest()
137 EvalStatus (Policy::*policy_method)( in AsyncPolicyRequest()
Dpolicy_utils.h47 EvalStatus ConsultPolicies(const std::vector<Policy const*> policies, in ConsultPolicies()
68 class PolicyImplBase : public Policy {
Dmock_update_manager.h37 EvalStatus (Policy::*policy_method)(
Dupdate_manager.cc41 EvalStatus (Policy::*policy_method)( in AsyncPolicyRequestUpdateCheckAllowed()
Ddefault_policy.h60 class DefaultPolicy : public Policy {
Dminimum_version_policy_impl_unittest.cc55 expected_status, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
Dchromeos_policy.cc196 unique_ptr<Policy> GetSystemPolicy() { in GetSystemPolicy()
236 vector<Policy const*> policies_to_consult = { in UpdateCheckAllowed()
263 &Policy::UpdateCheckAllowed, in UpdateCheckAllowed()
285 vector<Policy const*> policies_to_consult = { in UpdateCanBeApplied()
295 &Policy::UpdateCanBeApplied, in UpdateCanBeApplied()
Dpolicy_test_utils.h97 std::unique_ptr<Policy> policy_;
Dupdate_time_restrictions_policy_impl_unittest.cc71 expected_value, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
Dmock_policy.h30 class MockPolicy : public Policy {
Dchromeos_policy.h51 class ChromeOSPolicy : public Policy {
/system/ca-certificates/
DMETADATA5 # Quo Vadis Certificate Policy in files/5cf9d536.0 references:
/system/sepolicy/tests/
Dsearchpolicy.py38 pol = policy.Policy(args.policy, None, args.libpath)
Dtreble_sepolicy_tests.py384 basepol = policy.Policy(options.basepolicy, None, options.libpath)
385 oldpol = policy.Policy(options.oldpolicy, None, options.libpath)
393 pol = policy.Policy(options.policy, options.file_contexts, options.libpath)
/system/update_engine/cros/
Domaha_response_handler_action.cc40 using chromeos_update_manager::Policy;
253 &Policy::UpdateCanBeApplied, &ec, &install_plan_); in PerformAction()
/system/sepolicy/prebuilts/api/29.0/private/
Dapp_zygote.te4 ###### Policy below is different from regular zygote-spawned apps
48 ###### Policy below is shared with regular zygote-spawned apps
/system/sepolicy/prebuilts/api/30.0/private/
Dapp_zygote.te4 ###### Policy below is different from regular zygote-spawned apps
45 ###### Policy below is shared with regular zygote-spawned apps
/system/ca-certificates/files/
D5cf9d536.075 Policy: 1.3.6.1.4.1.8024.0.1
77 …standard terms and conditions of use, certification practices, and the QuoVadis Certificate Policy.
/system/libsysprop/srcs/android/sysprop/
DCarProperties.sysprop63 # Timeout (in ms) waiting for Device Policy Manager responses for user management requests.

12