Searched refs:connection_callback (Results 1 – 3 of 3) sorted by relevance
/system/bt/vendor_libs/test_vendor_lib/desktop/ |
D | test_environment.cc | 60 void TestEnvironment::SetUpHciServer(const std::function<void(int)>& connection_callback) { in SetUpHciServer() argument 71 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this, connection_callback](int socket_fd) { in SetUpHciServer() 82 connection_callback(conn_fd); in SetUpHciServer() 86 void TestEnvironment::SetUpLinkLayerServer(const std::function<void(int)>& connection_callback) { in SetUpLinkLayerServer() argument 97 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this, connection_callback](int socket_fd) { in SetUpLinkLayerServer() 107 connection_callback(conn_fd); in SetUpLinkLayerServer()
|
/system/bt/test/rootcanal/ |
D | bluetooth_hci.cc | 190 void BluetoothHci::SetUpHciServer(int port, const std::function<void(int)>& connection_callback) { in SetUpHciServer() argument 201 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this, connection_callback](int socket_fd) { in SetUpHciServer() 212 connection_callback(conn_fd); in SetUpHciServer() 216 …BluetoothHci::SetUpLinkLayerServer(int port, const std::function<void(int)>& connection_callback) { in SetUpLinkLayerServer() argument 227 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this, connection_callback](int socket_fd) { in SetUpLinkLayerServer() 237 connection_callback(conn_fd); in SetUpLinkLayerServer()
|
/system/bt/include/hardware/ |
D | bt_gatt_server.h | 50 typedef void (*connection_callback)(int conn_id, int server_if, int connected, typedef 121 connection_callback connection_cb;
|