Home
last modified time | relevance | path

Searched refs:calculatePersistentMac (Results 1 – 6 of 6) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DMacAddressUtilTest.java58 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()
DWifiApConfigStoreTest.java124 when(mMacAddressUtil.calculatePersistentMac(any(), any())).thenReturn(TEST_RANDOMIZED_MAC); in setUp()
501 when(mMacAddressUtil.calculatePersistentMac(any(), any())).thenReturn(null); in randomizeBssid_fallbackPathWhenMacCalculationFails()
DWifiConfigManagerTest.java225 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/
DMacAddressUtil.java59 public MacAddress calculatePersistentMac(String key, Mac hashFunction) { in calculatePersistentMac() method in MacAddressUtil
DWifiApConfigStore.java340 MacAddress macAddress = mMacAddressUtil.calculatePersistentMac(config.getSsid(), in randomizeBssidIfUnset()
DWifiConfigManager.java491 MacAddress result = mMacAddressUtil.calculatePersistentMac(config.getKey(), in getPersistentMacAddress()
494 result = mMacAddressUtil.calculatePersistentMac(config.getKey(), in getPersistentMacAddress()