Lines Matching refs:ConnectionHandler

38 ConnectionHandler* ConnectionHandler::instance_ = nullptr;
40 ConnectionHandler* ConnectionHandler::Get() { in Get()
60 bool ConnectionHandler::Initialize(const ConnectionCallback& callback, in Initialize()
69 instance_ = new ConnectionHandler(); in Initialize()
84 bool ConnectionHandler::CleanUp() { in CleanUp()
106 void ConnectionHandler::InitForTesting(ConnectionHandler* handler) { in InitForTesting()
111 bool ConnectionHandler::ConnectDevice(const RawAddress& bdaddr) { in ConnectDevice()
121 auto connection_lambda = [](ConnectionHandler* instance_, in ConnectDevice()
141 bool ConnectionHandler::DisconnectDevice(const RawAddress& bdaddr) { in DisconnectDevice()
152 void ConnectionHandler::SetBipClientStatus(const RawAddress& bdaddr, in SetBipClientStatus()
162 std::vector<std::shared_ptr<Device>> ConnectionHandler::GetListOfDevices() in GetListOfDevices()
171 bool ConnectionHandler::SdpLookup(const RawAddress& bdaddr, SdpCallback cb, in SdpLookup()
191 base::Bind(&ConnectionHandler::SdpCb, in SdpLookup()
196 bool ConnectionHandler::AvrcpConnect(bool initiator, const RawAddress& bdaddr) { in AvrcpConnect()
201 open_cb.ctrl_cback = base::Bind(&ConnectionHandler::InitiatorControlCb, in AvrcpConnect()
204 open_cb.ctrl_cback = base::Bind(&ConnectionHandler::AcceptorControlCb, in AvrcpConnect()
208 base::Bind(&ConnectionHandler::MessageCb, weak_ptr_factory_.GetWeakPtr()); in AvrcpConnect()
224 void ConnectionHandler::InitiatorControlCb(uint8_t handle, uint8_t event, in InitiatorControlCb()
254 auto&& callback = base::Bind(&ConnectionHandler::SendMessage, in InitiatorControlCb()
312 void ConnectionHandler::AcceptorControlCb(uint8_t handle, uint8_t event, in AcceptorControlCb()
325 auto&& callback = base::Bind(&ConnectionHandler::SendMessage, in AcceptorControlCb()
338 auto sdp_lambda = [](ConnectionHandler* instance_, uint8_t handle, in AcceptorControlCb()
403 void ConnectionHandler::MessageCb(uint8_t handle, uint8_t label, uint8_t opcode, in MessageCb()
423 void ConnectionHandler::SdpCb(RawAddress bdaddr, SdpCallback cb, in SdpCb()
535 void ConnectionHandler::SendMessage( in SendMessage()