Lines Matching refs:feature

35 static const char* interop_feature_string_(const interop_feature_t feature);
38 static bool interop_match_fixed_(const interop_feature_t feature, const bt_bdaddr_t *addr);
39 static bool interop_match_dynamic_(const interop_feature_t feature, const bt_bdaddr_t *addr);
43 bool interop_match_addr(const interop_feature_t feature, const bt_bdaddr_t *addr) { in interop_match_addr() argument
46 if (interop_match_fixed_(feature, addr) || interop_match_dynamic_(feature, addr)) { in interop_match_addr()
50 interop_feature_string_(feature)); in interop_match_addr()
57 bool interop_match_name(const interop_feature_t feature, const char *name) { in interop_match_name() argument
62 if (feature == interop_name_database[i].feature && in interop_match_name()
72 void interop_database_add(const uint16_t feature, const bt_bdaddr_t *addr, size_t length) { in interop_database_add() argument
79 entry->feature = feature; in interop_database_add()
110 static const char* interop_feature_string_(const interop_feature_t feature) { in interop_feature_string_() argument
111 switch (feature) { in interop_feature_string_()
134 static bool interop_match_dynamic_(const interop_feature_t feature, const bt_bdaddr_t *addr) { in interop_match_dynamic_() argument
143 if (feature == entry->feature && memcmp(addr, &entry->addr, entry->length) == 0) in interop_match_dynamic_()
151 static bool interop_match_fixed_(const interop_feature_t feature, const bt_bdaddr_t *addr) { in interop_match_fixed_() argument
156 if (feature == interop_addr_database[i].feature && in interop_match_fixed_()