Home
last modified time | relevance | path

Searched refs:POWER_ROLE_SINK (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java33 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
237 case POWER_ROLE_SINK: in powerRoleToString()
319 Preconditions.checkArgumentInRange(powerRole, POWER_ROLE_NONE, POWER_ROLE_SINK, in checkRoles()
DUsbPortStatus.java58 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; field in UsbPortStatus
63 POWER_ROLE_SINK
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java26 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
104 UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST);
106 POWER_ROLE_SINK, DATA_ROLE_DEVICE);
393 } else if (canChangeMode && newPowerRole == POWER_ROLE_SINK in setPortRoles()
894 POWER_ROLE_SINK, currentDataRole); in addOrUpdatePortLocked()
DUsbService.java24 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
633 powerRole = POWER_ROLE_SINK; in dump()
716 powerRole = POWER_ROLE_SINK; in dump()
DUsbDeviceManager.java22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
834 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage()
842 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()
845 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
/frameworks/base/core/proto/android/service/
Dusb.proto247 POWER_ROLE_SINK = 2; enumerator
/frameworks/base/api/
Dsystem-current.txt3059 field public static final int POWER_ROLE_SINK = 2; // 0x2
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt27127 Landroid/hardware/usb/UsbPort;->POWER_ROLE_SINK:I