HomeSort by relevance Sort by last modified time
    Searched refs:policies (Results 76 - 100 of 186) sorted by null

1 2 34 5 6 7 8

  /external/chromium_org/chrome/browser/chromeos/policy/
network_configuration_updater.cc 75 const PolicyMap& policies = policy_service_->GetPolicies( local
77 const base::Value* policy_value = policies.GetValue(policy_key_);
user_cloud_external_data_manager_browsertest.cc 71 // policy. This is only done because there are no policies that reference
82 const PolicyMap& policies = policy_connector->policy_service()->GetPolicies( local
84 const PolicyMap::Entry* policy_entry = policies.Get(key::kHomepageLocation);
  /external/chromium_org/chrome/browser/policy/
managed_bookmarks_policy_handler.cc 29 const PolicyMap& policies,
32 if (!CheckAndGetValue(policies, NULL, &value))
  /external/chromium_org/chrome/browser/resources/
policy.css 72 div.reload-policies-button {
76 html[dir='rtl'] div.reload-policies-button {
101 div.no-policies-set {
121 section:not(.empty) > div.no-policies-set {
policy_android.css 80 div.reload-policies-button {
84 html[dir='rtl'] div.reload-policies-button {
109 div.no-policies-set {
131 section:not(.empty) > div.no-policies-set {
  /external/chromium_org/components/policy/core/common/
configuration_policy_provider_test.cc 164 const base::DictionaryValue* policies) {
204 EXPECT_TRUE(provider_->policies().Equals(kEmptyBundle));
230 EXPECT_TRUE(provider_->policies().Equals(expected_bundle));
239 EXPECT_TRUE(provider_->policies().Equals(kEmptyBundle));
321 EXPECT_TRUE(provider_->policies().Equals(bundle));
331 EXPECT_TRUE(provider_->policies().Equals(bundle));
346 EXPECT_TRUE(provider_->policies().Equals(bundle));
373 // Install these policies as a Chrome policy.
376 // Install them as 3rd party policies too.
382 // Install invalid 3rd party policies that shouldn't be loaded. These als
    [all...]
policy_statistics_collector.cc 62 UMA_HISTOGRAM_SPARSE_SLOWLY("Enterprise.Policies", id);
66 const PolicyMap& policies = policy_service_->GetPolicies( local
72 if (policies.Get(it.key())) {
policy_service_impl.cc 31 void FixDeprecatedPolicies(PolicyMap* policies) {
32 // Proxy settings have been configured by 5 policies that didn't mix well
33 // together, and maps of policies had to take this into account when merging
36 // now, the individual policies are mapped here to a single Dictionary policy
40 // first, and then only policies with those exact attributes are merged.
44 const PolicyMap::Entry* entry = policies->Get(kProxyPolicies[i]);
54 policies->Erase(kProxyPolicies[i]);
59 const PolicyMap::Entry* existing = policies->Get(key::kProxySettings);
62 policies->Set(key::kProxySettings,
156 // drop all its policies, which makes this method enter again for tha
    [all...]
async_policy_provider_unittest.cc 112 EXPECT_TRUE(provider_->policies().Equals(initial_bundle_));
139 // The refreshed policies are now provided.
140 EXPECT_TRUE(provider_->policies().Equals(refreshed_bundle));
163 // The refreshed policies are now provided.
164 EXPECT_TRUE(provider_->policies().Equals(refreshed_bundle));
199 // The refreshed policies are now provided, and the |reloaded_bundle| was
201 EXPECT_TRUE(provider_->policies().Equals(refreshed_bundle));
policy_map.h 75 // |this| becomes a copy of |other|. Any existing policies are dropped.
81 // Merges policies from |other| into |this|. Existing policies are only
87 // Loads the values in |policies| into this PolicyMap. All policies loaded
90 void LoadFrom(const base::DictionaryValue* policies,
101 // Removes all policies that don't have the specified |level|. This is a
policy_test_utils.h 24 // PolicyDetails for test policies.
46 // Returns true if |service| is not serving any policies. Otherwise logs the
47 // current policies and returns false.
64 std::ostream& operator<<(std::ostream& os, const policy::PolicyMap& policies);
  /external/chromium_org/tools/grit/grit/format/policy_templates/writers/
template_writer.py 16 platforms: List of platforms for which this writer can write policies.
106 '''Filters the list of policies in the passed group that are supported by
112 Returns: The list of policies of the policy group that are compatible
115 if not 'policies' in group:
118 for policy in group['policies']:
170 '''Preprocesses a list of policies according to a given writer's needs.
171 Preprocessing steps include sorting policies and stripping unneeded
178 policy_list: A list containing the policies to sort.
256 '''Sorts a list of policies alphabetically. The order is the
257 following: first groups alphabetically by caption, then other policies
    [all...]
  /external/owasp/sanitizer/src/main/org/owasp/html/
ElementPolicy.java 40 * Element policies are applied <strong>after</strong>
41 * {@link AttributePolicy attribute policies} so
59 /** Utilities for working with element policies. */
64 * Given zero or more element policies, returns an element policy equivalent
67 public static final ElementPolicy join(ElementPolicy... policies) {
94 for (ElementPolicy policy : policies) {
HtmlPolicyBuilder.java 48 * Conveniences for configuring policies for the {@link HtmlSanitizer}.
74 * so you can easily white-list widely used policies that don't violate the
129 * <li>Element and attribute policies are applied in the following order:
132 * Element policies come last so they can observe all the post-processed
134 * attribute policies.
135 * Element specific policies go first, so they can normalize content to
148 * binding policies to output channels is cheap so there's no need.
298 * Returns an object that lets you associate policies with the given
345 Map<String, AttributePolicy> policies = attrPolicies.get(elementName); local
346 if (policies == null)
575 Map<String, AttributePolicy> policies = e.getValue(); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/net/
NetworkPolicyEditor.java 40 * about which policies can coexist. This editor offers thread safety when
44 // TODO: be more robust when missing policies from service
56 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); local
60 for (NetworkPolicy policy : policies) {
74 // when we cleaned policies above, write back changes
80 final NetworkPolicy[] policies = mPolicies.toArray(new NetworkPolicy[mPolicies.size()]); local
84 write(policies);
90 public void write(NetworkPolicy[] policies) {
91 mPolicyManager.setNetworkPolicies(policies);
225 // Remove legacy unquoted policies while we're her
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/frame/csp/
ContentSecurityPolicy.cpp 171 // We disable 'eval()' even in the case of report-only policies, and rely on the check in the
279 bool isAllowedByAll(const CSPDirectiveListVector& policies, ContentSecurityPolicy::ReportingStatus reportingStatus)
281 for (size_t i = 0; i < policies.size(); ++i) {
282 if (!(policies[i].get()->*allowed)(reportingStatus))
289 bool isAllowedByAllWithState(const CSPDirectiveListVector& policies, ScriptState* scriptState, ContentSecurityPolicy::ReportingStatus reportingStatus)
291 for (size_t i = 0; i < policies.size(); ++i) {
292 if (!(policies[i].get()->*allowed)(scriptState, reportingStatus))
299 bool isAllowedByAllWithContext(const CSPDirectiveListVector& policies, const String& contextURL, const WTF::OrdinalNumber& contextLine, ContentSecurityPolicy::ReportingStatus reportingStatus)
301 for (size_t i = 0; i < policies.size(); ++i) {
302 if (!(policies[i].get()->*allowed)(contextURL, contextLine, reportingStatus)
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/policies/
policy.hpp 42 namespace policies{ namespace in namespace:boost::math
45 // Define macros for our default policies, if they're not defined already:
112 template <class T> struct is_##name : public boost::mpl::bool_< ::boost::math::policies::detail::is_##name##_imp<T>::value>{};
127 template <class T> struct is_##name : public boost::mpl::bool_< ::boost::math::policies::detail::is_##name##_imp<T>::value>{};
143 BOOST_STATIC_CONSTANT(bool, value = sizeof( ::boost::math::policies::detail::is_##name##_tester<T>::test(inst)) == 1);\
146 template <class T> struct is_##name : public boost::mpl::bool_< ::boost::math::policies::detail::is_##name##_imp<T>::value>\
165 BOOST_STATIC_CONSTANT(bool, value = sizeof( ::boost::math::policies::detail::is_##name##_tester<T>::test(inst)) == 1);\
168 template <class T> struct is_##name : public boost::mpl::bool_< ::boost::math::policies::detail::is_##name##_imp<T>::value>\
250 (Digits2::value > ::boost::math::policies::detail::precision<Digits10,Digits2>::digits2_type::value),
290 BOOST_STATIC_CONSTANT(bool, value = sizeof(::boost::math::policies::detail::test_is_valid_arg(static_cast<T*>(0))) == 1)
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/management/
management_browsertest.cc 530 "before running tests. E.g. from /etc/chromium/policies Linux or "
569 PolicyMap policies; local
570 policies.Set(policy::key::kExtensionInstallForcelist,
575 UpdateProviderPolicy(policies);
602 policies.Erase(policy::key::kExtensionInstallForcelist);
603 UpdateProviderPolicy(policies);
659 PolicyMap policies; local
660 policies.Set(policy::key::kExtensionInstallForcelist,
665 UpdateProviderPolicy(policies);
678 policies.Erase(policy::key::kExtensionInstallForcelist)
    [all...]
  /external/chromium_org/net/cert/
x509_util_mac.cc 78 CFMutableArrayRef policies) {
96 // will set force this flag on according to system policies, so
106 CFArrayAppendValue(policies, crl_policy);
144 CFArrayAppendValue(policies, ocsp_policy);
x509_util_mac.h 43 // Creates security policies to control revocation checking (OCSP and CRL).
47 // true, then the system policies for EV checking (which include checking
51 // If both are false, then the policies returned will be explicitly
54 // If the policies are successfully created, they will be appended to
55 // |policies|.
58 CFMutableArrayRef policies);
  /external/chromium_org/components/policy/core/common/cloud/
user_cloud_policy_manager_unittest.cc 91 EXPECT_TRUE(expected_bundle_.Equals(manager_->policies()));
cloud_policy_manager_unittest.cc 227 EXPECT_TRUE(empty_bundle.Equals(manager_->policies()));
239 EXPECT_TRUE(expected_bundle_.Equals(manager_->policies()));
279 EXPECT_TRUE(expected_bundle_.Equals(manager_->policies()));
288 EXPECT_TRUE(empty_bundle.Equals(manager_->policies()));
294 EXPECT_TRUE(expected_bundle_.Equals(manager_->policies()));
351 EXPECT_TRUE(expected_bundle_.Equals(manager_->policies()));
  /libcore/luni/src/main/java/java/security/cert/
X509CertSelector.java 69 private Set<String> policies; field in class:X509CertSelector
855 * some policies in its policy extension.
857 * @param policies
863 public void setPolicy(Set<String> policies) throws IOException {
864 if (policies == null) {
865 this.policies = null;
868 HashSet<String> pols = new HashSet<String>(policies.size());
869 for (String certPolicyId : policies) {
873 this.policies = Collections.unmodifiableSet(pols);
881 * policies in its policy extension
    [all...]
  /external/chromium_org/components/policy/tools/
generate_policy_source.py 23 CHROME_POLICY_KEY = 'SOFTWARE\\\\Policies\\\\Google\\\\Chrome'
24 CHROMIUM_POLICY_KEY = 'SOFTWARE\\\\Policies\\\\Chromium'
198 # Returns an iterator over all the policies in |template_file_contents|.
202 for sub_policy in policy['policies']:
216 def _WritePolicyConstantHeader(policies, os, f):
253 for policy in policies:
254 # TODO(joaodasilva): Include only supported policies in
580 def _WritePolicyConstantSource(policies, os, f):
600 for policy in policies:
611 for policy in policies
    [all...]
  /packages/apps/Email/src/com/android/email/activity/setup/
AccountSettingsFragment.java 588 * policies that are supported by the OS. At the moment, the strings are simple (e.g.
594 ArrayList<String> policies = new ArrayList<>(); local
596 policies.add(res.getString(R.string.policy_require_password));
599 policies.add(res.getString(R.string.policy_password_history));
602 policies.add(res.getString(R.string.policy_password_expiration));
605 policies.add(res.getString(R.string.policy_screen_timeout));
608 policies.add(res.getString(R.string.policy_dont_allow_camera));
611 policies.add(res.getString(R.string.policy_email_age));
614 policies.add(res.getString(R.string.policy_calendar_age));
616 return policies;
    [all...]

Completed in 388 milliseconds

1 2 34 5 6 7 8