/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_socket.cc | 58 socket_t* socket_accept(const socket_t* socket) { in socket_accept() 62 ssize_t socket_bytes_available(const socket_t* socket) { in socket_bytes_available() 66 void socket_free(socket_t* socket) { in socket_free() 70 bool socket_listen(const socket_t* socket, port_t port) { in socket_listen() 82 ssize_t socket_read(const socket_t* socket, void* buf, size_t count) { in socket_read() 86 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register() 92 void socket_unregister(socket_t* socket) { in socket_unregister() 96 ssize_t socket_write(const socket_t* socket, const void* buf, size_t count) { in socket_write() 100 ssize_t socket_write_and_transfer_fd(const socket_t* socket, const void* buf, in socket_write_and_transfer_fd()
|
/packages/modules/Bluetooth/system/osi/src/ |
D | socket.cc | 85 void socket_free(socket_t* socket) { in socket_free() 93 bool socket_listen(const socket_t* socket, port_t port) { in socket_listen() 115 socket_t* socket_accept(const socket_t* socket) { in socket_accept() 131 ssize_t socket_read(const socket_t* socket, void* buf, size_t count) { in socket_read() 141 ssize_t socket_write(const socket_t* socket, const void* buf, size_t count) { in socket_write() 151 ssize_t socket_write_and_transfer_fd(const socket_t* socket, const void* buf, in socket_write_and_transfer_fd() 185 ssize_t socket_bytes_available(const socket_t* socket) { in socket_bytes_available() 193 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register() 211 void socket_unregister(socket_t* socket) { in socket_unregister() 221 socket_t* socket = static_cast<socket_t*>(context); in internal_read_ready() local [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | SSLCertificateSocketFactoryTest.java | 134 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()
|
D | VpnServiceTest.java | 68 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
|
/packages/modules/Connectivity/nearby/tests/robotests/src/com/android/libraries/testing/deviceshadower/shadows/bluetooth/ |
D | ShadowBluetoothServerSocket.java | 65 BluetoothSocket socket = Shadow.directlyOn(mRealServerSocket, BluetoothServerSocket.class, in accept() local 86 BluetoothSocket socket = ReflectionHelpers.getField(mRealServerSocket, "mSocket"); in getServerSocketFileDescriptor() local 96 BluetoothSocket socket = ReflectionHelpers.getField(mRealServerSocket, "mSocket"); in getPort() local 100 private ShadowLocalSocket getLocalSocketShadow(BluetoothSocket socket) { in getLocalSocketShadow()
|
D | ShadowBluetoothSocket.java | 67 ShadowLocalSocket socket = getLocalSocketShadow(); in getInputStream() local 73 ShadowLocalSocket socket = getLocalSocketShadow(); in getOutputStream() local
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/keepalive/ |
D | IkeNattKeepalive.java | 51 UdpEncapsulationSocket socket, in IkeNattKeepalive() 73 UdpEncapsulationSocket socket, in IkeNattKeepalive() 124 UdpEncapsulationSocket socket, in createSoftwareKeepaliveImpl() 139 UdpEncapsulationSocket socket, in HardwareKeepaliveCb()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | Network.java | 208 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()
|
D | QosSocketInfo.java | 123 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/ |
D | test_environment.cc | 65 AsyncDataChannelServer* srv) { in initialize() 132 link_socket_server_, [this](std::shared_ptr<AsyncDataChannel> socket, in SetUpLinkLayerServer() 133 AsyncDataChannelServer* srv) { in SetUpLinkLayerServer() 147 auto socket = connector_->ConnectToRemoteServer(server, port); in ConnectToRemoteServer() local
|
/packages/modules/Bluetooth/tools/rootcanal/model/hci/ |
D | h4_data_channel_packetizer.cc | 37 std::shared_ptr<AsyncDataChannel> socket, PacketReadCallback command_cb, in H4DataChannelPacketizer() 68 std::shared_ptr<AsyncDataChannel> socket) { in OnDataReady()
|
D | hci_socket_transport.h | 35 std::shared_ptr<AsyncDataChannel> socket) { in Create()
|
D | hci_protocol.cc | 28 size_t HciProtocol::WriteSafely(AsyncDataChannel* socket, const uint8_t* data, in WriteSafely()
|
/packages/modules/Bluetooth/tools/rootcanal/model/setup/ |
D | test_channel_transport.cc | 46 void TestChannelTransport::OnCommandReady(AsyncDataChannel* socket, in OnCommandReady() 99 std::shared_ptr<AsyncDataChannel> socket, in SendResponse()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ipp/ |
D | GetCapabilitiesTask.java | 56 try (Socket socket = new Socket()) { in isDeviceOnline() 71 Socket socket = mSocket; in forceCancel() local
|
/packages/modules/Connectivity/framework-t/src/android/net/ |
D | IpSecManager.java | 379 public void applyTransportModeTransform(@NonNull Socket socket, in applyTransportModeTransform() 416 public void applyTransportModeTransform(@NonNull DatagramSocket socket, in applyTransportModeTransform() 463 public void applyTransportModeTransform(@NonNull FileDescriptor socket, in applyTransportModeTransform() 489 public void removeTransportModeTransforms(@NonNull Socket socket) throws IOException { in removeTransportModeTransforms() 509 public void removeTransportModeTransforms(@NonNull DatagramSocket socket) throws IOException { in removeTransportModeTransforms() 526 public void removeTransportModeTransforms(@NonNull FileDescriptor socket) throws IOException { in removeTransportModeTransforms()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/ |
D | BluetoothObexTransport.java | 45 public BluetoothObexTransport(BluetoothSocket socket) { in BluetoothObexTransport() 49 public BluetoothObexTransport(BluetoothSocket socket, int transmitSize, int receiveSize) { in BluetoothObexTransport()
|
D | IObexConnectionHandler.java | 30 boolean onConnect(BluetoothDevice device, BluetoothSocket socket); in onConnect()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/ |
D | AudioGroupTest.java | 84 private void assertPacket(DatagramSocket socket, int length) throws Exception { in assertPacket() 91 private void drain(DatagramSocket socket) throws Exception { in drain()
|
/packages/modules/DnsResolver/doh/connection/ |
D | mod.rs | 91 let socket = UdpSocket::bind(bind_addr).await?; in build_socket() localVariable 96 let socket = UdpSocket::from_std(std_socket)?; in build_socket() localVariable 150 let socket = build_socket(to, socket_mark, tag_socket).await?; in new() localVariable
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_sco.cc | 57 socket_t* socket; member 131 socket_t* socket = NULL; in sco_socket_establish_locked() local 306 static void socket_read_ready_cb(UNUSED_ATTR socket_t* socket, void* context) { in socket_read_ready_cb()
|
/packages/modules/Connectivity/tests/cts/netpermission/internetpermission/src/android/net/cts/network/permission/ |
D | InternetPermissionTest.java | 44 Socket socket = new Socket("example.com", 80); in testCreateSocket() local
|
/packages/modules/Bluetooth/tools/rootcanal/test/ |
D | posix_socket_unittest.cc | 234 auto socket = pasc_.ConnectToRemoteServer("localhost", port, 250ms); in TEST_F() local 258 auto socket = pasc_.ConnectToRemoteServer("localhost", port, 250ms); in TEST_F() local 286 auto socket = pasc_.ConnectToRemoteServer("localhost", port, 250ms); in TEST_F() local 296 auto socket = pasc_.ConnectToRemoteServer("localhost", port, 250ms); in TEST_F() local
|
/packages/modules/NetworkStack/tests/integration/src/android/net/util/ |
D | NetworkStackUtilsIntegrationTest.kt | 106 val socket = Os.socket(AF_INET, SOCK_DGRAM or SOCK_NONBLOCK, IPPROTO_UDP) in testAddArpEntry() constant 148 val socket = Os.socket(AF_PACKET, SOCK_RAW, ETH_P_IPV6) in testAttachRaFilter() constant
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | IpSecManagerTest.java | 205 Socket socket = new Socket(); in testApplyTransportModeTransformEnsuresSocketCreation() local 220 Socket socket = new Socket(); in testRemoveTransportModeTransformsForcesSocketCreation() local
|