Home
last modified time | relevance | path

Searched refs:sockets (Results 1 – 25 of 30) sorted by relevance

12

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java732 SocketPair<JavaTcpSocket> sockets = getJavaTcpSocketPair(local, mISM, transform); in testJavaTcpSocketPair() local
733 checkSocketPair(sockets.mLeftSock, sockets.mRightSock); in testJavaTcpSocketPair()
744 SocketPair<JavaUdpSocket> sockets = in testJavaUdpSocketPair() local
746 checkSocketPair(sockets.mLeftSock, sockets.mRightSock); in testJavaUdpSocketPair()
757 SocketPair<JavaUdpSocket> sockets = in testJavaUdpSocketPairUnconnected() local
759 checkUnconnectedUdpSocketPair(sockets.mLeftSock, sockets.mRightSock, local); in testJavaUdpSocketPairUnconnected()
770 SocketPair<NativeTcpSocket> sockets = in testNativeTcpSocketPair() local
772 checkSocketPair(sockets.mLeftSock, sockets.mRightSock); in testNativeTcpSocketPair()
783 SocketPair<NativeUdpSocket> sockets = in testNativeUdpSocketPair() local
785 checkSocketPair(sockets.mLeftSock, sockets.mRightSock); in testNativeUdpSocketPair()
[all …]
DIpSecManagerTest.java197 SocketPair<JavaUdpSocket> sockets = getJavaUdpSocketPair(local, mISM, transform, false); in checkUnconnectedUdp() local
198 sockLeft = sockets.mLeftSock; in checkUnconnectedUdp()
199 sockRight = sockets.mRightSock; in checkUnconnectedUdp()
201 SocketPair<NativeUdpSocket> sockets = in checkUnconnectedUdp() local
203 sockLeft = sockets.mLeftSock; in checkUnconnectedUdp()
204 sockRight = sockets.mRightSock; in checkUnconnectedUdp()
227 SocketPair<JavaTcpSocket> sockets = getJavaTcpSocketPair(local, mISM, transform); in checkTcp() local
228 client = sockets.mLeftSock; in checkTcp()
229 accepted = sockets.mRightSock; in checkTcp()
231 SocketPair<NativeTcpSocket> sockets = getNativeTcpSocketPair(local, mISM, transform); in checkTcp() local
[all …]
/packages/modules/adb/
Dsysdeps_test.cpp218 std::vector<int> sockets; in TEST_F() local
220 sockets.resize(num_sockets * 2); in TEST_F()
222 ASSERT_EQ(0, adb_socketpair(&sockets[i * 2])) << strerror(errno); in TEST_F()
223 ASSERT_TRUE(WriteFdExactly(sockets[i * 2], &i, sizeof(i))); in TEST_F()
226 pfd.fd = sockets[i * 2 + 1]; in TEST_F()
239 for (int fd : sockets) { in TEST_F()
Dsysdeps_win32.cpp609 std::vector<WSAPOLLFD> sockets; in adb_poll() local
623 sockets.push_back(wsapollfd); in adb_poll()
628 if (sockets.empty()) { in adb_poll()
637 int result = WSAPoll(sockets.data(), sockets.size(), timeout); in adb_poll()
644 for (size_t i = 0; i < sockets.size(); ++i) { in adb_poll()
645 original[i]->revents = sockets[i].revents; in adb_poll()
DAndroid.bp227 "sockets.cpp",
/packages/modules/Bluetooth/system/osi/src/socket_utils/
DREADME18 implement some of the sources in libcutils / sockets to provide a short -
25 sockets,
27 .The developers who want to pull sockets sources other than the
34 osi / include / socket_utils / sockets.h -
/packages/modules/Bluetooth/system/stack/mmc/minijail/
Dmmc.conf37 bind-mount = /run/mmc/sockets,/run/mmc/sockets,1
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DObexServerSockets.java173 ObexServerSockets sockets = new ObexServerSockets(validator, rfcommSocket, l2capSocket); in create() local
174 sockets.startAccept(); in create()
175 return sockets; in create()
/packages/modules/adb/docs/dev/
Dsocket-activation.md29 WantedBy=sockets.target
41 and listening. inetd-style pre-accepted sockets do _not_ work in this
Dasocket.md140 These Smart sockets are only created on the host by adb server on accept(3) by the listener
Dprotocol.md287 Port 5037 is used for smart sockets which allow a client on the host
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/map/
DBluetoothMapMasInstance.java456 ObexServerSockets sockets = mServerSockets; in closeServerSockets() local
457 if (sockets != null) { in closeServerSockets()
458 sockets.shutdown(block); in closeServerSockets()
/packages/modules/Bluetooth/system/stack/mmc/tmpfiles.d/
Dmmc.conf20 d= /run/mmc/sockets 0770 mmc_service mmc_service
/packages/modules/Bluetooth/system/btif/co/
Dbta_hh_co.cc494 int sockets[2]; in uhid_fd_open() local
495 if (socketpair(AF_LOCAL, SOCK_SEQPACKET | SOCK_NONBLOCK, 0, sockets) < 0) { in uhid_fd_open()
502 uhid->internal_recv_fd = sockets[0]; in uhid_fd_open()
503 uhid->internal_send_fd = sockets[1]; in uhid_fd_open()
504 p_dev->internal_send_fd = sockets[1]; in uhid_fd_open()
/packages/modules/adb/daemon/
Dshell_service.cpp134 int sockets[2]; in CreateSocketpair() local
135 if (adb_socketpair(sockets) < 0) { in CreateSocketpair()
139 fd1->reset(sockets[0]); in CreateSocketpair()
140 fd2->reset(sockets[1]); in CreateSocketpair()
/packages/modules/Bluetooth/flags/
DBUILD.gn41 "sockets.aconfig",
DAndroid.bp48 "sockets.aconfig",
/packages/modules/ConfigInfrastructure/aconfigd/src/
Daconfigd_commands.rs31 let fd = rustutils::sockets::android_get_control_socket(ACONFIGD_SOCKET)?; in start_socket()
/packages/modules/Virtualization/guest/authfs_service/src/
Dmain.rs28 use rustutils::sockets::android_get_control_socket;
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dsocket_manager.rs1213 self.connecting.remove(&callback).map(|sockets| { in remove_callback()
1214 for s in sockets { in remove_callback()
1218 self.listening.remove(&callback).map(|sockets| { in remove_callback()
1219 for s in sockets { in remove_callback()
/packages/modules/Virtualization/guest/microdroid_manager/src/
Dmain.rs50 use rustutils::sockets::android_get_control_socket;
/packages/modules/Bluetooth/framework/tests/bumble/src/android/bluetooth/sockets/rfcomm/
DRfcommTest.kt16 package android.bluetooth.sockets.rfcomm in <lambda>()
/packages/modules/adb/docs/user/
Dadb.1.md373 &nbsp;&nbsp;&nbsp;&nbsp;Comma (or space) separated list of debug info to log: all,adb,sockets,packe…
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...

12