Home
last modified time | relevance | path

Searched refs:combineRolesAsBit (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/usb/java/com/android/server/usb/
DUsbPortManager.java102 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);
104 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);
106 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);
108 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);
481 int supportedRoleCombinations = UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
493 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
495 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
500 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
502 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java95 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported()
DUsbPort.java127 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit() method in UsbPort