Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java165 String fromState = mActiveModeWarden.getCurrentMode(); in enterClientModeActiveState()
180 assertEquals(CLIENT_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in enterClientModeActiveState()
193 String fromState = mActiveModeWarden.getCurrentMode(); in enterScanOnlyModeActiveState()
208 assertEquals(SCAN_ONLY_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in enterScanOnlyModeActiveState()
224 String fromState = mActiveModeWarden.getCurrentMode(); in enterSoftApActiveMode()
251 assertEquals(WIFI_DISABLED_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testWifiDisabledAtStartup()
279 assertEquals(CLIENT_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testEnterSoftApModeFromDifferentState()
295 assertEquals(WIFI_DISABLED_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testDisableWifiFromScanOnlyModeActiveState()
310 assertEquals(WIFI_DISABLED_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testDisableWifiFromSoftApModeActiveStateDoesNotStopSoftAp()
325 assertEquals(CLIENT_MODE_STATE_STRING, mActiveModeWarden.getCurrentMode()); in testSwitchModeWhenScanOnlyModeActiveState()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java236 pw.println("Current wifi mode: " + getCurrentMode()); in dump()
243 protected String getCurrentMode() { in getCurrentMode() method in ActiveModeWarden
244 return mModeStateMachine.getCurrentMode(); in getCurrentMode()
289 private String getCurrentMode() { in getCurrentMode() method in ActiveModeWarden.ModeStateMachine
296 Log.d(TAG, "Switching from " + getCurrentMode() + " to ClientMode"); in checkForAndHandleModeChange()
300 Log.d(TAG, "Switching from " + getCurrentMode() + " to ScanOnlyMode"); in checkForAndHandleModeChange()
304 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.java261 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.java835 mAudioAccessoryConnected = (status.getCurrentMode() == MODE_AUDIO_ACCESSORY); in handleMessage()
/frameworks/base/api/
Dsystem-current.txt3043 method public int getCurrentMode();