Searched refs:usbBackend (Results 1 – 5 of 5) 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 | 84 UsbBackend usbBackend, UsbDetailsFragment fragment) { in createControllerList() argument 86 ret.add(new UsbDetailsHeaderController(context, fragment, usbBackend)); in createControllerList() 87 ret.add(new UsbDetailsDataRoleController(context, fragment, usbBackend)); in createControllerList() 88 ret.add(new UsbDetailsFunctionsController(context, fragment, usbBackend)); in createControllerList() 89 ret.add(new UsbDetailsPowerRoleController(context, fragment, usbBackend)); in createControllerList()
|
D | ConnectedUsbDeviceUpdater.java | 64 DevicePreferenceCallback devicePreferenceCallback, UsbBackend usbBackend) { in ConnectedUsbDeviceUpdater() argument 67 mUsbBackend = usbBackend; in ConnectedUsbDeviceUpdater()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/ |
D | UsbDetailsFragment.java | 84 UsbBackend usbBackend, UsbDetailsFragment fragment) { in createControllerList() argument 86 ret.add(new UsbDetailsHeaderController(context, fragment, usbBackend)); in createControllerList() 87 ret.add(new UsbDetailsDataRoleController(context, fragment, usbBackend)); in createControllerList() 88 ret.add(new UsbDetailsFunctionsController(context, fragment, usbBackend)); in createControllerList() 89 ret.add(new UsbDetailsPowerRoleController(context, fragment, usbBackend)); in createControllerList()
|
D | ConnectedUsbDeviceUpdater.java | 64 DevicePreferenceCallback devicePreferenceCallback, UsbBackend usbBackend) { in ConnectedUsbDeviceUpdater() argument 67 mUsbBackend = usbBackend; in ConnectedUsbDeviceUpdater()
|