Searched refs:ConnectionHandler (Results 1 – 6 of 6) sorted by relevance
88 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 …]
48 class ConnectionHandler {81 static ConnectionHandler* Get();131 static void InitForTesting(ConnectionHandler* handler);147 static ConnectionHandler* instance_;165 ConnectionHandler() : weak_ptr_factory_(this){}; in ConnectionHandler() function166 ConnectionHandler(const ConnectionHandler&) = delete;167 ConnectionHandler& operator=(const ConnectionHandler&) = delete;169 virtual ~ConnectionHandler() = default;182 base::WeakPtrFactory<ConnectionHandler> weak_ptr_factory_;
49 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 …]
65 friend class ConnectionHandler;
119 ConnectionHandler* connection_handler_;
435 ConnectionHandler::Initialize( in Init()439 connection_handler_ = ConnectionHandler::Get(); in Init()