Home
last modified time | relevance | path

Searched refs:mMockScoreCache (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DStandardWifiEntryTest.java103 @Mock private WifiNetworkScoreCache mMockScoreCache; field in StandardWifiEntryTest
138 when(mMockScoreCache.getScoredNetwork((ScanResult) any())).thenReturn(mMockScoredNetwork); in setUp()
139 when(mMockScoreCache.getScoredNetwork((NetworkKey) any())).thenReturn(mMockScoredNetwork); in setUp()
156 mMockWifiManager, mMockScoreCache, false /* forSavedNetworksPage */); in testConstructor_mismatchedSsids_throwsException()
174 mMockWifiManager, mMockScoreCache, false /* forSavedNetworksPage */); in testConstructor_scanResults_setsBestLevel()
192 null, Arrays.asList(unsecureScan), mMockWifiManager, mMockScoreCache, in testConstructor_targetingNewSecurity_scanResultsSetSecurity()
197 null, Arrays.asList(secureScan), mMockWifiManager, mMockScoreCache, in testConstructor_targetingNewSecurity_scanResultsSetSecurity()
212 mMockWifiManager, mMockScoreCache, false /* forSavedNetworksPage */); in testUpdateScanResultInfo_mismatchedSsids_throwsException()
231 mMockWifiManager, mMockScoreCache, false /* forSavedNetworksPage */); in testUpdateScanResultInfo_notifiesListener()
248 mMockWifiManager, mMockScoreCache, false /* forSavedNetworksPage */); in testUpdateScanResultInfo_updatesLevel()
[all …]
DMergedCarrierEntryTest.java51 @Mock private WifiNetworkScoreCache mMockScoreCache; field in MergedCarrierEntryTest
64 when(mMockScoreCache.getScoredNetwork((ScanResult) any())).thenReturn(mMockScoredNetwork); in setUp()
65 when(mMockScoreCache.getScoredNetwork((NetworkKey) any())).thenReturn(mMockScoredNetwork); in setUp()
79 mMockScoreCache, false, mMockContext, subId); in testGetConnectedState_wifiInfoMatches_returnsConnected()
94 mMockScoreCache, false, mMockContext, subId); in testConnect_disablesNonCarrierMergedWifi()
108 mMockScoreCache, false, mMockContext, subId); in testDisconnect_enablesNonCarrierMergedWifiAndTriggersScan()
120 mMockScoreCache, false, mMockContext, subId); in testCanConnect_cellIsDefaultRoute_returnsFalse()
134 mMockScoreCache, false, mMockContext, subId); in testGetSsid_connected_returnsSanitizedWifiInfoSsid()
DPasspointWifiEntryTest.java68 @Mock private WifiNetworkScoreCache mMockScoreCache; field in PasspointWifiEntryTest
97 when(mMockScoreCache.getScoredNetwork((ScanResult) any())).thenReturn(mMockScoredNetwork); in setUp()
98 when(mMockScoreCache.getScoredNetwork((NetworkKey) any())).thenReturn(mMockScoredNetwork); in setUp()
110 passpointConfiguration, mMockWifiManager, mMockScoreCache, in testGetSummary_expiredTimeNotAvailable_notShowExpired()
123 passpointConfiguration, mMockWifiManager, mMockScoreCache, in testGetSummary_expired_showExpired()
143 getPasspointConfiguration(), mMockWifiManager, mMockScoreCache, in testGetMeteredChoice_afterSetMeteredChoice_getCorrectValue()
176 getPasspointConfiguration(), mMockWifiManager, mMockScoreCache, in testGetSummary_connectedWifiNetwork_showsConnected()
216 getPasspointConfiguration(), mMockWifiManager, mMockScoreCache, in testGetSummary_providerModelConnectedButNotDefault_doesNotShowConnected()
236 getPasspointConfiguration(), mMockWifiManager, mMockScoreCache, in testGetSecurityTypes_connectedWifiNetwork_showsCurrentSecurityType()
262 passpointConfiguration, mMockWifiManager, mMockScoreCache, in testGetSecurityString_showsPasspoint()
[all …]
DUtilsTest.java100 @Mock private WifiNetworkScoreCache mMockScoreCache; field in UtilsTest
498 null, mockWifiManager, mMockScoreCache, false /* forSavedNetworksPage */); in getStandardWifiEntry()