Home
last modified time | relevance | path

Searched refs:cur_state (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/btm/
Dbtm_ble_batchscan.c141 void btm_ble_batchscan_enq_op_q(UINT8 opcode, tBTM_BLE_BATCH_SCAN_STATE cur_state, in btm_ble_batchscan_enq_op_q() argument
145 ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.next_idx] = cur_state; in btm_ble_batchscan_enq_op_q()
149 ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.next_idx], in btm_ble_batchscan_enq_op_q()
292 void btm_ble_batchscan_deq_op_q(UINT8 *p_opcode,tBTM_BLE_BATCH_SCAN_STATE *cur_state, in btm_ble_batchscan_deq_op_q() argument
299 *cur_state = (ble_batchscan_cb.op_q.cur_state[ble_batchscan_cb.op_q.pending_idx]); in btm_ble_batchscan_deq_op_q()
339 btm_ble_batchscan_enq_op_q(BTM_BLE_BATCH_SCAN_READ_RESULTS, ble_batchscan_cb.cur_state, in btm_ble_read_batchscan_reports()
366 tBTM_BLE_BATCH_SCAN_STATE cur_state = 0; in btm_ble_batchscan_vsc_cmpl_cback() local
373 btm_ble_batchscan_deq_op_q(&opcode, &cur_state, &cb_evt, &ref_value); in btm_ble_batchscan_vsc_cmpl_cback()
380 btm_ble_batchscan_deq_op_q(&opcode, &cur_state, &cb_evt, &ref_value); in btm_ble_batchscan_vsc_cmpl_cback()
383 opcode, cur_state, cb_evt, ref_value); in btm_ble_batchscan_vsc_cmpl_cback()
[all …]
/system/bt/service/test/
Dadapter_unittest.cpp76 bluetooth::AdapterState cur_state() const { return cur_state_; } in cur_state() function in bluetooth::__anona4624dc40111::TestObserver
139 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, observer.cur_state()); in TEST_F()
151 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); in TEST_F()
173 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); in TEST_F()
179 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, observer.cur_state()); in TEST_F()
190 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); in TEST_F()
200 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); in TEST_F()
205 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, observer.cur_state()); in TEST_F()
/system/bt/bta/dm/
Dbta_dm_pm.c1281 tBTA_DM_CONTRL_STATE cur_state = BTA_DM_CONTRL_UNKNOWN; in bta_dm_pm_obtain_controller_state() local
1282 cur_state = BTM_PM_ReadControllerState(); in bta_dm_pm_obtain_controller_state()
1284 APPL_TRACE_DEBUG("bta_dm_pm_obtain_controller_state: %d", cur_state); in bta_dm_pm_obtain_controller_state()
1285 return cur_state; in bta_dm_pm_obtain_controller_state()
/system/bt/stack/include/
Dbtm_ble_api.h564 tBTM_BLE_BATCH_SCAN_STATE cur_state[BTM_BLE_BATCH_SCAN_MAX]; member
583 tBTM_BLE_BATCH_SCAN_STATE cur_state; member
/system/bt/btif/src/
Dbtif_hl.c2084 btif_hl_chan_cb_state_t cur_state = p_pcb->cb_state; in btif_hl_set_chan_cb_state() local
2086 if (cur_state != state) in btif_hl_set_chan_cb_state()
2089 BTIF_TRACE_DEBUG("%s state %d--->%d",__FUNCTION__, cur_state, state); in btif_hl_set_chan_cb_state()