HomeSort by relevance Sort by last modified time
    Searched defs:policies (Results 1 - 25 of 51) sorted by null

1 2 3

  /external/chromium/chrome/browser/policy/
asynchronous_policy_provider_unittest.cc 23 DictionaryValue* policies = new DictionaryValue(); local
24 policies->SetBoolean(policy::key::kSyncDisabled, true);
25 EXPECT_CALL(*delegate_, Load()).WillOnce(Return(policies));
file_based_policy_provider_unittest.cc 39 DictionaryValue* policies = new DictionaryValue(); local
40 policies->SetBoolean(policy::key::kSyncDisabled, true);
44 EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return(policies));
73 DictionaryValue* policies = new DictionaryValue(); local
74 policies->SetBoolean(policy::key::kSyncDisabled, true);
75 EXPECT_CALL(*provider_delegate, Load()).WillOnce(Return(policies));
  /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/
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);
network_configuration_updater.cc 110 const PolicyMap& policies = policy_service_->GetPolicies( local
112 const base::Value* policy_value = policies.GetValue(policy_key_);
device_local_account_browsertest.cc 934 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/chromium/chrome/browser/chromeos/
plugin_selection_policy.cc 68 map<string, Policy> policies; local
107 policies.insert(make_pair(last_plugin, policy));
114 policies.insert(make_pair(last_plugin, policy));
116 policies_.swap(policies);
  /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 55 void UpdateChromePolicy(const policy::PolicyMap& policies) {
56 policy_provider_.UpdateChromePolicy(policies);
196 policy::PolicyMap policies; local
197 policies.Set(policy::key::kShowHomeButton,
202 UpdateChromePolicy(policies);
217 policy::PolicyMap policies; local
218 policies.Set(policy::key::kShowHomeButton,
223 UpdateChromePolicy(policies);
  /external/chromium_org/chrome/browser/policy/cloud/
cloud_policy_invalidator_unittest.cc 283 base::DictionaryValue policies; local
284 policies.SetInteger(
288 &policies,
    [all...]
  /external/chromium_org/third_party/WebKit/Source/bindings/v8/
DOMWrapperWorld.cpp 214 IsolatedWorldContentSecurityPolicyMap& policies = isolatedWorldContentSecurityPolicies(); local
215 IsolatedWorldContentSecurityPolicyMap::iterator it = policies.find(worldId());
216 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/chromeos/network/
managed_network_configuration_handler_impl.cc 75 const base::DictionaryValue* GetByGUID(const GuidToPolicyMap& policies,
77 GuidToPolicyMap::const_iterator it = policies.find(guid);
78 if (it == policies.end())
96 struct ManagedNetworkConfigurationHandlerImpl::Policies {
97 ~Policies();
103 ManagedNetworkConfigurationHandlerImpl::Policies::~Policies() {
184 const Policies* policies = GetPoliciesForProfile(*profile); local
185 if (!policies) {
256 const Policies* policies = GetPoliciesForProfile(*profile); local
300 const Policies* policies = GetPoliciesForUser(userhash); local
353 Policies* policies = NULL; local
416 const Policies* policies = GetPoliciesForProfile(profile); local
518 const Policies* policies = GetPoliciesForUser(userhash); local
535 const Policies* policies = GetPoliciesForProfile(*profile); local
    [all...]
  /external/strace/
mem.c 763 static const struct xlat policies[] = { variable in typeref:struct:xlat
844 printxval(policies, tcp->u_arg[2], "MPOL_???");
857 printxval(policies, tcp->u_arg[0], "MPOL_???");
874 printxval(policies, pol, "MPOL_???");
  /packages/apps/Settings/src/com/android/settings/
DeviceAdminAdd.java 182 // Nothing changed (or policies were removed) - return immediately
324 ArrayList<DeviceAdminInfo.PolicyInfo> policies = mDeviceAdmin.getUsedPolicies(); local
325 for (int i=0; i<policies.size(); i++) {
326 DeviceAdminInfo.PolicyInfo pi = policies.get(i);
342 ArrayList<DeviceAdminInfo.PolicyInfo> policies = mDeviceAdmin.getUsedPolicies(); local
343 for (int i=0; i<policies.size(); i++) {
344 DeviceAdminInfo.PolicyInfo pi = policies.get(i);
  /external/chromium/net/base/
x509_certificate_nss.cc 36 explicit ScopedCERTCertificatePolicies(CERTCertificatePolicies* policies)
37 : policies_(policies) {}
332 // If policy_oids is not NULL and num_policy_oids is positive, policies
541 CERTCertificatePolicies* policies =
544 return policies;
551 CERTCertificatePolicies* policies = DecodeCertPolicies(cert_handle); local
552 if (!policies)
554 ScopedCERTCertificatePolicies scoped_policies(policies);
555 CERTPolicyInfo* policy_info = policies->policyInfos[0];
578 CERTCertificatePolicies* policies = DecodeCertPolicies(cert_handle) local
    [all...]
  /external/chromium_org/chrome/browser/policy/
policy_prefs_browsertest.cc 331 // Splits all known policies into subsets of the given |chunk_size|. The
332 // policies are shuffled so that there is no correlation between their initial
334 // expected number of policies with long-running test cases is equal for each
342 std::vector<std::string> policies; local
345 policies.push_back(it.key());
350 std::random_shuffle(policies.begin(), policies.end(), GetRandomNumber);
353 std::vector<std::string>::const_iterator it = policies.begin();
354 const std::vector<std::string>::const_iterator end = policies.end();
434 // 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 698 CERTCertificatePolicies* policies = CERT_DecodeCertificatePoliciesExtension( local
700 if (!policies)
703 CERTPolicyInfo** policyInfos = policies->policyInfos;
749 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...]

Completed in 645 milliseconds

1 2 3