/external/libsepol/tests/ |
H A D | 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);
|
H A D | helpers.c | 35 int test_load_policy(policydb_t * p, int policy_type, int mls, const char *test_name, const char *policy_name) argument 54 p->policy_type = policy_type;
|
H A D | test-expander.c | 98 mybase->policy_type = POLICY_BASE; 107 mymodules[i - 1]->policy_type = POLICY_MOD;
|
/external/chromium/chrome/browser/policy/ |
H A D | 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());
|
H A D | configuration_policy_provider.h | 38 ConfigurationPolicyType policy_type; member in struct:policy::ConfigurationPolicyProvider::PolicyDefinitionList::Entry
|
H A D | device_token_fetcher.h | 57 em::DeviceRegisterRequest_Type policy_type,
|
H A D | cloud_policy_controller_unittest.cc | 130 const std::string& policy_type, 143 Return(policy_type)); 125 SetupIdentityStrategy( const std::string& device_token, const std::string& device_id, const std::string& machine_id, const std::string& machine_model, const std::string& policy_type, const em::DeviceRegisterRequest_Type& policy_register_type, const std::string& user_name, const std::string& auth_token) argument
|
H A D | device_token_fetcher.cc | 66 em::DeviceRegisterRequest_Type policy_type, 72 policy_type_ = policy_type; 63 FetchToken( const std::string& auth_token, const std::string& device_id, em::DeviceRegisterRequest_Type policy_type, const std::string& machine_id, const std::string& machine_model) argument
|
H A D | cloud_policy_controller.cc | 236 em::DeviceRegisterRequest_Type policy_type = local 240 token_fetcher_->FetchToken(auth_token, device_id, policy_type,
|
H A D | configuration_policy_pref_store.cc | 62 ConfigurationPolicyType policy_type; member in struct:policy::ConfigurationPolicyPrefKeeper::PolicyToPreferenceMapEntry 358 if (map[current].policy_type == policy) {
|
/external/checkpolicy/ |
H A D | checkmodule.c | 47 unsigned int policy_type = POLICY_BASE; variable 124 p->policy_type = policy_type; 207 policy_type = POLICY_MOD; 224 if (handle_unknown && (policy_type != POLICY_BASE)) { 253 modpolicydb.policy_type = policy_type; 266 if (modpolicydb.policy_type == POLICY_BASE) {
|
H A D | module_compiler.c | 58 if (policydbp->policy_type != POLICY_MOD) { 82 if (policydbp->policy_type == POLICY_MOD) { 825 if (policydbp->policy_type == POLICY_BASE) { 1547 if (policydbp->policy_type == POLICY_BASE
|
H A D | checkpolicy.c | 559 parse_policy.policy_type = POLICY_BASE; 608 policydb.policy_type = POLICY_KERN;
|
/external/libsepol/src/ |
H A D | 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 ! [all...] |
H A D | policydb.c | 626 (p->policy_type == 737 if (p->policy_type != POLICY_KERN && p->policy_type != POLICY_MOD) { 1791 if ((p->policy_type == POLICY_KERN 1793 || (p->policy_type == POLICY_BASE 1977 if (p->policy_type != POLICY_KERN && 2054 if ((p->policy_type == POLICY_KERN 2056 || (p->policy_type == POLICY_BASE 2114 if (p->policy_type == POLICY_KERN) { 2122 if (p->policy_type ! 3512 unsigned int policy_type, bufindex; local [all...] |
H A D | policydb_public.c | 112 p->policy_type = type; 119 switch (p->policy_type) {
|
H A D | conditional.c | 601 if (p->policy_type != POLICY_KERN && 810 if (p->policy_type == POLICY_KERN) { 823 if (p->policy_type != POLICY_KERN &&
|
H A D | module.c | 877 && (p->policy->p.policy_type != SEPOL_POLICY_BASE)) {
|
H A D | link.c | 2486 if (b->policy_type != POLICY_BASE) { 2500 if (mods[i]->policy_type != POLICY_MOD) {
|
H A D | services.c | 92 if (mypolicydb.policy_type)
|
H A D | expand.c | 2816 if (base->policy_type != POLICY_BASE) { 2821 state.out->policy_type = POLICY_KERN;
|
/external/chromium/net/tools/testserver/ |
H A 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 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 [all...] |
/external/libsepol/include/sepol/policydb/ |
H A D | policydb.h | 450 uint32_t policy_type; member in struct:policydb 700 (((p)->policy_type == POLICY_KERN \ 702 ((p)->policy_type != POLICY_KERN \
|
/external/checkpolicy/test/ |
H A D | dismod.c | 753 if (base->policy_type != POLICY_BASE) { 772 if (module.policy_type != POLICY_MOD) { 855 if (policydb.policy_type != POLICY_BASE && 856 policydb.policy_type != POLICY_MOD) { 872 if (policydb.policy_type == POLICY_BASE) {
|
/external/chromium/chrome/browser/chromeos/login/ |
H A D | signed_settings.cc | 67 poldata->policy_type() == kDevicePolicyType &&
|