Lines Matching refs:state_
199 : state_(ADAPTER_STATE_OFF), in AdapterImpl()
230 AdapterState GetState() const override { return state_.load(); } in GetState()
232 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled()
244 state_ = ADAPTER_STATE_TURNING_ON; in Enable()
245 NotifyAdapterStateChanged(current_state, state_); in Enable()
251 state_ = ADAPTER_STATE_OFF; in Enable()
252 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_ON, state_); in Enable()
269 state_ = ADAPTER_STATE_TURNING_OFF; in Disable()
270 NotifyAdapterStateChanged(current_state, state_); in Disable()
276 state_ = current_state; in Disable()
277 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_OFF, state_); in Disable()
510 state_ = ADAPTER_STATE_OFF; in AdapterStateChangedCallback()
514 state_ = ADAPTER_STATE_ON; in AdapterStateChangedCallback()
751 std::atomic<AdapterState> state_; member in bluetooth::AdapterImpl