HomeSort by relevance Sort by last modified time
    Searched refs:policy_type (Results 1 - 25 of 50) 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':
112 raise Exception('Unknown policy type %s.' % policy_type)
plist_writer.py 83 policy_type = policy['type']
94 self.TYPE_TO_INPUT[policy_type])
95 if policy_type in ('int-enum', 'string-enum'):
98 if policy_type == 'int-enum':
admx_writer.py 254 policy_type = policy['type']
273 if policy_type == 'main':
276 elif policy_type in ('string', 'dict'):
280 elif policy_type == 'int':
283 elif policy_type in ('int-enum', 'string-enum'):
286 elif policy_type == 'list':
289 elif policy_type == 'group':
292 raise Exception('Unknown policy type %s.' % policy_type)
doc_writer.py 359 policy_type = policy['type']
360 if policy_type == 'main':
369 elif policy_type == 'string':
371 elif policy_type in ('int', 'int-enum'):
375 elif policy_type == 'string-enum':
377 elif policy_type == 'list':
379 elif policy_type == 'dict':
382 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/chrome/browser/policy/cloud/
component_cloud_policy_store.cc 37 const char* policy_type; member in struct:policy::__anon7876::DomainConstants
57 if (kDomains[i].policy_type == type)
84 std::string* policy_type) {
87 *policy_type = constants->policy_type;
92 bool ComponentCloudPolicyStore::GetPolicyDomain(const std::string& policy_type,
94 const DomainConstants* constants = GetDomainConstantsForType(policy_type);
135 proto.Pass(), constants.policy_type, id, &payload, NULL)) {
246 GetDomainConstantsForType(policy_data.policy_type());
257 const std::string& policy_type,
    [all...]
component_cloud_policy_store.h 52 // |policy_type|. Otherwise returns false.
53 static bool GetPolicyType(PolicyDomain domain, std::string* policy_type);
55 // Returns true if |policy_type| corresponds to a policy domain that can be
58 static bool GetPolicyDomain(const std::string& policy_type,
114 const std::string& policy_type,
component_cloud_policy_service.cc 176 std::string policy_type; local
178 &policy_type)) {
185 cache_->Store(kComponentNamespaceCache, policy_type, data);
457 std::string policy_type; local
458 if (ComponentCloudPolicyStore::GetPolicyType(domain, &policy_type)) {
460 client_->AddNamespaceToFetch(PolicyNamespaceKey(policy_type, *it));
467 std::string policy_type; local
468 if (ComponentCloudPolicyStore::GetPolicyType(domain, &policy_type)) {
470 client_->RemoveNamespaceToFetch(PolicyNamespaceKey(policy_type, *it));
  /external/chromium_org/content/shell/
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/chrome/app/policy/
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 WebKit::WebContentSecurityPolicyType policy_type,
80 WebKit::WebContentSecurityPolicyType policy_type,
websharedworker_proxy.cc 58 WebKit::WebContentSecurityPolicyType policy_type,
82 content_security_policy, policy_type));
129 WebKit::WebContentSecurityPolicyType policy_type,
134 policy_type, pending_route_id_, script_resource_appcache_id);
  /external/chromium_org/content/worker/
websharedworker_stub.h 58 WebKit::WebContentSecurityPolicyType policy_type);
websharedworker_stub.cc 88 WebKit::WebContentSecurityPolicyType policy_type) {
95 content_security_policy, policy_type, 0);
  /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/chrome/tools/build/
generate_policy_source.py 82 self.policy_type, self.protobuf_type, self.policy_protobuf_type = \
262 def _GetValueType(policy_type):
263 return policy_type if policy_type != 'TYPE_EXTERNAL' else 'TYPE_DICTIONARY'
279 (policy.name, _GetValueType(policy.policy_type),
408 if policy.policy_type == 'TYPE_DICTIONARY':
567 (_CreateValue(policy.policy_type, 'policy_proto.value()')))
569 _CreateExternalDataFetcher(policy.policy_type, policy.name))

Completed in 245 milliseconds

1 2