Searched refs:canChangeMode (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 383 final boolean canChangeMode = portInfo.mCanChangeMode; in setPortRoles() 390 if (canChangeMode && newPowerRole == POWER_ROLE_SOURCE in setPortRoles() 393 } else if (canChangeMode && newPowerRole == POWER_ROLE_SINK in setPortRoles() 496 public void connectSimulatedPort(String portId, int mode, boolean canChangeMode, in connectSimulatedPort() argument 519 + ", canChangeMode=" + canChangeMode in connectSimulatedPort() 525 portInfo.canChangeMode = canChangeMode; in connectSimulatedPort() 565 portInfo.canChangeMode = false; in disconnectSimulatedPort() 642 current.canChangeMode, current.currentPowerRole, in notifyPortStatusChange() 679 current.status.canChangeMode, current.status.currentPowerRole, in notifyPortStatusChange_1_1() 716 current.status_1_1.status.canChangeMode, in notifyPortStatusChange_1_2() [all …]
|
D | UsbService.java | 697 final boolean canChangeMode = args[2].endsWith("?"); in dump() 698 switch (canChangeMode ? removeLastChar(args[2]) : args[2]) { in dump() 736 mPortManager.connectSimulatedPort(portId, mode, canChangeMode, in dump()
|