Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsTranscodeMtpControllerTest.java88 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_noUsbConnection_shouldDisablePrefCategory()
99 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_noDataTransfer_shouldDisablePrefCategory()
110 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_noDataRole_shouldDisablePrefCategory()
121 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_fileTransfer_withAbsentProp_shouldCheck()
133 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_fileTransfer_withUnsetProp_shouldUncheck()
145 when(mUsbBackend.areAllRolesSupported()).thenReturn(true); in displayRefresh_fileTransfer_withSetProp_shouldCheck()
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()
/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.java120 if (!areAllRolesSupported()) { in setPowerRole()
139 if (!areAllRolesSupported()) { in setDataRole()
156 public boolean areAllRolesSupported() { in areAllRolesSupported() method in UsbBackend
DUsbDetailsDataRoleController.java109 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onRadioButtonClicked()