/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkTest.java | 64 mNetwork.bindSocket(fd); in testBindSocketOfInvalidFdThrows() 79 mNetwork.bindSocket(fis.getFD()); in testBindSocketOfNonSocketFdThrows() 92 mNetwork.bindSocket(mDgramSocket); in testBindSocketOfConnectedDatagramSocketThrows() 104 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows() 113 mNetwork.bindSocket(mLocalClient.getFileDescriptor()); in testBindSocketOfLocalSocketThrows()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | Network.java | 269 bindSocket(socket); in createSocket() 381 public void bindSocket(DatagramSocket socket) throws IOException { in bindSocket() method in Network 391 bindSocket(pfd.getFileDescriptor()); in bindSocket() 400 public void bindSocket(Socket socket) throws IOException { in bindSocket() method in Network 409 bindSocket(pfd.getFileDescriptor()); in bindSocket() 419 public void bindSocket(FileDescriptor fd) throws IOException { in bindSocket() method in Network
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/ |
D | IkeLocalAddressGenerator.java | 43 network.bindSocket(sock); in generateLocalAddress()
|
/packages/modules/Connectivity/framework/src/android/net/util/ |
D | DnsUtils.java | 175 if (network != null) network.bindSocket(socket); in findSrcAddress() 368 if (network != null) network.bindSocket(socket); in checkConnectivity()
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | IpSecManagerTunnelTest.java | 388 ipsecNetwork.bindSocket(socket.mSocket); in getIpSecTunnelTestRunnable() 460 ipsecNetwork.bindSocket(socket.mSocket); 509 ipsecNetwork.bindSocket(socket.mSocket); 810 sTunWrapperNew.network.bindSocket(encapSocket.getFileDescriptor()); 1126 sTunWrapper.network.bindSocket(encapSocket.getFileDescriptor()); 1765 ipsecNetwork.bindSocket(socket.mSocket); 1814 ipsecNetwork.bindSocket(outSocket.mSocket);
|
D | RateLimitTest.java | 183 mNetwork.bindSocket(mSocket); in setUp()
|
D | IpSecAlgorithmImplTest.java | 171 testNetwork.bindSocket(localSocket); in runTest()
|
D | NetworkAgentTest.kt | 1277 .also { assertNotNull(agent.network?.bindSocket(it)) in setupForQosSocket() 1284 .also { assertNotNull(agent.network?.bindSocket(it)) } in setupForQosDatagram() 1525 network1.bindSocket(DatagramSocket()) in testUnregisterAfterReplacement() 1541 assertThrows(IOException::class.java) { network1.bindSocket(DatagramSocket()) } in testUnregisterAfterReplacement()
|
D | DscpPolicyTest.kt | 230 network.bindSocket(sock) in <lambda>() 309 checkNotNull(agent.network).bindSocket(socket) in <lambda>()
|
D | EthernetManagerTest.kt | 956 assertThrows(IOException::class.java, { network.bindSocket(socket) }) in <lambda>() 970 Socket().use { socket -> updatedNetwork.bindSocket(socket) } in <lambda>()
|
D | ConnectivityManagerTest.java | 2162 assertThrows(IOException.class, () -> network.bindSocket(socket)); 2189 wifiNetwork.bindSocket(socket); 2204 network.bindSocket(socket); // binding should succeed 2206 assertThrows(IOException.class, () -> network.bindSocket(socket)); 3358 network.bindSocket(socket); 3445 assertThrows(IOException.class, () -> network.bindSocket(socket));
|
D | ApfIntegrationTest.kt | 180 network.bindSocket(sock) in createFd()
|
/packages/modules/Connectivity/staticlibs/testutils/devicetests/com/android/testutils/ |
D | TestDnsServer.kt | 57 private val socket = DatagramSocket(addr).also { network.bindSocket(it) } in <lambda>()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 346 mNetwork.bindSocket(socket); in getMtuForTarget() 552 mNetwork.bindSocket(mFileDescriptor); in setupSocket() 802 mNetwork.bindSocket(sslSocket); in setupSSLSocket()
|
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/ |
D | IkeSocket.java | 167 network.bindSocket(getFd()); in bindToNetwork()
|
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/ |
D | TapTestNetworkTracker.java | 183 network.bindSocket(sock); in hasUsableAddress()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder.cpp | 81 Result<void> bindSocket(int socket, const sockaddr* address, socklen_t address_len) { in bindSocket() function 1256 if (auto result = bindSocket(fd.get(), (struct sockaddr*)&addr, sizeof(addr)); in createListeningSocket() 1276 if (auto result = bindSocket(fd.get(), (struct sockaddr*)&addr, sizeof(addr)); in createListeningSocket() 1285 if (auto result = bindSocket(fd.get(), ai->ai_addr, ai->ai_addrlen); !result.ok()) { in createListeningSocket()
|
/packages/services/Car/tests/RailwayReferenceApp/src/com/google/android/car/networking/railway/ |
D | MainActivity.java | 232 network.bindSocket(socket);
|
/packages/modules/Connectivity/thread/demoapp/java/com/android/threadnetwork/demoapp/ |
D | ConnectivityToolsFragment.java | 298 mThreadNetwork.bindSocket(socket); in doSendUdpMessage()
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 292 method public void bindSocket(java.net.DatagramSocket) throws java.io.IOException; 293 method public void bindSocket(java.net.Socket) throws java.io.IOException; 294 method public void bindSocket(java.io.FileDescriptor) throws java.io.IOException;
|
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 1224 mNetwork.bindSocket(s); in doTestAutomaticOnOffKeepaliveMode()
|
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/ |
D | MainActivity.java | 1096 network.bindSocket(socket); in createDatagramSocket()
|
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/ |
D | IpClientIntegrationTestCommon.java | 4293 network.bindSocket(socket);
|