/external/chromium_org/chrome/browser/chromeos/policy/ |
D | device_policy_decoder_chromeos.cc | 112 PolicyMap* policies) { in DecodeLoginPolicies() argument 116 policies->Set(key::kDeviceGuestModeEnabled, in DecodeLoginPolicies() 128 policies->Set(key::kDeviceShowUserNamesOnSignin, in DecodeLoginPolicies() 140 policies->Set(key::kDeviceAllowNewUsers, in DecodeLoginPolicies() 158 policies->Set(key::kDeviceUserWhitelist, in DecodeLoginPolicies() 169 policies->Set(key::kDeviceEphemeralUsersEnabled, in DecodeLoginPolicies() 212 policies->Set(key::kDeviceLocalAccounts, in DecodeLoginPolicies() 218 policies->Set(key::kDeviceLocalAccountAutoLoginId, in DecodeLoginPolicies() 225 policies->Set(key::kDeviceLocalAccountAutoLoginDelay, in DecodeLoginPolicies() 232 policies->Set(key::kDeviceLocalAccountAutoLoginBailoutEnabled, in DecodeLoginPolicies() [all …]
|
D | configuration_policy_handler_chromeos.h | 31 virtual bool CheckPolicySettings(const PolicyMap& policies, 34 virtual void ApplyPolicySettings(const PolicyMap& policies, 52 virtual bool CheckPolicySettings(const PolicyMap& policies, 54 virtual void ApplyPolicySettings(const PolicyMap& policies, 56 virtual void PrepareForDisplaying(PolicyMap* policies) const OVERRIDE; 88 virtual void ApplyPolicySettings(const PolicyMap& policies, 101 virtual void ApplyPolicySettings(const PolicyMap& policies, 118 virtual void ApplyPolicySettings(const PolicyMap& policies, 133 virtual void ApplyPolicySettings(const PolicyMap& policies, 148 virtual void ApplyPolicySettings(const PolicyMap& policies, [all …]
|
D | configuration_policy_handler_chromeos.cc | 128 bool ExternalDataPolicyHandler::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings() argument 130 if (!TypeCheckingPolicyHandler::CheckPolicySettings(policies, errors)) in CheckPolicySettings() 134 const base::Value* value = policies.GetValue(policy); in CheckPolicySettings() 167 void ExternalDataPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, in ApplyPolicySettings() argument 192 const PolicyMap& policies, in CheckPolicySettings() argument 195 if (!CheckAndGetValue(policies, errors, &value)) in CheckPolicySettings() 235 const PolicyMap& policies, in ApplyPolicySettings() argument 237 const base::Value* value = policies.GetValue(policy_name()); in ApplyPolicySettings() 260 PolicyMap* policies) const { in PrepareForDisplaying() 261 const PolicyMap::Entry* entry = policies->Get(policy_name()); in PrepareForDisplaying() [all …]
|
/external/chromium_org/chrome/browser/policy/ |
D | policy_browsertest.cc | 635 PolicyMap policies; in SetScreenshotPolicy() local 636 policies.Set(key::kDisableScreenshots, in SetScreenshotPolicy() 641 UpdateProviderPolicy(policies); in SetScreenshotPolicy() 779 PolicyMap policies; in SetUpInProcessBrowserTestFixture() local 780 policies.Set(key::kApplicationLocaleValue, in SetUpInProcessBrowserTestFixture() 785 provider_.UpdateChromePolicy(policies); in SetUpInProcessBrowserTestFixture() 826 PolicyMap policies; in IN_PROC_BROWSER_TEST_F() local 827 policies.Set(key::kBookmarkBarEnabled, in IN_PROC_BROWSER_TEST_F() 832 UpdateProviderPolicy(policies); in IN_PROC_BROWSER_TEST_F() 841 policies.Set(key::kBookmarkBarEnabled, in IN_PROC_BROWSER_TEST_F() [all …]
|
D | javascript_policy_handler.cc | 22 bool JavascriptPolicyHandler::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings() argument 25 policies.GetValue(key::kJavascriptEnabled); in CheckPolicySettings() 27 policies.GetValue(key::kDefaultJavaScriptSetting); in CheckPolicySettings() 51 void JavascriptPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, in ApplyPolicySettings() argument 55 policies.GetValue(key::kDefaultJavaScriptSetting); in ApplyPolicySettings() 61 policies.GetValue(key::kJavascriptEnabled); in ApplyPolicySettings()
|
/external/chromium_org/components/policy/core/browser/ |
D | configuration_policy_handler.cc | 49 PolicyMap* policies) const {} in PrepareForDisplaying() 52 const policy::PolicyMap& policies, in ApplyPolicySettings() argument 58 const PolicyMap& policies, in ApplyPolicySettingsWithParameters() argument 61 ApplyPolicySettings(policies, prefs); in ApplyPolicySettingsWithParameters() 80 bool TypeCheckingPolicyHandler::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings() argument 83 return CheckAndGetValue(policies, errors, &value); in CheckPolicySettings() 86 bool TypeCheckingPolicyHandler::CheckAndGetValue(const PolicyMap& policies, in CheckAndGetValue() argument 89 *value = policies.GetValue(policy_name_); in CheckAndGetValue() 113 bool IntRangePolicyHandlerBase::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings() argument 116 return CheckAndGetValue(policies, errors, &value) && in CheckPolicySettings() [all …]
|
D | configuration_policy_handler.h | 48 virtual bool CheckPolicySettings(const PolicyMap& policies, 54 const PolicyMap& policies, 62 virtual void ApplyPolicySettings(const PolicyMap& policies, 68 virtual void PrepareForDisplaying(PolicyMap* policies) const; 84 virtual bool CheckPolicySettings(const PolicyMap& policies, 91 bool CheckAndGetValue(const PolicyMap& policies, 117 virtual bool CheckPolicySettings(const PolicyMap& policies, 153 virtual void ApplyPolicySettings(const PolicyMap& policies, 188 virtual bool CheckPolicySettings(const PolicyMap& policies, 190 virtual void ApplyPolicySettings(const PolicyMap& policies, [all …]
|
D | configuration_policy_handler_list.cc | 32 const PolicyMap& policies, in ApplyPolicySettings() argument 44 if ((*handler)->CheckPolicySettings(policies, errors) && prefs) in ApplyPolicySettings() 46 ->ApplyPolicySettingsWithParameters(policies, parameters, prefs); in ApplyPolicySettings() 49 for (PolicyMap::const_iterator it = policies.begin(); in ApplyPolicySettings() 50 it != policies.end(); in ApplyPolicySettings() 60 PolicyMap* policies) const { in PrepareForDisplaying() 63 (*handler)->PrepareForDisplaying(policies); in PrepareForDisplaying()
|
/external/libsepol/tests/ |
D | Makefile | 24 m4support := $(wildcard policies/support/*.spt) 25 testsuites := $(wildcard policies/test-*) 29 policies := $(stdpol) $(mlspol) macro 31 all: $(EXE) $(policies) 32 policies: $(policies) target 45 rm -f $(policies) 46 rm -f policies/test-downgrade/policy.hi policies/test-downgrade/policy.lo 49 test: $(EXE) $(policies) 50 $(MKDIR) -p policies/test-downgrade 51 …../../checkpolicy/checkpolicy -M policies/test-cond/refpolicy-base.conf -o policies/test-downgrade… [all …]
|
/external/openssl/crypto/x509/ |
D | x509_vpm.c | 81 if (param->policies) in x509_verify_param_zero() 83 sk_ASN1_OBJECT_pop_free(param->policies, ASN1_OBJECT_free); in x509_verify_param_zero() 84 param->policies = NULL; in x509_verify_param_zero() 190 if (test_x509_verify_param_copy(policies, NULL)) in X509_VERIFY_PARAM_inherit() 192 if (!X509_VERIFY_PARAM_set1_policies(dest, src->policies)) in X509_VERIFY_PARAM_inherit() 262 if (!param->policies) in X509_VERIFY_PARAM_add0_policy() 264 param->policies = sk_ASN1_OBJECT_new_null(); in X509_VERIFY_PARAM_add0_policy() 265 if (!param->policies) in X509_VERIFY_PARAM_add0_policy() 268 if (!sk_ASN1_OBJECT_push(param->policies, policy)) in X509_VERIFY_PARAM_add0_policy() 274 STACK_OF(ASN1_OBJECT) *policies) in X509_VERIFY_PARAM_set1_policies() [all …]
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
D | AttributePolicy.java | 69 public static final AttributePolicy join(AttributePolicy... policies) { in join() argument 71 for (AttributePolicy p : policies) { in join() 73 uniq.addAll(((JoinedAttributePolicy) p).policies); in join() 112 final ImmutableList<AttributePolicy> policies; field in JoinedAttributePolicy 114 JoinedAttributePolicy(Collection<? extends AttributePolicy> policies) { in JoinedAttributePolicy() argument 115 this.policies = ImmutableList.copyOf(policies); in JoinedAttributePolicy() 120 for (AttributePolicy p : policies) { in apply() 130 && policies.equals(((JoinedAttributePolicy) o).policies); in equals() 135 return policies.hashCode(); in hashCode()
|
D | ElementAndAttributePolicyBasedSanitizerPolicy.java | 104 ElementAndAttributePolicies policies = elAndAttrPolicies.get(elementName); in openTag() local 105 String adjustedElementName = applyPolicies(elementName, attrs, policies); in openTag() 107 && !(attrs.isEmpty() && policies.skipIfEmpty)) { in openTag() 108 writeOpenTag(policies, adjustedElementName, attrs); in openTag() 116 ElementAndAttributePolicies policies) { in applyPolicies() argument 118 if (policies != null) { in applyPolicies() 123 = policies.attrPolicies.get(name); in applyPolicies() 140 adjustedElementName = policies.elPolicy.apply(elementName, attrs); in applyPolicies() 174 ElementAndAttributePolicies policies, String adjustedElementName, in writeOpenTag() argument 176 if (!policies.isVoid) { in writeOpenTag() [all …]
|
/external/chromium_org/components/search_engines/ |
D | default_search_policy_handler.h | 22 virtual void ApplyPolicySettings(const PolicyMap& policies, 36 virtual bool CheckPolicySettings(const PolicyMap& policies, 38 virtual void ApplyPolicySettings(const PolicyMap& policies, 42 void HandleDictionaryPref(const PolicyMap& policies, PrefValueMap* prefs); 46 bool CheckIndividualPolicies(const PolicyMap& policies, 50 bool HasDefaultSearchPolicy(const PolicyMap& policies, 54 bool AnyDefaultSearchPoliciesSpecified(const PolicyMap& policies); 57 bool DefaultSearchProviderIsDisabled(const PolicyMap& policies); 61 bool DefaultSearchURLIsValid(const PolicyMap& policies,
|
D | default_search_policy_handler.cc | 24 void SetListInPref(const PolicyMap& policies, in SetListInPref() argument 29 const base::Value* policy_value = policies.GetValue(policy_name); in SetListInPref() 39 void SetStringInPref(const PolicyMap& policies, in SetStringInPref() argument 44 const base::Value* policy_value = policies.GetValue(policy_name); in SetStringInPref() 154 const PolicyMap& policies, PrefValueMap* prefs) { in ApplyPolicySettings() argument 158 const base::Value* value = policies.GetValue(policy_name()); in ApplyPolicySettings() 197 bool DefaultSearchPolicyHandler::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings() argument 199 if (!CheckIndividualPolicies(policies, errors)) in CheckPolicySettings() 202 if (DefaultSearchProviderIsDisabled(policies)) { in CheckPolicySettings() 211 HasDefaultSearchPolicy(policies, policy_name)) { in CheckPolicySettings() [all …]
|
/external/chromium_org/chrome/browser/sessions/ |
D | restore_on_startup_policy_handler.cc | 27 const PolicyMap& policies, in ApplyPolicySettings() argument 30 policies.GetValue(policy_name()); in ApplyPolicySettings() 37 ApplyPolicySettingsFromHomePage(policies, prefs); in ApplyPolicySettings() 44 const PolicyMap& policies, in ApplyPolicySettingsFromHomePage() argument 47 policies.GetValue(key::kHomepageIsNewTabPage); in ApplyPolicySettingsFromHomePage() 63 policies.GetValue(key::kHomepageLocation); in ApplyPolicySettingsFromHomePage() 78 const PolicyMap& policies, in CheckPolicySettings() argument 80 if (!TypeCheckingPolicyHandler::CheckPolicySettings(policies, errors)) in CheckPolicySettings() 83 const base::Value* restore_policy = policies.GetValue(key::kRestoreOnStartup); in CheckPolicySettings() 97 policies.GetValue(key::kCookiesSessionOnlyForUrls); in CheckPolicySettings() [all …]
|
/external/chromium_org/chrome/browser/net/ |
D | proxy_policy_handler.cc | 64 bool ProxyPolicyHandler::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings() argument 66 const base::Value* mode = GetProxyPolicyValue(policies, key::kProxyMode); in CheckPolicySettings() 67 const base::Value* server = GetProxyPolicyValue(policies, key::kProxyServer); in CheckPolicySettings() 69 GetProxyPolicyValue(policies, key::kProxyServerMode); in CheckPolicySettings() 70 const base::Value* pac_url = GetProxyPolicyValue(policies, key::kProxyPacUrl); in CheckPolicySettings() 72 GetProxyPolicyValue(policies, key::kProxyBypassList); in CheckPolicySettings() 82 if (!CheckProxyModeAndServerMode(policies, errors, &mode_value)) in CheckPolicySettings() 131 void ProxyPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, in ApplyPolicySettings() argument 133 const base::Value* mode = GetProxyPolicyValue(policies, key::kProxyMode); in ApplyPolicySettings() 134 const base::Value* server = GetProxyPolicyValue(policies, key::kProxyServer); in ApplyPolicySettings() [all …]
|
/external/chromium_org/chromeos/network/ |
D | managed_network_configuration_handler_impl.cc | 80 const base::DictionaryValue* GetByGUID(const GuidToPolicyMap& policies, in GetByGUID() argument 82 GuidToPolicyMap::const_iterator it = policies.find(guid); in GetByGUID() 83 if (it == policies.end()) in GetByGUID() 176 const Policies* policies = GetPoliciesForProfile(*profile); in SendManagedProperties() local 177 if (!policies) { in SendManagedProperties() 183 network_policy = GetByGUID(policies->per_network_config, guid); in SendManagedProperties() 184 global_policy = &policies->global_network_config; in SendManagedProperties() 262 const Policies* policies = GetPoliciesForProfile(*profile); in SetProperties() local 263 if (!policies) { in SetProperties() 290 GetByGUID(policies->per_network_config, guid); in SetProperties() [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/x509/ |
D | x509_vpm.c | 78 if (param->policies) in x509_verify_param_zero() 80 sk_ASN1_OBJECT_pop_free(param->policies, ASN1_OBJECT_free); in x509_verify_param_zero() 81 param->policies = NULL; in x509_verify_param_zero() 226 if (test_x509_verify_param_copy(policies, NULL)) in X509_VERIFY_PARAM_inherit() 228 if (!X509_VERIFY_PARAM_set1_policies(dest, src->policies)) in X509_VERIFY_PARAM_inherit() 346 if (!param->policies) in X509_VERIFY_PARAM_add0_policy() 348 param->policies = sk_ASN1_OBJECT_new_null(); in X509_VERIFY_PARAM_add0_policy() 349 if (!param->policies) in X509_VERIFY_PARAM_add0_policy() 352 if (!sk_ASN1_OBJECT_push(param->policies, policy)) in X509_VERIFY_PARAM_add0_policy() 358 STACK_OF(ASN1_OBJECT) *policies) in X509_VERIFY_PARAM_set1_policies() [all …]
|
/external/chromium_org/chrome/browser/extensions/api/storage/ |
D | policy_value_store_unittest.cc | 121 policy::PolicyMap policies; in TEST_F() local 123 policies.Set("must", policy::POLICY_LEVEL_MANDATORY, in TEST_F() 125 policies.Set("may", policy::POLICY_LEVEL_RECOMMENDED, in TEST_F() 128 store_->SetCurrentPolicy(policies); in TEST_F() 167 policy::PolicyMap policies; in TEST_F() local 168 policies.Set("aaa", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, in TEST_F() 170 store_->SetCurrentPolicy(policies); in TEST_F() 184 policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, in TEST_F() 186 store_->SetCurrentPolicy(policies); in TEST_F() 202 policies.Set("bbb", policy::POLICY_LEVEL_MANDATORY, policy::POLICY_SCOPE_USER, in TEST_F() [all …]
|
/external/chromium_org/chrome/browser/extensions/ |
D | policy_handlers.cc | 33 const policy::PolicyMap& policies, in CheckPolicySettings() argument 35 return CheckAndGetList(policies, errors, NULL); in CheckPolicySettings() 39 const policy::PolicyMap& policies, in ApplyPolicySettings() argument 43 if (CheckAndGetList(policies, &errors, &list) && list) in ApplyPolicySettings() 52 const policy::PolicyMap& policies, in CheckAndGetList() argument 59 if (!CheckAndGetValue(policies, errors, &value)) in CheckAndGetList() 108 const policy::PolicyMap& policies, in CheckPolicySettings() argument 111 return CheckAndGetValue(policies, errors, &value) && in CheckPolicySettings() 116 const policy::PolicyMap& policies, in ApplyPolicySettings() argument 120 if (CheckAndGetValue(policies, NULL, &value) && in ApplyPolicySettings() [all …]
|
D | policy_handlers.h | 29 virtual bool CheckPolicySettings(const policy::PolicyMap& policies, 31 virtual void ApplyPolicySettings(const policy::PolicyMap& policies, 38 bool CheckAndGetList(const policy::PolicyMap& policies, 56 virtual bool CheckPolicySettings(const policy::PolicyMap& policies, 58 virtual void ApplyPolicySettings(const policy::PolicyMap& policies, 80 virtual bool CheckPolicySettings(const policy::PolicyMap& policies, 82 virtual void ApplyPolicySettings(const policy::PolicyMap& policies,
|
/external/chromium_org/remoting/host/ |
D | remoting_me2me_host.cc | 236 void OnPolicyUpdate(scoped_ptr<base::DictionaryValue> policies); 239 bool OnHostDomainPolicyUpdate(base::DictionaryValue* policies); 240 bool OnUsernamePolicyUpdate(base::DictionaryValue* policies); 241 bool OnNatPolicyUpdate(base::DictionaryValue* policies); 242 bool OnRelayPolicyUpdate(base::DictionaryValue* policies); 243 bool OnUdpPortPolicyUpdate(base::DictionaryValue* policies); 244 bool OnCurtainPolicyUpdate(base::DictionaryValue* policies); 245 bool OnHostTalkGadgetPrefixPolicyUpdate(base::DictionaryValue* policies); 246 bool OnHostTokenUrlPolicyUpdate(base::DictionaryValue* policies); 247 bool OnPairingPolicyUpdate(base::DictionaryValue* policies); [all …]
|
/external/chromium_org/tools/deep_memory_profiler/ |
D | graph.py | 68 policies = list(json_data['policies']) 71 if default_policy not in policies: 72 default_policy = policies[0] 74 policies = "".join(map(lambda x: '<li id="'+x+'">'+x+'</li>', policies)) 90 {'POLICIES': policies,
|
/external/chromium_org/components/policy/resources/ |
D | PRESUBMIT.py | 19 policies = ( policy 26 return list(itertools.chain(policies, subpolicies)) 49 def _CheckPolicyTestCases(input_api, output_api, policies): argument 58 policy_names = frozenset(policy['name'] for policy in policies) 77 def _CheckPolicyHistograms(input_api, output_api, policies): argument 95 for policy in policies: 111 policies = _GetPolicyTemplates(template_path) 115 results.extend(_CheckPolicyTestCases(input_api, output_api, policies)) 116 results.extend(_CheckPolicyHistograms(input_api, output_api, policies))
|
/external/chromium_org/chrome/browser/profiles/ |
D | incognito_mode_policy_handler.cc | 24 bool IncognitoModePolicyHandler::CheckPolicySettings(const PolicyMap& policies, in CheckPolicySettings() argument 28 policies.GetValue(key::kIncognitoModeAvailability); in CheckPolicySettings() 48 policies.GetValue(key::kIncognitoEnabled); in CheckPolicySettings() 60 void IncognitoModePolicyHandler::ApplyPolicySettings(const PolicyMap& policies, in ApplyPolicySettings() argument 63 policies.GetValue(key::kIncognitoModeAvailability); in ApplyPolicySettings() 65 policies.GetValue(key::kIncognitoEnabled); in ApplyPolicySettings()
|