Home
last modified time | relevance | path

Searched refs:mMacAddressUtil (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMacAddressUtilTest.java44 private MacAddressUtil mMacAddressUtil; field in MacAddressUtilTest
57 mMacAddressUtil = new MacAddressUtil(mKeystoreWrapper); in setUp()
63 assertNull(mMacAddressUtil.calculatePersistentMacForSta(null, 0)); in testCalculatePersistentMacForSta()
71 MacAddress macAddress = mMacAddressUtil.calculatePersistentMacForSta( in testCalculatePersistentMacForSta()
90 mMacAddressUtil.calculatePersistentMacForSta("TEST_SSID_AND_SECURITY_TYPE", 0))); in testCalculatePersistentMacForSta()
99 assertNull(mMacAddressUtil.calculatePersistentMacForSap(null, 0)); in testCalculatePersistentMacForSap()
107 MacAddress macAddress = mMacAddressUtil.calculatePersistentMacForSap( in testCalculatePersistentMacForSap()
127 mMacAddressUtil.calculatePersistentMacForSap("TEST_SSID_AND_SECURITY_TYPE", 0))); in testCalculatePersistentMacForSap()
DWifiApConfigStoreTest.java121 @Mock private MacAddressUtil mMacAddressUtil; field in WifiApConfigStoreTest
158 when(mWifiInjector.getMacAddressUtil()).thenReturn(mMacAddressUtil); in setUp()
160 when(mMacAddressUtil.calculatePersistentMacForSap(any(), anyInt())) in setUp()
744 when(mMacAddressUtil.calculatePersistentMacForSap(any(), anyInt())).thenReturn(null); in randomizeBssid_fallbackPathWhenMacCalculationFails()
1474 when(mMacAddressUtil.calculatePersistentMacForSap(any(), anyInt())).thenReturn(null); in testPersistentRandomizedMacAddressWhenCalculatedMacIsNull()
DWifiConfigManagerTest.java204 @Mock private MacAddressUtil mMacAddressUtil; field in WifiConfigManagerTest
333 when(mMacAddressUtil.calculatePersistentMacForSta(any(), anyInt())) in setUp()
357 when(mWifiInjector.getMacAddressUtil()).thenReturn(mMacAddressUtil); in setUp()
476 when(mMacAddressUtil.calculatePersistentMacForSta(any(), anyInt())).thenReturn(null); in testRandomizedMacIsGeneratedEvenIfKeyStoreFails()
2920 verify(mMacAddressUtil, never()).calculatePersistentMacForSta(any(), anyInt()); in setUpWifiConfigurationForNonPersistentRandomization()
6817 verify(mMacAddressUtil).calculatePersistentMacForSta(eq(network.getNetworkKey()), anyInt()); in testGetPersistRandomMacAddress()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiApConfigStore.java88 private final MacAddressUtil mMacAddressUtil; field in WifiApConfigStore
152 mMacAddressUtil = wifiInjector.getMacAddressUtil(); in WifiApConfigStore()
591 macAddress = mMacAddressUtil.calculatePersistentMacForSap( in randomizeBssidIfUnset()
809 MacAddress randomizedMacAddress = mMacAddressUtil.calculatePersistentMacForSap( in updatePersistentRandomizedMacAddress()
DWifiInjector.java230 private final MacAddressUtil mMacAddressUtil = new MacAddressUtil(new KeystoreWrapper()); field in WifiInjector
493 mWifiCarrierInfoManager, mMacAddressUtil, mWifiPermissionsUtil); in WifiInjector()
1031 return mMacAddressUtil; in getMacAddressUtil()
DWifiConfigManager.java312 private final MacAddressUtil mMacAddressUtil; field in WifiConfigManager
457 mMacAddressUtil = wifiInjector.getMacAddressUtil(); in WifiConfigManager()
599 MacAddress result = mMacAddressUtil.calculatePersistentMacForSta(config.getNetworkKey(), in getPersistentMacAddress()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java136 private final MacAddressUtil mMacAddressUtil; field in PasspointManager
399 mMacAddressUtil = macAddressUtil; in PasspointManager()
1233 MacAddress result = mMacAddressUtil.calculatePersistentMacForSta( in getWifiConfigsForPasspointProfiles()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java224 @Mock MacAddressUtil mMacAddressUtil; field in PasspointManagerTest
292 mMacAddressUtil, mWifiPermissionsUtil); in setUp()
864 mMacAddressUtil, mWifiPermissionsUtil); in addProviderWithValidFullImsiOfSimCredential()
1328 when(mMacAddressUtil.calculatePersistentMacForSta(any(), anyInt())) in getWifiConfigsForPasspointProfilesWithoutNonPersistentMacRandomization()
1339 verify(mMacAddressUtil).calculatePersistentMacForSta( in getWifiConfigsForPasspointProfilesWithoutNonPersistentMacRandomization()
1352 when(mMacAddressUtil.calculatePersistentMacForSta(any(), anyInt())) in getWifiConfigsForPasspointProfilesWithNonPersistentMacRandomization()