Home
last modified time | relevance | path

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

/packages/modules/Connectivity/tests/common/java/android/net/
DNetworkTest.java120 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/
DMultinetworkApiTest.java98 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/
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.java468 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/service/src/com/android/server/connectivity/
DNetworkDiagnostics.java243 + " nethandle{" + mNetwork.getNetworkHandle() + "}"; in NetworkDiagnostics()
DNetworkAgentInfo.java1173 + "network{" + network + "} handle{" + network.getNetworkHandle() + "} ni{"
/packages/modules/Connectivity/framework/api/
Dcurrent.txt282 method public long getNetworkHandle();
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java1350 mAction = action + "_" + mCleartextDnsNetwork.getNetworkHandle() + "_" + token; in CustomIntentReceiver()