/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiScoreCardTest.java | 63 WifiScoreCard mWifiScoreCard; field in WifiScoreCardTest 100 mWifiScoreCard = new WifiScoreCard(mClock, "some seed"); in setUp() 111 mWifiScoreCard.noteIpConfiguration(mWifiInfo); in testUpdate() 113 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.fetchByBssid(TEST_BSSID_1); in testUpdate() 120 mWifiScoreCard.noteIpConfiguration(mWifiInfo); in testUpdate() 122 assertEquals(perBssid, mWifiScoreCard.fetchByBssid(TEST_BSSID_1)); in testUpdate() 123 assertNotEquals(perBssid.id, mWifiScoreCard.fetchByBssid(TEST_BSSID_2).id); in testUpdate() 124 assertNotEquals(perBssid.l2Key, mWifiScoreCard.fetchByBssid(TEST_BSSID_2).l2Key); in testUpdate() 134 Pair<String, String> p1 = mWifiScoreCard.getL2KeyAndGroupHint(mWifiInfo); in testIdentifiers() 138 Pair<String, String> p2 = mWifiScoreCard.getL2KeyAndGroupHint(mWifiInfo); in testIdentifiers() [all …]
|
D | MemoryStoreImplTest.java | 42 @Mock WifiScoreCard mWifiScoreCard; field in MemoryStoreImplTest 51 mMemoryStoreImpl = new MemoryStoreImpl(mContext, mWifiInjector, mWifiScoreCard); in setUp() 60 verify(mWifiScoreCard, never()).installMemoryStore(any()); in attemptToStartBeforeIpMemoryServiceIsReadyShouldNotCallInstall() 70 verify(mWifiScoreCard).installMemoryStore(eq(mMemoryStoreImpl)); in testStartInstallsItself() 84 verifyNoMoreInteractions(mWifiScoreCard); in testThatStopDoesPendingWrites() 89 verify(mWifiScoreCard).installMemoryStore(eq(mMemoryStoreImpl)); in testThatStopDoesPendingWrites() 90 verify(mWifiScoreCard).doWrites(); in testThatStopDoesPendingWrites() 91 verifyNoMoreInteractions(mWifiScoreCard); in testThatStopDoesPendingWrites() 95 verifyNoMoreInteractions(mWifiScoreCard); in testThatStopDoesPendingWrites()
|
D | WifiCandidatesTest.java | 44 @Mock WifiScoreCard mWifiScoreCard; field in WifiCandidatesTest 61 mWifiCandidates = new WifiCandidates(mWifiScoreCard); in setUp() 75 doReturn(mPerBssid).when(mWifiScoreCard).lookupBssid(any(), any()); in setUp()
|
D | ClientModeImplTest.java | 365 @Mock WifiScoreCard mWifiScoreCard; field in ClientModeImplTest 448 when(mWifiInjector.getWifiScoreCard()).thenReturn(mWifiScoreCard); in setUp() 515 when(mWifiScoreCard.getL2KeyAndGroupHint(any())).thenReturn(new Pair<>(null, null)); in setUp() 2614 verify(mWifiScoreCard).noteSignalPoll(any()); in verifyConnectedModeRssiPolling() 3094 verify(mWifiScoreCard, never()).noteConnectionAttempt(any()); in testScoreCardNoteConnectionAttemptAfterCmdStartConnect() 3096 verify(mWifiScoreCard).noteConnectionAttempt(any()); in testScoreCardNoteConnectionAttemptAfterCmdStartConnect() 3098 verify(mWifiScoreCard, never()).noteIpConfiguration(any()); in testScoreCardNoteConnectionAttemptAfterCmdStartConnect() 3100 verify(mWifiScoreCard, never()).noteValidationSuccess(any()); in testScoreCardNoteConnectionAttemptAfterCmdStartConnect() 3109 when(mWifiScoreCard.getL2KeyAndGroupHint(any())).thenReturn(l2KeyAndCluster); in testScoreCardNoteConnectionComplete() 3112 verify(mWifiScoreCard).noteIpConfiguration(any()); in testScoreCardNoteConnectionComplete() [all …]
|
D | WifiNetworkSelectorTest.java | 85 mWifiScoreCard, in setUp() 95 when(mWifiScoreCard.lookupBssid(any(), any())).thenReturn(mPerBssid); in setUp() 191 @Mock private WifiScoreCard mWifiScoreCard; field in WifiNetworkSelectorTest
|
D | WifiServiceImplTest.java | 265 @Mock WifiScoreCard mWifiScoreCard; field in WifiServiceImplTest 392 when(mWifiInjector.getWifiScoreCard()).thenReturn(mWifiScoreCard); in setUp() 3675 verify(mWifiScoreCard).clear(); in testFactoryReset()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | MemoryStoreImpl.java | 46 @NonNull private final WifiScoreCard mWifiScoreCard; field in MemoryStoreImpl 52 mWifiScoreCard = Preconditions.checkNotNull(wifiScoreCard); in MemoryStoreImpl() 142 mWifiScoreCard.installMemoryStore(this); in start() 150 mWifiScoreCard.doWrites(); in stop()
|
D | WifiCandidates.java | 41 mWifiScoreCard = Preconditions.checkNotNull(wifiScoreCard); in WifiCandidates() 43 private final WifiScoreCard mWifiScoreCard; field in WifiCandidates 374 WifiScoreCard.PerBssid perBssid = mWifiScoreCard.lookupBssid( in add()
|
D | WifiInjector.java | 151 private final WifiScoreCard mWifiScoreCard; field in WifiInjector 179 mWifiScoreCard = new WifiScoreCard(mClock, in WifiInjector() 267 mWifiNetworkSelector = new WifiNetworkSelector(mContext, mWifiScoreCard, mScoringParams, in WifiInjector() 516 return mWifiScoreCard; in getWifiScoreCard()
|
D | WifiNetworkSelector.java | 112 private final WifiScoreCard mWifiScoreCard; field in WifiNetworkSelector 741 WifiCandidates wifiCandidates = new WifiCandidates(mWifiScoreCard); in selectNetwork() 967 mWifiScoreCard = wifiScoreCard; in WifiNetworkSelector()
|
D | ClientModeImpl.java | 216 private final WifiScoreCard mWifiScoreCard; field in ClientModeImpl 794 mWifiScoreCard = wifiInjector.getWifiScoreCard(); in ClientModeImpl() 2901 mWifiScoreCard.noteSupplicantStateChanging(mWifiInfo, state); in handleSupplicantStateChange() 2948 mWifiScoreCard.noteSupplicantStateChanged(mWifiInfo); in handleSupplicantStateChange() 2957 Pair<String, String> p = mWifiScoreCard.getL2KeyAndGroupHint(mWifiInfo); in updateLayer2Information() 3024 mWifiScoreCard.resetConnectionState(); in handleNetworkDisconnect() 3160 mWifiScoreCard.noteConnectionFailure(mWifiInfo, in reportConnectionAttemptEnd() 3238 mWifiScoreCard.noteIpConfiguration(mWifiInfo); in handleSuccessfulIpConfiguration() 3282 mWifiScoreCard.noteIpReachabilityLost(mWifiInfo); in handleIpReachabilityLost() 3548 new MemoryStoreImpl(mContext, mWifiInjector, mWifiScoreCard).start(); in processMessage() [all …]
|