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.java94 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_HOST);
96 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SOURCE, UsbPort.DATA_ROLE_DEVICE);
98 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_HOST);
100 UsbPort.combineRolesAsBit(UsbPort.POWER_ROLE_SINK, UsbPort.DATA_ROLE_DEVICE);
473 int supportedRoleCombinations = UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
485 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
487 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
492 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
494 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