Searched refs:getCurrentMode (Results 1 – 8 of 8) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | ActiveModeWardenTest.java | 178 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/ |
D | ActiveModeWarden.java | 238 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/ |
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 | 262 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 | 838 mAudioAccessoryConnected = (status.getCurrentMode() == MODE_AUDIO_ACCESSORY); in handleMessage()
|
/frameworks/base/api/ |
D | system-current.txt | 3297 method public int getCurrentMode();
|
/frameworks/base/non-updatable-api/ |
D | system-current.txt | 3297 method public int getCurrentMode();
|