Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_ble_batchscan.cc151 if (ble_batchscan_cb.cur_state != BTM_BLE_SCAN_ENABLE_CALLED) in feat_enable_cb()
154 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_ENABLED_STATE; in feat_enable_cb()
217 if (ble_batchscan_cb.cur_state != BTM_BLE_SCAN_DISABLE_CALLED) { in disable_cb()
222 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_DISABLED_STATE; in disable_cb()
225 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_INVALID_STATE; in disable_cb()
386 ble_batchscan_cb.cur_state, ref_value, batch_scan_full_max, in BTM_BleSetStorageConfig()
400 if (BTM_BLE_SCAN_INVALID_STATE == ble_batchscan_cb.cur_state || in BTM_BleSetStorageConfig()
401 BTM_BLE_SCAN_DISABLED_STATE == ble_batchscan_cb.cur_state || in BTM_BleSetStorageConfig()
402 BTM_BLE_SCAN_DISABLE_CALLED == ble_batchscan_cb.cur_state) { in BTM_BleSetStorageConfig()
404 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_ENABLE_CALLED; in BTM_BleSetStorageConfig()
[all …]
/system/bt/service/test/
Dadapter_unittest.cc74 bluetooth::AdapterState cur_state() const { return cur_state_; } in cur_state() function in bluetooth::__anon14151afb0111::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/
Dbta_dm_pm.cc1135 tBTA_DM_CONTRL_STATE cur_state = BTA_DM_CONTRL_UNKNOWN; local
1136 cur_state = BTM_PM_ReadControllerState();
1138 APPL_TRACE_DEBUG("bta_dm_pm_obtain_controller_state: %d", cur_state);
1139 return cur_state;
/system/bt/stack/include/
Dbtm_ble_api_types.h349 tBTM_BLE_BATCH_SCAN_STATE cur_state; member