Searched refs:mPreviousFunction (Results 1 – 2 of 2) sorted by relevance
265 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()
64 long mPreviousFunction; field in UsbDetailsFunctionsController71 mPreviousFunction = mUsbBackend.getCurrentFunctions(); in UsbDetailsFunctionsController()142 mPreviousFunction = previousFunction; in onRadioButtonClicked()147 UsbBackend.usbFunctionsToString(mPreviousFunction)); in onRadioButtonClicked()189 mUsbBackend.setCurrentFunctions(mPreviousFunction); in onTetheringFailed()