Searched refs:isRoleCombinationSupported (Results 1 – 4 of 4) sorted by relevance
381 public boolean isRoleCombinationSupported(@UsbPowerRole int powerRole, in isRoleCombinationSupported() method in UsbPortStatus
969 mSupportsAllCombinations = status.isRoleCombinationSupported( in handleMessage()971 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()972 && status.isRoleCombinationSupported(POWER_ROLE_SOURCE, in handleMessage()974 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
559 if (!portInfo.mUsbPortStatus.isRoleCombinationSupported(newPowerRole, newDataRole)) { in setPortRoles()
5403 method public boolean isRoleCombinationSupported(int, int);