Home
last modified time | relevance | path

Searched refs:MAC_RANDOMIZATION_ALIAS (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DMacAddressUtil.java39 public static final String MAC_RANDOMIZATION_ALIAS = "MacRandSecret"; field in MacAddressUtil
112 return calculatePersistentMacWithCachedHash(key, uid, MAC_RANDOMIZATION_ALIAS); in calculatePersistentMacForSta()
126 if (MAC_RANDOMIZATION_ALIAS.equals(alias)) { in getCachedHashFunction()
135 if (MAC_RANDOMIZATION_ALIAS.equals(alias)) { in cacheHashFunction()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMacAddressUtilTest.java54 eq(MacAddressUtil.MAC_RANDOMIZATION_ALIAS))).thenReturn(mMacForSta); in setUp()
78 verify(mKeystoreWrapper).getHmacSHA256ForUid(0, MacAddressUtil.MAC_RANDOMIZATION_ALIAS); in testCalculatePersistentMacForSta()
86 eq(MacAddressUtil.MAC_RANDOMIZATION_ALIAS))).thenReturn(macForSta2); in testCalculatePersistentMacForSta()
92 0, MacAddressUtil.MAC_RANDOMIZATION_ALIAS); in testCalculatePersistentMacForSta()