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

/system/bt/bta/ag/
H A Dbta_ag_api.cc57 for (const tBTA_AG_SCB& scb : bta_ag_cb.scb) {
58 if (scb.in_use) {
H A Dbta_ag_main.cc318 * Returns pointer to the scb, or NULL if none could be allocated.
322 tBTA_AG_SCB* p_scb = &bta_ag_cb.scb[0];
386 if (bta_ag_cb.scb[idx].in_use) {
402 * Description Given a pointer to an scb, return its index.
405 * Returns Index of scb starting from 1
410 return static_cast<uint16_t>(p_scb - bta_ag_cb.scb + 1);
417 * Description Given an scb index return pointer to scb.
420 * Returns Pointer to scb or NULL if not allocated.
428 p_scb = &bta_ag_cb.scb[id
[all...]
H A Dbta_ag_sco.cc123 /* match callback to scb; first check current sco scb */
127 /* then check for scb connected to this peer */
166 "bta_ag_sco_disc_cback(): scb[0] addr: 0x%08x in_use: %u sco_idx: 0x%x "
168 &bta_ag_cb.scb[0], bta_ag_cb.scb[0].in_use, bta_ag_cb.scb[0].sco_idx,
169 bta_ag_cb.scb[0].state);
171 "bta_ag_sco_disc_cback(): scb[1] addr: 0x%08x in_use: %u sco_idx: 0x%x "
173 &bta_ag_cb.scb[
[all...]
H A Dbta_ag_act.cc187 /* Issue collision for this scb for now. */
427 if (bta_ag_cb.scb[i].in_use && bta_ag_cb.scb[i].svc_conn)
436 /* else close port and deallocate scb */
535 for (tBTA_AG_SCB& ag_scb : bta_ag_cb.scb) {
H A Dbta_ag_int.h210 bool in_use; /* scb in use */
265 tBTA_AG_SCB scb[BTA_AG_MAX_NUM_CLIENTS]; /* service control blocks */ member in struct:__anon29
H A Dbta_ag_sdp.cc100 * distinguish scb from the callback we need separate
101 * callbacks for each scb.
245 tBTA_AG_SCB* p = &bta_ag_cb.scb[0];
265 /* if service registered for this scb and not registered for any other scb
H A Dbta_ag_cmd.cc962 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS;
1103 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_MAX_NUM_CLIENTS;
1352 /* if audio connected to this scb AND sco is not opened, open sco */
/system/bt/stack/avdt/
H A Davdt_api.cc179 /* Allocate scb; if no scbs, return failure */
215 /* look up scb */
220 /* send remove event to scb */
410 /* map handle to scb */
415 /* send event to scb */
455 /* map handle to scb */
474 /* send event to scb */
513 /* map handle to scb */
524 /* send event to scb */
666 /* map handle to scb */
1237 const AvdtpScb& scb = ccb.scb[i]; local
[all...]
H A Davdt_ccb_act.cc112 AvdtpScb* p_scb = &(p_ccb->scb[0]);
146 AvdtpScb* p_scb = &(p_ccb->scb[0]);
210 /* look up scb for seid sent to us */
541 /* send start event to each scb */
616 /* send start event to each scb */
641 AvdtpScb* p_scb = &(p_ccb->scb[0]);
701 /* we get the scb out of the current cmd */
H A Davdt_scb.cc752 * Description State machine event handling function for scb
804 avdtp_cb.ccb[i].scb[j].Reset(0);
818 * Returns pointer to the scb, or NULL if none could be allocated.
826 AvdtpScb* p_scb = &avdtp_cb.ccb[peer_id].scb[0];
870 * Description Given a pointer to an scb, return its handle (or seid).
873 * Returns Index of scb.
882 * Description Given an scb handle (or seid), return a pointer to the scb.
885 * Returns Pointer to scb or NULL if index is out of range or scb
[all...]
H A Davdt_int.h77 * Note that we "hide" the scb handles at the top of the message buffer.
81 /* scb transport channel connect timeout value (in milliseconds) */
84 /* scb transport channel disconnect timeout value (in milliseconds) */
175 /* scb state machine states; these state values are private to this module so
176 * the scb state cannot be read or set by actions functions
253 /* scb state machine events */
401 /* type for scb event data */
518 scb{},
558 scb[i].Reset(0);
607 AvdtpScb scb[AVDT_NUM_SEP member in class:AvdtpCcb
[all...]
/system/bt/bta/pan/
H A Dbta_pan_main.cc135 * Returns pointer to the scb, or NULL if none could be allocated.
139 tBTA_PAN_SCB* p_scb = &bta_pan_cb.scb[0];
174 APPL_TRACE_EVENT("PAN scb=%d event=0x%x state=%d", bta_pan_scb_to_idx(p_scb),
241 /* allocate an scb */
271 * Description Given a pointer to an scb, return its index.
274 * Returns Index of scb.
278 return ((uint8_t)(p_scb - bta_pan_cb.scb)) + 1;
285 * Description Find scb associated with handle.
288 * Returns Pointer to scb or NULL if not found.
292 tBTA_PAN_SCB* p_scb = &bta_pan_cb.scb[
[all...]
H A Dbta_pan_int.h122 bool in_use; /* scb in use */
135 tBTA_PAN_SCB scb[BTA_PAN_NUM_CONN]; /* state machine control blocks */ member in struct:__anon465
H A Dbta_pan_act.cc99 /* allocate an scb */
264 p_scb = &bta_pan_cb.scb[index];
280 p_scb = &bta_pan_cb.scb[index];
405 tBTA_PAN_SCB* p_scb = &bta_pan_cb.scb[0];
/system/bt/bta/hl/
H A Dbta_hl_act.cc1645 bta_hl_sdp_cback(bta_hl_cb.scb[0].sdp_oper, bta_hl_cb.scb[0].app_idx,
1646 bta_hl_cb.scb[0].mcl_idx, bta_hl_cb.scb[0].mdl_idx, status);
1662 bta_hl_sdp_cback(bta_hl_cb.scb[1].sdp_oper, bta_hl_cb.scb[1].app_idx,
1663 bta_hl_cb.scb[1].mcl_idx, bta_hl_cb.scb[1].mdl_idx, status);
1677 bta_hl_sdp_cback(bta_hl_cb.scb[2].sdp_oper, bta_hl_cb.scb[
[all...]
H A Dbta_hl_int.h525 tBTA_HL_SDP_CB scb[BTA_HL_NUM_SDP_CBACKS]; member in struct:__anon212

Completed in 1120 milliseconds