Searched refs:ConnectionHandler (Results 1 – 6 of 6) sorted by relevance
79 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 …]
46 class ConnectionHandler {78 static ConnectionHandler* Get();128 static void InitForTesting(ConnectionHandler* handler);142 static ConnectionHandler* instance_;160 ConnectionHandler() : weak_ptr_factory_(this){}; in ConnectionHandler() function161 virtual ~ConnectionHandler() = default;167 base::WeakPtrFactory<ConnectionHandler> weak_ptr_factory_;168 DISALLOW_COPY_AND_ASSIGN(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()[all …]
60 friend class ConnectionHandler;
106 ConnectionHandler* connection_handler_;
310 ConnectionHandler::Initialize( in Init()313 connection_handler_ = ConnectionHandler::Get(); in Init()