Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/profile/avrcp/tests/
Davrcp_connection_handler_test.cc88 ConnectionHandler* connection_handler_ = nullptr;
110 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()
112 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
118 ConnectionHandler::CleanUp(); in TEST_F()
134 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()
136 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
142 ConnectionHandler::CleanUp(); in TEST_F()
158 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()
160 connection_handler_ = ConnectionHandler::Get(); in TEST_F()
163 ConnectionHandler::CleanUp(); in TEST_F()
[all …]
/packages/modules/Bluetooth/system/profile/avrcp/
Dconnection_handler.h48 class ConnectionHandler {
81 static ConnectionHandler* Get();
131 static void InitForTesting(ConnectionHandler* handler);
147 static ConnectionHandler* instance_;
165 ConnectionHandler() : weak_ptr_factory_(this){}; in ConnectionHandler() function
166 ConnectionHandler(const ConnectionHandler&) = delete;
167 ConnectionHandler& operator=(const ConnectionHandler&) = delete;
169 virtual ~ConnectionHandler() = default;
182 base::WeakPtrFactory<ConnectionHandler> weak_ptr_factory_;
Dconnection_handler.cc49 ConnectionHandler* ConnectionHandler::instance_ = nullptr;
56 ConnectionHandler* ConnectionHandler::Get() { in Get()
76 bool ConnectionHandler::Initialize(const ConnectionCallback& callback, in Initialize()
85 instance_ = new ConnectionHandler(); in Initialize()
100 bool ConnectionHandler::CleanUp() { in CleanUp()
123 void ConnectionHandler::InitForTesting(ConnectionHandler* handler) { in InitForTesting()
128 bool ConnectionHandler::ConnectDevice(const RawAddress& bdaddr) { in ConnectDevice()
138 auto connection_lambda = [](ConnectionHandler* instance_, in ConnectDevice()
158 bool ConnectionHandler::DisconnectDevice(const RawAddress& bdaddr) { in DisconnectDevice()
169 void ConnectionHandler::SetBipClientStatus(const RawAddress& bdaddr, in SetBipClientStatus()
[all …]
Ddevice.h65 friend class ConnectionHandler;
/packages/modules/Bluetooth/system/btif/avrcp/
Davrcp_service.h119 ConnectionHandler* connection_handler_;
Davrcp_service.cc435 ConnectionHandler::Initialize( in Init()
439 connection_handler_ = ConnectionHandler::Get(); in Init()