Home
last modified time | relevance | path

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

/frameworks/base/services/net/java/android/net/ip/
DRouterAdvertisementDaemon.java73 private static final byte ICMPV6_ND_ROUTER_SOLICIT = asByte(133);
74 private static final byte ICMPV6_ND_ROUTER_ADVERT = asByte(134);
348 private static byte asByte(int value) { return (byte) value; } in asByte() method in RouterAdvertisementDaemon
371 .put(asByte(0)) in putHeader()
375 .put(hasDefaultRoute ? asByte(0x08) : asByte(0)) in putHeader()
483 .put(asByte(prefixLength))
484 .put(asByte(0xc0)) /* L & A set */
512 final byte RIO_NUM_8OCTETS = asByte(
518 .put(asByte(prefixLength))
519 .put(asByte(0x18))
[all …]
/frameworks/base/services/net/java/android/net/util/
DNetworkConstants.java56 public static final byte FF = asByte(0xff);
181 public static byte asByte(int i) { return (byte) i; } in asByte() method in NetworkConstants
/frameworks/base/services/core/java/com/android/server/connectivity/tethering/
DTetherInterfaceStateMachine.java19 import static android.net.util.NetworkConstants.asByte;
262 bytes[3] = getRandomSanitizedByte(DOUG_ADAMS, asByte(0), asByte(1), FF); in getRandomWifiIPv4Address()
773 dnsBytes[dnsBytes.length - 1] = getRandomSanitizedByte(DOUG_ADAMS, asByte(0), asByte(1)); in getLocalDnsIpFor()