Home
last modified time | relevance | path

Searched refs:num_attributes (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Bluetooth/system/stack/sdp/
Dsdp_db.cc113 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) { in sdp_db_service_search()
127 if (xx == p_rec->num_attributes) break; in sdp_db_service_search()
180 for (xx = 0, p_at = &p_rec->attribute[0]; xx < p_rec->num_attributes; in sdp_db_find_attr_in_rec()
409 for (zz = 0; zz < p_rec->num_attributes; zz++) in SDP_DeleteRecord()
451 for (xx = 0; xx < p_rec->num_attributes; xx++, p_attr++) { in SDP_AddAttributeToRecord()
460 if (p_rec->num_attributes >= SDP_MAX_REC_ATTR) return (false); in SDP_AddAttributeToRecord()
463 if (xx == p_rec->num_attributes) in SDP_AddAttributeToRecord()
464 p_attr = &p_rec->attribute[p_rec->num_attributes]; in SDP_AddAttributeToRecord()
467 for (yy = p_rec->num_attributes; yy > xx; yy--) in SDP_AddAttributeToRecord()
510 p_rec->num_attributes++; in SDP_AddAttributeToRecord()
[all …]
Dsdpint.h105 uint16_t num_attributes; member
Dsdp_server.cc398 for (j = 0; j < p_rec->num_attributes; j++, p_attr++) { in sdp_upgrade_pse_record()
770 for (att_index = 0; att_index < p_rec->num_attributes; att_index++) { in sdp_pbap_pse_dynamic_attributes_len_update()
/packages/modules/Bluetooth/system/stack/test/sdp/
Dstack_sdp_db_test.cc54 ASSERT_EQ((uint16_t)1, record->num_attributes); in TEST_F()
76 record->num_attributes); in TEST_F()
109 record->num_attributes); in TEST_F()
165 record->num_attributes); in TEST_F()
184 record->num_attributes); in TEST_F()
/packages/modules/Bluetooth/system/packet/avrcp/
Dget_current_player_application_setting_value.cc79 size_t num_attributes = GetNumberOfRequestedAttributes(); in IsValid() local
82 return (num_attributes * sizeof(uint8_t)) == (size_t)(end() - attr_start); in IsValid()
Dget_element_attributes_packet.cc55 size_t num_attributes = GetNumAttributes(); in IsValid() local
60 return (num_attributes * sizeof(Attribute)) == (size_t)(end() - attr_start); in IsValid()