Home
last modified time | relevance | path

Searched refs:getCurrentMode (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java178 String fromState = mActiveModeWarden.getCurrentMode(); in enterClientModeActiveState()
193 assertEquals(CLIENT_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in enterClientModeActiveState()
206 String fromState = mActiveModeWarden.getCurrentMode(); in enterScanOnlyModeActiveState()
221 assertEquals(SCAN_ONLY_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in enterScanOnlyModeActiveState()
237 String fromState = mActiveModeWarden.getCurrentMode(); in enterSoftApActiveMode()
264 assertEquals(WIFI_DISABLED_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testWifiDisabledAtStartup()
292 assertEquals(CLIENT_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testEnterSoftApModeFromDifferentState()
308 assertEquals(WIFI_DISABLED_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testDisableWifiFromScanOnlyModeActiveState()
323 assertEquals(WIFI_DISABLED_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testDisableWifiFromSoftApModeActiveStateDoesNotStopSoftAp()
338 assertEquals(CLIENT_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testSwitchModeWhenScanOnlyModeActiveState()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java238 pw.println("Current wifi mode: " + getCurrentMode()); in dump()
245 protected String getCurrentMode() { in getCurrentMode() method in ActiveModeWarden
246 return mModeStateMachine.getCurrentMode(); in getCurrentMode()
291 private String getCurrentMode() { in getCurrentMode() method in ActiveModeWarden.ModeStateMachine
298 Log.d(TAG, "Switching from " + getCurrentMode() + " to ClientMode"); in checkForAndHandleModeChange()
302 Log.d(TAG, "Switching from " + getCurrentMode() + " to ScanOnlyMode"); in checkForAndHandleModeChange()
306 Log.d(TAG, "Switching from " + getCurrentMode() + " to WifiDisabled"); in checkForAndHandleModeChange()
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java216 dump.write("current_mode", UsbPortStatusProto.CURRENT_MODE, status.getCurrentMode()); in writePortStatus()
219 UsbPort.modeToString(status.getCurrentMode())); in writePortStatus()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java262 public @UsbPortMode int getCurrentMode() { in getCurrentMode() method in UsbPortStatus
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java386 final int currentMode = portInfo.mUsbPortStatus.getCurrentMode(); in setPortRoles()
1162 || mUsbPortStatus.getCurrentMode() != currentMode in setStatus()
1195 || mUsbPortStatus.getCurrentMode() != currentMode in setStatus()
DUsbDeviceManager.java838 mAudioAccessoryConnected = (status.getCurrentMode() == MODE_AUDIO_ACCESSORY); in handleMessage()
/frameworks/base/api/
Dsystem-current.txt3297 method public int getCurrentMode();
/frameworks/base/non-updatable-api/
Dsystem-current.txt3297 method public int getCurrentMode();