Home
last modified time | relevance | path

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

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
H A DUsbBackendTest.java84 .isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE)) in setDataRole_allRolesSupported_shouldSetDataRole()
87 .isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST)) in setDataRole_allRolesSupported_shouldSetDataRole()
90 .isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_DEVICE)) in setDataRole_allRolesSupported_shouldSetDataRole()
93 .isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_HOST)) in setDataRole_allRolesSupported_shouldSetDataRole()
107 .isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE)) in setDataRole_notAllRolesSupported_shouldSetDataAndPowerRole()
110 .isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_HOST)) in setDataRole_notAllRolesSupported_shouldSetDataAndPowerRole()
124 .isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE)) in setPowerRole_allRolesSupported_shouldSetPowerRole()
127 .isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST)) in setPowerRole_allRolesSupported_shouldSetPowerRole()
133 .isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_HOST)) in setPowerRole_allRolesSupported_shouldSetPowerRole()
147 .isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE)) in setPowerRole_notAllRolesSupported_shouldSetDataAndPowerRole()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
H A DUsbBackend.java158 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE) in areAllRolesSupported()
159 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in areAllRolesSupported()
160 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_DEVICE) in areAllRolesSupported()
161 && mPortStatus.isRoleCombinationSupported(POWER_ROLE_SOURCE, DATA_ROLE_HOST); in areAllRolesSupported()
/aosp12/frameworks/base/core/java/android/hardware/usb/
H A DUsbPortStatus.java295 public boolean isRoleCombinationSupported(@UsbPowerRole int powerRole, in isRoleCombinationSupported() method in UsbPortStatus
/aosp12/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbDeviceManager.java927 mSupportsAllCombinations = status.isRoleCombinationSupported( in handleMessage()
929 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_HOST) in handleMessage()
930 && status.isRoleCombinationSupported(POWER_ROLE_SOURCE, in handleMessage()
932 … && status.isRoleCombinationSupported(POWER_ROLE_SINK, DATA_ROLE_DEVICE); in handleMessage()
H A DUsbPortManager.java412 if (!portInfo.mUsbPortStatus.isRoleCombinationSupported(newPowerRole, newDataRole)) { in setPortRoles()
/aosp12/frameworks/base/core/api/
H A Dsystem-current.txt4513 method public boolean isRoleCombinationSupported(int, int);