Home
last modified time | relevance | path

Searched refs:ROLE_CLIENT_PRIMARY (Results 1 – 5 of 5) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeManager.java74 int ROLE_CLIENT_PRIMARY = 2; field
85 ROLE_CLIENT_PRIMARY,
95 ROLE_CLIENT_PRIMARY,
101 ROLE_CLIENT_PRIMARY,
106 ROLE_CLIENT_PRIMARY,
DClientModeManager.java386 if (mRole != ROLE_CLIENT_PRIMARY) { in updateConnectModeState()
DActiveModeWarden.java432 modeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in switchClientModeManagerRole()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeManagerTest.java271 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in startClientInConnectModeAndVerifyEnabled()
361 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in switchFromScanOnlyModeToConnectMode()
430 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in detectAndReportErrorWhenSetupForClientInConnectivityModeWifiNativeFailure()
870 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in clientModeNotStopWithWifiOffDeferringTimeAndWifiCallingTimedOut()
875 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in clientModeNotStopWithWifiOffDeferringTimeAndWifiCallingTimedOut()
1146 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in stayAtConnectedModeWithWifiOffDeferringTimeAndWifiCallingTimedOutMultipleSwitch()
1150 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in stayAtConnectedModeWithWifiOffDeferringTimeAndWifiCallingTimedOutMultipleSwitch()
1185 assertEquals(ActiveModeManager.ROLE_CLIENT_PRIMARY, mClientModeManager.getRole()); in clientInConnectModeChangeRoles()
1186 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_PRIMARY); in clientInConnectModeChangeRoles()
DActiveModeWardenTest.java19 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_PRIMARY;
146 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_PRIMARY); in setUp()
232 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_PRIMARY); in enterClientModeActiveState()
241 verify(mClientModeManager).setRole(ROLE_CLIENT_PRIMARY); in enterClientModeActiveState()
558 verify(mClientModeManager).setRole(ROLE_CLIENT_PRIMARY); in testSwitchModeWhenScanOnlyModeActiveState()
1067 verify(mClientModeManager).setRole(ROLE_CLIENT_PRIMARY); in testEnterClientModeAtStartWhenSet()
1989 verify(mClientModeManager).setRole(ROLE_CLIENT_PRIMARY); in testRestartWifiStackDoesNotExitECMMode()
2233 verify(mClientModeManager, times(2)).setRole(ROLE_CLIENT_PRIMARY); in airplaneModeToggleOffIsDeferredWhileProcessingToggleOnWithOneModeManager()
2270 verify(mClientModeManager, times(2)).setRole(ROLE_CLIENT_PRIMARY); in airplaneModeToggleOffIsDeferredWhileProcessingToggleOnWithOneModeManager2()
2306 verify(mClientModeManager, times(1)).setRole(ROLE_CLIENT_PRIMARY); in airplaneModeToggleOffIsDeferredWhileProcessingToggleOnWithTwoModeManager()
[all …]