Searched refs:cur_state (Results 1 – 4 of 4) sorted by relevance
/system/bt/stack/btm/ |
D | btm_ble_batchscan.cc | 155 if (ble_batchscan_cb.cur_state != BTM_BLE_SCAN_ENABLE_CALLED) in feat_enable_cb() 158 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_ENABLED_STATE; in feat_enable_cb() 221 if (ble_batchscan_cb.cur_state != BTM_BLE_SCAN_DISABLE_CALLED) { in disable_cb() 226 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_DISABLED_STATE; in disable_cb() 229 ble_batchscan_cb.cur_state = BTM_BLE_SCAN_INVALID_STATE; in disable_cb() 395 ble_batchscan_cb.cur_state, ref_value, batch_scan_full_max, in BTM_BleSetStorageConfig() 409 if (BTM_BLE_SCAN_INVALID_STATE == ble_batchscan_cb.cur_state || in BTM_BleSetStorageConfig() 410 BTM_BLE_SCAN_DISABLED_STATE == ble_batchscan_cb.cur_state || in BTM_BleSetStorageConfig() 411 BTM_BLE_SCAN_DISABLE_CALLED == ble_batchscan_cb.cur_state) { in BTM_BleSetStorageConfig() 413 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::__anon3376b8a20111::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 | 1157 tBTA_DM_CONTRL_STATE cur_state = BTA_DM_CONTRL_UNKNOWN; in bta_dm_pm_obtain_controller_state() local 1158 cur_state = BTM_PM_ReadControllerState(); in bta_dm_pm_obtain_controller_state() 1160 APPL_TRACE_DEBUG("bta_dm_pm_obtain_controller_state: %d", cur_state); in bta_dm_pm_obtain_controller_state() 1161 return cur_state; in bta_dm_pm_obtain_controller_state()
|
/system/bt/stack/include/ |
D | btm_ble_api_types.h | 372 tBTM_BLE_BATCH_SCAN_STATE cur_state; member
|