Searched defs:policies (Results 1 - 25 of 75) sorted by relevance

123

/external/strace/xlat/
H A Dpolicies.h1 /* 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/remoting/host/policy_hack/
H A Dmock_policy_callback.cc17 scoped_ptr<base::DictionaryValue> policies) {
18 OnPolicyUpdatePtr(policies.get());
16 OnPolicyUpdate( scoped_ptr<base::DictionaryValue> policies) argument
H A Dfake_policy_watcher.cc20 void FakePolicyWatcher::SetPolicies(const base::DictionaryValue* policies) { argument
21 UpdatePolicies(policies);
/external/chromium_org/chrome/browser/net/
H A Ddisk_cache_dir_policy_handler.cc22 void DiskCacheDirPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, argument
24 const base::Value* value = policies.GetValue(policy_name());
/external/chromium_org/chrome/browser/policy/
H A Dfile_selection_dialogs_policy_handler.cc22 const PolicyMap& policies,
25 const base::Value* value = policies.GetValue(policy_name());
21 ApplyPolicySettings( const PolicyMap& policies, PrefValueMap* prefs) argument
H A Djavascript_policy_handler.cc22 bool JavascriptPolicyHandler::CheckPolicySettings(const PolicyMap& policies, argument
25 policies.GetValue(key::kJavascriptEnabled);
27 policies.GetValue(key::kDefaultJavaScriptSetting);
51 void JavascriptPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, argument
55 policies.GetValue(key::kDefaultJavaScriptSetting);
61 policies.GetValue(key::kJavascriptEnabled);
H A Dnetwork_prediction_policy_handler.cc25 const PolicyMap& policies,
29 policies.GetValue(key::kDnsPrefetchingEnabled);
32 policies.GetValue(key::kNetworkPredictionOptions);
58 const PolicyMap& policies,
62 policies.GetValue(key::kNetworkPredictionOptions);
77 policies.GetValue(key::kDnsPrefetchingEnabled);
24 CheckPolicySettings( const PolicyMap& policies, PolicyErrorMap* errors) argument
57 ApplyPolicySettings( const PolicyMap& policies, PrefValueMap* prefs) argument
H A Dmanaged_bookmarks_policy_handler.cc29 const PolicyMap& policies,
32 if (!CheckAndGetValue(policies, NULL, &value))
28 ApplyPolicySettings( const PolicyMap& policies, PrefValueMap* prefs) argument
/external/chromium_org/chrome/browser/sync/
H A Dsync_policy_handler.cc22 void SyncPolicyHandler::ApplyPolicySettings(const policy::PolicyMap& policies, argument
24 const base::Value* value = policies.GetValue(policy_name());
/external/chromium_org/components/policy/core/browser/
H A Dautofill_policy_handler.cc22 void AutofillPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, argument
24 const base::Value* value = policies.GetValue(policy_name());
H A Dconfiguration_policy_handler_list.cc32 const PolicyMap& policies,
44 if ((*handler)->CheckPolicySettings(policies, errors) && prefs)
46 ->ApplyPolicySettingsWithParameters(policies, parameters, prefs);
49 for (PolicyMap::const_iterator it = policies.begin();
50 it != policies.end();
60 PolicyMap* policies) const {
63 (*handler)->PrepareForDisplaying(policies);
31 ApplyPolicySettings( const PolicyMap& policies, PrefValueMap* prefs, PolicyErrorMap* errors) const argument
H A Durl_blacklist_policy_handler.cc22 bool URLBlacklistPolicyHandler::CheckPolicySettings(const PolicyMap& policies, argument
25 policies.GetValue(key::kDisabledSchemes);
26 const base::Value* url_blacklist = policies.GetValue(key::kURLBlacklist);
43 void URLBlacklistPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, argument
46 policies.GetValue(key::kURLBlacklist);
51 policies.GetValue(key::kDisabledSchemes);
/external/chromium_org/chrome/browser/chromeos/policy/
H A Duser_cloud_external_data_manager_browsertest.cc71 // 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);
H A Dnetwork_configuration_updater.cc75 const PolicyMap& policies = policy_service_->GetPolicies( local
77 const base::Value* policy_value = policies.GetValue(policy_key_);
/external/chromium_org/chrome/browser/profiles/
H A Dincognito_mode_policy_handler.cc24 bool IncognitoModePolicyHandler::CheckPolicySettings(const PolicyMap& policies, argument
28 policies.GetValue(key::kIncognitoModeAvailability);
48 policies.GetValue(key::kIncognitoEnabled);
60 void IncognitoModePolicyHandler::ApplyPolicySettings(const PolicyMap& policies, argument
63 policies.GetValue(key::kIncognitoModeAvailability);
65 policies.GetValue(key::kIncognitoEnabled);
/external/chromium_org/components/policy/core/common/
H A Dconfiguration_policy_provider.h40 // 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.
/external/libsepol/tests/
H A DMakefile11 # 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/tes
[all...]
H A Dtest-linker.c48 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/
H A DElementPolicy.java40 * 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) { argument
94 for (ElementPolicy policy : policies) {
H A DPolicyFactory.java46 * 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
60 PolicyFactory( ImmutableMap<String, ElementAndAttributePolicies> policies, ImmutableSet<String> textContainers, ImmutableMap<String, AttributePolicy> globalAttrPolicies) argument
[all...]
H A DAttributePolicy.java61 /** 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) { argument
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) { argument
115 this.policies = ImmutableList.copyOf(policies);
120 for (AttributePolicy p : policies) {
[all...]
/external/chromium_org/chrome/browser/download/
H A Ddownload_dir_policy_handler.cc42 const policy::PolicyMap& policies,
45 if (!CheckAndGetValue(policies, errors, &value))
52 policies.Get(policy_name())->scope != policy::POLICY_SCOPE_USER) {
62 const policy::PolicyMap& policies,
65 const base::Value* value = policies.GetValue(policy_name());
106 if (policies.Get(policy_name())->level == policy::POLICY_LEVEL_MANDATORY) {
41 CheckPolicySettings( const policy::PolicyMap& policies, policy::PolicyErrorMap* errors) argument
61 ApplyPolicySettingsWithParameters( const policy::PolicyMap& policies, const policy::PolicyHandlerParameters& parameters, PrefValueMap* prefs) argument
/external/chromium_org/chrome/browser/extensions/api/messaging/
H A Dnative_messaging_policy_handler.cc30 const policy::PolicyMap& policies,
32 return CheckAndGetList(policies, errors, NULL);
36 const policy::PolicyMap& policies,
40 if (CheckAndGetList(policies, &errors, &list) && list)
49 const policy::PolicyMap& policies,
53 if (!CheckAndGetValue(policies, errors, &value))
29 CheckPolicySettings( const policy::PolicyMap& policies, policy::PolicyErrorMap* errors) argument
35 ApplyPolicySettings( const policy::PolicyMap& policies, PrefValueMap* prefs) argument
48 CheckAndGetList( const policy::PolicyMap& policies, policy::PolicyErrorMap* errors, scoped_ptr<base::ListValue>* names) argument
/external/chromium_org/chrome/browser/extensions/api/storage/
H A Dpolicy_value_store_unittest.cc121 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/sessions/
H A Drestore_on_startup_policy_handler.cc27 const PolicyMap& policies,
30 policies.GetValue(policy_name());
37 ApplyPolicySettingsFromHomePage(policies, prefs);
44 const PolicyMap& policies,
47 policies.GetValue(key::kHomepageIsNewTabPage);
63 policies.GetValue(key::kHomepageLocation);
78 const PolicyMap& policies,
80 if (!TypeCheckingPolicyHandler::CheckPolicySettings(policies, errors))
83 const base::Value* restore_policy = policies.GetValue(key::kRestoreOnStartup);
97 policies
26 ApplyPolicySettings( const PolicyMap& policies, PrefValueMap* prefs) argument
43 ApplyPolicySettingsFromHomePage( const PolicyMap& policies, PrefValueMap* prefs) argument
77 CheckPolicySettings( const PolicyMap& policies, PolicyErrorMap* errors) argument
[all...]

Completed in 502 milliseconds

123