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/
DWifiStateMachinePrimeTest.java150 String fromState = mWifiStateMachinePrime.getCurrentMode(); in enterClientModeActiveState()
165 assertEquals(CLIENT_MODE_STATE_STRING, mWifiStateMachinePrime.getCurrentMode()); in enterClientModeActiveState()
174 String fromState = mWifiStateMachinePrime.getCurrentMode(); in enterScanOnlyModeActiveState()
189 assertEquals(SCAN_ONLY_MODE_STATE_STRING, mWifiStateMachinePrime.getCurrentMode()); in enterScanOnlyModeActiveState()
201 String fromState = mWifiStateMachinePrime.getCurrentMode(); in enterSoftApActiveMode()
225 assertEquals(WIFI_DISABLED_STATE_STRING, mWifiStateMachinePrime.getCurrentMode()); in testWifiDisabledAtStartup()
253 assertEquals(CLIENT_MODE_STATE_STRING, mWifiStateMachinePrime.getCurrentMode()); in testEnterSoftApModeFromDifferentState()
269 assertEquals(WIFI_DISABLED_STATE_STRING, mWifiStateMachinePrime.getCurrentMode()); in testDisableWifiFromScanOnlyModeActiveState()
285 assertEquals(WIFI_DISABLED_STATE_STRING, mWifiStateMachinePrime.getCurrentMode()); in testDisableWifiFromSoftApModeActiveStateDoesNotStopSoftAp()
300 assertEquals(CLIENT_MODE_STATE_STRING, mWifiStateMachinePrime.getCurrentMode()); in testSwitchModeWhenScanOnlyModeActiveState()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiStateMachinePrime.java230 pw.println("Current wifi mode: " + getCurrentMode()); in dump()
237 protected String getCurrentMode() { in getCurrentMode() method in WifiStateMachinePrime
238 return mModeStateMachine.getCurrentMode(); in getCurrentMode()
283 private String getCurrentMode() { in getCurrentMode() method in WifiStateMachinePrime.ModeStateMachine
290 Log.d(TAG, "Switching from " + getCurrentMode() + " to ClientMode"); in checkForAndHandleModeChange()
294 Log.d(TAG, "Switching from " + getCurrentMode() + " to ScanOnlyMode"); in checkForAndHandleModeChange()
298 Log.d(TAG, "Switching from " + getCurrentMode() + " to WifiDisabled"); in checkForAndHandleModeChange()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java60 public int getCurrentMode() { in getCurrentMode() method in UsbPortStatus
/frameworks/base/core/java/com/android/internal/usb/
DDumpUtils.java207 dump.write("current_mode", UsbPortStatusProto.CURRENT_MODE, status.getCurrentMode()); in writePortStatus()
210 UsbPort.modeToString(status.getCurrentMode())); in writePortStatus()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java209 final int currentMode = portInfo.mUsbPortStatus.getCurrentMode(); in setPortRoles()
763 || mUsbPortStatus.getCurrentMode() != currentMode in setStatus()
DUsbDeviceManager.java843 (status.getCurrentMode() == UsbPort.MODE_AUDIO_ACCESSORY); in handleMessage()
/frameworks/base/config/
Dhiddenapi-light-greylist.txt2650 Landroid/hardware/usb/UsbPortStatus;->getCurrentMode()I