Lines Matching refs:state_
198 : state_(ADAPTER_STATE_OFF), in AdapterImpl()
229 AdapterState GetState() const override { return state_.load(); } in GetState()
231 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled()
243 state_ = ADAPTER_STATE_TURNING_ON; in Enable()
244 NotifyAdapterStateChanged(current_state, state_); in Enable()
250 state_ = ADAPTER_STATE_OFF; in Enable()
251 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_ON, state_); in Enable()
268 state_ = ADAPTER_STATE_TURNING_OFF; in Disable()
269 NotifyAdapterStateChanged(current_state, state_); in Disable()
275 state_ = current_state; in Disable()
276 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_OFF, state_); in Disable()
509 state_ = ADAPTER_STATE_OFF; in AdapterStateChangedCallback()
513 state_ = ADAPTER_STATE_ON; in AdapterStateChangedCallback()
747 std::atomic<AdapterState> state_; member in bluetooth::AdapterImpl