Searched refs:MAC_LENGTH (Results 1 – 4 of 4) sorted by relevance
41 private static final int MAC_LENGTH = 6; field in NativeUtil43 private static final int MAC_STR_LENGTH = MAC_LENGTH * 2 + 5;124 if (cleanMac.length() != MAC_LENGTH * 2) { in macAddressToByteArray()141 if (macArray.length != MAC_LENGTH) { in macAddressFromByteArray()180 if (macArray.length != MAC_LENGTH) { in macAddressToLong()
43 private static final int MAC_LENGTH = 16; field in AtMacTest60 assertArrayEquals(new byte[MAC_LENGTH], atMac.mac); in testConstructor()118 assertArrayEquals(new byte[MAC_LENGTH], clearedMac.mac); in testGetAtMacWithMacCleared()
641 public static final int MAC_LENGTH = 4 * LENGTH_SCALING; field in EapSimAkaAttribute.AtMac653 mac = new byte[MAC_LENGTH]; in AtMac()660 this(new byte[MAC_LENGTH]); in AtMac()671 if (mac.length != MAC_LENGTH) { in AtMac()691 return new AtMac(reservedBytes, new byte[MAC_LENGTH]); in getAtMacWithMacCleared()
263 return Arrays.copyOfRange(mac, 0, AtMac.MAC_LENGTH); in getMac()