Home
last modified time | relevance | path

Searched refs:ConnectionHandler (Results 1 – 6 of 6) sorted by relevance

/system/bt/profile/avrcp/tests/
Davrcp_connection_handler_test.cc79 ConnectionHandler* connection_handler_ = nullptr;
101 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()
103 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
109 ConnectionHandler::CleanUp(); in TEST_F()
125 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()
127 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
133 ConnectionHandler::CleanUp(); in TEST_F()
149 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()
151 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
154 ConnectionHandler::CleanUp(); in TEST_F()
[all …]
/system/bt/profile/avrcp/
Dconnection_handler.h46 class ConnectionHandler {
78 static ConnectionHandler* Get();
128 static void InitForTesting(ConnectionHandler* handler);
142 static ConnectionHandler* instance_;
160 ConnectionHandler() : weak_ptr_factory_(this){}; in ConnectionHandler() function
161 virtual ~ConnectionHandler() = default;
167 base::WeakPtrFactory<ConnectionHandler> weak_ptr_factory_;
168 DISALLOW_COPY_AND_ASSIGN(ConnectionHandler);
Dconnection_handler.cc38 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()
[all …]
Ddevice.h60 friend class ConnectionHandler;
/system/bt/btif/avrcp/
Davrcp_service.h106 ConnectionHandler* connection_handler_;
Davrcp_service.cc310 ConnectionHandler::Initialize( in Init()
313 connection_handler_ = ConnectionHandler::Get(); in Init()