Searched refs:ADAPTER_STATE_ON (Results 1 – 5 of 5) sorted by relevance
/system/bt/service/test/ |
D | adapter_unittest.cc | 144 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/ |
D | IBluetooth.txt | 24 * 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/ |
D | adapter_state.cc | 35 case ADAPTER_STATE_ON: in AdapterStateToString()
|
D | adapter_state.h | 35 ADAPTER_STATE_ON = 12, enumerator
|
/system/bt/service/ |
D | adapter.cc | 231 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled() 513 state_ = ADAPTER_STATE_ON; in AdapterStateChangedCallback()
|