Home
last modified time | relevance | path

Searched refs:AdapterState (Results 1 – 9 of 9) sorted by relevance

/system/bt/service/common/bluetooth/
Dadapter_state.h28 enum AdapterState { enum
41 std::string AdapterStateToString(AdapterState state);
Dadapter_state.cc21 std::string AdapterStateToString(AdapterState state) { in AdapterStateToString()
/system/bt/service/
Dadapter.h62 AdapterState prev_state,
63 AdapterState new_state);
112 virtual AdapterState GetState() const = 0;
Dadapter.cc149 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_;
/system/bt/service/test/
Dadapter_unittest.cc73 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_;
Dmock_adapter.h33 MOCK_CONST_METHOD0(GetState, AdapterState());
/system/bt/service/ipc/binder/
Dbluetooth_binder_server.h124 bluetooth::AdapterState prev_state,
125 bluetooth::AdapterState new_state) override;
Dbluetooth_binder_server.cc386 bluetooth::Adapter* adapter, bluetooth::AdapterState prev_state, in OnAdapterStateChanged()
387 bluetooth::AdapterState new_state) { in OnAdapterStateChanged()
/system/bt/service/client/
Dmain.cc155 << 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()