Searched refs:isRoleCombinationSupported (Results 1 – 4 of 4) sorted by relevance
521 public boolean isRoleCombinationSupported(@UsbPowerRole int powerRole, in isRoleCombinationSupported() method in UsbPortStatus
1037 mSupportsAllCombinations = status.isRoleCombinationSupported( in handleMessage()1039 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()1040 && status.isRoleCombinationSupported(POWER_ROLE_SOURCE, in handleMessage()1042 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
573 if (!portInfo.mUsbPortStatus.isRoleCombinationSupported(newPowerRole, newDataRole)) { in setPortRoles()
6126 method public boolean isRoleCombinationSupported(int, int);