Home
last modified time | relevance | path

Searched refs:connection_callback (Results 1 – 3 of 3) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/desktop/
Dtest_environment.cc71 void TestEnvironment::SetUpHciServer(const std::function<void(int)>& connection_callback) { in SetUpHciServer() argument
82 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this, connection_callback](int socket_fd) { in SetUpHciServer()
93 connection_callback(conn_fd); in SetUpHciServer()
97 void TestEnvironment::SetUpLinkLayerServer(const std::function<void(int)>& connection_callback) { in SetUpLinkLayerServer() argument
108 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this, connection_callback](int socket_fd) { in SetUpLinkLayerServer()
118 connection_callback(conn_fd); in SetUpLinkLayerServer()
/system/bt/test/rootcanal/
Dbluetooth_hci.cc286 void BluetoothHci::SetUpHciServer(int port, const std::function<void(int)>& connection_callback) { in SetUpHciServer() argument
298 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this, connection_callback](int socket_fd) { in SetUpHciServer()
309 connection_callback(conn_fd); in SetUpHciServer()
313 …BluetoothHci::SetUpLinkLayerServer(int port, const std::function<void(int)>& connection_callback) { in SetUpLinkLayerServer() argument
325 async_manager_.WatchFdForNonBlockingReads(socket_fd, [this, connection_callback](int socket_fd) { in SetUpLinkLayerServer()
335 connection_callback(conn_fd); in SetUpLinkLayerServer()
/system/bt/include/hardware/
Dbt_gatt_server.h50 typedef void (*connection_callback)(int conn_id, int server_if, int connected, typedef
121 connection_callback connection_cb;