Home
last modified time | relevance | path

Searched refs:getDataRole (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsDataRoleControllerTest.java138 when(mUsbBackend.getDataRole()).thenReturn(DATA_ROLE_HOST); in onClickDevice_hostEnabled_shouldSetDevice()
150 when(mUsbBackend.getDataRole()).thenReturn(DATA_ROLE_HOST); in onClickDeviceTwice_hostEnabled_shouldSetDeviceOnce()
163 when(mUsbBackend.getDataRole()).thenReturn(DATA_ROLE_HOST); in onClickDeviceAndRefresh_success_shouldClearSubtext()
180 when(mUsbBackend.getDataRole()).thenReturn(DATA_ROLE_HOST); in onClickDeviceAndRefresh_failed_shouldShowFailureText()
198 when(mUsbBackend.getDataRole()).thenReturn(DATA_ROLE_HOST); in onClickDevice_timedOut_shouldShowFailureText()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbBackend.java117 public int getDataRole() { in getDataRole() method in UsbBackend
123 int newDataRole = getDataRole(); in setPowerRole()
DUsbDetailsDataRoleController.java103 if (role != mUsbBackend.getDataRole() && mNextRolePref == null in onRadioButtonClicked()
DUsbConnectionBroadcastReceiver.java94 mDataRole = mUsbBackend.getDataRole(); in onReceive()