Searched refs:scopeId (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | InetAddressUtilsTest.java | 79 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/ |
D | TetheringUtils.java | 176 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/ |
D | InetAddressUtils.java | 70 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/ |
D | LinkProperties.java | 1783 final int scopeId = hasScopeId ? p.readInt() : 0; in readAddress() local 1784 return Inet6Address.getByAddress(null /* host */, addr, scopeId); in readAddress()
|