Home
last modified time | relevance | path

Searched refs:isRoleCombinationSupported (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/hardware/usb/
DUsbPortStatus.java294 public boolean isRoleCombinationSupported(@UsbPowerRole int powerRole, in isRoleCombinationSupported() method in UsbPortStatus
/frameworks/base/services/usb/java/com/android/server/usb/
DUsbDeviceManager.java840 mSupportsAllCombinations = status.isRoleCombinationSupported( in handleMessage()
842 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()
843 && status.isRoleCombinationSupported(POWER_ROLE_SOURCE, in handleMessage()
845 && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
DUsbPortManager.java359 if (!portInfo.mUsbPortStatus.isRoleCombinationSupported(newPowerRole, newDataRole)) { in setPortRoles()
/frameworks/base/api/
Dsystem-current.txt3047 method public boolean isRoleCombinationSupported(int, int);