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();120 static void InitForTesting(ConnectionHandler* handler);134 static ConnectionHandler* instance_;152 ConnectionHandler() : weak_ptr_factory_(this){}; in ConnectionHandler() function153 virtual ~ConnectionHandler() = default;159 base::WeakPtrFactory<ConnectionHandler> weak_ptr_factory_;160 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()103 void ConnectionHandler::InitForTesting(ConnectionHandler* handler) { in InitForTesting()108 bool ConnectionHandler::ConnectDevice(const RawAddress& bdaddr) { in ConnectDevice()118 auto connection_lambda = [](ConnectionHandler* instance_, in ConnectDevice()138 bool ConnectionHandler::DisconnectDevice(const RawAddress& bdaddr) { in DisconnectDevice()151 std::vector<std::shared_ptr<Device>> ConnectionHandler::GetListOfDevices() in GetListOfDevices()[all …]
60 friend class ConnectionHandler;
93 ConnectionHandler* connection_handler_;
303 ConnectionHandler::Initialize( in Init()306 connection_handler_ = ConnectionHandler::Get(); in Init()