/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/extensions/ |
policy_handlers.cc | 33 const policy::PolicyMap& policies, 35 return CheckAndGetList(policies, errors, NULL); 39 const policy::PolicyMap& policies, 43 if (CheckAndGetList(policies, &errors, &list) && list) 52 const policy::PolicyMap& policies, 59 if (!CheckAndGetValue(policies, errors, &value)) 108 const policy::PolicyMap& policies, 111 return CheckAndGetValue(policies, errors, &value) && 116 const policy::PolicyMap& policies, 120 if (CheckAndGetValue(policies, NULL, &value) & [all...] |
/external/chromium_org/components/policy/core/common/ |
proxy_policy_provider.cc | 50 bundle->CopyFrom(policies()); 59 bundle->CopyFrom(delegate_->policies());
|
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_provider_android_unittest.cc | 86 EXPECT_TRUE(provider.Get()->policies().Equals(kEmptyBundle)); 100 EXPECT_TRUE(provider.Get()->policies().Equals(expected_policy_bundle)); 114 EXPECT_TRUE(provider.Get()->policies().Equals(expected_policy_bundle)); 123 EXPECT_TRUE(provider.Get()->policies().Equals(expected_policy_bundle));
|
proxy_policy_provider_unittest.cc | 48 EXPECT_TRUE(PolicyBundle().Equals(proxy_provider_.policies())); 64 EXPECT_TRUE(bundle.Equals(proxy_provider_.policies())); 75 EXPECT_TRUE(bundle.Equals(proxy_provider_.policies())); 79 EXPECT_TRUE(PolicyBundle().Equals(proxy_provider_.policies()));
|
forwarding_policy_provider.cc | 16 // Serve the initial |delegate_| policies. 68 // Remove the policies that were being served for the component that have 84 bundle->CopyFrom(delegate_->policies()); 90 bundle->Get(chrome_ns).CopyFrom(delegate_->policies().Get(chrome_ns));
|
forwarding_policy_provider_unittest.cc | 78 EXPECT_TRUE(forwarding_provider_.policies().Equals(empty_bundle)); 104 EXPECT_TRUE(forwarding_provider_.policies().Equals(bundle)); 153 EXPECT_TRUE(forwarding_provider_.policies().Equals(expected_bundle)); 163 EXPECT_TRUE(forwarding_provider_.policies().Equals(expected_bundle)); 227 EXPECT_TRUE(forwarding_provider_.policies().Equals(platform_policy)); 234 EXPECT_TRUE(forwarding_provider_.policies().Equals(empty)); 236 // Adding it back should serve the current policies again, even though they 247 EXPECT_TRUE(forwarding_provider_.policies().Equals(platform_policy));
|
config_dir_policy_loader.h | 43 // Merges the 3rd party |policies| into the |bundle|, with the given |level|. 44 void Merge3rdPartyPolicy(const base::Value* policies, 54 // Policies loaded by this provider will have this scope.
|
mock_configuration_policy_provider.cc | 39 bundle->CopyFrom(policies());
|
policy_provider_android.cc | 59 // If we don't have a delegate, pass a copy of the current policies. 61 bundle->CopyFrom(policies());
|
/external/chromium_org/components/search_engines/ |
default_search_policy_handler.cc | 24 void SetListInPref(const PolicyMap& policies, 29 const base::Value* policy_value = policies.GetValue(policy_name); 39 void SetStringInPref(const PolicyMap& policies, 44 const base::Value* policy_value = policies.GetValue(policy_name); 55 // List of policy types to preference names, for policies affecting the default 108 // List of policy types to preference names, for policies affecting the default 154 const PolicyMap& policies, PrefValueMap* prefs) { 158 const base::Value* value = policies.GetValue(policy_name()); 197 bool DefaultSearchPolicyHandler::CheckPolicySettings(const PolicyMap& policies, 199 if (!CheckIndividualPolicies(policies, errors) [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
IPolicyService.aidl | 21 boolean isActive(in Policy policies);
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
configuration_policy_handler_chromeos.cc | 128 bool ExternalDataPolicyHandler::CheckPolicySettings(const PolicyMap& policies, 130 if (!TypeCheckingPolicyHandler::CheckPolicySettings(policies, errors)) 134 const base::Value* value = policies.GetValue(policy); 167 void ExternalDataPolicyHandler::ApplyPolicySettings(const PolicyMap& policies, 192 const PolicyMap& policies, 195 if (!CheckAndGetValue(policies, errors, &value)) 217 // ONC policies are always unencrypted. 235 const PolicyMap& policies, 237 const base::Value* value = policies.GetValue(policy_name()); 260 PolicyMap* policies) const [all...] |
/external/libsepol/tests/ |
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_org/remoting/host/ |
remoting_me2me_host.cc | 176 // Host process has just been started. Waiting for config and policies to be 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); [all...] |
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
plist_writer_unittest.py | 22 def _GetExpectedOutputs(self, product_name, bundle_id, policies): 30 policies: The list of policies. 53 </plist>''' % (product_name, bundle_id, policies) 82 'policies': [{ 129 'policies': [{ 180 'policies': [{ 233 'policies': [{ 280 'policies': [{ 338 'policies': [ [all...] |
adm_writer.py | 159 self.policies) 169 self.policies.AddLine('CATEGORY !!' + category_name, 1) 172 self.policies.AddLine('END CATEGORY', -1) 173 self.policies.AddLine('') 184 def _CreateTemplate(self, category_path, key_name, policies): 190 key_name: Main registry key backing the policies. 191 policies: ADM code for all the policies in an |IndentedStringBuilder|. 199 lines.AddLines(policies) 221 # All the policies will be written into self.policies [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
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...] |
/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);
|
/frameworks/base/core/java/android/net/ |
INetworkPolicyManager.aidl | 32 /** Control UID policies. */ 46 /** Control network policies atomically. */ 47 void setNetworkPolicies(in NetworkPolicy[] policies);
|
/external/chromium_org/third_party/boringssl/src/crypto/x509v3/ |
pcy_cache.c | 74 CERTIFICATEPOLICIES *policies, int crit) 81 if (sk_POLICYINFO_num(policies) == 0) 86 for (i = 0; i < sk_POLICYINFO_num(policies); i++) 88 policy = sk_POLICYINFO_value(policies, i); 119 sk_POLICYINFO_pop_free(policies, POLICYINFO_free); 149 * even if we don't have any policies. 175 * there is no point continuing because the valid policies will be
|
/external/openssl/crypto/x509v3/ |
pcy_cache.c | 74 CERTIFICATEPOLICIES *policies, int crit) 81 if (sk_POLICYINFO_num(policies) == 0) 86 for (i = 0; i < sk_POLICYINFO_num(policies); i++) 88 policy = sk_POLICYINFO_value(policies, i); 119 sk_POLICYINFO_pop_free(policies, POLICYINFO_free); 149 * even if we don't have any policies. 175 * there is no point continuing because the valid policies will be
|
/external/chromium_org/chromeos/network/ |
policy_util.h | 26 // profile type, the policies are assumed to come from the user or device policy 58 // Returns the policy from |policies| matching |actual_network|, if any exists. 62 const GuidToPolicyMap& policies,
|
/external/chromium_org/components/policy/core/common/cloud/ |
user_cloud_policy_store_base.cc | 18 PolicyMap* policies);
|