Home
last modified time | relevance | path

Searched refs:areAllRolesSupported (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DUsbDetailsPowerRoleController.java71 if (connected && !mUsbBackend.areAllRolesSupported()) { in refresh()
73 } else if (connected && mUsbBackend.areAllRolesSupported()) { in refresh()
115 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onPreferenceClick()
DUsbBackend.java118 if (!areAllRolesSupported()) { in setPowerRole()
137 if (!areAllRolesSupported()) { in setDataRole()
154 public boolean areAllRolesSupported() { in areAllRolesSupported() method in UsbBackend
DUsbDetailsDataRoleController.java109 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onRadioButtonClicked()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsPowerRoleController.java71 if (connected && !mUsbBackend.areAllRolesSupported()) { in refresh()
73 } else if (connected && mUsbBackend.areAllRolesSupported()) { in refresh()
115 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onPreferenceClick()
DUsbBackend.java118 if (!areAllRolesSupported()) { in setPowerRole()
137 if (!areAllRolesSupported()) { in setDataRole()
154 public boolean areAllRolesSupported() { in areAllRolesSupported() method in UsbBackend
DUsbDetailsDataRoleController.java109 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onRadioButtonClicked()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsPowerRoleControllerTest.java102 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_sink_shouldUncheck()
114 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_source_shouldCheck()
126 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_disconnected_shouldDisable()
139 when(mUsbBackend.areAllRolesSupported()).thenReturn(false); in displayRefresh_notSupported_shouldRemove()