Home
last modified time | relevance | path

Searched refs:getBroadcastAddress (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/
DInet4AddressUtilsTest.java19 import static com.android.net.module.util.Inet4AddressUtils.getBroadcastAddress;
178 getBroadcastAddress(ipv4Address("192.168.0.123"), 20).getHostAddress()); in testGetBroadcastAddress()
180 getBroadcastAddress(ipv4Address("192.168.0.123"), 8).getHostAddress()); in testGetBroadcastAddress()
182 getBroadcastAddress(ipv4Address("192.168.0.123"), 32).getHostAddress()); in testGetBroadcastAddress()
184 getBroadcastAddress(ipv4Address("192.168.0.123"), 0).getHostAddress()); in testGetBroadcastAddress()
189 getBroadcastAddress(ipv4Address("192.168.0.123"), 33); in testGetBroadcastAddress_PrefixTooLarge()
194 getBroadcastAddress(ipv4Address("192.168.0.123"), -1); in testGetBroadcastAddress_NegativePrefix()
/frameworks/base/core/java/android/net/shared/
DInet4AddressUtils.java150 public static Inet4Address getBroadcastAddress(Inet4Address addr, int prefixLength) in getBroadcastAddress() method in Inet4AddressUtils
/frameworks/libs/net/common/framework/com/android/net/module/util/
DInet4AddressUtils.java150 public static Inet4Address getBroadcastAddress(Inet4Address addr, int prefixLength) in getBroadcastAddress() method in Inet4AddressUtils