HomeSort by relevance Sort by last modified time
    Searched refs:ccb (Results 1 - 18 of 18) sorted by null

  /external/bluetooth/bluedroid/stack/avct/
avct_ccb.c 36 ** Description Allocate a connection control block; copy parameters to ccb.
39 ** Returns pointer to the ccb, or NULL if none could be allocated.
44 tAVCT_CCB *p_ccb = &avct_cb.ccb[0];
106 ** Description Given a pointer to an ccb, return its index.
109 ** Returns Index of ccb.
115 return (UINT8) (p_ccb - avct_cb.ccb);
122 ** Description Return ccb pointer based on ccb index (or handle).
125 ** Returns pointer to the ccb, or NULL if none found.
135 p_ccb = &avct_cb.ccb[idx]
    [all...]
avct_lcb.c 351 tAVCT_CCB *p_ccb = &avct_cb.ccb[0];
359 /* if ccb allocated and */
364 AVCT_TRACE_DEBUG1("avct_lcb_dealloc used by ccb: %d", i);
424 ** Returns Pointer to CCB if PID found, NULL otherwise.
429 tAVCT_CCB *p_ccb = &avct_cb.ccb[0];
446 ** Description See if given ccb is only one on the lcb.
449 ** Returns TRUE if ccb is last, FALSE otherwise.
454 tAVCT_CCB *p_ccb = &avct_cb.ccb[0];
460 AVCT_TRACE_WARNING6("%x: aloc:%d, lcb:0x%x/0x%x, ccb:0x%x/0x%x",
avct_lcb_act.c 188 ** Description Deallocate ccb and call callback with disconnect event.
203 ** Description Handle an LL_OPEN event. For each allocated ccb already
205 ** unbound ccb with a new PID, bind that ccb to this lcb and
214 tAVCT_CCB *p_ccb = &avct_cb.ccb[0];
220 /* if ccb allocated and */
231 /* if unbound acceptor and lcb doesn't already have a ccb for this PID */
235 /* bind ccb to lcb and send connect ind event */
265 tAVCT_CCB *p_ccb = &avct_cb.ccb[0];
291 tAVCT_CCB *p_ccb = &avct_cb.ccb[0]
    [all...]
avct_int.h 55 /* "no event" indicator used by ccb dealloc */
98 UINT8 ch_close; /* CCB index+1, if CCB initiated channel close */
108 BOOLEAN ch_close; /* Whether CCB initiated channel close */
134 tAVCT_CCB ccb[AVCT_NUM_CONN]; /* connection control blocks */ member in struct:__anon2533
204 /* CCB function declarations */
avct_l2c.c 66 ** Description check is the CCB associated with the given LCB was created
75 tAVCT_CCB *p_ccb = &avct_cb.ccb[0];
115 /* no ccb available, reject L2CAP connection */
  /external/bluetooth/bluedroid/stack/avrc/
avrc_api.c 72 if (event <= AVRC_MAX_RCV_CTRL_EVT && avrc_cb.ccb[handle].p_ctrl_cback)
80 (*avrc_cb.ccb[handle].p_ctrl_cback)(handle, avrc_event, result, peer_addr);
174 if ( ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD)) ||
175 ((avrc_cb.ccb[handle].control & AVRC_CT_CONTROL) && (cr == AVCT_RSP)) )
191 AVRC_CO_ID_TO_BE_STREAM(p_rsp_data, avrc_cb.ccb[handle].company_id);
288 if ((avrc_cb.ccb[handle].control & AVRC_CT_TARGET) && (cr == AVCT_CMD))
326 (*avrc_cb.ccb[handle].p_msg_cback)(handle, label, opcode, &msg);
333 handle, avrc_cb.ccb[handle].control, cr, opcode);
460 memcpy(&avrc_cb.ccb[*p_handle], p_ccb, sizeof(tAVRC_CONN_CB));
avrc_int.h 102 tAVRC_CONN_CB ccb[AVCT_NUM_CONN]; member in struct:__anon2558
  /external/bluetooth/bluedroid/stack/mcap/
mca_csm.c 180 ** Description This function is the CCB state machine main function.
193 MCA_TRACE_EVENT3("CCB ccb=%d event=%s state=%s", mca_ccb_to_hdl(p_ccb), mca_ccb_evt_str[event], mca_ccb_st_str[p_ccb->state]);
195 MCA_TRACE_EVENT3("CCB ccb=%d event=%d state=%d", mca_ccb_to_hdl(p_ccb), event, p_ccb->state);
215 ** Description This function looks up the CCB based on the BD address.
216 ** It returns a pointer to the CCB.
217 ** If no CCB is found it returns NULL.
232 p_ccb_tmp = &mca_cb.ccb[i*MCA_NUM_LINKS];
249 ** Description This function allocates a CCB and copies the BD address t
    [all...]
mca_int.h 171 tMCA_DL cb_idx; /* 1-based index to ccb or dcb */
192 MCA_CCB_STAT_NORM, /* normal operation (based on ccb state) */
201 * ccb[0] ...ccb[MCA_NUM_LINKS*1-1] -> rcb[0]
202 * ccb[MCA_NUM_LINKS*1]...ccb[MCA_NUM_LINKS*2-1] -> rcb[1]
203 * ccb[MCA_NUM_LINKS*2]...ccb[MCA_NUM_LINKS*3-1] -> rcb[2]
207 TIMER_LIST_ENT timer_entry; /* CCB timer list entry */
215 UINT8 state; /* The CCB state machine state *
257 tMCA_CCB ccb[MCA_NUM_CCBS]; \/* control channel control blocks *\/ member in struct:__anon2971
    [all...]
mca_main.c 288 ** L2CAP channel is closed. It looks up the CCB or DCB for
319 /* if control channel, notify ccb that channel close */
343 ** the L2CAP channel is opened. It looks up the CCB or DCB
368 /* if control channel, notify ccb that channel open */
395 ** L2CAP calls the congestion callback. It looks up the CCB
410 /* if control channel, notify ccb of congestion */
434 ** incoming data is received from L2CAP. It looks up the CCB
486 } /* got a valid ccb */
552 p_ccb = &mca_cb.ccb[handle*MCA_NUM_LINKS];
553 /* check if all associated CCB are disconnected *
    [all...]
  /external/bluetooth/bluedroid/stack/avdt/
avdt_ccb.c 283 memset(&avdt_cb.ccb[0], 0, sizeof(tAVDT_CCB) * AVDT_NUM_LINKS);
291 ** Description State machine event handling function for ccb
304 AVDT_TRACE_EVENT3("CCB ccb=%d event=%s state=%s", avdt_ccb_to_idx(p_ccb), avdt_ccb_evt_str[event], avdt_ccb_st_str[p_ccb->state]);
336 ** Description This lookup function finds the ccb for a BD address.
339 ** Returns pointer to the ccb, or NULL if none found.
344 tAVDT_CCB *p_ccb = &avdt_cb.ccb[0];
349 /* if allocated ccb has matching ccb */
358 /* if no ccb found *
    [all...]
avdt_int.h 92 /* to distinguish CCB events from SCB events */
120 /* ccb state machine states */
171 /* ccb state machine events */
415 /* union associated with ccb state machine events */
429 TIMER_LIST_ENT timer_entry; /* CCB timer list entry */
438 BOOLEAN allocated; /* Whether ccb is allocated */
439 UINT8 state; /* The CCB state machine state */
489 tAVDT_CCB *p_ccb; /* ccb associated with this scb */
543 tAVDT_CCB ccb[AVDT_NUM_LINKS]; /* channel control blocks */ member in struct:__anon2557
547 tAVDT_CCB_ACTION *p_ccb_act; /* pointer to CCB action functions *
    [all...]
  /external/bluetooth/bluedroid/stack/sdp/
sdp_utils.c 50 ** Description This function searches the CCB table for an entry with the
53 ** Returns the CCB address, or NULL if not found.
62 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++)
77 ** Description This function searches the CCB table for an entry with the
80 ** Returns the CCB address, or NULL if not found.
92 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++)
108 ** Description This function allocates a new CCB.
110 ** Returns CCB address, or NULL if none available.
119 for (xx = 0, p_ccb = sdp_cb.ccb; xx < SDP_MAX_CONNECTIONS; xx++, p_ccb++)
131 /* If here, no free CCB found *
    [all...]
sdpint.h 226 tCONN_CB ccb[SDP_MAX_CONNECTIONS]; member in struct:__anon2998
sdp_api.c     [all...]
  /external/bluetooth/bluedroid/bta/av/
bta_av_act.c 298 tAVRC_CONN_CB ccb; local
320 ccb.p_ctrl_cback = bta_av_rc_ctrl_cback;
321 ccb.p_msg_cback = bta_av_rc_msg_cback;
322 ccb.company_id = p_bta_av_cfg->company_id;
323 ccb.conn = role;
325 ccb.control = p_cb->features & (BTA_AV_FEAT_RCTG | BTA_AV_FEAT_RCCT | AVRC_CT_PASSIVE);
328 if (AVRC_Open(&rc_handle, &ccb, bda) != AVRC_SUCCESS)
    [all...]
  /external/regex-re2/re2/
parse.cc 199 CharClassBuilder* ccb = re->ccb_; local
201 re->cc_ = ccb->GetCharClass();
202 delete ccb;
953 CharClassBuilder ccb; local
959 ccb.AddRange(it->lo, it->hi);
961 ccb.AddRangeFlags(re->rune(), re->rune(), re->parse_flags());
968 sub[out++] = NewCharClass(ccb.GetCharClass(), altflags);
    [all...]
  /external/elfutils/tests/
run-strings-test.sh 133 testfile4: ccb pthread_create

Completed in 379 milliseconds