Searched refs:areAllRolesSupported (Results 1 – 7 of 7) sorted by relevance
71 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()
118 if (!areAllRolesSupported()) { in setPowerRole()137 if (!areAllRolesSupported()) { in setDataRole()154 public boolean areAllRolesSupported() { in areAllRolesSupported() method in UsbBackend
109 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onRadioButtonClicked()
102 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()