Home
last modified time | relevance | path

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

/aosp14/frameworks/base/core/java/android/hardware/usb/
H A DUsbPortStatus.java521 public boolean isRoleCombinationSupported(@UsbPowerRole int powerRole, in isRoleCombinationSupported() method in UsbPortStatus
/aosp14/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java1037 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()
H A DUsbPortManager.java573 if (!portInfo.mUsbPortStatus.isRoleCombinationSupported(newPowerRole, newDataRole)) { in setPortRoles()
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt6126 method public boolean isRoleCombinationSupported(int, int);