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.java98 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()
DUsbDetailsPowerRoleControllerTest.java108 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()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsPowerRoleController.java74 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()
DUsbBackend.java124 if (!areAllRolesSupported()) { in setPowerRole()
143 if (!areAllRolesSupported()) { in setDataRole()
160 public boolean areAllRolesSupported() { in areAllRolesSupported() method in UsbBackend
DUsbDetailsDataRoleController.java110 mUsbBackend.areAllRolesSupported() ? UsbBackend.PD_ROLE_SWAP_TIMEOUT_MS in onRadioButtonClicked()