Home
last modified time | relevance | path

Searched refs:mPreviousFunction (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsControllerTest.java265 assertThat(mDetailsFunctionsController.mPreviousFunction).isEqualTo( in onRadioButtonClicked_functionRndis_startTetheringInvoked()
279 assertThat(mDetailsFunctionsController.mPreviousFunction).isEqualTo( in onRadioButtonClicked_functionNcm_startsTethering()
291 assertThat(mDetailsFunctionsController.mPreviousFunction).isEqualTo( in onRadioButtonClicked_functionOther_setCurrentFunctionInvoked()
300 mDetailsFunctionsController.mPreviousFunction = UsbManager.FUNCTION_ACCESSORY; in onRadioButtonClicked_functionMtp_inAccessoryMode_doNothing()
303 assertThat(mDetailsFunctionsController.mPreviousFunction).isEqualTo( in onRadioButtonClicked_functionMtp_inAccessoryMode_doNothing()
313 mDetailsFunctionsController.mPreviousFunction = function; in onRadioButtonClicked_functionMtp_inAccessoryCombinationsMode_doNothing()
316 assertThat(mDetailsFunctionsController.mPreviousFunction).isEqualTo(function); in onRadioButtonClicked_functionMtp_inAccessoryCombinationsMode_doNothing()
334 mDetailsFunctionsController.mPreviousFunction = UsbManager.FUNCTION_PTP; in onTetheringFailed_resetPreviousFunctions()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbDetailsFunctionsController.java64 long mPreviousFunction; field in UsbDetailsFunctionsController
71 mPreviousFunction = mUsbBackend.getCurrentFunctions(); in UsbDetailsFunctionsController()
142 mPreviousFunction = previousFunction; in onRadioButtonClicked()
147 UsbBackend.usbFunctionsToString(mPreviousFunction)); in onRadioButtonClicked()
189 mUsbBackend.setCurrentFunctions(mPreviousFunction); in onTetheringFailed()