/external/strace/xlat/ |
policies.h | 1 /* Generated by ./xlat/gen.sh from ./xlat/policies.in; do not edit. */ 3 static const struct xlat policies[] = { variable in typeref:struct:xlat
|
/external/chromium_org/components/policy/core/common/ |
configuration_policy_provider.h | 40 // are created early during startup to provide the initial policies; the 50 // The provider should keep providing the current policies after Shutdown() 55 const PolicyBundle& policies() const { return policy_bundle_; } function in class:policy::ConfigurationPolicyProvider 62 // Asks the provider to refresh its policies. All the updates caused by this 78 // Subclasses must invoke this to update the policies currently served by 79 // this provider. UpdatePolicy() takes ownership of |policies|. 80 // The observers are notified after the policies are updated. 88 // The policies currently configured at this provider.
|
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_unittest.cc | 45 // Helper that fills |bundle| with test policies. 129 // Returns true if the policies for namespace |ns| match |expected|. 376 // Starting to observe existing policies doesn't trigger a notification. 488 const PolicyMap& policies = policy_service_->GetPolicies( local 490 EXPECT_TRUE(base::Value::Equals(&kValue2, policies.GetValue("aaa"))); 491 EXPECT_TRUE(base::Value::Equals(&kValue0, policies.GetValue("bbb"))); 512 // For policies of the same level and scope, the first provider takes 516 // For policies with different levels and scopes, the highest priority 617 // Both these policies should be ignored, since there's a higher priority
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/x509/ |
CertificatePoliciesTest.java | 43 String[] policies = new String[] { local 50 for (int i = 0; i < policies.length; i++) { 52 new PolicyInformation(policies[i]);
|
/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);
|
device_local_account_browsertest.cc | 954 const PolicyMap& policies = policy_connector->policy_service()->GetPolicies( local [all...] |
/external/libsepol/tests/ |
Makefile | 11 # In order to load source policies we need to link in the checkpolicy/checkmodule parser and util code. 12 # This is less than ideal, but it makes the tests easier to maintain by allowing source policies 24 m4support := $(wildcard policies/support/*.spt) 25 testsuites := $(wildcard policies/test-*) 29 policies := $(stdpol) $(mlspol) macro 31 all: $(EXE) $(policies) 32 policies: $(policies) 45 rm -f $(policies) 46 rm -f policies/test-downgrade/policy.hi policies/test-downgrade/policy.l [all...] |
test-linker.c | 48 const char *policies[NUM_POLICIES] = { variable 63 if (test_load_policy(&linkedbase, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) 66 if (test_load_policy(&basenomods, POLICY_BASE, mls, "test-linker", policies[BASEMOD])) 77 if (test_load_policy(modules[i], POLICY_MOD, mls, "test-linker", policies[i]))
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
AttributePolicy.java | 61 /** Utilities for working with attribute policies. */ 65 * An attribute policy equivalent to applying all the given policies in 69 public static final AttributePolicy join(AttributePolicy... policies) { 71 for (AttributePolicy p : policies) { 73 uniq.addAll(((JoinedAttributePolicy) p).policies); 112 final ImmutableList<AttributePolicy> policies; field in class:JoinedAttributePolicy 114 JoinedAttributePolicy(Collection<? extends AttributePolicy> policies) { 115 this.policies = ImmutableList.copyOf(policies); 120 for (AttributePolicy p : policies) { [all...] |
PolicyFactory.java | 46 * policies. 56 private final ImmutableMap<String, ElementAndAttributePolicies> policies; field in class:PolicyFactory 61 ImmutableMap<String, ElementAndAttributePolicies> policies, 64 this.policies = policies; 72 out, policies, textContainers); 130 * policies where they overlap on a particular granted attribute or element 136 // Merge this and f into a map of element names to attribute policies. 138 : policies.entrySet()) { 141 ElementAndAttributePolicies q = f.policies.get(elName) [all...] |
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...] |
ElementAndAttributePolicyBasedSanitizerPolicy.java | 42 * A sanitizer policy that applies element and attribute policies to tags. 104 ElementAndAttributePolicies policies = elAndAttrPolicies.get(elementName); local 105 String adjustedElementName = applyPolicies(elementName, attrs, policies); 107 && !(attrs.isEmpty() && policies.skipIfEmpty)) { 108 writeOpenTag(policies, adjustedElementName, attrs); 116 ElementAndAttributePolicies policies) { 118 if (policies != null) { 123 = policies.attrPolicies.get(name); 140 adjustedElementName = policies.elPolicy.apply(elementName, attrs); 174 ElementAndAttributePolicies policies, String adjustedElementName [all...] |
/external/chromium_org/chrome/browser/extensions/api/storage/ |
policy_value_store_unittest.cc | 121 policy::PolicyMap policies; local 123 policies.Set("must", policy::POLICY_LEVEL_MANDATORY, 125 policies.Set("may", policy::POLICY_LEVEL_RECOMMENDED, 128 store_->SetCurrentPolicy(policies); 167 policy::PolicyMap policies; local 168 policies.Set("aaa", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, 170 store_->SetCurrentPolicy(policies); 174 // Notify when new policies are added. 184 policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, 186 store_->SetCurrentPolicy(policies); [all...] |
/external/chromium_org/chrome/browser/prefs/ |
synced_pref_change_registrar_browsertest.cc | 45 void UpdateChromePolicy(const policy::PolicyMap& policies) { 46 policy_provider_.UpdateChromePolicy(policies); 191 policy::PolicyMap policies; local 192 policies.Set(policy::key::kShowHomeButton, 197 UpdateChromePolicy(policies); 212 policy::PolicyMap policies; local 213 policies.Set(policy::key::kShowHomeButton, 218 UpdateChromePolicy(policies);
|
/external/chromium_org/third_party/WebKit/Source/bindings/v8/ |
DOMWrapperWorld.cpp | 178 IsolatedWorldContentSecurityPolicyMap& policies = isolatedWorldContentSecurityPolicies(); local 179 IsolatedWorldContentSecurityPolicyMap::iterator it = policies.find(worldId()); 180 return it == policies.end() ? false : it->value;
|
/packages/apps/Settings/src/com/android/settings/net/ |
NetworkPolicyEditor.java | 48 * about which policies can coexist. This editor offers thread safety when 52 // TODO: be more robust when missing policies from service 64 final NetworkPolicy[] policies = mPolicyManager.getNetworkPolicies(); local 68 for (NetworkPolicy policy : policies) { 82 // force combine any split policies when disabled 87 // when we cleaned policies above, write back changes 93 final NetworkPolicy[] policies = mPolicies.toArray(new NetworkPolicy[mPolicies.size()]); local 97 write(policies); 103 public void write(NetworkPolicy[] policies) { 104 mPolicyManager.setNetworkPolicies(policies); [all...] |
/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/chrome/browser/policy/cloud/ |
cloud_policy_invalidator_unittest.cc | 304 base::DictionaryValue policies; local 305 policies.SetInteger( 309 &policies, [all...] |
/external/chromium_org/chromeos/network/ |
managed_network_configuration_handler_impl.cc | 80 const base::DictionaryValue* GetByGUID(const GuidToPolicyMap& policies, 82 GuidToPolicyMap::const_iterator it = policies.find(guid); 83 if (it == policies.end()) 90 struct ManagedNetworkConfigurationHandlerImpl::Policies { 91 ~Policies(); 97 ManagedNetworkConfigurationHandlerImpl::Policies::~Policies() { 180 const Policies* policies = GetPoliciesForProfile(*profile); local 181 if (!policies) { 273 const Policies* policies = GetPoliciesForProfile(*profile); local 317 const Policies* policies = GetPoliciesForUser(userhash); local 370 Policies* policies = NULL; local 434 const Policies* policies = GetPoliciesForProfile(profile); local 548 const Policies* policies = GetPoliciesForUser(userhash); local 565 const Policies* policies = GetPoliciesForProfile(*profile); local [all...] |
/external/chromium_org/chrome/browser/policy/ |
policy_prefs_browsertest.cc | 370 // Splits all known policies into subsets of the given |chunk_size|. The 371 // policies are shuffled so that there is no correlation between their initial 373 // expected number of policies with long-running test cases is equal for each 381 std::vector<std::string> policies; local 384 policies.push_back(it.key()); 389 std::random_shuffle(policies.begin(), policies.end(), GetRandomNumber); 392 std::vector<std::string>::const_iterator it = policies.begin(); 393 const std::vector<std::string>::const_iterator end = policies.end(); 475 // Verifies that all known policies have a test case in the JSON file [all...] |
/external/chromium_org/chrome/third_party/mozilla_security_manager/ |
nsNSSCertHelper.cpp | 710 CERTCertificatePolicies* policies = CERT_DecodeCertificatePoliciesExtension( local 712 if (!policies) 715 CERTPolicyInfo** policyInfos = policies->policyInfos; 761 CERT_DestroyCertificatePoliciesExtension(policies); [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...] |
/packages/apps/Settings/src/com/android/settings/ |
DeviceAdminAdd.java | 224 // Nothing changed (or policies were removed) - return immediately 440 ArrayList<DeviceAdminInfo.PolicyInfo> policies = mDeviceAdmin.getUsedPolicies(); local 441 for (int i=0; i<policies.size(); i++) { 442 DeviceAdminInfo.PolicyInfo pi = policies.get(i); 458 ArrayList<DeviceAdminInfo.PolicyInfo> policies = mDeviceAdmin.getUsedPolicies(); local 459 for (int i=0; i<policies.size(); i++) { 460 DeviceAdminInfo.PolicyInfo pi = policies.get(i);
|