Searched refs:getNetworkHandle (Results 1 – 9 of 9) sorted by relevance
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkTest.java | 120 assertEquals(0, zero.getNetworkHandle()); in testZeroIsObviousForDebugging() 141 assertNotEquals(0, one.getNetworkHandle()); in testGetNetworkHandle() 142 assertNotEquals(0, two.getNetworkHandle()); in testGetNetworkHandle() 143 assertNotEquals(0, three.getNetworkHandle()); in testGetNetworkHandle() 146 assertNotEquals(one.getNetworkHandle(), two.getNetworkHandle()); in testGetNetworkHandle() 147 assertNotEquals(one.getNetworkHandle(), three.getNetworkHandle()); in testGetNetworkHandle() 148 assertNotEquals(two.getNetworkHandle(), three.getNetworkHandle()); in testGetNetworkHandle() 151 assertNotEquals(one.hashCode(), one.getNetworkHandle()); in testGetNetworkHandle() 152 assertNotEquals(two.hashCode(), two.getNetworkHandle()); in testGetNetworkHandle() 153 assertNotEquals(three.hashCode(), three.getNetworkHandle()); in testGetNetworkHandle() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | MultinetworkApiTest.java | 98 int errno = runGetaddrinfoCheck(network.getNetworkHandle()); in testGetaddrinfo() 116 int errno = runSetprocnetwork(network.getNetworkHandle()); in testSetprocnetwork() 135 int errno = runSetprocnetwork(network.getNetworkHandle()); in testSetprocnetwork() 152 int errno = runSetsocknetwork(network.getNetworkHandle()); in testSetsocknetwork() 162 int errno = runDatagramCheck(network.getNetworkHandle()); in testNativeDatagramTransmission() 174 final long eNoNetHandle = eNoNet.getNetworkHandle(); in testNoSuchNetwork() 185 long networkHandle = network.getNetworkHandle(); in testNetworkHandle() 210 runResNqueryCheck(network.getNetworkHandle()); in testResNApi() 211 runResNsendCheck(network.getNetworkHandle()); in testResNApi() 212 runResNcancelCheck(network.getNetworkHandle()); in testResNApi() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkUtils.java | 74 return bindProcessToNetworkHandle(new Network(netId).getNetworkHandle()); in bindProcessToNetwork() 106 return bindSocketToNetworkHandle(fd, new Network(netId).getNetworkHandle()); in bindSocketToNetwork() 129 return resNetworkSend(new Network(netId).getNetworkHandle(), msg, msglen, flags); in resNetworkSend() 144 return resNetworkQuery(new Network(netId).getNetworkHandle(), dname, nsClass, nsType, in resNetworkQuery()
|
D | Network.java | 468 public long getNetworkHandle() { in getNetworkHandle() method in Network
|
/packages/modules/NetworkStack/src/com/android/networkstack/ |
D | NetworkStackNotifier.java | 231 .setIdentifier(Long.toString(network.getNetworkHandle())); in updateNotifications() 315 return Long.toString(network.getNetworkHandle()); in getNotificationTag()
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 243 + " nethandle{" + mNetwork.getNetworkHandle() + "}"; in NetworkDiagnostics()
|
D | NetworkAgentInfo.java | 1173 + "network{" + network + "} handle{" + network.getNetworkHandle() + "} ni{"
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 282 method public long getNetworkHandle();
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1350 mAction = action + "_" + mCleartextDnsNetwork.getNetworkHandle() + "_" + token; in CustomIntentReceiver()
|