Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java239 private final LruConnectionTracker mLruConnectionTracker; field in WifiInjector
398 mLruConnectionTracker = new LruConnectionTracker(MAX_RECENTLY_CONNECTED_NETWORK, in WifiInjector()
439 mLruConnectionTracker, in WifiInjector()
476 mWifiCarrierInfoManager, mWifiKeyStore, mLruConnectionTracker, in WifiInjector()
DWifiConfigManager.java278 int indexA = mLruConnectionTracker.getAgeIndexOfNetwork(a);
279 int indexB = mLruConnectionTracker.getAgeIndexOfNetwork(b);
312 private final LruConnectionTracker mLruConnectionTracker; field in WifiConfigManager
474 mLruConnectionTracker = lruConnectionTracker; in WifiConfigManager()
1981 mLruConnectionTracker.removeNetwork(config); in removeNetwork()
2439 mLruConnectionTracker.addNetwork(config); in updateNetworkAfterConnect()
3617 mLruConnectionTracker.addNetwork(configuration); in loadInternalDataFromUserStore()
3837 mLruConnectionTracker.isMostRecentlyConnected(config); in writeBufferedData()
DWifiNetworkSuggestionsManager.java176 private final LruConnectionTracker mLruConnectionTracker; field in WifiNetworkSuggestionsManager
527 ewns.wns.wifiConfiguration.isMostRecentlyConnected = mLruConnectionTracker in toSerialize()
554 mLruConnectionTracker in fromDeserialized()
698 mLruConnectionTracker = lruConnectionTracker; in WifiNetworkSuggestionsManager()
776 mLruConnectionTracker.removeNetwork( in removeFromScanResultMatchInfoMapAndRemoveRelatedScoreCard()
796 mLruConnectionTracker.removeNetwork( in removeFromScanResultMatchInfoMapAndRemoveRelatedScoreCard()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java203 mLruConnectionTracker = new LruConnectionTracker(100, mContext); in setUp()
205 Comparator.comparingInt(mLruConnectionTracker::getAgeIndexOfNetwork); in setUp()
295 private LruConnectionTracker mLruConnectionTracker; field in WifiConnectivityManagerTest
5677 mLruConnectionTracker.addNetwork(network3); in testExternalPnoScanRequest_withSavedNetworks()
5678 mLruConnectionTracker.addNetwork(network2); in testExternalPnoScanRequest_withSavedNetworks()
5679 mLruConnectionTracker.addNetwork(network1); in testExternalPnoScanRequest_withSavedNetworks()
5752 mLruConnectionTracker.addNetwork(network4); in testRetrievePnoList()
5753 mLruConnectionTracker.addNetwork(network3); in testRetrievePnoList()
5754 mLruConnectionTracker.addNetwork(network2); in testRetrievePnoList()
5755 mLruConnectionTracker.addNetwork(network1); in testRetrievePnoList()
[all …]
DWifiNetworkSuggestionsManagerTest.java189 private @Mock LruConnectionTracker mLruConnectionTracker; field in WifiNetworkSuggestionsManagerTest
316 mLruConnectionTracker, in setUp()
443 verify(mLruConnectionTracker).removeNetwork(any()); in testRemoveNetworkSuggestionsSuccess()
516 verify(mLruConnectionTracker).removeNetwork(any()); in testAddRemoveEnterpriseNetworkSuggestion()
686 verify(mLruConnectionTracker).removeNetwork(any()); in testRemoveAllNetworkSuggestionsSuccess()
4447 when(mLruConnectionTracker.isMostRecentlyConnected(any())).thenReturn(true); in testIsMostRecentlyConnectedSuggestion()
4454 verify(mLruConnectionTracker).addNetwork(any()); in testIsMostRecentlyConnectedSuggestion()
4455 reset(mLruConnectionTracker); in testIsMostRecentlyConnectedSuggestion()
4457 when(mLruConnectionTracker.isMostRecentlyConnected(any())).thenReturn(false); in testIsMostRecentlyConnectedSuggestion()
4463 verify(mLruConnectionTracker, never()).addNetwork(any()); in testIsMostRecentlyConnectedSuggestion()
[all …]
DWifiConfigManagerTest.java211 private LruConnectionTracker mLruConnectionTracker; field in WifiConfigManagerTest
341 mLruConnectionTracker = new LruConnectionTracker(100, mContext); in setUp()
5798 mLruConnectionTracker, in createWifiConfigManager()
6407 assertEquals(0, mLruConnectionTracker.getAgeIndexOfNetwork(retrievedNetwork)); in verifyUpdateNetworkAfterConnectHasEverConnectedTrue()
6553 assertEquals(Integer.MAX_VALUE, mLruConnectionTracker.getAgeIndexOfNetwork(network3)); in testScanComparator()
6554 assertEquals(0, mLruConnectionTracker.getAgeIndexOfNetwork(network2)); in testScanComparator()
6556 assertEquals(Integer.MAX_VALUE, mLruConnectionTracker.getAgeIndexOfNetwork(network2)); in testScanComparator()