Searched refs:MAC_LENGTH (Results 1 – 4 of 4) sorted by relevance
46 private static final int MAC_LENGTH = 6; field in NativeUtil48 private static final int MAC_STR_LENGTH = MAC_LENGTH * 2 + 5;129 if (cleanMac.length() != MAC_LENGTH * 2) { in macAddressToByteArray()163 if (macArray.length != MAC_LENGTH) { in macAddressFromByteArray()202 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()
654 public static final int MAC_LENGTH = 4 * LENGTH_SCALING; field in EapSimAkaAttribute.AtMac666 mac = new byte[MAC_LENGTH]; in AtMac()673 this(new byte[MAC_LENGTH]); in AtMac()684 if (mac.length != MAC_LENGTH) { in AtMac()704 return new AtMac(reservedBytes, new byte[MAC_LENGTH]); in getAtMacWithMacCleared()
450 return Arrays.copyOfRange(mac, 0, AtMac.MAC_LENGTH); in getMac()