Searched refs:POWER_ROLE_SOURCE (Results 1 – 8 of 8) sorted by relevance
54 public static final int POWER_ROLE_SOURCE = Constants.PortPowerRole.SOURCE; field in UsbPortStatus63 POWER_ROLE_SOURCE,
34 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;237 case POWER_ROLE_SOURCE: in powerRoleToString()
27 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;101 UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_HOST);103 POWER_ROLE_SOURCE, DATA_ROLE_DEVICE);391 if (canChangeMode && newPowerRole == POWER_ROLE_SOURCE in setPortRoles()893 POWER_ROLE_SOURCE, currentDataRole); in addOrUpdatePortLocked()
25 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;783 powerRole = POWER_ROLE_SOURCE; in dump()866 powerRole = POWER_ROLE_SOURCE; in dump()
23 import static android.hardware.usb.UsbPortStatus.POWER_ROLE_SOURCE;838 mSourcePower = status.getCurrentPowerRole() == POWER_ROLE_SOURCE; in handleMessage()846 POWER_ROLE_SOURCE, DATA_ROLE_HOST) in handleMessage()848 && status.isRoleCombinationSupported(POWER_ROLE_SOURCE, in handleMessage()
247 POWER_ROLE_SOURCE = 1; enumerator
3658 field public static final int POWER_ROLE_SOURCE = 1; // 0x1
3710 field public static final int POWER_ROLE_SOURCE = 1; // 0x1