Searched defs:policy_type (Results 1 - 9 of 9) sorted by relevance

/external/libsepol/tests/
H A Dhelpers.c35 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;
/external/checkpolicy/
H A Dcheckmodule.c47 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/chromeos/network/
H A Dpolicy_util.cc80 std::string policy_type; local
82 &policy_type);
86 if (policy_type != actual_network_type)
/external/chromium_org/components/policy/core/common/cloud/
H A Dcomponent_cloud_policy_store.cc35 const char* policy_type; member in struct:policy::__anon6712::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, argument
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,
85 GetPolicyType(PolicyDomain domain, std::string* policy_type) argument
270 ValidateProto( scoped_ptr<em::PolicyFetchResponse> proto, const std::string& policy_type, const std::string& settings_entity_id, em::ExternalPolicyData* payload, em::PolicyData* policy_data) argument
[all...]
H A Dcloud_policy_validator.cc103 const std::string& policy_type) {
105 policy_type_ = policy_type;
407 policy_data_->policy_type() != policy_type_) {
408 LOG(ERROR) << "Wrong policy type " << policy_data_->policy_type();
102 ValidatePolicyType( const std::string& policy_type) argument
/external/chromium_org/content/shell/browser/
H A Dshell_network_delegate.cc86 net::StaticCookiePolicy::Type policy_type = g_accept_all_cookies ? local
89 net::StaticCookiePolicy policy(policy_type);
98 net::StaticCookiePolicy::Type policy_type = g_accept_all_cookies ? local
101 net::StaticCookiePolicy policy(policy_type);
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Dactivity_log.cc401 ActivityLogPolicy::PolicyType policy_type) {
402 if (database_policy_type_ == policy_type)
418 switch (policy_type) {
429 database_policy_type_ = policy_type;
400 SetDatabasePolicy( ActivityLogPolicy::PolicyType policy_type) argument
/external/libsepol/src/
H A Dpolicydb.c691 (p->policy_type ==
802 if (p->policy_type != POLICY_KERN && p->policy_type != POLICY_MOD) {
1856 if ((p->policy_type == POLICY_KERN
1858 || (p->policy_type == POLICY_BASE
2042 if (p->policy_type != POLICY_KERN &&
2045 else if (p->policy_type == POLICY_KERN &&
2123 if ((p->policy_type == POLICY_KERN
2125 || (p->policy_type == POLICY_BASE
2136 if ((p->policy_type
3607 unsigned int policy_type, bufindex; local
[all...]
/external/libsepol/include/sepol/policydb/
H A Dpolicydb.h467 uint32_t policy_type; member in struct:policydb
723 (((p)->policy_type == POLICY_KERN \
725 ((p)->policy_type != POLICY_KERN \

Completed in 6679 milliseconds