Searched refs:getCurrentMode (Results 1 – 7 of 7) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ActiveModeWardenTest.java | 165 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/ |
D | ActiveModeWarden.java | 236 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/ |
D | DumpUtils.java | 216 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/ |
D | UsbPortStatus.java | 261 public @UsbPortMode int getCurrentMode() { in getCurrentMode() method in UsbPortStatus
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 386 final int currentMode = portInfo.mUsbPortStatus.getCurrentMode(); in setPortRoles() 1162 || mUsbPortStatus.getCurrentMode() != currentMode in setStatus() 1195 || mUsbPortStatus.getCurrentMode() != currentMode in setStatus()
|
D | UsbDeviceManager.java | 835 mAudioAccessoryConnected = (status.getCurrentMode() == MODE_AUDIO_ACCESSORY); in handleMessage()
|
/frameworks/base/api/ |
D | system-current.txt | 3043 method public int getCurrentMode();
|