HomeSort by relevance Sort by last modified time
    Searched refs:policy_type (Results 1 - 25 of 49) sorted by null

1 2

  /external/libsepol/tests/
helpers.h 38 * policy_type Type of policy expected - POLICY_BASE or POLICY_MOD.
48 extern int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name);
helpers.c 35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name)
54 p->policy_type = policy_type;
test-expander.c 98 mybase->policy_type = POLICY_BASE;
107 mymodules[i - 1]->policy_type = POLICY_MOD;
  /external/chromium_org/tools/grit/grit/format/policy_templates/writers/
adml_writer.py 63 policy_type = policy['type']
84 if policy_type == 'main':
86 elif policy_type in ('string', 'dict'):
92 elif policy_type == 'int':
96 elif policy_type in ('int-enum', 'string-enum'):
102 elif policy_type == 'list':
109 elif policy_type == 'group':
111 elif policy_type == 'external':
115 raise Exception('Unknown policy type %s.' % policy_type)
plist_writer.py 83 policy_type = policy['type']
84 if policy_type == 'external':
97 self.TYPE_TO_INPUT[policy_type])
98 if policy_type in ('int-enum', 'string-enum'):
101 if policy_type == 'int-enum':
admx_writer.py 254 policy_type = policy['type']
256 if policy_type == 'external':
276 if policy_type == 'main':
279 elif policy_type in ('string', 'dict'):
283 elif policy_type == 'int':
286 elif policy_type in ('int-enum', 'string-enum'):
289 elif policy_type == 'list':
292 elif policy_type == 'group':
295 raise Exception('Unknown policy type %s.' % policy_type)
doc_writer.py 365 policy_type = policy['type']
366 if policy_type == 'main':
378 elif policy_type == 'string':
380 elif policy_type in ('int', 'int-enum'):
389 elif policy_type == 'string-enum':
391 elif policy_type == 'list':
393 elif policy_type == 'dict':
396 raise Exception('Unknown policy type: ' + policy_type)
  /external/chromium/chrome/browser/policy/
configuration_policy_provider.cc 33 store->Apply(i->policy_type, value->DeepCopy());
46 const Value* value = policies->Get(i->policy_type);
48 store->Apply(i->policy_type, value->DeepCopy());
configuration_policy_provider.h 38 ConfigurationPolicyType policy_type; member in struct:policy::ConfigurationPolicyProvider::PolicyDefinitionList::Entry
device_token_fetcher.h 57 em::DeviceRegisterRequest_Type policy_type,
  /external/chromium_org/components/policy/core/common/cloud/
component_cloud_policy_store.h 51 // |policy_type|. Otherwise returns false.
52 static bool GetPolicyType(PolicyDomain domain, std::string* policy_type);
54 // Returns true if |policy_type| corresponds to a policy domain that can be
57 static bool GetPolicyDomain(const std::string& policy_type,
116 const std::string& policy_type,
component_cloud_policy_store.cc 35 const char* policy_type; member in struct:policy::__anon7468::DomainConstants
55 if (kDomains[i].policy_type == type)
86 std::string* policy_type) {
89 *policy_type = constants->policy_type;
94 bool ComponentCloudPolicyStore::GetPolicyDomain(const std::string& policy_type,
96 const DomainConstants* constants = GetDomainConstantsForType(policy_type);
137 proto.Pass(), constants.policy_type, id, &payload, NULL)) {
261 GetDomainConstantsForType(policy_data.policy_type());
272 const std::string& policy_type,
    [all...]
cloud_policy_validator.cc 71 const std::string& policy_type) {
73 policy_type_ = policy_type;
249 policy_data_->policy_type() != policy_type_) {
250 LOG(ERROR) << "Wrong policy type " << policy_data_->policy_type();
  /external/chromium_org/content/shell/browser/
shell_network_delegate.cc 85 net::StaticCookiePolicy::Type policy_type = g_accept_all_cookies ? local
88 net::StaticCookiePolicy policy(policy_type);
97 net::StaticCookiePolicy::Type policy_type = g_accept_all_cookies ? local
100 net::StaticCookiePolicy policy(policy_type);
  /external/chromium_org/components/policy/tools/
syntax_check_policy_template_json.py 147 def _CheckPolicySchema(self, policy, policy_type):
153 if schema_type != TYPE_TO_SCHEMA[policy_type]:
188 policy_type = self._CheckContains(policy, 'type', str)
189 if policy_type not in policy_types:
191 'policy', policy.get('name'), policy_type)
209 if policy_type == 'group':
230 else: # policy_type != group
238 self._CheckPolicySchema(policy, policy_type)
273 if policy_type == 'main':
275 elif policy_type in ('string', 'string-enum')
    [all...]
  /external/checkpolicy/
checkmodule.c 47 unsigned int policy_type = POLICY_BASE; variable
126 p->policy_type = policy_type;
209 policy_type = POLICY_MOD;
226 if (handle_unknown && (policy_type != POLICY_BASE)) {
255 modpolicydb.policy_type = policy_type;
268 if (modpolicydb.policy_type == POLICY_BASE) {
  /external/chromium_org/content/renderer/
websharedworker_proxy.h 48 blink::WebContentSecurityPolicyType policy_type,
77 blink::WebContentSecurityPolicyType policy_type,
websharedworker_proxy.cc 58 blink::WebContentSecurityPolicyType policy_type,
82 content_security_policy, policy_type));
129 blink::WebContentSecurityPolicyType policy_type,
134 policy_type, pending_route_id_, script_resource_appcache_id);
  /external/libsepol/src/
write.c 108 unsigned int oldvers = (p->policy_type == POLICY_KERN
248 unsigned int oldvers = (p->policy_type == POLICY_KERN
471 int new_roletr = (p->policy_type == POLICY_KERN &&
626 if (p->policy_type != POLICY_KERN &&
653 unsigned int oldvers = (p->policy_type == POLICY_KERN
728 if (p->policy_type == POLICY_KERN) {
740 if (p->policy_type != POLICY_KERN &&
791 && p->policy_type == POLICY_KERN)
793 && p->policy_type == POLICY_BASE))
896 if ((p->policy_type != POLICY_KERN &
    [all...]
policydb.c 689 (p->policy_type ==
800 if (p->policy_type != POLICY_KERN && p->policy_type != POLICY_MOD) {
3605 unsigned int policy_type, bufindex; local
    [all...]
policydb_public.c 112 p->policy_type = type;
119 switch (p->policy_type) {
  /external/chromium/net/tools/testserver/
device_management.py 243 policy_data.policy_type = msg.policy_type
325 if request.policy_type == 'google/chromeos/unregistered_user':
329 elif (request.policy_type in
335 return (400, 'Invalid policy_type')
448 if (msg.policy_type in token_info['allowed_policy_types'] and
449 msg.policy_type in self._server.policy):
450 if msg.policy_type == 'google/chromeos/user':
453 self._server.policy[msg.policy_type])
455 elif msg.policy_type == 'google/chromeos/device'
    [all...]
  /external/chromium_org/content/worker/
websharedworker_stub.cc 87 blink::WebContentSecurityPolicyType policy_type) {
94 content_security_policy, policy_type, 0);
websharedworker_stub.h 60 blink::WebContentSecurityPolicyType policy_type);
  /external/chromium_org/chromeos/network/
policy_util.cc 80 std::string policy_type; local
82 &policy_type);
86 if (policy_type != actual_network_type)

Completed in 358 milliseconds

1 2