/system/bt/bta/gatt/ |
D | bta_gatts_utils.c | 70 if (!p_cb->srvc_cb[i].in_use) in bta_gatts_alloc_srvc_cb() 72 p_cb->srvc_cb[i].in_use = TRUE; in bta_gatts_alloc_srvc_cb() 96 if (p_reg->in_use && p_reg->gatt_if == server_if) in bta_gatts_find_app_rcb_by_app_if() 118 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == server_if) in bta_gatts_find_app_rcb_idx_by_app_if() 138 if (p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_srvc_id() 164 p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_attr_id() 165 p_cb->srvc_cb[i + 1].in_use && in bta_gatts_find_srvc_cb_by_attr_id() 170 p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_attr_id() 171 !p_cb->srvc_cb[i + 1].in_use && in bta_gatts_find_srvc_cb_by_attr_id()
|
D | bta_gattc_utils.c | 133 if (p_clrcb->in_use && in bta_gattc_cl_get_regcb() 154 if (bta_gattc_cb.cl_rcb[i].in_use) in bta_gattc_num_reg_app() 176 if (p_clcb->in_use && in bta_gattc_find_clcb_by_cif() 200 if (p_clcb->in_use && in bta_gattc_find_clcb_by_conn_id() 224 if (!bta_gattc_cb.clcb[i_clcb].in_use) in bta_gattc_clcb_alloc() 230 p_clcb->in_use = TRUE; in bta_gattc_clcb_alloc() 248 p_clcb->in_use = FALSE; in bta_gattc_clcb_alloc() 330 if (p_srcb->in_use && bdcmp(p_srcb->server_bda, bda) == 0) in bta_gattc_find_srcb() 393 if (!p_tcb->in_use) in bta_gattc_srcb_alloc() 418 p_tcb->in_use = TRUE; in bta_gattc_srcb_alloc() [all …]
|
D | bta_gattc_int.h | 268 BOOLEAN in_use; member 304 BOOLEAN in_use; member 312 BOOLEAN in_use; member 336 BOOLEAN in_use; member 353 BOOLEAN in_use; member 362 BOOLEAN in_use; member
|
/system/bt/stack/gap/ |
D | gap_utils.c | 40 if (!p_cb->in_use) in gap_allocate_cb() 44 p_cb->in_use = TRUE; in gap_allocate_cb() 70 p_cb->in_use = FALSE; in gap_free_cb() 94 if (p_cb->in_use && p_cb->event == request) in gap_is_service_busy()
|
D | gap_int.h | 37 BOOLEAN in_use; /* True when structure is allocated */ member 46 BOOLEAN in_use; member 131 BOOLEAN in_use; member
|
/system/bt/stack/avdt/ |
D | avdt_defs.h | 150 #define AVDT_MSG_PRS_DISC(p, seid, in_use, type, tsep) \ argument 152 in_use = (*(p)++ >> 1) & 0x01; \ 183 #define AVDT_MSG_BLD_DISC(p, seid, in_use, type, tsep) \ argument 184 *(p)++ = (UINT8) (((seid) << 2) | ((in_use) << 1)); \
|
/system/bt/stack/rfcomm/ |
D | port_api.c | 259 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in RFCOMM_RemoveConnection() 298 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in RFCOMM_RemoveServer() 340 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in PORT_SetEventCallback() 403 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in PORT_SetDataCallback() 439 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in PORT_SetDataCOCallback() 473 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in PORT_SetEventMask() 509 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in PORT_CheckConnection() 612 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in PORT_SetState() 660 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in PORT_GetRxQueueCnt() 704 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) in PORT_GetState() [all …]
|
/system/bt/stack/hid/ |
D | hidh_api.c | 350 if((hh_cb.devices[i].in_use) && in HID_HostAddDev() 359 if( !hh_cb.devices[i].in_use) in HID_HostAddDev() 367 if (!hh_cb.devices[i].in_use) in HID_HostAddDev() 369 hh_cb.devices[i].in_use = TRUE; in HID_HostAddDev() 398 if( (dev_handle >= HID_HOST_MAX_DEVICES) || (!hh_cb.devices[dev_handle].in_use) ) in HID_HostRemoveDev() 402 hh_cb.devices[dev_handle].in_use = FALSE; in HID_HostRemoveDev() 424 if( (dev_handle >= HID_HOST_MAX_DEVICES) || (!hh_cb.devices[dev_handle].in_use) ) in HID_HostOpenDev() 457 if( (dev_handle >= HID_HOST_MAX_DEVICES) || (!hh_cb.devices[dev_handle].in_use) ) in HID_HostWriteDev() 491 if( (dev_handle >= HID_HOST_MAX_DEVICES) || (!hh_cb.devices[dev_handle].in_use) ) in HID_HostCloseDev() 592 if ((hh_cb.devices[i].in_use) && in hid_known_hid_device()
|
/system/connectivity/apmanager/ |
D | fake_device_adaptor.cc | 42 void FakeDeviceAdaptor::SetInUse(bool in_use) { in SetInUse() argument 43 in_use_ = in_use; in SetInUse()
|
D | device_adaptor_interface.h | 32 virtual void SetInUse(bool in_use) = 0;
|
/system/bt/stack/srvc/ |
D | srvc_eng.c | 76 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) in srvc_eng_find_conn_id_by_bd_addr() 101 if (p_clcb->in_use && p_clcb->connected && !memcmp(p_clcb->bda, bda, BD_ADDR_LEN)) in srvc_eng_find_clcb_by_bd_addr() 125 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) in srvc_eng_find_clcb_by_conn_id() 149 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) in srvc_eng_find_clcb_idx_by_conn_id() 173 if (!p_clcb->in_use) in srvc_eng_clcb_alloc() 175 p_clcb->in_use = TRUE; in srvc_eng_clcb_alloc() 200 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id)) in srvc_eng_clcb_dealloc()
|
/system/connectivity/apmanager/dbus/ |
D | device_dbus_adaptor.cc | 64 void DeviceDBusAdaptor::SetInUse(bool in_use) { in SetInUse() argument 65 adaptor_.SetInUse(in_use); in SetInUse()
|
/system/bt/btif/src/ |
D | btif_hl.c | 196 if (p_acb->in_use) in btif_hl_if_channel_setup_pending() 201 if (p_mcb->in_use && in btif_hl_if_channel_setup_pending() 238 if (p_acb && p_acb->in_use) in btif_hl_num_dchs_in_use() 242 if(p_acb->mcb[j].in_use) in btif_hl_num_dchs_in_use() 245 if (p_acb->mcb[j].in_use && in btif_hl_num_dchs_in_use() 252 if (p_mcb->mdl[x].in_use) in btif_hl_num_dchs_in_use() 342 if (p_mcb->mdl[i].in_use && in btif_hl_find_mdl_idx() 377 if (p_mcb->mdl[i].in_use && p_mcb->mdl[i].is_the_first_reliable) in btif_hl_is_the_first_reliable_existed() 698 if (!p_pcb->in_use) in btif_hl_dch_open() 702 p_pcb->in_use = TRUE; in btif_hl_dch_open() [all …]
|
/system/bt/btif/include/ |
D | btif_hl.h | 166 BOOLEAN in_use; member 194 BOOLEAN in_use; member 204 BOOLEAN in_use; member 233 BOOLEAN in_use; /* this CB is in use*/ member 257 BOOLEAN in_use; member
|
/system/bt/stack/gatt/ |
D | gatt_utils.c | 310 if (!p_cb->hdl_list[i].in_use) in gatt_alloc_hdl_buffer() 313 p_elem->in_use = TRUE; in gatt_alloc_hdl_buffer() 340 if (p_list->in_use && p_list->asgn_range.s_handle == handle) in gatt_find_hdl_buffer_by_handle() 503 gatt_cb.srv_list[i_sreg].in_use = TRUE; in gatts_update_srv_list_elem() 737 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].ch_state == GATT_CH_OPEN) in gatt_find_the_connected_bda() 845 if (gatt_cb.tcb[i].in_use && in gatt_is_bda_connected() 893 if ( (tcb_idx < GATT_MAX_PHY_CHANNEL) && gatt_cb.tcb[tcb_idx].in_use) in gatt_get_tcb_by_idx() 933 if (!gatt_cb.tcb[i].in_use) in gatt_find_i_tcb_free() 976 p_tcb->in_use = TRUE; in gatt_allocate_tcb_by_bdaddr() 1345 if (gatt_cb.sr_reg[i_rcb].in_use && in gatt_sr_find_i_rcb_by_handle() [all …]
|
D | gatt_int.h | 240 BOOLEAN in_use; member 256 BOOLEAN in_use; member 319 BOOLEAN in_use; member 336 BOOLEAN in_use; member 381 BOOLEAN in_use; member 412 BOOLEAN in_use; member 426 BOOLEAN in_use; member 441 BOOLEAN in_use; member 453 BOOLEAN in_use; member
|
D | gatt_attr.c | 97 if (p_clcb->in_use && p_clcb->conn_id == conn_id) in gatt_profile_find_clcb_by_conn_id() 120 if (p_clcb->in_use && p_clcb->transport == transport && in gatt_profile_find_clcb_by_bd_addr() 144 if (!p_clcb->in_use) in gatt_profile_clcb_alloc() 146 p_clcb->in_use = TRUE; in gatt_profile_clcb_alloc()
|
/system/bt/bta/ag/ |
D | bta_ag_main.c | 294 if (!p_scb->in_use) in bta_ag_scb_alloc() 297 p_scb->in_use = TRUE; in bta_ag_scb_alloc() 360 if (bta_ag_cb.scb[idx].in_use) in bta_ag_scb_dealloc() 409 if (!p_scb->in_use) in bta_ag_scb_by_idx() 464 if (p_scb->in_use && !bdcmp(peer_addr, p_scb->peer_addr)) in bta_ag_idx_by_bdaddr() 493 if (p_scb->in_use && p_scb != p_curr_scb && p_scb->state == BTA_AG_OPEN_ST) in bta_ag_other_scb_open() 516 if (p_curr_scb && p_curr_scb->in_use && p_curr_scb->state == BTA_AG_OPEN_ST) in bta_ag_scb_open() 541 if (p_scb->in_use && (p_scb != p_curr_scb) && (p_scb->state == BTA_AG_INIT_ST)) in bta_ag_get_other_idle_scb() 723 if (p_scb->in_use) in bta_ag_api_disable() 794 if (p_scb->in_use && p_scb->svc_conn) in bta_ag_api_result()
|
/system/bt/stack/btm/ |
D | btm_ble_multi_adv.c | 148 btm_multi_adv_cb.p_adv_inst[inst_id-1].in_use = FALSE; in btm_ble_multi_adv_vsc_cmpl_cback() 491 if (TRUE == p_inst->in_use) in btm_ble_multi_adv_reenable() 499 p_inst->in_use = FALSE; in btm_ble_multi_adv_reenable() 522 p_inst->in_use = FALSE; in btm_ble_multi_adv_enb_privacy() 568 if (FALSE == p_inst->in_use) in BTM_BleEnableAdvInstance() 570 p_inst->in_use = TRUE; in BTM_BleEnableAdvInstance() 593 p_inst->in_use = FALSE; in BTM_BleEnableAdvInstance() 632 if (FALSE == p_inst->in_use) in BTM_BleUpdateAdvInstParam() 740 btm_multi_adv_cb.p_adv_inst[inst_id - 1].in_use = FALSE; in BTM_BleDisableAdvInstance()
|
D | btm_ble_bgconn.c | 201 if (p_dev_op->in_use) in btm_execute_wl_dev_operation() 224 if (p_dev_op->in_use && !memcmp(p_dev_op->bd_addr, bd_addr, BD_ADDR_LEN)) in btm_enq_wl_dev_operation() 229 else if (!p_dev_op->in_use) in btm_enq_wl_dev_operation() 234 p_dev_op->in_use = TRUE; in btm_enq_wl_dev_operation() 720 if (p_lcb->in_use) in btm_send_pending_direct_conn()
|
/system/bt/bta/dm/ |
D | bta_dm_pm.c | 164 if (bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) in bta_dm_pm_stop_timer() 226 if (bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) in bta_dm_pm_stop_timer_by_mode() 258 if (bta_dm_cb.pm_timer[i].in_use && !bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr)) in bta_dm_pm_stop_timer_by_srvc_id() 287 p_timer->in_use = TRUE; in bta_dm_pm_start_timer() 321 assert(p_timer->in_use && (p_timer->active > 0)); in bta_dm_pm_stop_timer_by_index() 329 p_timer->in_use = FALSE; in bta_dm_pm_stop_timer_by_index() 637 … if (bta_dm_cb.pm_timer[i].in_use && bdcmp(bta_dm_cb.pm_timer[i].peer_bdaddr, peer_addr) == 0) in bta_dm_pm_set_mode() 662 else if (!bta_dm_cb.pm_timer[i].in_use) in bta_dm_pm_set_mode() 964 APPL_TRACE_DEBUG("dm_pm_timer[%d] in use? %d", i, bta_dm_cb.pm_timer[i].in_use); in bta_dm_pm_timer_cback() 965 if (bta_dm_cb.pm_timer[i].in_use) in bta_dm_pm_timer_cback() [all …]
|
/system/bt/stack/l2cap/ |
D | l2c_utils.c | 61 if (!p_lcb->in_use) in l2cu_allocate_lcb() 69 p_lcb->in_use = TRUE; in l2cu_allocate_lcb() 144 p_lcb->in_use = FALSE; in l2cu_release_lcb() 289 if ((p_lcb->in_use) && in l2cu_find_lcb_by_bd_addr() 1267 if ( (!p_ccb->in_use) || (p_q == NULL) ) in l2cu_enqueue_ccb() 1270 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb); in l2cu_enqueue_ccb() 1360 if ( (!p_ccb->in_use) || (p_q == NULL) || (p_q->p_first_ccb == NULL) ) in l2cu_dequeue_ccb() 1363 … p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, p_q ? p_q->p_first_ccb : 0); in l2cu_dequeue_ccb() 1527 p_ccb->in_use = TRUE; in l2cu_allocate_ccb() 1680 L2CAP_TRACE_DEBUG ("l2cu_release_ccb: cid 0x%04x in_use: %u", p_ccb->local_cid, p_ccb->in_use); in l2cu_release_ccb() [all …]
|
/system/bt/profile/include/ |
D | manager.h | 33 bool in_use; member
|
/system/bt/bta/hl/ |
D | bta_hl_utils.c | 511 p_mcb->in_use = TRUE; in bta_hl_find_cch_cb_indexes() 775 if (p_mcb->mdl[i].in_use && in bta_hl_allocate_mdl_id() 828 if (p_mcb->mdl[i].in_use && in bta_hl_find_mdl_idx() 867 if (p_mcb->mdl[i].in_use && in bta_hl_find_an_active_mdl_idx() 905 if (p_mcb->mdl[i].in_use && in bta_hl_find_dch_setup_mdl_idx() 944 if (p_mcb->in_use && in bta_hl_find_an_in_use_mcl_idx() 983 if (p_acb->in_use) in bta_hl_find_an_in_use_app_idx() 1018 if (bta_hl_cb.acb[i].in_use && in bta_hl_find_app_idx() 1054 if (bta_hl_cb.acb[i].in_use && in bta_hl_find_app_idx_using_handle() 1095 if (p_acb->in_use) in bta_hl_find_mcl_idx_using_handle() [all …]
|
/system/bt/bta/hh/ |
D | bta_hh_utils.c | 83 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb() 92 if (!bta_hh_cb.kdev[xx].in_use) in bta_hh_find_cb() 194 p_cb->in_use = TRUE; in bta_hh_add_device_to_list() 526 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
|