Home
last modified time | relevance | path

Searched defs:socket (Results 1 – 25 of 158) sorted by relevance

1234567

/aosp12/system/bt/osi/src/
H A Dsocket.cc84 void socket_free(socket_t* socket) { in socket_free()
92 bool socket_listen(const socket_t* socket, port_t port) { in socket_listen()
114 socket_t* socket_accept(const socket_t* socket) { in socket_accept()
130 ssize_t socket_read(const socket_t* socket, void* buf, size_t count) { in socket_read()
140 ssize_t socket_write(const socket_t* socket, const void* buf, size_t count) { in socket_write()
150 ssize_t socket_write_and_transfer_fd(const socket_t* socket, const void* buf, in socket_write_and_transfer_fd()
184 ssize_t socket_bytes_available(const socket_t* socket) { in socket_bytes_available()
192 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register()
210 void socket_unregister(socket_t* socket) { in socket_unregister()
220 socket_t* socket = static_cast<socket_t*>(context); in internal_read_ready() local
[all …]
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
H A DSSLCertificateSocketFactoryTest.java134 Socket socket = new Socket(); in createSocket_io_error_expected() local
174 Socket socket = mSocketFactory.createSocket(TEST_HOST, HTTPS_PORT); in createSocket_simple_with_hostname_verification() local
202 Socket socket = mSocketFactory.createSocket(underlying, TEST_HOST, HTTPS_PORT, true); in createSocket_wrapped_with_hostname_verification() local
231 Socket socket = mSocketFactory.createSocket(TEST_HOST, HTTPS_PORT, mLocalAddress, 0); in createSocket_bound_with_hostname_verification() local
269 Socket socket = mSocketFactory.createSocket(mTestHostAddress, HTTPS_PORT); in createSocket_simple_no_hostname_verification() local
302 Socket socket = in createSocket_bound_no_hostname_verification() local
330 private void assertConnectedSocket(Socket socket) throws Exception { in assertConnectedSocket()
H A DVpnServiceTest.java68 DatagramSocket socket = new DatagramSocket(); in testProtect_DatagramSocket() local
83 Socket socket = new Socket(); in testProtect_Socket() local
98 DatagramSocket socket = new DatagramSocket(); in testProtect_int() local
/aosp12/system/core/libsysutils/src/
H A DNetlinkListener.cpp36 NetlinkListener::NetlinkListener(int socket) : in NetlinkListener()
42 NetlinkListener::NetlinkListener(int socket, int format) : in NetlinkListener()
48 int socket = cli->getSocket(); in onDataAvailable() local
H A DSocketClient.cpp35 SocketClient::SocketClient(int socket, bool owned) { in SocketClient()
39 SocketClient::SocketClient(int socket, bool owned, bool useCmdNum) { in SocketClient()
43 void SocketClient::init(int socket, bool owned, bool useCmdNum) { in init()
/aosp12/packages/modules/Connectivity/core/java/android/net/
H A DNetwork.java98 private void connectToHost(Socket socket, String host, int port) throws IOException { in connectToHost()
115 Socket socket = createSocket(); in createSocket() local
124 Socket socket = createSocket(); in createSocket() local
132 Socket socket = createSocket(); in createSocket() local
139 Socket socket = createSocket(); in createSocket() local
146 Socket socket = new Socket(); in createSocket() local
/aosp12/frameworks/base/core/java/android/net/
H A DSSLCertificateSocketFactory.java231 public static void verifyHostname(Socket socket, String hostname) throws IOException { in verifyHostname()
387 public byte[] getNpnSelectedProtocol(Socket socket) { in getNpnSelectedProtocol()
402 public byte[] getAlpnSelectedProtocol(Socket socket) { in getAlpnSelectedProtocol()
440 public void setUseSessionTickets(Socket socket, boolean useSessionTickets) { in setUseSessionTickets()
452 public void setHostname(Socket socket, String hostName) { in setHostname()
468 public void setSoWriteTimeout(Socket socket, int writeTimeoutMilliseconds) in setSoWriteTimeout()
474 private static OpenSSLSocketImpl castToOpenSSLSocket(Socket socket) { in castToOpenSSLSocket()
H A DIpSecManager.java371 public void applyTransportModeTransform(@NonNull Socket socket, in applyTransportModeTransform()
408 public void applyTransportModeTransform(@NonNull DatagramSocket socket, in applyTransportModeTransform()
455 public void applyTransportModeTransform(@NonNull FileDescriptor socket, in applyTransportModeTransform()
481 public void removeTransportModeTransforms(@NonNull Socket socket) throws IOException { in removeTransportModeTransforms()
501 public void removeTransportModeTransforms(@NonNull DatagramSocket socket) throws IOException { in removeTransportModeTransforms()
518 public void removeTransportModeTransforms(@NonNull FileDescriptor socket) throws IOException { in removeTransportModeTransforms()
/aosp12/system/core/init/
H A Dproto_utils.h31 inline Result<std::string> ReadMessage(int socket) { in ReadMessage()
43 Result<void> SendMessage(int socket, const T& message) { in SendMessage()
/aosp12/system/core/libcutils/
H A Duevent.cpp35 ssize_t uevent_kernel_multicast_recv(int socket, void* buffer, size_t length) { in uevent_kernel_multicast_recv()
49 ssize_t uevent_kernel_multicast_uid_recv(int socket, void* buffer, size_t length, uid_t* uid) { in uevent_kernel_multicast_uid_recv()
53 ssize_t uevent_kernel_recv(int socket, void* buffer, size_t length, bool require_group, uid_t* uid)… in uevent_kernel_recv()
/aosp12/packages/modules/Connectivity/framework/src/android/net/
H A DNetwork.java208 Socket socket = createSocket(); in connectToHost() local
234 Socket socket = createSocket(); in createSocket() local
248 Socket socket = createSocket(); in createSocket() local
266 Socket socket = new Socket(); in createSocket() local
381 public void bindSocket(DatagramSocket socket) throws IOException { in bindSocket()
399 public void bindSocket(Socket socket) throws IOException { in bindSocket()
/aosp12/frameworks/opt/net/voip/src/jni/rtp/
H A DRtpStream.cpp48 int socket = ::socket(ss.ss_family, SOCK_DGRAM, 0); in create() local
91 int socket = env->GetIntField(thiz, gSocket); in close() local
/aosp12/bootable/recovery/uncrypt/
H A Duncrypt.cpp199 static bool write_status_to_socket(int status, int socket) { in write_status_to_socket()
244 const std::string& blk_dev, bool encrypted, bool f2fs_fs, int socket) { in ProductBlockMap()
469 static int Uncrypt(const std::string& input_path, const std::string& map_file, int socket) { in Uncrypt()
514 static bool uncrypt_wrapper(const char* input_path, const char* map_file, const int socket) { in uncrypt_wrapper()
556 static bool clear_bcb(const int socket) { in clear_bcb()
567 static bool setup_bcb(const int socket) { in setup_bcb()
/aosp12/system/bt/hci/src/
H A Dhci_inject.cc46 socket_t* socket; member
130 static void accept_ready(socket_t* socket, UNUSED_ATTR void* context) { in accept_ready()
150 static void read_ready(UNUSED_ATTR socket_t* socket, void* context) { in read_ready()
/aosp12/bionic/libc/include/bits/fortify/
H A Dsocket.h71 ssize_t recv(int socket, void* const buf __pass_object_size0, size_t len, int flags) in recv()
79 ssize_t send(int socket, const void* const buf __pass_object_size0, size_t len, int flags) in send()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/
H A DBluetoothObexTransport.java43 public BluetoothObexTransport(BluetoothSocket socket) { in BluetoothObexTransport()
47 public BluetoothObexTransport(BluetoothSocket socket, int transmitSize, int receiveSize) { in BluetoothObexTransport()
/aosp12/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
H A DGetCapabilitiesTask.java56 try (Socket socket = new Socket()) { in isDeviceOnline()
71 Socket socket = mSocket; in forceCancel() local
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DAppZygoteInit.java45 protected ZygoteConnection createNewConnection(LocalSocket socket, String abiList) in createNewConnection()
52 AppZygoteConnection(LocalSocket socket, String abiList) throws IOException { in AppZygoteConnection()
H A DWebViewZygoteInit.java46 protected ZygoteConnection createNewConnection(LocalSocket socket, String abiList) in createNewConnection()
53 WebViewZygoteConnection(LocalSocket socket, String abiList) throws IOException { in WebViewZygoteConnection()
/aosp12/frameworks/base/core/java/android/app/backup/
H A DBackupTransport.java489 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket, in performFullBackup()
498 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket) { in performFullBackup()
623 public int getNextFullRestoreDataChunk(ParcelFileDescriptor socket) { in getNextFullRestoreDataChunk()
753 public int performFullBackup(PackageInfo targetPackage, ParcelFileDescriptor socket, in performFullBackup()
790 public int getNextFullRestoreDataChunk(ParcelFileDescriptor socket) { in getNextFullRestoreDataChunk()
/aosp12/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/
H A DAudioGroupTest.java84 private void assertPacket(DatagramSocket socket, int length) throws Exception { in assertPacket()
91 private void drain(DatagramSocket socket) throws Exception { in drain()
/aosp12/frameworks/native/libs/vr/libpdx_uds/
H A Dclient_channel_factory.cpp42 ClientChannelFactory::ClientChannelFactory(LocalHandle socket) in ClientChannelFactory()
52 LocalHandle socket) { in Create()
/aosp12/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/keepalive/
H A DIkeNattKeepalive.java48 UdpEncapsulationSocket socket, in IkeNattKeepalive()
109 UdpEncapsulationSocket socket, in HardwareKeepaliveCb()
/aosp12/bionic/libc/bionic/
H A Drecv.cpp31 ssize_t recv(int socket, void *buf, size_t len, int flags) { in recv()
H A Dsend.cpp31 ssize_t send(int socket, const void* buf, size_t len, int flags) { in send()

1234567