Home
last modified time | relevance | path

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

/aosp12/system/bt/btif/src/
H A Dbtif_sock_rfc.cc114 memset(rfc_slots, 0, sizeof(rfc_slots)); in btsock_rfc_init()
116 rfc_slots[i].scn = -1; in btsock_rfc_init()
117 rfc_slots[i].sdp_handle = 0; in btsock_rfc_init()
118 rfc_slots[i].fd = INVALID_FD; in btsock_rfc_init()
137 if (rfc_slots[i].id) cleanup_rfc_slot(&rfc_slots[i]); in btsock_rfc_cleanup()
145 if (rfc_slots[i].fd == INVALID_FD) return &rfc_slots[i]; in find_free_slot()
153 if (rfc_slots[i].id == id) return &rfc_slots[i]; in find_rfc_slot_by_id()
163 if (rfc_slots[i].id && rfc_slots[i].f.pending_sdp_request && in find_rfc_slot_by_pending_sdp()
164 rfc_slots[i].id < min_id) { in find_rfc_slot_by_pending_sdp()
165 min_id = rfc_slots[i].id; in find_rfc_slot_by_pending_sdp()
[all …]