Searched refs:isRoleCombinationSupported (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbPortStatus.java | 573 public boolean isRoleCombinationSupported(@UsbPowerRole int powerRole, in isRoleCombinationSupported() method in UsbPortStatus 588 return isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE) in isPdCompliant() 589 && isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in isPdCompliant() 590 && isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_DEVICE) in isPdCompliant() 591 && isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_HOST); in isPdCompliant()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbDeviceManager.java | 1163 mSupportsAllCombinations = status.isRoleCombinationSupported( in handleMessage() 1165 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage() 1166 && status.isRoleCombinationSupported(POWER_ROLE_SOURCE, in handleMessage() 1168 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
|
D | UsbPortManager.java | 583 if (!portInfo.mUsbPortStatus.isRoleCombinationSupported(newPowerRole, newDataRole)) { in setPortRoles()
|
/frameworks/base/core/api/ |
D | system-current.txt | 6874 method public boolean isRoleCombinationSupported(int, int);
|