Home
last modified time | relevance | path

Searched refs:additionalClientModeManager (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java797 ConcreteClientModeManager additionalClientModeManager = in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs() local
803 additionalClientModeManager, externalRequestListener, TEST_SSID_2, in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()
814 InOrder inOrder = inOrder(additionalClientModeManager, mClientModeManager); in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()
825 inOrder.verify(additionalClientModeManager).stop(); in testSwitchFromConnectModeToScanOnlyModeRemovesAdditionalCMMs()
3046 ConcreteClientModeManager additionalClientModeManager, in requestAdditionalClientModeManager() argument
3051 when(additionalClientModeManager.getRequestorWs()).thenReturn(TEST_WORKSOURCE); in requestAdditionalClientModeManager()
3066 return additionalClientModeManager; in requestAdditionalClientModeManager()
3069 when(additionalClientModeManager.getInterfaceName()).thenReturn(WIFI_IFACE_NAME_1); in requestAdditionalClientModeManager()
3070 when(additionalClientModeManager.getRole()).thenReturn(additionaClientModeManagerRole); in requestAdditionalClientModeManager()
3087 additionalClientListener.value.onStarted(additionalClientModeManager); in requestAdditionalClientModeManager()
[all …]
DWifiShellCommandTest.java749 ClientModeManager additionalClientModeManager = mock(ClientModeManager.class); in testStatus() local
751 Arrays.asList(mPrimaryClientModeManager, additionalClientModeManager)); in testStatus()
756 when(additionalClientModeManager.getConnectionInfo()).thenReturn(wifiInfo); in testStatus()
764 verify(additionalClientModeManager).getConnectionInfo(); in testStatus()
765 verify(additionalClientModeManager).getCurrentNetwork(); in testStatus()