Home
last modified time | relevance | path

Searched refs:scopeId (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DInetAddressUtilsTest.java79 final int scopeId = 999; in testWithScopeId() local
84 final Inet6Address updatedGlobalAddr = InetAddressUtils.withScopeId(globalAddr, scopeId); in testWithScopeId()
92 final Inet6Address updatedLocalAddr = InetAddressUtils.withScopeId(localAddr, scopeId); in testWithScopeId()
94 assertEquals(localAddrStr + "%" + scopeId, updatedLocalAddr.getHostAddress()); in testWithScopeId()
95 assertEquals(scopeId, updatedLocalAddr.getScopeId()); in testWithScopeId()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/util/
DTetheringUtils.java176 public static Inet6Address getAllNodesForScopeId(int scopeId) { in getAllNodesForScopeId() argument
178 return Inet6Address.getByAddress("ff02::1", ALL_NODES, scopeId); in getAllNodesForScopeId()
181 + Arrays.toString(ALL_NODES) + " and scopedId " + scopeId); in getAllNodesForScopeId()
/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DInetAddressUtils.java70 final int scopeId = hasScopeId ? in.readInt() : 0; in unparcelInetAddress() local
71 return Inet6Address.getByAddress(null /* host */, addressArray, scopeId); in unparcelInetAddress()
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java1783 final int scopeId = hasScopeId ? p.readInt() : 0; in readAddress() local
1784 return Inet6Address.getByAddress(null /* host */, addr, scopeId); in readAddress()