Searched refs:scb (Results 1 - 15 of 15) sorted by relevance

/external/bluetooth/bluedroid/bta/pan/
H A Dbta_pan_main.c169 ** Returns pointer to the scb, or NULL if none could be allocated.
174 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[0];
212 APPL_TRACE_EVENT3("PAN scb=%d event=0x%x state=%d", bta_pan_scb_to_idx(p_scb), event, p_scb->state);
287 /* allocate an scb */
320 ** Description Given a pointer to an scb, return its index.
323 ** Returns Index of scb.
329 return ((UINT8) (p_scb - bta_pan_cb.scb)) + 1;
338 ** Description Find scb associated with handle.
341 ** Returns Pointer to scb or NULL if not found.
346 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[
[all...]
H A Dbta_pan_int.h135 BOOLEAN in_use; /* scb in use */
151 tBTA_PAN_SCB scb[BTA_PAN_NUM_CONN]; /* state machine control blocks */ member in struct:__anon892
H A Dbta_pan_act.c69 /* allocate an scb */
391 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[0];
/external/bluetooth/bluedroid/bta/hl/
H A Dbta_hl_act.c1969 bta_hl_sdp_cback(bta_hl_cb.scb[0].sdp_oper,
1970 bta_hl_cb.scb[0].app_idx,
1971 bta_hl_cb.scb[0].mcl_idx,
1972 bta_hl_cb.scb[0].mdl_idx,
1990 bta_hl_sdp_cback(bta_hl_cb.scb[1].sdp_oper,
1991 bta_hl_cb.scb[1].app_idx,
1992 bta_hl_cb.scb[1].mcl_idx,
1993 bta_hl_cb.scb[1].mdl_idx,
2009 bta_hl_sdp_cback(bta_hl_cb.scb[2].sdp_oper,
2010 bta_hl_cb.scb[
[all...]
H A Dbta_hl_int.h566 tBTA_HL_SDP_CB scb[BTA_HL_NUM_SDP_CBACKS]; member in struct:__anon622
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_main.c305 ** Returns pointer to the scb, or NULL if none could be allocated.
310 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0];
371 if (bta_ag_cb.scb[idx].in_use)
390 ** Description Given a pointer to an scb, return its index.
393 ** Returns Index of scb.
399 return ((UINT16) (p_scb - bta_ag_cb.scb)) + 1;
406 ** Description Given an scb index return pointer to scb.
409 ** Returns Pointer to scb or NULL if not allocated.
419 p_scb = &bta_ag_cb.scb[id
[all...]
H A Dbta_ag_sco.c138 /* match callback to scb; first check current sco scb */
143 /* then check for scb connected to this peer */
188 APPL_TRACE_DEBUG4 ("bta_ag_sco_disc_cback(): scb[0] addr: 0x%08x in_use: %u sco_idx: 0x%x sco state: %u",
189 &bta_ag_cb.scb[0], bta_ag_cb.scb[0].in_use, bta_ag_cb.scb[0].sco_idx, bta_ag_cb.scb[0].state);
190 APPL_TRACE_DEBUG4 ("bta_ag_sco_disc_cback(): scb[1] addr: 0x%08x in_use: %u sco_idx: 0x%x sco state: %u",
191 &bta_ag_cb.scb[
[all...]
H A Dbta_ag_api.c66 if (bta_ag_cb.scb[idx].in_use)
H A Dbta_ag_act.c217 /* Issue collision for this scb for now. */
468 if (bta_ag_cb.scb[i].in_use && bta_ag_cb.scb[i].svc_conn)
478 /* else close port and deallocate scb */
563 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++)
H A Dbta_ag_int.h267 BOOLEAN in_use; /* scb in use */
310 tBTA_AG_SCB scb[BTA_AG_NUM_SCB]; /* service control blocks */ member in struct:__anon421
H A Dbta_ag_sdp.c105 ** distinguish scb from the callback we need separate
106 ** callbacks for each scb.
255 tBTA_AG_SCB *p = &bta_ag_cb.scb[0];
278 /* if service registered for this scb and not registered for any other scb */
H A Dbta_ag_cmd.c973 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++)
1090 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++)
1353 /* if audio connected to this scb open sco */
/external/bluetooth/bluedroid/stack/avdt/
H A Davdt_scb.c518 ** Description State machine event handling function for scb
575 memset(&avdt_cb.scb[0], 0, sizeof(tAVDT_SCB) * AVDT_NUM_SEPS);
587 ** Returns pointer to the scb, or NULL if none could be allocated.
592 tAVDT_SCB *p_scb = &avdt_cb.scb[0];
595 /* find available scb */
667 ** Description Given a pointer to an scb, return its handle (or seid).
670 ** Returns Index of scb.
675 return (UINT8) (p_scb - avdt_cb.scb + 1);
682 ** Description Given an scb handle (or seid), return a pointer to the scb
[all...]
H A Davdt_ccb_act.c124 tAVDT_SCB *p_scb = &avdt_cb.scb[0];
158 tAVDT_SCB *p_scb = &avdt_cb.scb[0];
222 /* look up scb for seid sent to us */
562 /* send start event to each scb */
640 /* send start event to each scb */
667 tAVDT_SCB *p_scb = &avdt_cb.scb[0];
731 /* we get the scb out of the current cmd */
H A Davdt_int.h104 ** Note that we "hide" the scb handles at the top of the message buffer.
108 /* scb transport channel connect timeout value */
111 /* scb transport channel disconnect timeout value */
204 /* scb state machine states; these state values are private to this module so
205 ** the scb state cannot be read or set by actions functions
286 /* scb state machine events */
472 /* type for scb event data */
490 tAVDT_CCB *p_ccb; /* ccb associated with this scb */
492 BOOLEAN allocated; /* whether scb is allocated or unused */
545 tAVDT_SCB scb[AVDT_NUM_SEP member in struct:__anon1097
[all...]

Completed in 234 milliseconds