Home
last modified time | relevance | path

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

123456

/packages/modules/Bluetooth/system/osi/src/
Dsocket.cc85 void socket_free(socket_t* socket) { in socket_free()
93 bool socket_listen(const socket_t* socket, port_t port) { in socket_listen()
113 socket_t* socket_accept(const socket_t* socket) { in socket_accept()
129 ssize_t socket_read(const socket_t* socket, void* buf, size_t count) { in socket_read()
139 ssize_t socket_write(const socket_t* socket, const void* buf, size_t count) { in socket_write()
149 ssize_t socket_write_and_transfer_fd(const socket_t* socket, const void* buf, in socket_write_and_transfer_fd()
183 ssize_t socket_bytes_available(const socket_t* socket) { in socket_bytes_available()
191 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register()
209 void socket_unregister(socket_t* socket) { in socket_unregister()
219 socket_t* socket = static_cast<socket_t*>(context); in internal_read_ready() local
[all …]
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_socket.cc52 socket_t* socket_accept(const socket_t* socket) { in socket_accept()
56 ssize_t socket_bytes_available(const socket_t* socket) { in socket_bytes_available()
60 void socket_free(socket_t* socket) { in socket_free()
64 bool socket_listen(const socket_t* socket, port_t port) { in socket_listen()
76 ssize_t socket_read(const socket_t* socket, void* buf, size_t count) { in socket_read()
80 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register()
86 void socket_unregister(socket_t* socket) { in socket_unregister()
90 ssize_t socket_write(const socket_t* socket, const void* buf, size_t count) { in socket_write()
94 ssize_t socket_write_and_transfer_fd(const socket_t* socket, const void* buf, in socket_write_and_transfer_fd()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
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()
DVpnServiceTest.java95 DatagramSocket socket = new DatagramSocket(); in testProtect_DatagramSocket() local
111 Socket socket = new Socket(); in testProtect_Socket() local
127 DatagramSocket socket = new DatagramSocket(); in testProtect_int() local
/packages/modules/Connectivity/tests/unit/java/android/net/
DQosSocketFilterTest.java103 DatagramSocket socket = new DatagramSocket(new InetSocketAddress("127.0.0.1", 0)); in testProtocolMatch() local
121 DatagramSocket socket = new DatagramSocket(new InetSocketAddress("127.0.0.1", 0)); in testValidate() local
137 DatagramSocket socket; in testValidateUnbind() local
147 DatagramSocket socket = new DatagramSocket(null); in testValidateLocalAddressChanged() local
163 DatagramSocket socket; in testValidateRemoteAddressChanged() local
DQosSocketInfoTest.java61 Socket socket = new Socket(serverAddr.getAddress(), server.getLocalPort(), in testConstructWithSock() local
89 DatagramSocket socket = new DatagramSocket(null); in testConstructWithDatagramSock() local
DIpSecManagerTest.java205 Socket socket = new Socket(); in testApplyTransportModeTransformEnsuresSocketCreation() local
220 Socket socket = new Socket(); in testRemoveTransportModeTransformsForcesSocketCreation() local
/packages/modules/Connectivity/framework/src/android/net/
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()
400 public void bindSocket(Socket socket) throws IOException { in bindSocket()
DQosSocketInfo.java124 public QosSocketInfo(@NonNull final Network network, @NonNull final Socket socket) in QosSocketInfo()
148 public QosSocketInfo(@NonNull final Network network, @NonNull final DatagramSocket socket) in QosSocketInfo()
/packages/modules/Bluetooth/tools/rootcanal/desktop/
Dtest_environment.cc111 AsyncDataChannelServer* server) { in SetUpHciServer()
208 [this](std::shared_ptr<AsyncDataChannel> socket, in SetUpLinkLayerServer()
209 AsyncDataChannelServer* srv) { in SetUpLinkLayerServer()
220 auto socket = connector_->ConnectToRemoteServer(server, port); in ConnectToRemoteServer() local
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/keepalive/
DIkeNattKeepalive.java94 public final UdpEncapsulationSocket socket; field in IkeNattKeepalive.KeepaliveConfig
104 UdpEncapsulationSocket socket, in KeepaliveConfig()
208 UdpEncapsulationSocket socket, in createSoftwareKeepaliveImpl()
242 UdpEncapsulationSocket socket, in HardwareKeepaliveCb()
/packages/modules/Bluetooth/tools/rootcanal/model/hci/
Dh4_data_channel_packetizer.cc36 std::shared_ptr<AsyncDataChannel> socket, PacketReadCallback command_cb, in H4DataChannelPacketizer()
66 std::shared_ptr<AsyncDataChannel> socket) { in OnDataReady()
Dhci_socket_transport.h35 std::shared_ptr<AsyncDataChannel> socket) { in Create()
/packages/modules/Bluetooth/floss/pandora/floss/
Dsocket_manager.py30 def on_incoming_socket_ready(self, socket, status): argument
68 socket, argument
122 def OnIncomingSocketReady(self, socket, status): argument
137 … def OnOutgoingConnectionResult(self, connecting_id, result, socket, *, dbus_unix_fd_list=None): argument
157 def on_incoming_socket_ready(self, socket, status): argument
172 … def on_outgoing_connection_result(self, connecting_id, result, socket, *, dbus_unix_fd_list=None): argument
/packages/modules/Bluetooth/tools/rootcanal/model/setup/
Dtest_channel_transport.cc46 void TestChannelTransport::OnCommandReady(AsyncDataChannel* socket, in OnCommandReady()
99 std::shared_ptr<AsyncDataChannel> socket, const std::string& response) { in SendResponse()
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/
DGetCapabilitiesTask.java56 try (Socket socket = new Socket()) { in isDeviceOnline()
71 Socket socket = mSocket; in forceCancel() local
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DBluetoothObexTransport.java41 public BluetoothObexTransport(BluetoothSocket socket) { in BluetoothObexTransport()
45 public BluetoothObexTransport(BluetoothSocket socket, int transmitSize, int receiveSize) { in BluetoothObexTransport()
DIObexConnectionHandler.java29 boolean onConnect(BluetoothDevice device, BluetoothSocket socket); in onConnect()
/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/
DAudioGroupTest.java84 private void assertPacket(DatagramSocket socket, int length) throws Exception { in assertPacket()
91 private void drain(DatagramSocket socket) throws Exception { in drain()
/packages/modules/Connectivity/framework-t/src/android/net/
DIpSecManager.java405 public void applyTransportModeTransform(@NonNull Socket socket, in applyTransportModeTransform()
442 public void applyTransportModeTransform(@NonNull DatagramSocket socket, in applyTransportModeTransform()
489 public void applyTransportModeTransform(@NonNull FileDescriptor socket, in applyTransportModeTransform()
515 public void removeTransportModeTransforms(@NonNull Socket socket) throws IOException { in removeTransportModeTransforms()
535 public void removeTransportModeTransforms(@NonNull DatagramSocket socket) throws IOException { in removeTransportModeTransforms()
552 public void removeTransportModeTransforms(@NonNull FileDescriptor socket) throws IOException { in removeTransportModeTransforms()
/packages/modules/DnsResolver/doh/connection/
Dmod.rs94 let socket = UdpSocket::bind(bind_addr).await?; in build_socket() localVariable
99 let socket = UdpSocket::from_std(std_socket)?; in build_socket() localVariable
148 let socket = build_socket(to, socket_mark, tag_socket).await?; in new() localVariable
/packages/modules/Connectivity/service-t/src/com/android/server/connectivity/mdns/
DMdnsSocketProvider.java327 SocketInfo(MdnsInterfaceSocket socket, List<LinkAddress> addresses, int[] transports, in SocketInfo()
529 final MdnsInterfaceSocket socket = mDependencies.createMdnsInterfaceSocket( in createSocket() local
755 @NonNull MdnsInterfaceSocket socket, @NonNull List<LinkAddress> addresses) {} in onSocketCreated()
763 @NonNull MdnsInterfaceSocket socket) {} in onInterfaceDestroyed()
769 @NonNull MdnsInterfaceSocket socket, @NonNull List<LinkAddress> addresses) {} in onAddressesChanged()
787 @NonNull MdnsInterfaceSocket socket, @NonNull int[] transports) {} in onSocketRequestFulfilled()
796 @NonNull MdnsInterfaceSocket socket) {} in onSocketDestroyed()
/packages/modules/Bluetooth/tools/rootcanal/test/
Dposix_socket_unittest.cc233 auto socket = pasc_.ConnectToRemoteServer("localhost", port, 250ms); in TEST_F() local
257 auto socket = pasc_.ConnectToRemoteServer("localhost", port, 250ms); in TEST_F() local
285 auto socket = pasc_.ConnectToRemoteServer("localhost", port, 250ms); in TEST_F() local
295 auto socket = pasc_.ConnectToRemoteServer("localhost", port, 250ms); in TEST_F() local
/packages/modules/Connectivity/tests/cts/netpermission/internetpermission/src/android/net/cts/network/permission/
DInternetPermissionTest.java44 Socket socket = new Socket("example.com", 80); in testCreateSocket() local
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpCoverArtService.java176 private boolean connect(BluetoothDevice device, BluetoothSocket socket) { in connect()
243 public synchronized boolean onConnect(BluetoothDevice device, BluetoothSocket socket) { in onConnect()

123456