Searched refs:listen_socket (Results 1 – 2 of 2) sorted by relevance
/system/bt/hci/src/ |
D | hci_inject.cc | 63 static socket_t* listen_socket; variable 72 CHECK(listen_socket == NULL); in hci_inject_open() 85 listen_socket = socket_new(); in hci_inject_open() 86 if (!listen_socket) goto error; in hci_inject_open() 88 if (!socket_listen(listen_socket, LISTEN_PORT)) goto error; in hci_inject_open() 90 socket_register(listen_socket, thread_get_reactor(thread), NULL, accept_ready, in hci_inject_open() 104 socket_free(listen_socket); in hci_inject_close() 108 listen_socket = NULL; in hci_inject_close() 129 CHECK(socket == listen_socket); in accept_ready()
|
/system/core/adb/daemon/ |
D | jdwp_service.cpp | 297 int listen_socket; member 338 control->listen_socket = s.release(); in jdwp_control_init() 339 control->fde = fdevent_create(control->listen_socket, jdwp_control_event, control); in jdwp_control_init() 348 D("jdwp control socket started (%d)", control->listen_socket); in jdwp_control_init() 355 CHECK_EQ(fd, control->listen_socket); in jdwp_control_event() 357 int s = adb_socket_accept(control->listen_socket, nullptr, nullptr); in jdwp_control_event()
|