Home
last modified time | relevance | path

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

/system/bt/service/test/
Dadapter_unittest.cc144 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); 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()
175 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.prev_state()); in TEST_F()
183 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, adapter_->GetState()); 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()
201 EXPECT_EQ(bluetooth::ADAPTER_STATE_ON, observer.prev_state()); in TEST_F()
/system/bt/service/doc/
DIBluetooth.txt24 * is equivalent to "getState() == ADAPTER_STATE_ON".
34 * - ADAPTER_STATE_ON = 12
41 * bring the adapter state from ADAPTER_STATE_OFF to ADAPTER_STATE_ON. Returns
45 * ADAPTER_STATE_ON. Callers can monitor the status of this call by observing
52 * bring the adapter state from ADAPTER_STATE_ON to ADAPTER_STATE_OFF. Returns
53 * false, if the state is not ADAPTER_STATE_ON or if there is an error while
/system/bt/service/common/bluetooth/
Dadapter_state.cc35 case ADAPTER_STATE_ON: in AdapterStateToString()
Dadapter_state.h35 ADAPTER_STATE_ON = 12, enumerator
/system/bt/service/
Dadapter.cc231 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled()
513 state_ = ADAPTER_STATE_ON; in AdapterStateChangedCallback()