Home
last modified time | relevance | path

Searched refs:source_type (Results 1 – 21 of 21) sorted by relevance

/system/sepolicy/tools/sepolicy-analyze/
Dtypecmp.c21 if (k->source_type < c->key.source_type) in insert_type_rule()
23 if (k->source_type == c->key.source_type && in insert_type_rule()
26 if (k->source_type == c->key.source_type && in insert_type_rule()
33 k->source_type == c->key.source_type && in insert_type_rule()
67 key.source_type = 0; in create_type_rules_helper()
68 if (k->source_type == k->target_type) { in create_type_rules_helper()
72 if (insert_type_rule(&key, d, &type_rules[k->source_type - 1])) in create_type_rules_helper()
75 if (k->source_type == k->target_type) in create_type_rules_helper()
127 if (l1->key.source_type < c->key.source_type) in find_match()
129 if (l1->key.source_type == c->key.source_type && in find_match()
[all …]
Ddups.c27 if (k->source_type == k->target_type) in find_dups_helper()
33 sattr = &policydb->type_attr_map[k->source_type - 1]; in find_dups_helper()
35 stype = policydb->type_val_to_struct[k->source_type - 1]; in find_dups_helper()
44 avkey.source_type = i + 1; in find_dups_helper()
46 if (avkey.source_type == k->source_type && in find_dups_helper()
49 if (avkey.source_type == avkey.target_type) in find_dups_helper()
51 stype2 = policydb->type_val_to_struct[avkey.source_type - 1]; in find_dups_helper()
Dutils.c15 policydb->p_type_val_to_name[key->source_type in display_allow()
16 ? key->source_type - 1 : idx], in display_allow()
17 key->target_type == key->source_type ? "self" : in display_allow()
/system/sepolicy/tools/
Dsepolicy-check.c63 int expand_and_check(int s_op, uint32_t source_type, in expand_and_check() argument
86 match &= check(s_op, source_type, cur->key.source_type); in expand_and_check()
128 key.source_type = key.target_type = key.target_class = 0; in check_rule()
167 key.source_type = src->s.value; in check_rule()
174 match = expand_and_check(s_op, key.source_type, in check_rule()
182 return expand_and_check(s_op, key.source_type, in check_rule()
/system/bt/test/mock/
Dmock_stack_metrics_logging.h140 android::bluetooth::DeviceInfoSrcEnum source_type,
146 android::bluetooth::DeviceInfoSrcEnum source_type,
151 android::bluetooth::DeviceInfoSrcEnum source_type, in operator()
156 body(address, source_type, source_name, manufacturer, model, in operator()
Dmock_stack_metrics_logging.cc103 android::bluetooth::DeviceInfoSrcEnum source_type, in log_manufacturer_info() argument
111 address, source_type, source_name, manufacturer, model, hardware_version, in log_manufacturer_info()
Dmock_main_shim_metrics_api.h261 android::bluetooth::DeviceInfoSrcEnum source_type,
267 android::bluetooth::DeviceInfoSrcEnum source_type,
272 android::bluetooth::DeviceInfoSrcEnum source_type, in operator()
277 body(raw_address, source_type, source_name, manufacturer, model, in operator()
Dmock_main_shim_metrics_api.cc170 android::bluetooth::DeviceInfoSrcEnum source_type, in LogMetricManufacturerInfo() argument
176 raw_address, source_type, source_name, manufacturer, model, in LogMetricManufacturerInfo()
Dmock_common_metrics.cc162 android::bluetooth::DeviceInfoSrcEnum source_type, in LogManufacturerInfo() argument
/system/bt/stack/metrics/
Dstack_metrics_logging.cc82 android::bluetooth::DeviceInfoSrcEnum source_type, in log_manufacturer_info() argument
90 address, source_type, source_name, manufacturer, model, in log_manufacturer_info()
93 bluetooth::common::LogManufacturerInfo(address, source_type, source_name, in log_manufacturer_info()
/system/bt/stack/include/
Dstack_metrics_logging.h44 android::bluetooth::DeviceInfoSrcEnum source_type,
/system/bt/main/shim/
Dmetrics_api.cc129 android::bluetooth::DeviceInfoSrcEnum source_type, in LogMetricManufacturerInfo() argument
134 bluetooth::os::LogMetricManufacturerInfo(address, source_type, source_name, in LogMetricManufacturerInfo()
Dmetrics_api.h206 android::bluetooth::DeviceInfoSrcEnum source_type,
/system/bt/gd/os/android/
Dmetrics.cc374 android::bluetooth::DeviceInfoSrcEnum source_type, in LogMetricManufacturerInfo() argument
387 source_type, in LogMetricManufacturerInfo()
399 source_type, in LogMetricManufacturerInfo()
/system/bt/gd/os/linux/
Dmetrics.cc83 android::bluetooth::DeviceInfoSrcEnum source_type, in LogMetricManufacturerInfo() argument
/system/bt/gd/os/host/
Dmetrics.cc83 android::bluetooth::DeviceInfoSrcEnum source_type, in LogMetricManufacturerInfo() argument
/system/bt/gd/os/
Dmetrics.h248 android::bluetooth::DeviceInfoSrcEnum source_type,
/system/bt/common/
Dmetrics_linux.cc142 android::bluetooth::DeviceInfoSrcEnum source_type, in LogManufacturerInfo() argument
Dmetrics.h486 android::bluetooth::DeviceInfoSrcEnum source_type,
Dmetrics.cc874 android::bluetooth::DeviceInfoSrcEnum source_type, in LogManufacturerInfo() argument
892 source_type, source_name.c_str(), manufacturer.c_str(), model.c_str(), in LogManufacturerInfo()
896 << source_type << ", source_name " << source_name in LogManufacturerInfo()
/system/sepolicy/tests/
Dsepol_wrap.cpp281 db->p_type_val_to_name[(avtab_i->cur)->key.source_type - 1], in get_avtab_allow_rule()