Home
last modified time | relevance | path

Searched refs:POWER_ROLE_SINK (Results 1 – 9 of 9) 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.java59 public static final int POWER_ROLE_SINK = Constants.PortPowerRole.SINK; field in UsbPortStatus
64 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;
636 powerRole = POWER_ROLE_SINK; in dump()
719 powerRole = POWER_ROLE_SINK; in dump()
DUsbDeviceManager.java22 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SINK;
837 mSinkPower = status.getCurrentPowerRole() == POWER_ROLE_SINK; in handleMessage()
845 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()
848 && 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.txt3313 field public static final int POWER_ROLE_SINK = 2; // 0x2
/frameworks/base/non-updatable-api/
Dsystem-current.txt3313 field public static final int POWER_ROLE_SINK = 2; // 0x2
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt25354 Landroid/hardware/usb/UsbPort;->POWER_ROLE_SINK:I