/system/bt/hci/src/ |
hci_inject.cc | 63 static socket_t* listen_socket; variable 72 CHECK(listen_socket == NULL); 85 listen_socket = socket_new(); 86 if (!listen_socket) goto error; 88 if (!socket_listen(listen_socket, LISTEN_PORT)) goto error; 90 socket_register(listen_socket, thread_get_reactor(thread), NULL, accept_ready, 104 socket_free(listen_socket); 108 listen_socket = NULL; 129 CHECK(socket == listen_socket);
|
/system/core/adb/ |
jdwp_service.cpp | 365 int listen_socket; member in struct:JdwpControl 409 control->listen_socket = s; 421 D("jdwp control socket started (%d)", control->listen_socket); 429 int s = adb_socket_accept(control->listen_socket, nullptr, nullptr);
|
/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 | 883 int listen_socket = socket(AF_INET, SOCK_STREAM, 0); local 884 ASSERT_LT(0, listen_socket); 891 int res = bind(listen_socket, (struct sockaddr *)&sai, sizeof(sai)); 894 res = listen(listen_socket, 1); 898 res = getsockname(listen_socket, (struct sockaddr *)&sai, &sz); 914 int new_sock = accept(listen_socket, (struct sockaddr *)&sai, &sz); 927 close(listen_socket); [all...] |