Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMacAddressUtilTest.java46 @Mock private KeystoreWrapper mKeystoreWrapper; field in MacAddressUtilTest
53 when(mKeystoreWrapper.getHmacSHA256ForUid(anyInt(), in setUp()
55 when(mKeystoreWrapper.getHmacSHA256ForUid(anyInt(), in setUp()
57 mMacAddressUtil = new MacAddressUtil(mKeystoreWrapper); in setUp()
78 verify(mKeystoreWrapper).getHmacSHA256ForUid(0, MacAddressUtil.MAC_RANDOMIZATION_ALIAS); in testCalculatePersistentMacForSta()
85 when(mKeystoreWrapper.getHmacSHA256ForUid(anyInt(), in testCalculatePersistentMacForSta()
91 verify(mKeystoreWrapper, times(2)).getHmacSHA256ForUid( in testCalculatePersistentMacForSta()
114 verify(mKeystoreWrapper).getHmacSHA256ForUid(0, in testCalculatePersistentMacForSap()
122 when(mKeystoreWrapper.getHmacSHA256ForUid(anyInt(), in testCalculatePersistentMacForSap()
128 verify(mKeystoreWrapper, times(2)).getHmacSHA256ForUid( in testCalculatePersistentMacForSap()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DMacAddressUtil.java46 private final KeystoreWrapper mKeystoreWrapper; field in MacAddressUtil
51 mKeystoreWrapper = keystoreWrapper; in MacAddressUtil()
100 hashFunction = mKeystoreWrapper.getHmacSHA256ForUid(uid, alias); in calculatePersistentMacWithCachedHash()