Home
last modified time | relevance | path

Searched refs:adb_setsockopt (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/
Dsysdeps_unix.cpp21 if (adb_setsockopt(fd, SOL_SOCKET, SO_KEEPALIVE, &enable, sizeof(enable))) { in set_tcp_keepalive()
31 if (adb_setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &interval_sec, sizeof(interval_sec))) { in set_tcp_keepalive()
35 if (adb_setsockopt(fd, IPPROTO_TCP, TCP_KEEPALIVE, &interval_sec, sizeof(interval_sec))) { in set_tcp_keepalive()
42 if (adb_setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &interval_sec, sizeof(interval_sec))) { in set_tcp_keepalive()
52 if (adb_setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT, &keepcnt, sizeof(keepcnt))) { in set_tcp_keepalive()
Dsysdeps.h278 extern int adb_setsockopt(int fd, int level, int optname, const void* optval, socklen_t optle…
731 static __inline__ int adb_setsockopt( int fd, int level, int optname, const void* optval, sock… in adb_setsockopt() function
788 adb_setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &off, sizeof(off)); in disable_tcp_nagle()
Dservices.cpp249 adb_setsockopt(s[0], SOL_SOCKET, SO_SNDBUF, &max_buf, sizeof(max_buf)); in create_service_thread()
250 adb_setsockopt(s[1], SOL_SOCKET, SO_SNDBUF, &max_buf, sizeof(max_buf)); in create_service_thread()
Dadb_listeners.cpp76 adb_setsockopt(fd, SOL_SOCKET, SO_RCVBUF, &rcv_buf_size, sizeof(rcv_buf_size)); in ss_listener_event_func()
Dcommandline.cpp803 opt = adb_setsockopt(fd, SOL_SOCKET, SO_SNDBUF, (const void *) &opt, sizeof(opt)); in adb_download_buffer()
884 adb_setsockopt(device_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); in adb_sideload_host()
Dsysdeps_win32.cpp952 int adb_setsockopt( int fd, int level, int optname, const void* optval, socklen_t optlen ) in adb_setsockopt() function