Lines Matching refs:state_
76 : state_(ADAPTER_STATE_OFF), in AdapterImpl()
103 AdapterState GetState() const override { return state_.load(); } in GetState()
105 bool IsEnabled() const override { return state_.load() == ADAPTER_STATE_ON; } in IsEnabled()
117 state_ = ADAPTER_STATE_TURNING_ON; in Enable()
118 NotifyAdapterStateChanged(current_state, state_); in Enable()
125 state_ = ADAPTER_STATE_OFF; in Enable()
126 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_ON, state_); in Enable()
143 state_ = ADAPTER_STATE_TURNING_OFF; in Disable()
144 NotifyAdapterStateChanged(current_state, state_); in Disable()
150 state_ = current_state; in Disable()
151 NotifyAdapterStateChanged(ADAPTER_STATE_TURNING_OFF, state_); in Disable()
240 state_ = ADAPTER_STATE_OFF; in AdapterStateChangedCallback()
244 state_ = ADAPTER_STATE_ON; in AdapterStateChangedCallback()
371 std::atomic<AdapterState> state_; member in bluetooth::AdapterImpl