Searched refs:POWER_ROLE_SINK (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/tests/UsbManagerTests/src/android/hardware/usb/ |
D | UsbPortStatusTest.java | 26 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 85 result |= UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in getSupportedRoleCombinations() 88 result |= UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST); in getSupportedRoleCombinations()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPortStatus.java | 74 public static final int POWER_ROLE_SINK = 2; field in UsbPortStatus 79 POWER_ROLE_SINK 588 return isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE) in isPdCompliant() 589 && isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in isPdCompliant()
|
D | UsbPort.java | 40 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 672 case POWER_ROLE_SINK: in powerRoleToString() 875 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbPortManager.java | 28 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 126 UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST); 128 POWER_ROLE_SINK, DATA_ROLE_DEVICE); 517 if (usbPowerRole == POWER_ROLE_SINK) in toHalUsbPowerRole() 617 } else if (canChangeMode && newPowerRole == POWER_ROLE_SINK in setPortRoles() 1094 POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
|
D | UsbService.java | 27 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 1127 powerRole = POWER_ROLE_SINK; in dump() 1228 powerRole = POWER_ROLE_SINK; in dump()
|
D | UsbDeviceManager.java | 22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK; 1157 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage() 1165 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage() 1168 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | UsbPortHidl.java | 34 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
|
/frameworks/base/core/proto/android/service/ |
D | usb.proto | 259 POWER_ROLE_SINK = 2; enumerator
|
/frameworks/base/core/api/ |
D | system-current.txt | 6912 field public static final int POWER_ROLE_SINK = 2; // 0x2
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 22467 Landroid/hardware/usb/UsbPort;->POWER_ROLE_SINK:I
|