Home
last modified time | relevance | path

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

12

/system/update_engine/update_manager/
Dpolicy.h203 class Policy {
205 virtual ~Policy() {} in ~Policy()
211 std::string PolicyRequestName(EvalStatus (Policy::*policy_method)( in PolicyRequestName()
215 if (reinterpret_cast<typeof(&Policy::UpdateCheckAllowed)>(policy_method) == in PolicyRequestName()
216 &Policy::UpdateCheckAllowed) in PolicyRequestName()
218 if (reinterpret_cast<typeof(&Policy::UpdateCanBeApplied)>(policy_method) == in PolicyRequestName()
219 &Policy::UpdateCanBeApplied) in PolicyRequestName()
221 if (reinterpret_cast<typeof(&Policy::UpdateCanStart)>(policy_method) == in PolicyRequestName()
222 &Policy::UpdateCanStart) in PolicyRequestName()
224 if (reinterpret_cast<typeof(&Policy::UpdateDownloadAllowed)>( in PolicyRequestName()
[all …]
Dupdate_manager.h48 EvalStatus (Policy::*policy_method)(EvaluationContext*,
83 EvalStatus (Policy::*policy_method)(
99 EvalStatus (Policy::*policy_method)(
106 EvalStatus (Policy::*policy_method)(EvaluationContext*,
113 void set_policy(const Policy* policy) { policy_.reset(policy); } in set_policy()
132 EvalStatus (Policy::*policy_method)(
147 EvalStatus (Policy::*policy_method)(
156 std::unique_ptr<const Policy> policy_;
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()
268 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
338 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
351 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
365 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
[all …]
Dandroid_things_policy_unittest.cc90 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
98 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
113 EvalStatus::kAskMeAgainLater, &Policy::UpdateCheckAllowed, &result); in TEST_F()
126 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
141 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
157 EvalStatus::kSucceeded, &Policy::UpdateCheckAllowed, &result); in TEST_F()
168 EvalStatus::kSucceeded, &Policy::UpdateCanBeApplied, &result, &plan); in TEST_F()
183 EvalStatus::kSucceeded, &Policy::UpdateCanBeApplied, &result, &plan); in TEST_F()
Dandroid_things_policy.cc39 unique_ptr<Policy> GetSystemPolicy() { in GetSystemPolicy()
75 vector<Policy const*> policies_to_consult = { in UpdateCheckAllowed()
95 &Policy::UpdateCheckAllowed, in UpdateCheckAllowed()
121 vector<Policy const*> policies_to_consult = { in UpdateCanBeApplied()
131 &Policy::UpdateCanBeApplied, in UpdateCanBeApplied()
Dupdate_manager_unittest.cc192 umut_->PolicyRequest(&Policy::UpdateCheckAllowed, &result)); in TEST_F()
223 umut_->PolicyRequest(&Policy::UpdateCanStart, &result, update_state)); in TEST_F()
234 umut_->PolicyRequest(&Policy::UpdateCheckAllowed, &result); in TEST_F()
246 EXPECT_DEATH(umut_->PolicyRequest(&Policy::UpdateCheckAllowed, &result), ""); in TEST_F()
261 umut_->AsyncPolicyRequest(callback, &Policy::UpdateCheckAllowed); in TEST_F()
278 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()
83 EvalStatus (Policy::*policy_method)( in OnPolicyReadyToEvaluate()
118 EvalStatus (Policy::*policy_method)( in PolicyRequest()
140 EvalStatus (Policy::*policy_method)( in AsyncPolicyRequest()
Dpolicy_utils.h47 EvalStatus ConsultPolicies(const std::vector<Policy const*> policies, in ConsultPolicies()
69 class PolicyImplBase : public Policy {
Dmock_update_manager.h37 EvalStatus (Policy::*policy_method)(
Dupdate_manager.cc44 EvalStatus (Policy::*policy_method)( in AsyncPolicyRequestUpdateCheckAllowed()
Dandroid_things_policy.h29 class AndroidThingsPolicy : public Policy {
Dpolicy_test_utils.h97 std::unique_ptr<Policy> policy_;
Ddefault_policy.h61 class DefaultPolicy : public Policy {
Dchromeos_policy.cc195 unique_ptr<Policy> GetSystemPolicy() { in GetSystemPolicy()
232 vector<Policy const*> policies_to_consult = { in UpdateCheckAllowed()
259 &Policy::UpdateCheckAllowed, in UpdateCheckAllowed()
281 vector<Policy const*> policies_to_consult = { in UpdateCanBeApplied()
291 &Policy::UpdateCanBeApplied, in UpdateCanBeApplied()
Dupdate_time_restrictions_policy_impl_unittest.cc71 expected_value, &Policy::UpdateCanBeApplied, &result, &install_plan); in TestPolicy()
Dchromeos_policy.h51 class ChromeOSPolicy : public Policy {
Dmock_policy.h30 class MockPolicy : public Policy {
/system/core/adb/
Dtransport_benchmark.cpp109 template <typename ConnectionType, enum ThreadPolicy Policy>
134 if (Policy == ThreadPolicy::MainThread) { in BM_Connection_Echo()
/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/
Domaha_response_handler_action.cc39 using chromeos_update_manager::Policy;
244 &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/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/sepolicy/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
48 ###### Policy below is shared with regular zygote-spawned apps

12