Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 31) sorted by relevance

12

/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_l2cap.cc105 static char packet_get_head_l(l2cap_socket* sock, uint8_t** data, in packet_get_head_l()
137 static char packet_put_head_l(l2cap_socket* sock, const void* data, in packet_put_head_l()
164 static char packet_put_tail_l(l2cap_socket* sock, const void* data, in packet_put_tail_l()
193 l2cap_socket* sock = socks; in btsock_l2cap_find_by_id_l() local
200 static void btsock_l2cap_free_l(l2cap_socket* sock) { in btsock_l2cap_free_l()
270 l2cap_socket* sock = (l2cap_socket*)osi_calloc(sizeof(*sock)); in btsock_l2cap_alloc_l() local
348 static inline bool send_app_psm_or_chan_l(l2cap_socket* sock) { in send_app_psm_or_chan_l()
379 l2cap_socket* sock; in on_srv_l2cap_listen_started() local
420 l2cap_socket* sock; in on_cl_l2cap_init() local
443 l2cap_socket* sock) { in on_srv_l2cap_psm_connect_l()
[all …]
/packages/modules/StatsD/lib/libstatssocket/
Dstatsd_writer.c106 int sock = TEMP_FAILURE_RETRY(socket(PF_UNIX, flags, 0)); in statsdOpen() local
147 int sock = atomic_exchange(&statsdLoggerWrite.sock, negative_errno); in __statsdClose() local
182 int sock; in statsdWrite() local
Dstatsd_writer.h35 atomic_int sock; member
/packages/apps/Nfc/src/com/android/nfc/ndefpush/
DNdefPushClient.java55 LlcpSocket sock = null; in connect() local
89 LlcpSocket sock = null; in push() local
DNdefPushServer.java66 ConnectionThread(LlcpSocket sock) { in ConnectionThread()
/packages/modules/Bluetooth/tools/rootcanal/test/
Dposix_socket_unittest.cc85 [&](std::shared_ptr<AsyncDataChannel> sock, AsyncDataChannelServer*) { in connectPair()
199 sock2->WatchForNonBlockingRead([&](auto sock) { in TEST_F()
247 [&](std::shared_ptr<AsyncDataChannel> sock, AsyncDataChannelServer*) { in TEST_F()
276 [&](std::shared_ptr<AsyncDataChannel> sock, AsyncDataChannelServer*) { in TEST_F()
/packages/modules/Connectivity/netd/
DBpfHandlerTest.cpp86 int sock = socket(protocol, SOCK_STREAM | SOCK_CLOEXEC, 0); in setUpSocketAndTag() local
123 int sock = socket(AF_INET6, SOCK_STREAM | SOCK_CLOEXEC, 0); in expectTagSocketReachLimit() local
199 int sock = socket(AF_INET6, SOCK_STREAM | SOCK_CLOEXEC, 0); in TEST_F() local
221 int sock = socket(AF_INET6, SOCK_STREAM | SOCK_CLOEXEC, 0); in TEST_F() local
/packages/modules/Bluetooth/system/tools/bdtool/
Dbdtool.c213 const btsock_interface_t* sock = in main() local
247 const btsock_interface_t* sock = in main() local
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeLocalAddressGenerator.java38 FileDescriptor sock = in generateLocalAddress() local
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java205 public void addAnycastSetsockopt(@NonNull FileDescriptor sock, String v6, int ifindex) in addAnycastSetsockopt()
213 public void configurePacketSocket(@NonNull FileDescriptor sock, String v6, int ifindex) in configurePacketSocket()
238 public long tagSocketAsClat(@NonNull FileDescriptor sock) throws IOException { in tagSocketAsClat()
828 private static native void native_addAnycastSetsockopt(FileDescriptor sock, String v6, in native_addAnycastSetsockopt()
830 private static native void native_configurePacketSocket(FileDescriptor sock, String v6, in native_configurePacketSocket()
837 private static native long native_tagSocketAsClat(FileDescriptor sock) throws IOException; in native_tagSocketAsClat()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeUdp4Socket.java70 FileDescriptor sock = Os.socket(AF_INET, SOCK_DGRAM, IPPROTO_UDP); in getInstance() local
DIkeUdp6Socket.java83 FileDescriptor sock = Os.socket(AF_INET6, SOCK_DGRAM, IPPROTO_UDP); in openUdp6Sock() local
DIkeSocket.java114 IkeSocketConfig sockConfig, FileDescriptor sock, boolean isIpv6) in applySocketConfig()
/packages/modules/Connectivity/service/jni/
Dcom_android_server_connectivity_ClatCoordinator.cpp182 int sock = socket(AF_PACKET, SOCK_DGRAM | SOCK_CLOEXEC, 0); in com_android_server_connectivity_ClatCoordinator_openPacketSocket() local
193 int sock = socket(AF_INET6, SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC, IPPROTO_RAW); in com_android_server_connectivity_ClatCoordinator_openRawSocket6() local
211 int sock = netjniutils::GetNativeFileDescriptor(env, javaFd); in com_android_server_connectivity_ClatCoordinator_addAnycastSetsockopt() local
239 int sock = netjniutils::GetNativeFileDescriptor(env, javaFd); in com_android_server_connectivity_ClatCoordinator_configurePacketSocket() local
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java253 public void addAnycastSetsockopt(@NonNull FileDescriptor sock, String v6, int ifindex) in addAnycastSetsockopt()
265 public void configurePacketSocket(@NonNull FileDescriptor sock, String v6, int ifindex) in configurePacketSocket()
309 public long tagSocketAsClat(@NonNull FileDescriptor sock) throws IOException { in tagSocketAsClat()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverClient.java55 LlcpSocket sock = null; in connect() local
/packages/modules/DnsResolver/tests/
Ddoh_ffi_test.cpp51 auto tag_socket_cb = [](int32_t sock) { EXPECT_GE(sock, 0); }; in TEST()
/packages/modules/adb/
Dtest_adb.py66 def _handle(sock): argument
316 def _reset_socket_on_close(self, sock): argument
/packages/modules/Connectivity/tests/native/
Dconnectivity_native_test.cpp74 int sock, sock2; in runSocketTest() local
107 const int sock = socket(family, type, 0); in openSocket() local
/packages/modules/StatsD/statsd/src/socket/
DStatsSocketListener.cpp141 int sock = android_get_control_socket(socketName); in getLogSocket() local
/packages/modules/Bluetooth/system/tools/hci/
Dmain.c179 int sock = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); in write_hci_command() local
/packages/modules/Connectivity/service/native/libs/libclat/
Dclatutils.cpp220 int configure_packet_socket(int sock, in6_addr* addr, int ifindex) { in configure_packet_socket()
/packages/modules/DnsResolver/
Dresolv_private.h233 inline void resolv_tag_socket(int sock, uid_t uid, pid_t pid) { in resolv_tag_socket()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSocketTestBase.java117 FileDescriptor sock = in getBoundUdpSocket() local
/packages/modules/DnsResolver/doh/
Dffi.rs399 let sock = std::net::UdpSocket::bind("127.0.0.1:0").unwrap(); in wrap_tag_socket_callback_converts_correctly() localVariable

12