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

  /external/bluetooth/bluedroid/bta/hf_client/
bta_hf_client_sco.c 99 if (bta_hf_client_cb.scb.sco_idx != BTM_INVALID_SCO_INDEX)
101 status = BTM_RemoveSco(bta_hf_client_cb.scb.sco_idx);
103 APPL_TRACE_DEBUG("%s idx 0x%04x, status:0x%x", __FUNCTION__, bta_hf_client_cb.scb.sco_idx, status);
112 bta_hf_client_cb.scb.sco_idx = BTM_INVALID_SCO_INDEX;
155 if (bta_hf_client_cb.scb.sco_state == BTA_HF_CLIENT_SCO_LISTEN_ST)
163 resp = bta_hf_client_esco_params[bta_hf_client_cb.scb.negotiated_codec];
167 bta_sys_sco_use(BTA_ID_HS, 1, bta_hf_client_cb.scb.peer_addr);
199 bta_hf_client_cb.scb.sco_idx = p_data->conn_evt.sco_inx;
203 bta_hf_client_cb.scb.sco_state = BTA_HF_CLIENT_SCO_OPENING_ST;
225 if (rem_bd && bdcmp(bta_hf_client_cb.scb.peer_addr, rem_bd) == 0 &
    [all...]
bta_hf_client_rfc.c 50 if (port_handle != bta_hf_client_cb.scb.conn_handle)
53 port_handle, bta_hf_client_cb.scb.conn_handle);
80 code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle);
83 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle))
91 if ((bta_hf_client_cb.scb.conn_handle && (port_handle == bta_hf_client_cb.scb.conn_handle)) || /* outgoing connection */
92 (port_handle == bta_hf_client_cb.scb.serv_handle)) /* incoming connection */
103 else if (port_handle == bta_hf_client_cb.scb.conn_handle)
151 if (bta_hf_client_cb.scb.serv_handle > 0
    [all...]
bta_hf_client_act.c 49 ** Description This function initializes values of the scb and sets up
66 bta_hf_client_cb.scb.serv_sec_mask = p_data->api_register.sec_mask;
67 bta_hf_client_cb.scb.features = p_data->api_register.features;
100 bta_hf_client_cb.scb.deregister = TRUE;
124 bta_hf_client_cb.scb.deregister = TRUE;
143 bta_dm_pm_active(bta_hf_client_cb.scb.peer_addr);
144 L2CA_SetIdleTimeoutByBdAddr(bta_hf_client_cb.scb.peer_addr, 0);
147 if (bta_hf_client_cb.scb.sco_state == BTA_HF_CLIENT_SCO_OPEN_ST)
149 bta_hf_client_cb.scb.sco_close_rfc = TRUE;
177 bdcpy(bta_hf_client_cb.scb.peer_addr, p_data->api_open.bd_addr)
    [all...]
bta_hf_client_sdp.c 58 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_ACP)
230 bta_hf_client_cb.scb.peer_version = HFP_VERSION_1_1; /* Default version */
236 if ((p_rec = SDP_FindServiceInDb(bta_hf_client_cb.scb.p_disc_db, UUID_SERVCLASS_AG_HANDSFREE, p_rec)) == NULL)
242 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_INT)
246 bta_hf_client_cb.scb.peer_scn = (UINT8) pe.params[0];
255 SDP_FindProfileVersionInRec(p_rec, UUID_SERVCLASS_HF_HANDSFREE, &bta_hf_client_cb.scb.peer_version);
263 if (bta_hf_client_cb.scb.peer_features == 0)
265 bta_hf_client_cb.scb.peer_features = p_attr->attr_value.v.u16;
268 if (bta_hf_client_cb.scb.peer_features & 0x0020)
270 bta_hf_client_cb.scb.peer_features &= ~0x0020
    [all...]
bta_hf_client_at.c 95 tBTA_HF_CLIENT_AT_QCMD *cur = bta_hf_client_cb.scb.at_cb.queued_cmd;
104 bta_hf_client_cb.scb.at_cb.queued_cmd = NULL;
120 if (bta_hf_client_cb.scb.at_cb.queued_cmd != NULL)
122 tBTA_HF_CLIENT_AT_QCMD *qcmd = bta_hf_client_cb.scb.at_cb.queued_cmd;
131 bta_hf_client_cb.scb.at_cb.queued_cmd = new_cmd;
140 bta_hf_client_cb.scb.at_cb.resp_timer_on = FALSE;
150 if (bta_hf_client_cb.scb.at_cb.resp_timer_on)
152 bta_hf_client_cb.scb.at_cb.resp_timer_on = FALSE;
153 bta_sys_stop_timer (&bta_hf_client_cb.scb.at_cb.resp_timer);
159 if (bta_hf_client_cb.scb.at_cb.resp_timer_on
    [all...]
bta_hf_client_main.c 242 memset(&bta_hf_client_cb.scb, 0, sizeof(tBTA_HF_CLIENT_SCB));
243 bta_hf_client_cb.scb.sco_idx = BTM_INVALID_SCO_INDEX;
244 bta_hf_client_cb.scb.negotiated_codec = BTM_SCO_CODEC_CVSD;
281 if (bta_hf_client_cb.scb.state == BTA_HF_CLIENT_INIT_ST)
283 bta_hf_client_cb.scb.state = BTA_HF_CLIENT_OPENING_ST;
304 bta_hf_client_cb.scb.colli_tmr_on = FALSE;
328 if (bta_hf_client_cb.scb.state == BTA_HF_CLIENT_OPENING_ST)
343 bta_hf_client_cb.scb.state = BTA_HF_CLIENT_INIT_ST;
346 if(bta_hf_client_cb.scb.p_disc_db)
348 (void)SDP_CancelServiceSearch (bta_hf_client_cb.scb.p_disc_db)
    [all...]
bta_hf_client_int.h 183 tBTA_HF_CLIENT_SCB scb; /* service control block */ member in struct:__anon5235
  /external/bluetooth/bluedroid/bta/pan/
bta_pan_main.c 162 ** Returns pointer to the scb, or NULL if none could be allocated.
167 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[0];
205 APPL_TRACE_EVENT("PAN scb=%d event=0x%x state=%d", bta_pan_scb_to_idx(p_scb), event, p_scb->state);
282 /* allocate an scb */
315 ** Description Given a pointer to an scb, return its index.
318 ** Returns Index of scb.
324 return ((UINT8) (p_scb - bta_pan_cb.scb)) + 1;
333 ** Description Find scb associated with handle.
336 ** Returns Pointer to scb or NULL if not found.
341 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[0]
    [all...]
bta_pan_int.h 143 BOOLEAN in_use; /* scb in use */
159 tBTA_PAN_SCB scb[BTA_PAN_NUM_CONN]; /* state machine control blocks */ member in struct:__anon5596
bta_pan_act.c 104 /* allocate an scb */
426 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[0];
  /external/bluetooth/bluedroid/bta/hl/
bta_hl_act.c     [all...]
bta_hl_int.h 566 tBTA_HL_SDP_CB scb[BTA_HL_NUM_SDP_CBACKS]; member in struct:__anon5286
    [all...]
  /external/bluetooth/bluedroid/bta/ag/
bta_ag_main.c 306 ** Returns pointer to the scb, or NULL if none could be allocated.
311 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0];
377 if (bta_ag_cb.scb[idx].in_use)
396 ** Description Given a pointer to an scb, return its index.
399 ** Returns Index of scb.
405 return ((UINT16) (p_scb - bta_ag_cb.scb)) + 1;
412 ** Description Given an scb index return pointer to scb.
415 ** Returns Pointer to scb or NULL if not allocated.
425 p_scb = &bta_ag_cb.scb[idx - 1]
    [all...]
bta_ag_sco.c 157 /* match callback to scb; first check current sco scb */
162 /* then check for scb connected to this peer */
207 APPL_TRACE_DEBUG ("bta_ag_sco_disc_cback(): scb[0] addr: 0x%08x in_use: %u sco_idx: 0x%x sco state: %u",
208 &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);
209 APPL_TRACE_DEBUG ("bta_ag_sco_disc_cback(): scb[1] addr: 0x%08x in_use: %u sco_idx: 0x%x sco state: %u",
210 &bta_ag_cb.scb[1], bta_ag_cb.scb[1].in_use, bta_ag_cb.scb[1].sco_idx, bta_ag_cb.scb[1].state)
    [all...]
bta_ag_api.c 66 if (bta_ag_cb.scb[idx].in_use)
bta_ag_act.c 217 /* Issue collision for this scb for now. */
478 if (bta_ag_cb.scb[i].in_use && bta_ag_cb.scb[i].svc_conn)
488 /* else close port and deallocate scb */
573 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++)
bta_ag_int.h 276 BOOLEAN in_use; /* scb in use */
307 tBTA_AG_SCB *p_curr_scb; /* SCB associated with SCO connection */
308 tBTA_AG_SCB *p_xfer_scb; /* SCB associated with SCO transfer */
319 tBTA_AG_SCB scb[BTA_AG_NUM_SCB]; /* service control blocks */ member in struct:__anon5050
bta_ag_sdp.c 106 ** distinguish scb from the callback we need separate
107 ** callbacks for each scb.
256 tBTA_AG_SCB *p = &bta_ag_cb.scb[0];
280 /* if service registered for this scb and not registered for any other scb */
bta_ag_cmd.c 978 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++)
    [all...]
  /external/bluetooth/bluedroid/stack/avdt/
avdt_scb.c     [all...]
avdt_ccb_act.c 129 tAVDT_SCB *p_scb = &avdt_cb.scb[0];
164 tAVDT_SCB *p_scb = &avdt_cb.scb[0];
228 /* look up scb for seid sent to us */
299 ** reject event to each SCB associated with the command.
371 ** suspend reject event to each SCB associated with the command.
554 ** to the SCB for each stream.
568 /* send start event to each scb */
632 ** to the SCB for each stream.
646 /* send start event to each scb */
673 tAVDT_SCB *p_scb = &avdt_cb.scb[0]
    [all...]
avdt_api.c 53 ** appropriate CCB or SCB state machine.
191 tAVDT_SCB *p_scb = &avdt_cb.scb[0];
199 AVDT_TRACE_DEBUG("AVDT_SINK_Activate found scb");
222 tAVDT_SCB *p_scb = &avdt_cb.scb[0];
230 AVDT_TRACE_DEBUG("AVDT_SINK_Deactivate, found scb");
265 /* Allocate scb; if no scbs, return failure */
299 /* look up scb */
306 /* send remove event to scb */
516 /* map handle to scb */
522 /* send event to scb */
    [all...]
avdt_int.h 92 /* to distinguish CCB events from SCB events */
102 ** | BT_HDR | SCB handles | L2CAP + HCI header | AVDTP header | data ... |
104 ** 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 */
546 tAVDT_SCB scb[AVDT_NUM_SEPS]; \/* stream control blocks *\/ member in struct:__anon5848
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/mail/browse/
ConversationViewAdapter.java 503 final SuperCollapsedBlock scb = (SuperCollapsedBlock) v; local
504 scb.bind(this);
  /device/lge/mako/camera/
QualcommCameraHardware.cpp 6787 camera_data_callback scb = mDataCallback; local
    [all...]

Completed in 699 milliseconds