Home
last modified time | relevance | path

Searched refs:getNetworkHandle (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkTest.java122 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/
DMultinetworkApiTest.java103 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/
DNetworkUtils.java74 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()
DNetwork.java469 public long getNetworkHandle() { in getNetworkHandle() method in Network
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java231 .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/
DIpConnectivityMetricsTest.java79 private static final long NET_HANDLE = new Network(4291).getNetworkHandle();
DNetdEventListenerServiceTest.java521 String prefix = network.getNetworkHandle() + ":" + iface;
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java256 + " nethandle{" + mNetwork.getNetworkHandle() + "}"; in NetworkDiagnostics()
DNetworkAgentInfo.java1613 + "network{" + network + "} handle{" + network.getNetworkHandle() + "} ni{"
/packages/modules/Connectivity/framework/api/
Dcurrent.txt299 method public long getNetworkHandle();
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1590 mAction = action + "_" + mCleartextDnsNetwork.getNetworkHandle() + "_" + token; in CustomIntentReceiver()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DConnectivityServiceTest.java18973 mWiFiAgent.getNetwork().getNetworkHandle());
18987 mCellAgent.getNetwork().getNetworkHandle());
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java9187 final String prefix = makeNflogPrefix(iface, nai.network.getNetworkHandle());