/system/bt/bta/hf_client/ |
bta_hf_client_sco.c | 98 if (bta_hf_client_cb.scb.sco_idx != BTM_INVALID_SCO_INDEX) 100 status = BTM_RemoveSco(bta_hf_client_cb.scb.sco_idx); 102 APPL_TRACE_DEBUG("%s idx 0x%04x, status:0x%x", __FUNCTION__, bta_hf_client_cb.scb.sco_idx, status); 111 bta_hf_client_cb.scb.sco_idx = BTM_INVALID_SCO_INDEX; 154 if (bta_hf_client_cb.scb.sco_state == BTA_HF_CLIENT_SCO_LISTEN_ST) 162 resp = bta_hf_client_esco_params[bta_hf_client_cb.scb.negotiated_codec]; 166 bta_sys_sco_use(BTA_ID_HS, 1, bta_hf_client_cb.scb.peer_addr); 198 bta_hf_client_cb.scb.sco_idx = p_data->conn_evt.sco_inx; 202 bta_hf_client_cb.scb.sco_state = BTA_HF_CLIENT_SCO_OPENING_ST; 223 if (rem_bd && bdcmp(bta_hf_client_cb.scb.peer_addr, rem_bd) == 0 & [all...] |
bta_hf_client_rfc.c | 48 if (port_handle != bta_hf_client_cb.scb.conn_handle) 51 port_handle, bta_hf_client_cb.scb.conn_handle); 76 code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle); 79 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle)) 87 if ((bta_hf_client_cb.scb.conn_handle && (port_handle == bta_hf_client_cb.scb.conn_handle)) || /* outgoing connection */ 88 (port_handle == bta_hf_client_cb.scb.serv_handle)) /* incoming connection */ 99 else if (port_handle == bta_hf_client_cb.scb.conn_handle) 146 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, BT_TRANSPORT_BR_EDR); 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 | 59 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_ACP) 224 bta_hf_client_cb.scb.peer_version = HFP_VERSION_1_1; /* Default version */ 230 if ((p_rec = SDP_FindServiceInDb(bta_hf_client_cb.scb.p_disc_db, UUID_SERVCLASS_AG_HANDSFREE, p_rec)) == NULL) 236 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_INT) 240 bta_hf_client_cb.scb.peer_scn = (UINT8) pe.params[0]; 249 SDP_FindProfileVersionInRec(p_rec, UUID_SERVCLASS_HF_HANDSFREE, &bta_hf_client_cb.scb.peer_version); 257 if (bta_hf_client_cb.scb.peer_features == 0) 259 bta_hf_client_cb.scb.peer_features = p_attr->attr_value.v.u16; 262 if (bta_hf_client_cb.scb.peer_features & 0x0020) 264 bta_hf_client_cb.scb.peer_features &= ~0x0020 [all...] |
bta_hf_client_main.c | 246 alarm_free(bta_hf_client_cb.scb.collision_timer); 247 alarm_free(bta_hf_client_cb.scb.at_cb.resp_timer); 248 alarm_free(bta_hf_client_cb.scb.at_cb.hold_timer); 249 memset(&bta_hf_client_cb.scb, 0, sizeof(tBTA_HF_CLIENT_SCB)); 250 bta_hf_client_cb.scb.collision_timer = 252 bta_hf_client_cb.scb.sco_idx = BTM_INVALID_SCO_INDEX; 253 bta_hf_client_cb.scb.negotiated_codec = BTM_SCO_CODEC_CVSD; 290 if (bta_hf_client_cb.scb.state == BTA_HF_CLIENT_INIT_ST) 292 bta_hf_client_cb.scb.state = BTA_HF_CLIENT_OPENING_ST; 332 if (bta_hf_client_cb.scb.state == BTA_HF_CLIENT_OPENING_ST [all...] |
bta_hf_client_at.c | 108 tBTA_HF_CLIENT_AT_QCMD *cur = bta_hf_client_cb.scb.at_cb.queued_cmd; 117 bta_hf_client_cb.scb.at_cb.queued_cmd = NULL; 132 if (bta_hf_client_cb.scb.at_cb.queued_cmd != NULL) { 133 tBTA_HF_CLIENT_AT_QCMD *qcmd = bta_hf_client_cb.scb.at_cb.queued_cmd; 140 bta_hf_client_cb.scb.at_cb.queued_cmd = new_cmd; 146 if (bta_hf_client_cb.scb.at_cb.current_cmd == BTA_HF_CLIENT_AT_CNUM) { 157 alarm_set_on_queue(bta_hf_client_cb.scb.at_cb.resp_timer, 166 alarm_cancel(bta_hf_client_cb.scb.at_cb.resp_timer); 171 if ((bta_hf_client_cb.scb.at_cb.current_cmd == BTA_HF_CLIENT_AT_NONE || 172 bta_hf_client_cb.scb.svc_conn == FALSE) & [all...] |
bta_hf_client_int.h | 182 tBTA_HF_CLIENT_SCB scb; /* service control block */ member in struct:__anon72920
|
/system/bt/bta/ag/ |
bta_ag_main.c | 284 ** Returns pointer to the scb, or NULL if none could be allocated. 289 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; 360 if (bta_ag_cb.scb[idx].in_use) 379 ** Description Given a pointer to an scb, return its index. 382 ** Returns Index of scb. 388 return ((UINT16) (p_scb - bta_ag_cb.scb)) + 1; 395 ** Description Given an scb index return pointer to scb. 398 ** Returns Pointer to scb or NULL if not allocated. 408 p_scb = &bta_ag_cb.scb[idx - 1] [all...] |
bta_ag_sco.c | 160 /* match callback to scb; first check current sco scb */ 165 /* then check for scb connected to this peer */ 204 APPL_TRACE_DEBUG ("bta_ag_sco_disc_cback(): scb[0] addr: 0x%08x in_use: %u sco_idx: 0x%x sco state: %u", 205 &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); 206 APPL_TRACE_DEBUG ("bta_ag_sco_disc_cback(): scb[1] addr: 0x%08x in_use: %u sco_idx: 0x%x sco state: %u", 207 &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 | 61 if (bta_ag_cb.scb[idx].in_use) {
|
bta_ag_act.c | 216 /* Issue collision for this scb for now. */ 479 if (bta_ag_cb.scb[i].in_use && bta_ag_cb.scb[i].svc_conn) 489 /* else close port and deallocate scb */ 572 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++)
|
bta_ag_int.h | 264 BOOLEAN in_use; /* scb in use */ 309 tBTA_AG_SCB *p_curr_scb; /* SCB associated with SCO connection */ 310 tBTA_AG_SCB *p_xfer_scb; /* SCB associated with SCO transfer */ 321 tBTA_AG_SCB scb[BTA_AG_NUM_SCB]; /* service control blocks */ member in struct:__anon72741
|
bta_ag_sdp.c | 104 ** distinguish scb from the callback we need separate 105 ** callbacks for each scb. 254 tBTA_AG_SCB *p = &bta_ag_cb.scb[0]; 278 /* if service registered for this scb and not registered for any other scb */
|
bta_ag_cmd.c | [all...] |
/system/bt/bta/pan/ |
bta_pan_main.c | 161 ** Returns pointer to the scb, or NULL if none could be allocated. 166 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[0]; 204 APPL_TRACE_EVENT("PAN scb=%d event=0x%x state=%d", bta_pan_scb_to_idx(p_scb), event, p_scb->state); 281 /* 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 | 144 BOOLEAN in_use; /* scb in use */ 160 tBTA_PAN_SCB scb[BTA_PAN_NUM_CONN]; /* state machine control blocks */ member in struct:__anon73252
|
bta_pan_act.c | 97 /* allocate an scb */ 267 p_scb = &bta_pan_cb.scb[index]; 285 p_scb = &bta_pan_cb.scb[index]; 424 tBTA_PAN_SCB *p_scb = &bta_pan_cb.scb[0];
|
/system/bt/bta/hl/ |
bta_hl_act.c | [all...] |
bta_hl_int.h | 562 tBTA_HL_SDP_CB scb[BTA_HL_NUM_SDP_CBACKS]; member in struct:__anon72972 [all...] |
/frameworks/base/libs/hwui/ |
ClipArea.cpp | 395 inline static const RectangleList& getRectList(const ClipBase* scb) { 396 return reinterpret_cast<const ClipRectList*>(scb)->rectList; 399 inline static const SkRegion& getRegion(const ClipBase* scb) { 400 return reinterpret_cast<const ClipRegion*>(scb)->region; 405 static bool cannotFitInRectangleList(const ClipArea& clipArea, const ClipBase* scb) { 409 int recordedRectCount = (scb->mode == ClipMode::RectangleList) 410 ? getRectList(scb).getTransformedRectanglesCount()
|
/system/bt/stack/avdt/ |
avdt_scb.c | [all...] |
avdt_ccb_act.c | 121 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; 161 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; 225 /* look up scb for seid sent to us */ 294 ** reject event to each SCB associated with the command. 367 ** suspend reject event to each SCB associated with the command. 550 ** to the SCB for each stream. 564 /* send start event to each scb */ 628 ** to the SCB for each stream. 642 /* send start event to each scb */ 669 tAVDT_SCB *p_scb = &avdt_cb.scb[0] [all...] |
avdt_api.c | 159 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; 167 AVDT_TRACE_DEBUG("AVDT_SINK_Activate found scb"); 189 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; 197 AVDT_TRACE_DEBUG("AVDT_SINK_Deactivate, found scb"); 214 AVDT_TRACE_ERROR("%s Improper SCB, can not abort the stream", __func__); 242 /* Allocate scb; if no scbs, return failure */ 273 /* look up scb */ 280 /* send remove event to scb */ 482 /* map handle to scb */ 488 /* send event to scb */ [all...] |
avdt_int.h | 90 /* to distinguish CCB events from SCB events */ 100 ** | BT_HDR | SCB handles | L2CAP + HCI header | AVDTP header | data ... | 102 ** Note that we "hide" the scb handles at the top of the message buffer. 106 /* scb transport channel connect timeout value (in milliseconds) */ 109 /* scb transport channel disconnect timeout value (in milliseconds) */ 202 /* scb state machine states; these state values are private to this module so 203 ** the scb state cannot be read or set by actions functions 284 /* scb state machine events */ 475 /* type for scb event data */ 493 tAVDT_CCB *p_ccb; /* ccb associated with this scb */ 548 tAVDT_SCB scb[AVDT_NUM_SEPS]; \/* stream control blocks *\/ member in struct:__anon73562 [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
ConversationViewAdapter.java | 503 final SuperCollapsedBlock scb = (SuperCollapsedBlock) v; local 504 scb.bind(this);
|