Home
last modified time | relevance | path

Searched refs:mPrimaryClientModeManager (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiConnectivityManagerTest.java156 setupMockForClientModeManager(mPrimaryClientModeManager); in setUp()
179 when(mPrimaryClientModeManager.getRole()).thenReturn(ActiveModeManager.ROLE_CLIENT_PRIMARY); in setUp()
180 when(mPrimaryClientModeManager.getConnectionInfo()).thenReturn(mWifiInfo); in setUp()
181 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
185 listener.onAnswer(mPrimaryClientModeManager); in setUp()
192 listener.onAnswer(mPrimaryClientModeManager); in setUp()
317 @Mock private ConcreteClientModeManager mPrimaryClientModeManager; field in WifiConnectivityManagerTest
673 when(mPrimaryClientModeManager.getConnectedWifiConfiguration()) in setWifiStateConnected()
675 when(mPrimaryClientModeManager.getConnectedBssid()) in setWifiStateConnected()
679 mPrimaryClientModeManager, in setWifiStateConnected()
[all …]
DWakeupEvaluatorTest.java68 @Mock private ClientModeManager mPrimaryClientModeManager; field in WakeupEvaluatorTest
107 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
108 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in setUp()
DWifiShellCommandTest.java91 @Mock ClientModeManager mPrimaryClientModeManager; field in WifiShellCommandTest
119 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
121 .thenReturn(Arrays.asList(mPrimaryClientModeManager)); in setUp()
743 verify(mPrimaryClientModeManager, never()).getConnectionInfo(); in testStatus()
751 Arrays.asList(mPrimaryClientModeManager, additionalClientModeManager)); in testStatus()
755 when(mPrimaryClientModeManager.getConnectionInfo()).thenReturn(wifiInfo); in testStatus()
762 verify(mPrimaryClientModeManager).getConnectionInfo(); in testStatus()
763 verify(mPrimaryClientModeManager).getCurrentNetwork(); in testStatus()
DConfigurationMapTest.java93 @Mock ClientModeManager mPrimaryClientModeManager; field in ConfigurationMapTest
112 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
113 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in setUp()
DWakeupControllerTest.java102 @Mock private ConcreteClientModeManager mPrimaryClientModeManager; field in WakeupControllerTest
129 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
130 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in setUp()
412 mPrimaryChangedCaptor.getValue().onChange(null, mPrimaryClientModeManager); in resetSetsActiveToFalse()
875 mPrimaryChangedCaptor.getValue().onChange(null, mPrimaryClientModeManager); in lastConnectedNetworkAddedToLock()
DSavedNetworkNominatorTest.java69 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
70 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in setUp()
118 private @Mock ClientModeManager mPrimaryClientModeManager; field in SavedNetworkNominatorTest
DWifiNetworkFactoryTest.java187 private @Mock ClientModeManager mPrimaryClientModeManager; field in WifiNetworkFactoryTest
280 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
281 when(mPrimaryClientModeManager.getRole()).thenReturn(ActiveModeManager.ROLE_CLIENT_PRIMARY); in setUp()
294 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in setUp()
3708 verify(mPrimaryClientModeManager, atLeastOnce()).getConnectedWifiConfiguration(); in testShareConnectedNetworkWithCarModePriorityAndSavedNetwork()
3709 verify(mPrimaryClientModeManager, atLeastOnce()).getConnectingWifiConfiguration(); in testShareConnectedNetworkWithCarModePriorityAndSavedNetwork()
3710 verify(mPrimaryClientModeManager, atLeastOnce()).getConnectingBssid(); in testShareConnectedNetworkWithCarModePriorityAndSavedNetwork()
3711 verify(mPrimaryClientModeManager, atLeastOnce()).getConnectedBssid(); in testShareConnectedNetworkWithCarModePriorityAndSavedNetwork()
3722 verify(mPrimaryClientModeManager, atLeastOnce()).disconnect(); in testShareConnectedNetworkWithCarModePriorityAndSavedNetwork()
3724 eq(mPrimaryClientModeManager), in testShareConnectedNetworkWithCarModePriorityAndSavedNetwork()
DWifiConfigManagerTest.java207 @Mock private ClientModeManager mPrimaryClientModeManager; field in WifiConfigManagerTest
365 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
366 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in setUp()
2034 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn(featureSet); in testEnterpriseConfigTofuStateMerge()
8035 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn(featureSet); in verifyAddTofuEnterpriseConfig()
8155 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in testUpdateCaCertificateSuccess()
8170 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in testUpdateCaCertificatePathSuccess()
8188 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in testUpdateCaCertificateWithoutAltSubjectNames()
8214 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in testUpdateCaCertificateWithAltSubjectNames()
8254 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in testUpdateCaCertificateFaiulreInvalidArgument()
[all …]
DWifiNetworkSuggestionsManagerTest.java191 private @Mock ClientModeManager mPrimaryClientModeManager; field in WifiNetworkSuggestionsManagerTest
264 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
265 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in setUp()
5342 when(mPrimaryClientModeManager.getConnectedWifiConfiguration()) in testRemoveNetworkSuggestionsWithActionCurrentlyConnected()
5351 verify(mPrimaryClientModeManager).setShouldReduceNetworkScore(true); in testRemoveNetworkSuggestionsWithActionCurrentlyConnected()
5396 verify(mPrimaryClientModeManager, never()).setShouldReduceNetworkScore(true); in testRemoveNetworkSuggestionsWithActionNotConnected()
DClientModeImplTest.java585 @Mock ClientModeManager mPrimaryClientModeManager; field in ClientModeImplTest
734 when(mActiveModeWarden.getPrimaryClientModeManager()).thenReturn(mPrimaryClientModeManager); in setUp()
735 when(mPrimaryClientModeManager.getSupportedFeatures()).thenReturn( in setUp()