Searched refs:setCurrentFunctions (Results 1 – 4 of 4) sorted by relevance
157 verify(mUsbBackend).setCurrentFunctions(UsbManager.FUNCTION_MTP); in onClickMtp_noneEnabled_shouldEnableMtp()176 verify(mUsbBackend).setCurrentFunctions(UsbManager.FUNCTION_MTP); in onClickMtp_ptpEnabled_shouldEnableMtp()198 verify(mUsbBackend).setCurrentFunctions(UsbManager.FUNCTION_NONE); in onClickNone_mtpEnabled_shouldDisableMtp()
76 public void setCurrentFunctions(long functions) { in setCurrentFunctions() method in UsbBackend77 mUsbManager.setCurrentFunctions(functions); in setCurrentFunctions()
101 mUsbBackend.setCurrentFunctions(function); in onRadioButtonClicked()
1270 manager.setCurrentFunctions(UsbManager.usbFunctionsFromString(function)); in writeUsbConfigurationOption()