Searched refs:usbBackend (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbBackendTest.java | 81 final UsbBackend usbBackend = new UsbBackend(mContext, mUserManager); in setDataRole_allRolesSupported_shouldSetDataRole() local 97 usbBackend.setDataRole(DATA_ROLE_HOST); in setDataRole_allRolesSupported_shouldSetDataRole() 104 final UsbBackend usbBackend = new UsbBackend(mContext, mUserManager); in setDataRole_notAllRolesSupported_shouldSetDataAndPowerRole() local 114 usbBackend.setDataRole(DATA_ROLE_HOST); in setDataRole_notAllRolesSupported_shouldSetDataAndPowerRole() 121 final UsbBackend usbBackend = new UsbBackend(mContext, mUserManager); in setPowerRole_allRolesSupported_shouldSetPowerRole() local 137 usbBackend.setPowerRole(POWER_ROLE_SOURCE); in setPowerRole_allRolesSupported_shouldSetPowerRole() 144 final UsbBackend usbBackend = new UsbBackend(mContext, mUserManager); in setPowerRole_notAllRolesSupported_shouldSetDataAndPowerRole() local 154 usbBackend.setPowerRole(POWER_ROLE_SOURCE); in setPowerRole_notAllRolesSupported_shouldSetDataAndPowerRole() 167 final UsbBackend usbBackend = new UsbBackend(mContext, mUserManager); in areFunctionsSupported_fileTransferDisallowed_shouldReturnFalse() local 169 assertThat(usbBackend.areFunctionsSupported(UsbManager.FUNCTION_MTP)).isFalse(); in areFunctionsSupported_fileTransferDisallowed_shouldReturnFalse() [all …]
|
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/ |
D | UsbDetailsFragment.java | 92 UsbBackend usbBackend, UsbDetailsFragment fragment) { in createControllerList() argument 94 ret.add(new UsbDetailsHeaderController(context, fragment, usbBackend)); in createControllerList() 95 ret.add(new UsbDetailsDataRoleController(context, fragment, usbBackend)); in createControllerList() 96 ret.add(new UsbDetailsFunctionsController(context, fragment, usbBackend)); in createControllerList() 97 ret.add(new UsbDetailsPowerRoleController(context, fragment, usbBackend)); in createControllerList() 98 ret.add(new UsbDetailsTranscodeMtpController(context, fragment, usbBackend)); in createControllerList()
|
D | ConnectedUsbDeviceUpdater.java | 75 DevicePreferenceCallback devicePreferenceCallback, UsbBackend usbBackend) { in ConnectedUsbDeviceUpdater() argument 78 mUsbBackend = usbBackend; in ConnectedUsbDeviceUpdater()
|