Searched refs:cur_state (Results 1 – 5 of 5) sorted by relevance
/system/bt/stack/btm/ |
D | btm_ble_batchscan.cc | 149 if (ble_batchscan_cb.cur_state != BTM_BLE_SCAN_ENABLE_CALLED) in feat_enable_cb() 152 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_ENABLED_STATE; in feat_enable_cb() 215 if (ble_batchscan_cb.cur_state != BTM_BLE_SCAN_DISABLE_CALLED) { in disable_cb() 220 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_DISABLED_STATE; in disable_cb() 223 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_INVALID_STATE; in disable_cb() 384 ble_batchscan_cb.cur_state, ref_value, batch_scan_full_max, in BTM_BleSetStorageConfig() 398 if (BTM_BLE_SCAN_INVALID_STATE == ble_batchscan_cb.cur_state || in BTM_BleSetStorageConfig() 399 BTM_BLE_SCAN_DISABLED_STATE == ble_batchscan_cb.cur_state || in BTM_BleSetStorageConfig() 400 BTM_BLE_SCAN_DISABLE_CALLED == ble_batchscan_cb.cur_state) { in BTM_BleSetStorageConfig() 402 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_ENABLE_CALLED; in BTM_BleSetStorageConfig() [all …]
|
/system/bt/service/test/ |
D | adapter_unittest.cc | 74 bluetooth::AdapterState cur_state() const { return cur_state_; } in cur_state() function in bluetooth::__anon8aac85840111::TestObserver 136 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_ON, observer.cur_state()); in TEST_F() 148 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); in TEST_F() 170 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); in TEST_F() 176 EXPECT_EQ(bluetooth::ADAPTER_STATE_TURNING_OFF, observer.cur_state()); in TEST_F() 187 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); in TEST_F() 197 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.cur_state()); in TEST_F() 202 EXPECT_EQ(bluetooth::ADAPTER_STATE_OFF, observer.cur_state()); in TEST_F()
|
/system/bt/bta/dm/ |
D | bta_dm_pm.cc | 1133 tBTA_DM_CONTRL_STATE cur_state = BTA_DM_CONTRL_UNKNOWN; local 1134 cur_state = BTM_PM_ReadControllerState(); 1136 APPL_TRACE_DEBUG("bta_dm_pm_obtain_controller_state: %d", cur_state); 1137 return cur_state;
|
/system/bt/stack/include/ |
D | btm_ble_api_types.h | 385 tBTM_BLE_BATCH_SCAN_STATE cur_state; member
|
/system/bt/btif/src/ |
D | btif_hl.cc | 1882 btif_hl_chan_cb_state_t cur_state = p_pcb->cb_state; in btif_hl_set_chan_cb_state() local 1884 if (cur_state != state) { in btif_hl_set_chan_cb_state() 1886 BTIF_TRACE_DEBUG("%s state %d--->%d", __func__, cur_state, state); in btif_hl_set_chan_cb_state()
|