Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeManager.java80 int ROLE_CLIENT_SCAN_ONLY = 5; field
88 ROLE_CLIENT_SCAN_ONLY
98 ROLE_CLIENT_SCAN_ONLY);
DClientModeManager.java103 mTargetRole = ROLE_CLIENT_SCAN_ONLY; in start()
247 } else if (mTargetRole == ROLE_CLIENT_SCAN_ONLY) { in continueToStopWifi()
340 if (role == ROLE_CLIENT_SCAN_ONLY) { in setRole()
586 mRole = ROLE_CLIENT_SCAN_ONLY; in enter()
DActiveModeWarden.java304 if (manager.getRole() != ActiveModeManager.ROLE_CLIENT_SCAN_ONLY) return false; in areAllClientModeManagersInScanOnlyRole()
434 modeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchClientModeManagerRole()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DClientModeManagerTest.java395 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchFromConnectModeToScanOnlyMode()
912 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeNoWifiCalling()
936 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndImsOnWwan()
967 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingOnImsUnregistered()
1011 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingOnImsRegistered()
1052 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingTimedOut()
1096 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingTimedOutMultipleSwitch()
1104 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in switchToScanOnlyModeWithWifiOffDeferringTimeAndWifiCallingTimedOutMultipleSwitch()
1144 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in stayAtConnectedModeWithWifiOffDeferringTimeAndWifiCallingTimedOutMultipleSwitch()
1148 mClientModeManager.setRole(ActiveModeManager.ROLE_CLIENT_SCAN_ONLY); in stayAtConnectedModeWithWifiOffDeferringTimeAndWifiCallingTimedOutMultipleSwitch()
DActiveModeWardenTest.java20 import static com.android.server.wifi.ActiveModeManager.ROLE_CLIENT_SCAN_ONLY;
253 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in enterScanOnlyModeActiveState()
265 verify(mClientModeManager).setRole(ROLE_CLIENT_SCAN_ONLY); in enterScanOnlyModeActiveState()
482 when(mClientModeManager.getRole()).thenReturn(ROLE_CLIENT_SCAN_ONLY); in testScanOnlyModeScanHiddenNetworks()
492 verify(mClientModeManager).setRole(ROLE_CLIENT_SCAN_ONLY); in testScanOnlyModeScanHiddenNetworks()
1034 verify(mClientModeManager).setRole(ROLE_CLIENT_SCAN_ONLY); in enableScanMode()
1924 verify(mClientModeManager).setRole(ROLE_CLIENT_SCAN_ONLY); in testRestartWifiStackInDisabledStateWithScanState()
1938 verify(mClientModeManager, times(2)).setRole(ROLE_CLIENT_SCAN_ONLY); in testRestartWifiStackInDisabledStateWithScanState()
2074 verify(mClientModeManager).setRole(ROLE_CLIENT_SCAN_ONLY); in staDisabled_toggleWifiOff_scanAvailable_goToScanMode()