Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_sdp_server.cc68 static sdp_slot_t sdp_slots[MAX_SDP_SLOTS]; variable
96 memset(sdp_slots, 0, sizeof(sdp_slot_t) * MAX_SDP_SLOTS); in init_sdp_slots()
100 sdp_slots[i].state = SDP_RECORD_FREE; in init_sdp_slots()
203 if (sdp_slots[i].state == SDP_RECORD_FREE) { in alloc_sdp_slot()
204 sdp_slots[i].state = SDP_RECORD_ALLOCED; in alloc_sdp_slot()
205 sdp_slots[i].record_data = record; in alloc_sdp_slot()
227 handle = sdp_slots[id].sdp_handle; in free_sdp_slot()
228 sdp_slots[id].sdp_handle = 0; in free_sdp_slot()
229 if (sdp_slots[id].state != SDP_RECORD_FREE) { in free_sdp_slot()
231 record = sdp_slots[id].record_data; in free_sdp_slot()
[all …]