Home
last modified time | relevance | path

Searched refs:POWER_ROLE_SOURCE (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPort.java87 public static final int POWER_ROLE_SOURCE = Constants.PortPowerRole.SOURCE; field in UsbPort
195 case POWER_ROLE_SOURCE: in powerRoleToString()
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java78 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);
80 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);
213 if (canChangeMode && newPowerRole == UsbPort.POWER_ROLE_SOURCE in setPortRoles()
629 UsbPort.POWER_ROLE_SOURCE, currentDataRole); in addOrUpdatePortLocked()
DUsbService.java556 powerRole = UsbPort.POWER_ROLE_SOURCE; in dump()
639 powerRole = UsbPort.POWER_ROLE_SOURCE; in dump()
DUsbDeviceManager.java840 mSourcePower = status.getCurrentPowerRole() == UsbPort.POWER_ROLE_SOURCE; in handleMessage()
849 UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST) in handleMessage()
852 && status.isRoleCombinationSupported(UsbPort.POWER_ROLE_SOURCE, in handleMessage()
/frameworks/base/core/proto/android/service/
Dusb.proto214 POWER_ROLE_SOURCE = 1; enumerator