Searched refs:asByte (Results 1 – 3 of 3) sorted by relevance
74 private static final byte ICMPV6_ND_ROUTER_SOLICIT = asByte(133);75 private static final byte ICMPV6_ND_ROUTER_ADVERT = asByte(134);365 private static byte asByte(int value) { return (byte) value; } in asByte() method in RouterAdvertisementDaemon387 .put(asByte(0)) in putHeader()391 .put(hasDefaultRoute ? asByte(0x08) : asByte(0)) in putHeader()499 .put(asByte(prefixLength))500 .put(asByte(0xc0)) /* L & A set */528 final byte RIO_NUM_8OCTETS = asByte(534 .put(asByte(prefixLength))535 .put(asByte(0x18))[all …]
23 import static android.net.util.NetworkConstants.asByte;472 bytes[3] = getRandomSanitizedByte(DOUG_ADAMS, asByte(0), asByte(1), FF); in getRandomWifiIPv4Address()987 dnsBytes[dnsBytes.length - 1] = getRandomSanitizedByte(DOUG_ADAMS, asByte(0), asByte(1)); in getLocalDnsIpFor()
31 public static final byte FF = asByte(0xff);91 public static byte asByte(int i) { return (byte) i; } in asByte() method in NetworkConstants