/system/bt/hci/src/ |
hci_inject.c | 55 static socket_t *listen_socket; variable 69 assert(listen_socket == NULL); 84 listen_socket = socket_new(); 85 if (!listen_socket) 88 if (!socket_listen(listen_socket, LISTEN_PORT)) 91 socket_register(listen_socket, thread_get_reactor(thread), NULL, accept_ready, NULL); 104 socket_free(listen_socket); 108 listen_socket = NULL; 129 assert(socket == listen_socket);
|
/system/core/adb/ |
jdwp_service.cpp | 449 int listen_socket; member in struct:JdwpControl 502 control->listen_socket = s; 515 D("jdwp control socket started (%d)", control->listen_socket); 533 s = adb_socket_accept(control->listen_socket, addrp, &addrlen);
|
/external/toybox/toys/pending/ |
telnetd.c | 129 static int listen_socket(void) function 317 master_fd = listen_socket();
|
/external/compiler-rt/lib/msan/tests/ |
msan_test.cc | 880 int listen_socket = socket(AF_INET, SOCK_STREAM, 0); local 881 ASSERT_LT(0, listen_socket); 888 int res = bind(listen_socket, (struct sockaddr *)&sai, sizeof(sai)); 891 res = listen(listen_socket, 1); 895 res = getsockname(listen_socket, (struct sockaddr *)&sai, &sz); 911 int new_sock = accept(listen_socket, (struct sockaddr *)&sai, &sz); 924 close(listen_socket); [all...] |