Searched refs:areAllRolesSupported (Results 1 – 5 of 5) sorted by relevance
98 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_noUsbConnection_shouldDisablePrefCategory()108 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_noDataTransfer_shouldDisablePrefCategory()118 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_noDataRole_shouldDisablePrefCategory()129 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_fileTransfer_withAbsentProp_shouldCheck()141 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_fileTransfer_withUnsetProp_shouldUncheck()153 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_fileTransfer_withSetProp_shouldCheck()
108 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_sink_shouldUncheck()121 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_source_shouldCheck()133 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_disconnected_shouldDisable()146 when(mUsbBackend.areAllRolesSupported()).thenReturn(false); in displayRefresh_notSupported_shouldRemove()
74 if (connected && !mUsbBackend.areAllRolesSupported()) { in refresh()76 } else if (connected && mUsbBackend.areAllRolesSupported()) { in refresh()118 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onPreferenceClick()
124 if (!areAllRolesSupported()) { in setPowerRole()143 if (!areAllRolesSupported()) { in setDataRole()160 public boolean areAllRolesSupported() { in areAllRolesSupported() method in UsbBackend
110 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onRadioButtonClicked()