/system/bt/bta/gatt/ |
D | bta_gatts_utils.cc | 44 if (!p_cb->srvc_cb[i].in_use) { in bta_gatts_alloc_srvc_cb() 45 p_cb->srvc_cb[i].in_use = true; in bta_gatts_alloc_srvc_cb() 68 if (p_reg->in_use && p_reg->gatt_if == server_if) return p_reg; in bta_gatts_find_app_rcb_by_app_if() 89 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == server_if) return i; in bta_gatts_find_app_rcb_idx_by_app_if() 107 if (p_cb->srvc_cb[i].in_use && p_cb->srvc_cb[i].service_id == service_id) { in bta_gatts_find_srvc_cb_by_srvc_id() 129 (i < (BTA_GATTS_MAX_SRVC_NUM - 1) && p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_attr_id() 130 p_cb->srvc_cb[i + 1].in_use && in bta_gatts_find_srvc_cb_by_attr_id() 134 (i < (BTA_GATTS_MAX_SRVC_NUM - 1) && p_cb->srvc_cb[i].in_use && in bta_gatts_find_srvc_cb_by_attr_id() 135 !p_cb->srvc_cb[i + 1].in_use && in bta_gatts_find_srvc_cb_by_attr_id()
|
D | bta_gattc_utils.cc | 60 if (p_clrcb->in_use && p_clrcb->client_if == client_if) return p_clrcb; in bta_gattc_cl_get_regcb() 77 if (bta_gattc_cb.cl_rcb[i].in_use) j++; in bta_gattc_num_reg_app() 97 if (p_clcb->in_use && p_clcb->p_rcb->client_if == client_if && in bta_gattc_find_clcb_by_cif() 117 if (p_clcb->in_use && p_clcb->bta_conn_id == conn_id) return p_clcb; in bta_gattc_find_clcb_by_conn_id() 138 if (!bta_gattc_cb.clcb[i_clcb].in_use) { in bta_gattc_clcb_alloc() 143 p_clcb->in_use = true; in bta_gattc_clcb_alloc() 159 p_clcb->in_use = false; in bta_gattc_clcb_alloc() 236 if (p_srcb->in_use && p_srcb->server_bda == bda) return p_srcb; in bta_gattc_find_srcb() 291 if (!p_tcb->in_use) { in bta_gattc_srcb_alloc() 311 p_tcb->in_use = true; in bta_gattc_srcb_alloc() [all …]
|
D | bta_gattc_int.h | 195 bool in_use; member 230 bool in_use; member 237 bool in_use; member 268 bool in_use; member 283 bool in_use; member 290 bool in_use; member
|
D | bta_gatts_int.h | 130 bool in_use; member 142 bool in_use; member
|
/system/bt/audio_bluetooth_hw/ |
D | device_port_proxy.cc | 128 if (!port->in_use()) { in SetUp() 140 if (!port->in_use()) { in SetUp() 207 if (!in_use()) { in TearDown() 221 if (!in_use()) { in ControlResultHandler() 266 if (!in_use()) { in SessionChangedHandler() 283 bool BluetoothAudioPort::in_use() const { in in_use() function in android::bluetooth::audio::BluetoothAudioPort 288 if (!in_use()) { in LoadAudioConfig() 327 if (!in_use()) { in LoadAudioConfig() 394 if (!in_use()) { in Start() 425 if (!in_use()) { in Suspend() [all …]
|
/system/bt/stack/avdt/ |
D | avdt_defs.h | 143 #define AVDT_MSG_PRS_DISC(p, seid, in_use, type, tsep) \ argument 146 (in_use) = (*(p)++ >> 1) & 0x01; \ 192 #define AVDT_MSG_BLD_DISC(p, seid, in_use, type, tsep) \ argument 194 *(p)++ = (uint8_t)(((seid) << 2) | ((in_use) << 1)); \
|
/system/bt/stack/hid/ |
D | hidh_api.cc | 325 if ((hh_cb.devices[i].in_use) && addr == hh_cb.devices[i].addr) break; in HID_HostAddDev() 330 if (!hh_cb.devices[i].in_use) break; in HID_HostAddDev() 336 if (!hh_cb.devices[i].in_use) { in HID_HostAddDev() 337 hh_cb.devices[i].in_use = true; in HID_HostAddDev() 364 (!hh_cb.devices[dev_handle].in_use)) in HID_HostRemoveDev() 368 hh_cb.devices[dev_handle].in_use = false; in HID_HostRemoveDev() 390 (!hh_cb.devices[dev_handle].in_use)) in HID_HostOpenDev() 422 (!hh_cb.devices[dev_handle].in_use)) { in HID_HostWriteDev() 454 (!hh_cb.devices[dev_handle].in_use)) in HID_HostCloseDev()
|
D | hidd_api.cc | 389 hd_cb.device.in_use = TRUE; in HID_DevPlugDevice() 406 hd_cb.device.in_use = FALSE; in HID_DevUnplugDevice() 429 if (!hd_cb.device.in_use) { in HID_DevConnect() 454 if (!hd_cb.device.in_use) { in HID_DevDisconnect() 533 if (hd_cb.device.in_use) { in HID_DevGetDevice()
|
D | hidd_int.h | 39 bool in_use; member
|
D | hidh_int.h | 38 bool in_use; member
|
/system/bt/stack/srvc/ |
D | srvc_eng.cc | 74 if (p_clcb->in_use && p_clcb->connected && p_clcb->bda == bda) { in srvc_eng_find_conn_id_by_bd_addr() 97 if (p_clcb->in_use && p_clcb->connected && p_clcb->bda == bda) { in srvc_eng_find_clcb_by_bd_addr() 119 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) { in srvc_eng_find_clcb_by_conn_id() 141 if (p_clcb->in_use && p_clcb->connected && p_clcb->conn_id == conn_id) { in srvc_eng_find_clcb_idx_by_conn_id() 164 if (!p_clcb->in_use) { in srvc_eng_clcb_alloc() 165 p_clcb->in_use = true; in srvc_eng_clcb_alloc() 189 if (p_clcb->in_use && p_clcb->connected && (p_clcb->conn_id == conn_id)) { in srvc_eng_clcb_dealloc()
|
D | srvc_eng_int.h | 37 bool in_use; member
|
/system/bt/stack/rfcomm/ |
D | port_api.cc | 271 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) { in RFCOMM_RemoveConnection() 303 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) { in RFCOMM_RemoveServer() 343 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_SetDataCOCallback() 435 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) { in PORT_SetEventMask() 466 __func__, handle, p_port->in_use, p_port->state, p_port->rfc.p_mcb, in PORT_CheckConnection() 470 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) { in PORT_CheckConnection() 555 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) { in PORT_SetState() 600 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) { in PORT_GetState() 640 if (!p_port->in_use || (p_port->state == PORT_STATE_CLOSED)) { in PORT_FlowControl_MaxCredit() [all …]
|
/system/bt/stack/test/ |
D | stack_avdtp_test.cc | 101 pscb->in_use = true; in TEST_F() 133 pscb->in_use = true; in TEST_F() 152 pscb->in_use = true; in TEST_F()
|
/system/bt/bta/ag/ |
D | bta_ag_main.cc | 139 if (!p_scb->in_use) { in bta_ag_scb_alloc() 141 p_scb->in_use = true; in bta_ag_scb_alloc() 199 if (bta_ag_cb.scb[idx].in_use) { in bta_ag_scb_dealloc() 242 if (!p_scb->in_use) { in bta_ag_scb_by_idx() 285 if (p_scb->in_use && *peer_addr == p_scb->peer_addr) { in bta_ag_idx_by_bdaddr() 309 if (p_scb->in_use && p_scb != p_curr_scb && in bta_ag_other_scb_open() 330 return p_curr_scb && p_curr_scb->in_use && in bta_ag_scb_open() 444 if (p_scb->in_use) { in bta_ag_api_disable() 527 if (p_scb->in_use && p_scb->svc_conn) { in bta_ag_api_result()
|
/system/bt/stack/l2cap/ |
D | l2c_utils.cc | 62 if (!p_lcb->in_use) { in l2cu_allocate_lcb() 69 p_lcb->in_use = true; in l2cu_allocate_lcb() 152 p_lcb->in_use = false; in l2cu_release_lcb() 244 if ((p_lcb->in_use) && p_lcb->transport == transport && in l2cu_find_lcb_by_bd_addr() 545 if ((p_ccb_temp->in_use) && (p_ccb_temp->ecoc) && in l2cu_send_credit_based_reconfig_req() 1166 if ((!p_ccb->in_use) || (p_q == NULL)) { in l2cu_enqueue_ccb() 1168 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb); in l2cu_enqueue_ccb() 1247 if ((!p_ccb->in_use) || (p_q == NULL) || (p_q->p_first_ccb == NULL)) { in l2cu_dequeue_ccb() 1251 p_ccb->local_cid, p_ccb->in_use, p_ccb->p_lcb, p_q, in l2cu_dequeue_ccb() 1391 p_ccb->in_use = true; in l2cu_allocate_ccb() [all …]
|
/system/nfc/src/nfa/dm/ |
D | nfa_dm_discover.cc | 748 if (nfa_dm_cb.disc_cb.excl_disc_entry.in_use) in nfa_dm_disc_notify_started() 850 if (!nfa_dm_cb.disc_cb.tle.in_use) { in nfa_dm_send_deactivate_cmd() 859 } else if (nfa_dm_cb.disc_cb.tle.in_use) { in nfa_dm_send_deactivate_cmd() 888 (nfa_dm_cb.disc_cb.excl_disc_entry.in_use == false)) { in nfa_dm_start_rf_discover() 895 if (nfa_dm_cb.disc_cb.excl_disc_entry.in_use) { in nfa_dm_start_rf_discover() 903 if (nfa_dm_cb.disc_cb.entry[xx].in_use) { in nfa_dm_start_rf_discover() 1065 if (!nfa_dm_cb.disc_cb.excl_disc_entry.in_use) { in nfa_dm_start_rf_discover() 1089 (!nfa_dm_cb.disc_cb.kovio_tle.in_use)) { in nfa_dm_start_rf_discover() 1131 if (nfa_dm_cb.disc_cb.kovio_tle.in_use) { in nfa_dm_disc_handle_kovio_activation() 1195 if (nfa_dm_cb.disc_cb.excl_disc_entry.in_use) { in nfa_dm_disc_notify_activation() [all …]
|
/system/bt/bta/hh/ |
D | bta_hh_utils.cc | 73 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb() 80 if (!bta_hh_cb.kdev[xx].in_use) { in bta_hh_find_cb() 178 p_cb->in_use = true; in bta_hh_add_device_to_list() 369 bta_hh_cb.kdev[xx].in_use, bta_hh_cb.kdev[xx].hid_handle); in bta_hh_trace_dev_db()
|
D | bta_hh_le.cc | 88 if (!p_cb->hid_srvc.in_use) return; in bta_hh_le_hid_report_dbg() 95 if (!p_rpt->in_use) break; in bta_hh_le_hid_report_dbg() 259 p_cb->in_use = true; in bta_hh_le_open_conn() 277 if (p_dev_cb->in_use && p_dev_cb->conn_id == conn_id) return p_dev_cb; in bta_hh_le_find_dev_cb_by_conn_id() 294 if (p_dev_cb->in_use && p_dev_cb->addr == bda) return p_dev_cb; in bta_hh_le_find_dev_cb_by_bda() 308 if (p_cb->hid_srvc.in_use && p_cb->hid_srvc.incl_srvc_inst == ba_inst_id) { in bta_hh_le_find_service_inst_by_battery_inst_id() 367 if (p_rpt->in_use && p_rpt->rpt_id == rpt_id && r_type == p_rpt->rpt_type) { in bta_hh_le_find_rpt_by_idtype() 407 if (!p_rpt->in_use || in bta_hh_le_find_alloc_report_entry() 410 if (!p_rpt->in_use) { in bta_hh_le_find_alloc_report_entry() 411 p_rpt->in_use = true; in bta_hh_le_find_alloc_report_entry() [all …]
|
D | bta_hh_int.h | 147 bool in_use; member 162 bool in_use; member 201 bool in_use; /* control block currently in use */ member
|
/system/bt/stack/gatt/ |
D | gatt_utils.cc | 260 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].ch_state == GATT_CH_OPEN) { in gatt_find_the_connected_bda() 350 if (gatt_cb.tcb[i].in_use && gatt_cb.tcb[i].peer_bda == bda) { in gatt_is_bda_connected() 392 if ((tcb_idx < GATT_MAX_PHY_CHANNEL) && gatt_cb.tcb[tcb_idx].in_use) in gatt_get_tcb_by_idx() 436 if (p_tcb->in_use) continue; in gatt_allocate_tcb_by_bdaddr() 443 p_tcb->in_use = true; in gatt_allocate_tcb_by_bdaddr() 787 if (p_reg->in_use && p_reg->app_cb.p_req_cb) { in gatt_sr_send_req_callback() 929 if (!p_reg->in_use) { in gatt_get_regcb() 961 if (gatt_cb.clcb[i].in_use && (gatt_cb.clcb[i].conn_id == conn_id)) { in gatt_is_clcb_allocated() 1007 if (!gatt_cb.clcb[i].in_use) { in gatt_clcb_alloc() 1010 p_clcb->in_use = true; in gatt_clcb_alloc() [all …]
|
/system/bt/bta/dm/ |
D | bta_dm_pm.cc | 157 if (bta_dm_cb.pm_timer[i].in_use && in bta_dm_pm_stop_timer() 216 if (bta_dm_cb.pm_timer[i].in_use && in bta_dm_pm_stop_timer_by_mode() 246 if (bta_dm_cb.pm_timer[i].in_use && in bta_dm_pm_stop_timer_by_srvc_id() 274 p_timer->in_use = true; in bta_dm_pm_start_timer() 308 CHECK(p_timer->in_use); in bta_dm_pm_stop_timer_by_index() 315 if (p_timer->active == 0) p_timer->in_use = false; in bta_dm_pm_stop_timer_by_index() 606 if (bta_dm_cb.pm_timer[i].in_use && in bta_dm_pm_set_mode() 628 } else if (!bta_dm_cb.pm_timer[i].in_use) { in bta_dm_pm_set_mode() 918 bta_dm_cb.pm_timer[i].in_use); in bta_dm_pm_timer_cback() 919 if (bta_dm_cb.pm_timer[i].in_use) { in bta_dm_pm_timer_cback() [all …]
|
/system/core/fs_mgr/libvbmeta/ |
D | super_vbmeta_format_c.h | 107 uint32_t in_use = 0; member
|
D | builder.cpp | 86 if ((table_.header.in_use & (1 << i)) == 0) return i; in GetEmptySlot() 115 table_.header.in_use |= (1 << slot_number); in AddVBMetaImage() 128 table_.header.in_use &= ~(1 << desc->vbmeta_index); in DeleteVBMetaImage()
|
/system/bt/stack/btm/ |
D | btm_ble_multi_adv.cc | 62 bool in_use; member 94 in_use(false), in AdvertisingInstance() 246 if (p_inst->in_use) continue; in RegisterAdvertiser() 248 p_inst->in_use = true; in RegisterAdvertiser() 622 if (!p_inst->in_use) { in Enable() 680 if (!p_inst->in_use) { in SetParameters() 833 if (!p_inst->in_use) { in SetPeriodicAdvertisingEnable() 876 p_inst->in_use = false; in Unregister() 912 if (!inst.in_use || !inst.enable_status) continue; in Suspend() 928 if (inst.in_use && inst.enable_status) { in Resume() [all …]
|