Home
last modified time | relevance | path

Searched refs:onUsbConnectionChanged (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DUsbDefaultFragmentTest.java206 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedRndis_shouldSetRndis()
218 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedNone_shouldSetNone()
230 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedMtp_shouldSetMtp()
242 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedPtp_shouldSetPtp()
254 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedMidi_shouldSetMidi()
266 mFragment.mUsbConnectionListener.onUsbConnectionChanged(/* connected */ true, in onPause_receivedNcm_setsNcm()
279 mFragment.mUsbConnectionListener.onUsbConnectionChanged(false /* connected */, in usbIsPluginAndUsbTetheringIsOn_startTetheringIsInvoked()
281 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in usbIsPluginAndUsbTetheringIsOn_startTetheringIsInvoked()
293 mFragment.mUsbConnectionListener.onUsbConnectionChanged(/* connected */ false, in usbIsPluginAndUsbTetheringIsOn_receivedNcm_startsTethering()
295 mFragment.mUsbConnectionListener.onUsbConnectionChanged(/* connected */ true, in usbIsPluginAndUsbTetheringIsOn_receivedNcm_startsTethering()
[all …]
DUsbConnectionBroadcastReceiverTest.java71 verify(mListener).onUsbConnectionChanged(true /* connected */, UsbManager.FUNCTION_NONE, in onReceive_usbConnected_invokeCallback()
83 verify(mListener).onUsbConnectionChanged(false /* connected */, UsbManager.FUNCTION_NONE, in onReceive_usbDisconnected_invokeCallback()
97 verify(mListener).onUsbConnectionChanged(true /* connected */, UsbManager.FUNCTION_MTP, in onReceive_usbConnectedMtpEnabled_invokeCallback()
111 verify(mListener).onUsbConnectionChanged(/* connected */ true, UsbManager.FUNCTION_NCM, in onReceive_usbConnectedNcmEnabled_invokesCallback()
126 verify(mListener).onUsbConnectionChanged(false /* connected */, UsbManager.FUNCTION_NONE, in onReceive_usbPortStatus_invokeCallback()
DConnectedUsbDeviceUpdaterTest.java99 mDeviceUpdater.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in initUsbPreference_usbConnected_preferenceAdded()
108 mDeviceUpdater.mUsbConnectionListener.onUsbConnectionChanged(false /* connected */, in initUsbPreference_usbDisconnected_preferenceRemoved()
/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DUsbConnectionBroadcastReceiver.java93 mUsbConnectionListener.onUsbConnectionChanged(mConnected, mFunctions, mPowerRole, in onReceive()
138 void onUsbConnectionChanged(boolean connected, long functions, int powerRole, int dataRole); in onUsbConnectionChanged() method