Home
last modified time | relevance | path

Searched refs:policy (Results 1 – 25 of 607) sorted by relevance

12345678910>>...25

/external/libbrillo/policy/tests/
Dlibpolicy_unittest.cc16 namespace policy { namespace
60 const DevicePolicy& policy = provider.GetDevicePolicy(); in TEST() local
64 ASSERT_TRUE(policy.GetPolicyRefreshRate(&int_value)); in TEST()
68 ASSERT_TRUE(policy.GetUserWhitelist(&list_value)); in TEST()
75 ASSERT_TRUE(policy.GetGuestModeEnabled(&bool_value)); in TEST()
79 ASSERT_TRUE(policy.GetCameraEnabled(&bool_value)); in TEST()
83 ASSERT_TRUE(policy.GetShowUserNames(&bool_value)); in TEST()
87 ASSERT_TRUE(policy.GetDataRoamingEnabled(&bool_value)); in TEST()
91 ASSERT_TRUE(policy.GetAllowNewUsers(&bool_value)); in TEST()
95 ASSERT_TRUE(policy.GetMetricsEnabled(&bool_value)); in TEST()
[all …]
/external/boringssl/src/crypto/x509v3/
Dv3_pci.c74 if (pci->proxyPolicy->policy && pci->proxyPolicy->policy->data) in i2r_pci()
76 pci->proxyPolicy->policy->data); in i2r_pci()
82 ASN1_OCTET_STRING **policy) in process_pci_value() argument
120 if (!*policy) in process_pci_value()
122 *policy = ASN1_OCTET_STRING_new(); in process_pci_value()
123 if (!*policy) in process_pci_value()
143 tmp_data = OPENSSL_realloc((*policy)->data, in process_pci_value()
144 (*policy)->length + val_len + 1); in process_pci_value()
147 (*policy)->data = tmp_data; in process_pci_value()
148 memcpy(&(*policy)->data[(*policy)->length], in process_pci_value()
[all …]
Dpcy_data.c87 X509_POLICY_DATA *policy_data_new(POLICYINFO *policy, in policy_data_new() argument
92 if (!policy && !cid) in policy_data_new()
123 ret->valid_policy = policy->policyid; in policy_data_new()
124 policy->policyid = NULL; in policy_data_new()
127 if (policy) in policy_data_new()
129 ret->qualifier_set = policy->qualifiers; in policy_data_new()
130 policy->qualifiers = NULL; in policy_data_new()
/external/dbus/bus/
Dpolicy.c164 BusPolicy *policy; in bus_policy_new() local
166 policy = dbus_new0 (BusPolicy, 1); in bus_policy_new()
167 if (policy == NULL) in bus_policy_new()
170 policy->refcount = 1; in bus_policy_new()
172 policy->rules_by_uid = _dbus_hash_table_new (DBUS_HASH_UINTPTR, in bus_policy_new()
175 if (policy->rules_by_uid == NULL) in bus_policy_new()
178 policy->rules_by_gid = _dbus_hash_table_new (DBUS_HASH_UINTPTR, in bus_policy_new()
181 if (policy->rules_by_gid == NULL) in bus_policy_new()
184 return policy; in bus_policy_new()
187 bus_policy_unref (policy); in bus_policy_new()
[all …]
Dpolicy.h114 BusPolicy* bus_policy_ref (BusPolicy *policy);
115 void bus_policy_unref (BusPolicy *policy);
116 BusClientPolicy* bus_policy_create_client_policy (BusPolicy *policy,
119 dbus_bool_t bus_policy_allow_unix_user (BusPolicy *policy,
121 dbus_bool_t bus_policy_allow_windows_user (BusPolicy *policy,
123 dbus_bool_t bus_policy_append_default_rule (BusPolicy *policy,
125 dbus_bool_t bus_policy_append_mandatory_rule (BusPolicy *policy,
127 dbus_bool_t bus_policy_append_user_rule (BusPolicy *policy,
130 dbus_bool_t bus_policy_append_group_rule (BusPolicy *policy,
133 dbus_bool_t bus_policy_append_console_rule (BusPolicy *policy,
[all …]
/external/srtp/test/
Dsrtp_driver.c72 srtp_bits_per_second(int msg_len_octets, const srtp_policy_t *policy);
75 srtp_rejections_per_second(int msg_len_octets, const srtp_policy_t *policy);
78 srtp_do_timing(const srtp_policy_t *policy);
81 srtp_do_rejection_timing(const srtp_policy_t *policy);
84 srtp_test(const srtp_policy_t *policy);
87 srtcp_test(const srtp_policy_t *policy);
93 srtp_print_policy(const srtp_policy_t *policy);
221 const srtp_policy_t **policy = policy_array; in main() local
225 while (*policy != NULL) { in main()
227 if (srtp_test(*policy) == err_status_ok) in main()
[all …]
Drtpw.c145 srtp_policy_t policy; in main() local
314 crypto_policy_set_rtp_default(&policy.rtp); in main()
315 crypto_policy_set_rtcp_default(&policy.rtcp); in main()
318 crypto_policy_set_aes_cm_128_null_auth(&policy.rtp); in main()
319 crypto_policy_set_rtcp_default(&policy.rtcp); in main()
322 crypto_policy_set_null_cipher_hmac_sha1_80(&policy.rtp); in main()
323 crypto_policy_set_rtcp_default(&policy.rtcp); in main()
329 policy.ssrc.type = ssrc_specific; in main()
330 policy.ssrc.value = ssrc; in main()
331 policy.key = (uint8_t *) key; in main()
[all …]
Ddtls_srtp_driver.c124 srtp_policy_t policy; in test_dtls_srtp() local
178 policy.key = key; in test_dtls_srtp()
181 err = crypto_policy_set_from_profile_for_rtp(&policy.rtp, profile); in test_dtls_srtp()
183 err = crypto_policy_set_from_profile_for_rtcp(&policy.rtcp, profile); in test_dtls_srtp()
185 policy.ssrc.type = ssrc_any_inbound; in test_dtls_srtp()
186 policy.ekt = NULL; in test_dtls_srtp()
187 policy.window_size = 128; in test_dtls_srtp()
188 policy.allow_repeat_tx = 0; in test_dtls_srtp()
189 policy.next = NULL; in test_dtls_srtp()
191 err = srtp_add_stream(s, &policy); in test_dtls_srtp()
/external/opencv3/modules/flann/include/opencv2/flann/
Dany.h169 static typename choose_policy<T>::type policy;
173 typename choose_policy<T>::type SinglePolicy<T>::policy;
177 inline base_any_policy* SinglePolicy<T>::get_policy() { return &policy; }
185 anyimpl::base_any_policy* policy;
192 : policy(anyimpl::SinglePolicy<anyimpl::empty_any>::get_policy()), object(NULL)
199 : policy(anyimpl::SinglePolicy<anyimpl::empty_any>::get_policy()), object(NULL)
204 : policy(anyimpl::SinglePolicy<anyimpl::empty_any>::get_policy()), object(NULL)
211 : policy(anyimpl::SinglePolicy<anyimpl::empty_any>::get_policy()), object(NULL)
219 policy->static_delete(&object);
226 policy = x.policy;
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudfront/
Dtest_signed_urls.py191 policy = self.dist._canned_policy(url, expires)
192 policy = json.loads(policy)
194 self.assertEqual(1, len(policy.keys()))
195 statements = policy["Statement"]
214 policy = self.dist._custom_policy(url, expires=expires)
215 policy = json.loads(policy)
217 self.assertEqual(1, len(policy.keys()))
218 statements = policy["Statement"]
237 policy = self.dist._custom_policy(url, valid_after=valid_after)
238 policy = json.loads(policy)
[all …]
/external/selinux/policycoreutils/sepolicy/
Dsearch.c107 static int perform_ra_query(const apol_policy_t * policy, const options_t * opt, apol_vector_t ** v) in perform_ra_query() argument
112 if (!policy || !opt || !v) { in perform_ra_query()
113 ERR(policy, "%s", strerror(EINVAL)); in perform_ra_query()
125 ERR(policy, "%s", strerror(ENOMEM)); in perform_ra_query()
130 apol_role_allow_query_set_regex(policy, raq, opt->useregex); in perform_ra_query()
132 if (apol_role_allow_query_set_source(policy, raq, opt->src_role_name)) { in perform_ra_query()
138 if (apol_role_allow_query_set_target(policy, raq, opt->tgt_role_name)) { in perform_ra_query()
143 if (apol_role_allow_get_by_query(policy, raq, v)) { in perform_ra_query()
153 ERR(policy, "%s", strerror(error)); in perform_ra_query()
158 static PyObject* get_ra_results(const apol_policy_t * policy, const apol_vector_t * v, PyObject *ou… in get_ra_results() argument
[all …]
Dorg.selinux.conf9 <policy user="root">
11 </policy>
15 <policy at_console="true">
17 </policy>
18 <policy context="default">
21 </policy>
/external/srtp/googlepatches/
Dvidyo-4-srtp-rtx.patch14 struct srtp_policy_t *next; /**< Pointer to next stream policy. */
69 policy.ssrc.type = ssrc_any_inbound;
70 policy.ekt = NULL;
71 policy.window_size = 128;
72 + policy.allow_repeat_tx = 0;
73 policy.next = NULL;
75 err = srtp_add_stream(s, &policy);
80 policy.key = (uint8_t *) key;
81 policy.next = NULL;
82 policy.window_size = 128;
[all …]
/external/libgdx/extensions/gdx-bullet/jni/swig-src/collision/com/badlogic/gdx/physics/bullet/collision/
DbtDbvt.java593 public static void enumNodes(btDbvtNode root, ICollide policy) { in enumNodes() argument
594 CollisionJNI.btDbvt_enumNodes(btDbvtNode.getCPtr(root), root, ICollide.getCPtr(policy), policy); in enumNodes() local
597 public static void enumLeaves(btDbvtNode root, ICollide policy) { in enumLeaves() argument
598 … CollisionJNI.btDbvt_enumLeaves(btDbvtNode.getCPtr(root), root, ICollide.getCPtr(policy), policy); in enumLeaves() local
601 public void collideTT(btDbvtNode root0, btDbvtNode root1, ICollide policy) { in collideTT() argument
602 …bvtNode.getCPtr(root0), root0, btDbvtNode.getCPtr(root1), root1, ICollide.getCPtr(policy), policy); in collideTT()
605 public void collideTTpersistentStack(btDbvtNode root0, btDbvtNode root1, ICollide policy) { in collideTTpersistentStack() argument
606 …bvtNode.getCPtr(root0), root0, btDbvtNode.getCPtr(root1), root1, ICollide.getCPtr(policy), policy); in collideTTpersistentStack()
609 public void collideTV(btDbvtNode root, btDbvtAabbMm volume, ICollide policy) { in collideTV() argument
610 …tNode.getCPtr(root), root, btDbvtAabbMm.getCPtr(volume), volume, ICollide.getCPtr(policy), policy); in collideTV()
[all …]
/external/selinux/secilc/docs/
Dcil_introduction.md4 …s between one or more high level policy languages (such as the current module language) and the lo…
6 …e and produce language constructs with more features than the raw kernel policy (e.g., interfaces)…
8 …f high-level languages, encouraging the creation of more domain specific policy languages (e.g., C…
10 * Provides a semantically rich representation suitable for policy analysis, allowing the analysis o…
19 …sy to parse and to generate by high-level compilers, analysis tools, and policy generation tools. …
21policy that will be enforced by the kernel. That policy must be full represented so that all of th…
23 …istent one - CIL is meant for a source policy oriented world, so assume and leverage that. The onl…
25 …lute requirement. Where necessary it is assumed that manual or automated policy conversion will be…
27policy, but there is no reason to re-think core concepts that are working well. All changes to exi…
29 * No more M4 - the pervasive use of M4 and pre-processing in general has eased policy creation, but…
[all …]
/external/libbrillo/
Dlibpolicy.gypi8 'destination': '<(SHARED_INTERMEDIATE_DIR)/include/policy',
10 'policy/device_policy.h',
11 'policy/device_policy_impl.h',
12 'policy/libpolicy.h',
13 'policy/mock_libpolicy.h',
14 'policy/mock_device_policy.h',
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sts/
Dconnection.py187 def get_federation_token(self, name, duration=None, policy=None): argument
253 if policy:
254 params['Policy'] = policy
258 def assume_role(self, role_arn, role_session_name, policy=None, argument
374 if policy is not None:
375 params['Policy'] = policy
387 policy=None, duration_seconds=None): argument
488 if policy is not None:
489 params['Policy'] = policy
497 policy=None, duration_seconds=None): argument
[all …]
/external/dhcpcd-6.8.2/dbus/
Ddhcpcd-dbus.conf5 <policy user="root">
9 </policy>
10 <policy user="dhcp">
14 </policy>
16 <policy context="default">
20 </policy>
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DScheduledTrial.java28 private final TrialSchedulingPolicy policy; field in ScheduledTrial
31 TrialSchedulingPolicy policy) { in ScheduledTrial() argument
34 this.policy = policy; in ScheduledTrial()
37 TrialSchedulingPolicy policy() { in policy() method in ScheduledTrial
38 return policy; in policy()
/external/autotest/client/site_tests/login_RemoteOwnership/
Dlogin_RemoteOwnership.py10 from autotest_lib.client.common_lib.cros import policy, session_manager
38 poldata = policy.build_policy_data(self.srcdir)
41 policy.push_policy_and_verify(
42 policy.generate_policy(self.srcdir, priv, pub, poldata), self._sm)
46 policy.push_policy_and_verify(
47 policy.generate_policy(self.srcdir, priv, pub, poldata), self._sm)
61 policy.push_policy_and_verify(
62 policy.generate_policy(self.srcdir,
65 policy=poldata,
/external/autotest/client/site_tests/security_DbusMap/
Dsecurity_DbusMap.py18 def policy_sort_priority(self, policy): argument
32 if policy.getAttribute('context') == 'default':
34 if policy.getAttribute('group') != '':
36 if policy.getAttribute('user') != '':
38 if policy.getAttribute('at_console') == 'true':
40 if policy.getAttribute('at_console') == 'false':
42 if policy.getAttribute('context') == 'mandatory':
56 decorated = [(self.policy_sort_priority(policy), i, policy) for
57 i, policy in enumerate(policies)]
59 return [policy for _,_,policy in decorated]
[all …]
/external/tlsdate/dbus/
Dorg.torproject.tlsdate.conf7 <policy user="nobody">
9 </policy>
12 <policy group="root">
22 </policy>
25 <policy context="default">
30 </policy>
/external/owasp/sanitizer/src/main/org/owasp/html/
DHtmlChangeReporter.java69 public void setPolicy(HtmlSanitizer.Policy policy) { in setPolicy() argument
70 this.input.policy = policy; in setPolicy()
78 HtmlStreamEventReceiver policy; field in HtmlChangeReporter.InputChannel
92 policy.openDocument(); in openDocument()
96 policy.closeDocument(); in closeDocument()
105 policy.openTag(elementName, attrs); in openTag()
130 policy.closeTag(elementName); in closeTag()
134 policy.text(textChunk); in text()
/external/libunwind/src/mi/
DGset_caching_policy.c29 unw_set_caching_policy (unw_addr_space_t as, unw_caching_policy_t policy) in unw_set_caching_policy() argument
35 if (policy == UNW_CACHE_PER_THREAD) in unw_set_caching_policy()
36 policy = UNW_CACHE_GLOBAL; in unw_set_caching_policy()
39 if (policy == as->caching_policy) in unw_set_caching_policy()
42 as->caching_policy = policy; in unw_set_caching_policy()
/external/guava/guava/src/com/google/common/util/concurrent/
DCycleDetectingLockFactory.java245 public static CycleDetectingLockFactory newInstance(Policy policy) { in newInstance() argument
246 return new CycleDetectingLockFactory(policy); in newInstance()
262 return policy == Policies.DISABLED ? new ReentrantLock(fair) in newReentrantLock()
281 return policy == Policies.DISABLED ? new ReentrantReadWriteLock(fair) in newReentrantReadWriteLock()
295 newInstanceWithExplicitOrdering(Class<E> enumClass, Policy policy) { in newInstanceWithExplicitOrdering() argument
299 checkNotNull(policy); in newInstanceWithExplicitOrdering()
303 return new WithExplicitOrdering<E>(policy, lockGraphNodes); in newInstanceWithExplicitOrdering()
427 Policy policy, Map<E, LockGraphNode> lockGraphNodes) { in WithExplicitOrdering() argument
428 super(policy); in WithExplicitOrdering()
449 return policy == Policies.DISABLED ? new ReentrantLock(fair) in newReentrantLock()
[all …]

12345678910>>...25