Searched refs:AdapterState (Results 1 – 9 of 9) sorted by relevance
28 enum AdapterState { enum41 std::string AdapterStateToString(AdapterState state);
21 std::string AdapterStateToString(AdapterState state) { in AdapterStateToString()
62 AdapterState prev_state,63 AdapterState new_state);112 virtual AdapterState GetState() const = 0;
149 AdapterState prev_state, in OnAdapterStateChanged()150 AdapterState new_state) { in OnAdapterStateChanged()229 AdapterState GetState() const override { return state_.load(); } in GetState()234 AdapterState current_state = GetState(); in Enable()264 AdapterState current_state = GetState(); in Disable()505 AdapterState prev_state = GetState(); in AdapterStateChangedCallback()735 void NotifyAdapterStateChanged(AdapterState prev_state, in NotifyAdapterStateChanged()736 AdapterState new_state) { in NotifyAdapterStateChanged()747 std::atomic<AdapterState> state_;
73 bluetooth::AdapterState prev_state() const { return prev_state_; } in prev_state()74 bluetooth::AdapterState cur_state() const { return cur_state_; } in cur_state()86 bluetooth::AdapterState prev_state, in OnAdapterStateChanged()87 bluetooth::AdapterState new_state) override { in OnAdapterStateChanged()103 bluetooth::AdapterState prev_state_, cur_state_;
33 MOCK_CONST_METHOD0(GetState, AdapterState());
124 bluetooth::AdapterState prev_state,125 bluetooth::AdapterState new_state) override;
386 bluetooth::Adapter* adapter, bluetooth::AdapterState prev_state, in OnAdapterStateChanged()387 bluetooth::AdapterState new_state) { in OnAdapterStateChanged()
155 << AdapterStateToString(bluetooth::AdapterState(prev_state)) in OnBluetoothStateChange()157 << AdapterStateToString(bluetooth::AdapterState(new_state)) in OnBluetoothStateChange()402 bluetooth::AdapterState state = static_cast<bluetooth::AdapterState>(st); in HandleGetState()453 static_cast<bluetooth::AdapterState>(adapter_state))); in HandleAdapterInfo()