Searched refs:ConnectionHandler (Results 1 – 6 of 6) sorted by relevance
80 ConnectionHandler* connection_handler_ = nullptr;102 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()104 connection_handler_ = ConnectionHandler::Get(); in TEST_F()110 ConnectionHandler::CleanUp(); in TEST_F()126 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()128 connection_handler_ = ConnectionHandler::Get(); in TEST_F()134 ConnectionHandler::CleanUp(); in TEST_F()150 ASSERT_TRUE(ConnectionHandler::Initialize(bound_callback, &mock_avrcp_, in TEST_F()152 connection_handler_ = ConnectionHandler::Get(); in TEST_F()155 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()149 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()