Home
last modified time | relevance | path

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

/packages/modules/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()
Dservices.cpp66 adb_setsockopt(s[0], SOL_SOCKET, SO_SNDBUF, &max_buf, sizeof(max_buf)); in create_service_thread()
67 adb_setsockopt(s[1], SOL_SOCKET, SO_SNDBUF, &max_buf, sizeof(max_buf)); in create_service_thread()
Dsysdeps.h201 extern int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval,
663 static inline int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval, in adb_setsockopt() function
784 adb_setsockopt(fd.get(), IPPROTO_TCP, TCP_NODELAY, &off, sizeof(off)); in disable_tcp_nagle()
Dadb_listeners.cpp83 adb_setsockopt(fd.get(), SOL_SOCKET, SO_RCVBUF, &rcv_buf_size, sizeof(rcv_buf_size)); in ss_listener_event_func()
Dsysdeps_win32.cpp1260 int adb_setsockopt(borrowed_fd fd, int level, int optname, const void* optval, socklen_t optlen) { in adb_setsockopt() function
/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp291 if (adb_setsockopt(fd_, IPPROTO_IP, IP_MULTICAST_IF, &multicast_properties, in SetMulticastOutboundInterface()
313 if (adb_setsockopt(fd_, IPPROTO_IPV6, IPV6_MULTICAST_IF, &index, sizeof(index)) == in SetMulticastOutboundInterface()
340 if (adb_setsockopt(fd_, IPPROTO_IP, IP_PKTINFO, &enable_pktinfo, in JoinMulticastGroup()
348 if (adb_setsockopt(fd_, IPPROTO_IP, IP_ADD_MEMBERSHIP, &multicast_properties, in JoinMulticastGroup()
362 if (adb_setsockopt(fd_, IPPROTO_IPV6, IPV6_PKTINFO, &enable_pktinfo, in JoinMulticastGroup()
365 if (adb_setsockopt(fd_, IPPROTO_IPV6, IPV6_RECVPKTINFO, &enable_pktinfo, in JoinMulticastGroup()
382 if (adb_setsockopt(fd_, IPPROTO_IPV6, IPV6_JOIN_GROUP, &multicast_properties, in JoinMulticastGroup()
465 auto code = adb_setsockopt(fd_, kSettingLevel, IP_TOS, code_array, sizeof(uint8_t)); in JoinMulticastGroup()
497 if (adb_setsockopt(fd_, SOL_SOCKET, SO_REUSEADDR, &reuse_addr, sizeof(reuse_addr)) == -1) { in JoinMulticastGroup()
/packages/modules/adb/daemon/
Dabb.cpp74 adb_setsockopt(in, SOL_SOCKET, SO_SNDBUF, &max_buf, sizeof(max_buf)); in execCmd()
75 adb_setsockopt(out, SOL_SOCKET, SO_SNDBUF, &max_buf, sizeof(max_buf)); in execCmd()
76 adb_setsockopt(err, SOL_SOCKET, SO_SNDBUF, &max_buf, sizeof(max_buf)); in execCmd()
108 adb_setsockopt(result, SOL_SOCKET, SO_SNDBUF, &max_buf, sizeof(max_buf)); in main()
/packages/modules/adb/client/pairing/
Dpairing_client.cpp137 adb_setsockopt(fd.get(), IPPROTO_TCP, TCP_NODELAY, &off, sizeof(off)); in StartConnection()
/packages/modules/adb/client/
Dcommandline.cpp832 opt = adb_setsockopt(out_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); in adb_sideload_legacy()
917 adb_setsockopt(device_fd, SOL_SOCKET, SO_SNDBUF, &opt, sizeof(opt)); in adb_sideload_install()