/packages/modules/adb/ |
D | sysdeps_unix.cpp | 21 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()
|
D | services.cpp | 66 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()
|
D | sysdeps.h | 201 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()
|
D | adb_listeners.cpp | 83 adb_setsockopt(fd.get(), SOL_SOCKET, SO_RCVBUF, &rcv_buf_size, sizeof(rcv_buf_size)); in ss_listener_event_func()
|
D | sysdeps_win32.cpp | 1260 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/ |
D | udp_socket.cpp | 291 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/ |
D | abb.cpp | 74 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/ |
D | pairing_client.cpp | 137 adb_setsockopt(fd.get(), IPPROTO_TCP, TCP_NODELAY, &off, sizeof(off)); in StartConnection()
|
/packages/modules/adb/client/ |
D | commandline.cpp | 832 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()
|