Home
last modified time | relevance | path

Searched refs:bindSocket (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Connectivity/framework/src/android/net/
DNetwork.java269 bindSocket(socket); in createSocket()
381 public void bindSocket(DatagramSocket socket) throws IOException { in bindSocket() method in Network
386 bindSocket(pfd.getFileDescriptor()); in bindSocket()
399 public void bindSocket(Socket socket) throws IOException { in bindSocket() method in Network
404 bindSocket(pfd.getFileDescriptor()); in bindSocket()
418 public void bindSocket(FileDescriptor fd) throws IOException { in bindSocket() method in Network
/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkTest.java62 mNetwork.bindSocket(fd); in testBindSocketOfInvalidFdThrows()
77 mNetwork.bindSocket(fis.getFD()); in testBindSocketOfNonSocketFdThrows()
90 mNetwork.bindSocket(mDgramSocket); in testBindSocketOfConnectedDatagramSocketThrows()
102 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows()
111 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows()
/packages/modules/Connectivity/framework/src/android/net/util/
DDnsUtils.java175 if (network != null) network.bindSocket(socket); in findSrcAddress()
368 if (network != null) network.bindSocket(socket); in checkConnectivity()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeLocalAddressGenerator.java43 network.bindSocket(sock); in generateLocalAddress()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSocket.java121 sockConfig.getNetwork().bindSocket(sock); in applySocketConfig()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecManagerTunnelTest.java336 ipsecNetwork.bindSocket(socket.mSocket); in getIpSecTunnelTestRunnable()
385 ipsecNetwork.bindSocket(socket.mSocket);
430 ipsecNetwork.bindSocket(socket.mSocket);
DIpSecAlgorithmImplTest.java171 testNetwork.bindSocket(localSocket); in runTest()
DConnectivityManagerTest.java1801 network.bindSocket(new Socket());
2865 network.bindSocket(socket);
2936 assertThrows(IOException.class, () -> network.bindSocket(socket));
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java463 mNetwork.bindSocket(mFileDescriptor); in setupSocket()
708 mNetwork.bindSocket(sslSocket); in setupSSLSocket()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/
DIkeSocketTestBase.java234 verify(spySockConfig.getNetwork()).bindSocket(eq(ikeSocket.getFd())); in verifySocketConfigIsApplied()
/packages/modules/Connectivity/framework/api/
Dcurrent.txt275 method public void bindSocket(java.net.DatagramSocket) throws java.io.IOException;
276 method public void bindSocket(java.net.Socket) throws java.io.IOException;
277 method public void bindSocket(java.io.FileDescriptor) throws java.io.IOException;
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp79 int bindSocket(int socket, const sockaddr* address, socklen_t address_len) { in bindSocket() function
1239 if (bindSocket(fd.get(), ai->ai_addr, ai->ai_addrlen)) { in createListeningSocket()