/external/checkpolicy/ |
D | checkmodule.c | 47 unsigned int policy_type = POLICY_BASE; variable 124 p->policy_type = policy_type; in write_binary_policy() 207 policy_type = POLICY_MOD; in main() 224 if (handle_unknown && (policy_type != POLICY_BASE)) { in main() 253 modpolicydb.policy_type = policy_type; in main() 266 if (modpolicydb.policy_type == POLICY_BASE) { in main()
|
D | module_compiler.c | 58 if (policydbp->policy_type != POLICY_MOD) { in define_policy() 82 if (policydbp->policy_type == POLICY_MOD) { in define_policy() 825 if (policydbp->policy_type == POLICY_BASE) { in require_class() 1547 if (policydbp->policy_type == POLICY_BASE in end_avrule_block()
|
D | checkpolicy.c | 559 parse_policy.policy_type = POLICY_BASE; in main() 608 policydb.policy_type = POLICY_KERN; in main()
|
/external/libsepol/src/ |
D | write.c | 108 unsigned int oldvers = (p->policy_type == POLICY_KERN in avtab_write_item() 248 unsigned int oldvers = (p->policy_type == POLICY_KERN in avtab_write() 471 int new_roletr = (p->policy_type == POLICY_KERN && in role_trans_write() 626 if (p->policy_type != POLICY_KERN && in cond_write_bool() 653 unsigned int oldvers = (p->policy_type == POLICY_KERN in cond_write_av_list() 728 if (p->policy_type == POLICY_KERN) { in cond_write_node() 740 if (p->policy_type != POLICY_KERN && in cond_write_node() 791 && p->policy_type == POLICY_KERN) in context_write() 793 && p->policy_type == POLICY_BASE)) in context_write() 896 if (p->policy_type != POLICY_KERN && in write_cons_helper() [all …]
|
D | policydb.c | 626 (p->policy_type == in roles_init() 737 if (p->policy_type != POLICY_KERN && p->policy_type != POLICY_MOD) { in policydb_user_cache() 1791 if ((p->policy_type == POLICY_KERN in context_read_and_validate() 1793 || (p->policy_type == POLICY_BASE in context_read_and_validate() 1977 if (p->policy_type != POLICY_KERN && in read_cons_helper() 2054 if ((p->policy_type == POLICY_KERN in class_read() 2056 || (p->policy_type == POLICY_BASE in class_read() 2114 if (p->policy_type == POLICY_KERN) { in role_read() 2122 if (p->policy_type != POLICY_KERN && in role_read() 2171 if (p->policy_type != POLICY_KERN in type_read() [all …]
|
D | policydb_public.c | 112 p->policy_type = type; in sepol_policydb_set_typevers() 119 switch (p->policy_type) { in sepol_policydb_set_vers()
|
D | conditional.c | 601 if (p->policy_type != POLICY_KERN && in cond_read_bool() 810 if (p->policy_type == POLICY_KERN) { in cond_read_node() 823 if (p->policy_type != POLICY_KERN && in cond_read_node()
|
D | module.c | 877 && (p->policy->p.policy_type != SEPOL_POLICY_BASE)) { in sepol_module_package_write()
|
D | link.c | 2486 if (b->policy_type != POLICY_BASE) { in link_modules() 2500 if (mods[i]->policy_type != POLICY_MOD) { in link_modules()
|
/external/libsepol/tests/ |
D | helpers.c | 35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *p… in test_load_policy() argument 54 p->policy_type = policy_type; in test_load_policy()
|
D | test-expander.c | 98 mybase->policy_type = POLICY_BASE; in expander_policy_init() 107 mymodules[i - 1]->policy_type = POLICY_MOD; in expander_policy_init()
|
D | helpers.h | 48 extern int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const …
|
/external/chromium/net/tools/testserver/ |
D | 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 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': 458 self._server.policy[msg.policy_type]) 476 policy_data.policy_type = msg.policy_type
|
/external/chromium/chrome/browser/policy/ |
D | configuration_policy_provider.cc | 33 store->Apply(i->policy_type, value->DeepCopy()); in ApplyPolicyValueTree() 46 const Value* value = policies->Get(i->policy_type); in ApplyPolicyMap() 48 store->Apply(i->policy_type, value->DeepCopy()); in ApplyPolicyMap()
|
D | device_token_fetcher.cc | 66 em::DeviceRegisterRequest_Type policy_type, in FetchToken() argument 72 policy_type_ = policy_type; in FetchToken()
|
D | configuration_policy_provider.h | 38 ConfigurationPolicyType policy_type; member
|
D | cloud_policy_controller_unittest.cc | 130 const std::string& policy_type, in SetupIdentityStrategy() argument 143 Return(policy_type)); in SetupIdentityStrategy()
|
D | cloud_policy_controller.cc | 236 em::DeviceRegisterRequest_Type policy_type = in FetchToken() local 240 token_fetcher_->FetchToken(auth_token, device_id, policy_type, in FetchToken()
|
D | device_token_fetcher.h | 57 em::DeviceRegisterRequest_Type policy_type,
|
D | configuration_policy_pref_store.cc | 62 ConfigurationPolicyType policy_type; member 358 if (map[current].policy_type == policy) { in ApplyPolicyFromMap()
|
/external/libsepol/include/sepol/policydb/ |
D | policydb.h | 450 uint32_t policy_type; member 700 (((p)->policy_type == POLICY_KERN \ 702 ((p)->policy_type != POLICY_KERN \
|
/external/checkpolicy/test/ |
D | dismod.c | 753 if (base->policy_type != POLICY_BASE) { in link_module() 772 if (module.policy_type != POLICY_MOD) { in link_module() 855 if (policydb.policy_type != POLICY_BASE && in main() 856 policydb.policy_type != POLICY_MOD) { in main() 872 if (policydb.policy_type == POLICY_BASE) { in main()
|
/external/chromium/chrome/browser/policy/proto/ |
D | device_management_backend.proto | 98 optional string policy_type = 1; field 122 // See PolicyFetchRequest.policy_type. 123 optional string policy_type = 1; field
|
/external/libsepol/ |
D | ChangeLog | 526 2) policydb_init no longer takes policy_type argument. 527 Caller must set policy_type separately. 530 4) policydb_write uses the policy_type and policyvers from the
|
/external/chromium/chrome/browser/chromeos/login/ |
D | signed_settings.cc | 67 poldata->policy_type() == kDevicePolicyType && in PolicyIsSane()
|