Home
last modified time | relevance | path

Searched refs:shouldUseNonPersistentRandomization (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConfigManagerTest.java2371 assertFalse(mWifiConfigManager.shouldUseNonPersistentRandomization(c)); in testShouldUseNonPersistentRandomizationPasspoint()
2376 assertTrue(mWifiConfigManager.shouldUseNonPersistentRandomization(c)); in testShouldUseNonPersistentRandomizationPasspoint()
2387 assertTrue(mWifiConfigManager.shouldUseNonPersistentRandomization(c)); in testShouldUseNonPersistentRandomization_randomizationNonPersistent()
2398 assertFalse(mWifiConfigManager.shouldUseNonPersistentRandomization(c)); in testShouldUseNonPersistentRandomization_randomizationPersistent()
2413 assertFalse(mWifiConfigManager.shouldUseNonPersistentRandomization(config)); in testShouldUseNonPersistentRandomization_openNetworkNoCaptivePortal()
2416 assertTrue(mWifiConfigManager.shouldUseNonPersistentRandomization(config)); in testShouldUseNonPersistentRandomization_openNetworkNoCaptivePortal()
2432 assertFalse(mWifiConfigManager.shouldUseNonPersistentRandomization(config)); in testShouldUseNonPersistentRandomization_openNetworkFeatureFlag()
2436 assertTrue(mWifiConfigManager.shouldUseNonPersistentRandomization(config)); in testShouldUseNonPersistentRandomization_openNetworkFeatureFlag()
2441 assertTrue(mWifiConfigManager.shouldUseNonPersistentRandomization(config)); in testShouldUseNonPersistentRandomization_openNetworkFeatureFlag()
2454 assertTrue(mWifiConfigManager.shouldUseNonPersistentRandomization(config)); in testNonPersistentMacRandomizationIsEnabledGlobally()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java463 public boolean shouldUseNonPersistentRandomization(WifiConfiguration config) { in shouldUseNonPersistentRandomization() method in WifiConfigManager
641 MacAddress mac = shouldUseNonPersistentRandomization(config) in getRandomizedMacAndUpdateIfNeeded()
3420 MacAddress randomizedMac = shouldUseNonPersistentRandomization(internalConfig) in initRandomizedMacForInternalConfig()
DWifiMetrics.java1859 mWifiConfigManager.shouldUseNonPersistentRandomization(config); in startConnectionEvent()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java1206 if (mWifiConfigManager.shouldUseNonPersistentRandomization(config)) { in getWifiConfigsForPasspointProfiles()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java1319 when(mWifiConfigManager.shouldUseNonPersistentRandomization(any())).thenReturn(false); in getWifiConfigsForPasspointProfilesWithoutNonPersistentMacRandomization()
1342 when(mWifiConfigManager.shouldUseNonPersistentRandomization(any())).thenReturn(true); in getWifiConfigsForPasspointProfilesWithNonPersistentMacRandomization()