Searched refs:getNetworkHandle (Results 1 – 13 of 13) sorted by relevance
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | NetworkTest.java | 122 assertEquals(0, zero.getNetworkHandle()); in testZeroIsObviousForDebugging() 143 assertNotEquals(0, one.getNetworkHandle()); in testGetNetworkHandle() 144 assertNotEquals(0, two.getNetworkHandle()); in testGetNetworkHandle() 145 assertNotEquals(0, three.getNetworkHandle()); in testGetNetworkHandle() 148 assertNotEquals(one.getNetworkHandle(), two.getNetworkHandle()); in testGetNetworkHandle() 149 assertNotEquals(one.getNetworkHandle(), three.getNetworkHandle()); in testGetNetworkHandle() 150 assertNotEquals(two.getNetworkHandle(), three.getNetworkHandle()); in testGetNetworkHandle() 153 assertNotEquals(one.hashCode(), one.getNetworkHandle()); in testGetNetworkHandle() 154 assertNotEquals(two.hashCode(), two.getNetworkHandle()); in testGetNetworkHandle() 155 assertNotEquals(three.hashCode(), three.getNetworkHandle()); in testGetNetworkHandle() [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | MultinetworkApiTest.java | 103 int errno = runGetaddrinfoCheck(network.getNetworkHandle()); in testGetaddrinfo() 122 int errno = runSetprocnetwork(network.getNetworkHandle()); in testSetprocnetwork() 141 int errno = runSetprocnetwork(network.getNetworkHandle()); in testSetprocnetwork() 159 int errno = runSetsocknetwork(network.getNetworkHandle()); in testSetsocknetwork() 170 int errno = runDatagramCheck(network.getNetworkHandle()); in testNativeDatagramTransmission() 183 final long eNoNetHandle = eNoNet.getNetworkHandle(); in testNoSuchNetwork() 195 long networkHandle = network.getNetworkHandle(); in testNetworkHandle() 219 runResNqueryCheck(network.getNetworkHandle()); in testResNApi() 220 runResNsendCheck(network.getNetworkHandle()); in testResNApi() 221 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 | 469 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/tests/unit/java/com/android/server/connectivity/ |
D | IpConnectivityMetricsTest.java | 79 private static final long NET_HANDLE = new Network(4291).getNetworkHandle();
|
D | NetdEventListenerServiceTest.java | 521 String prefix = network.getNetworkHandle() + ":" + iface;
|
/packages/modules/Connectivity/service/src/com/android/server/connectivity/ |
D | NetworkDiagnostics.java | 256 + " nethandle{" + mNetwork.getNetworkHandle() + "}"; in NetworkDiagnostics()
|
D | NetworkAgentInfo.java | 1613 + "network{" + network + "} handle{" + network.getNetworkHandle() + "} ni{"
|
/packages/modules/Connectivity/framework/api/ |
D | current.txt | 299 method public long getNetworkHandle();
|
/packages/modules/NetworkStack/src/com/android/server/connectivity/ |
D | NetworkMonitor.java | 1590 mAction = action + "_" + mCleartextDnsNetwork.getNetworkHandle() + "_" + token; in CustomIntentReceiver()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | ConnectivityServiceTest.java | 18973 mWiFiAgent.getNetwork().getNetworkHandle()); 18987 mCellAgent.getNetwork().getNetworkHandle());
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 9187 final String prefix = makeNflogPrefix(iface, nai.network.getNetworkHandle());
|