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.java100 UsbPort.combineRolesAsBit(POWER_ROLE_SOURCE, DATA_ROLE_HOST);
101 private static final int COMBO_SOURCE_DEVICE = UsbPort.combineRolesAsBit(
104 UsbPort.combineRolesAsBit(POWER_ROLE_SINK, DATA_ROLE_HOST);
105 private static final int COMBO_SINK_DEVICE = UsbPort.combineRolesAsBit(
879 int supportedRoleCombinations = UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
891 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
893 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
898 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
900 supportedRoleCombinations |= UsbPort.combineRolesAsBit( in addOrUpdatePortLocked()
/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java297 UsbPort.combineRolesAsBit(powerRole, dataRole)) != 0; in isRoleCombinationSupported()
DUsbPort.java195 public static int combineRolesAsBit(int powerRole, int dataRole) { in combineRolesAsBit() method in UsbPort