Searched refs:calculatePersistentMac (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | MacAddressUtilTest.java | 58 assertNull(mMacAddressUtil.calculatePersistentMac(null, null)); in testCalculatePersistentMac() 66 MacAddress macAddress = mMacAddressUtil.calculatePersistentMac( in testCalculatePersistentMac() 79 assertNull(mMacAddressUtil.calculatePersistentMac("TEST_SSID_AND_SECURITY_TYPE", in testCalculatePersistentMacCatchesException()
|
D | WifiApConfigStoreTest.java | 124 when(mMacAddressUtil.calculatePersistentMac(any(), any())).thenReturn(TEST_RANDOMIZED_MAC); in setUp() 501 when(mMacAddressUtil.calculatePersistentMac(any(), any())).thenReturn(null); in randomizeBssid_fallbackPathWhenMacCalculationFails()
|
D | WifiConfigManagerTest.java | 225 when(mMacAddressUtil.calculatePersistentMac(any(), any())).thenReturn(TEST_RANDOMIZED_MAC); in setUp() 300 when(mMacAddressUtil.calculatePersistentMac(any(), any())).thenReturn(null); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 311 verify(mMacAddressUtil, times(2)).calculatePersistentMac(any(), any()); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails() 2488 verify(mMacAddressUtil, never()).calculatePersistentMac(any(), any()); in setUpWifiConfigurationForAggressiveRandomization()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | MacAddressUtil.java | 59 public MacAddress calculatePersistentMac(String key, Mac hashFunction) { in calculatePersistentMac() method in MacAddressUtil
|
D | WifiApConfigStore.java | 340 MacAddress macAddress = mMacAddressUtil.calculatePersistentMac(config.getSsid(), in randomizeBssidIfUnset()
|
D | WifiConfigManager.java | 491 MacAddress result = mMacAddressUtil.calculatePersistentMac(config.getKey(), in getPersistentMacAddress() 494 result = mMacAddressUtil.calculatePersistentMac(config.getKey(), in getPersistentMacAddress()
|