Searched refs:onUsbConnectionChanged (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDefaultFragmentTest.java | 205 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedRndis_shouldSetRndis() 219 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedNone_shouldSetNone() 232 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedMtp_shouldSetMtp() 246 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedPtp_shouldSetPtp() 260 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in onPause_receivedMidi_shouldSetMidi() 274 mFragment.mUsbConnectionListener.onUsbConnectionChanged(/* connected */ true, in onPause_receivedNcm_setsNcm() 289 mFragment.mUsbConnectionListener.onUsbConnectionChanged(false /* connected */, in usbIsPluginAndUsbTetheringIsOn_startTetheringIsInvoked() 292 mFragment.mUsbConnectionListener.onUsbConnectionChanged(true /* connected */, in usbIsPluginAndUsbTetheringIsOn_startTetheringIsInvoked() 305 mFragment.mUsbConnectionListener.onUsbConnectionChanged(/* connected */ false, in usbIsPluginAndUsbTetheringIsOn_receivedNcm_startsTethering() 308 mFragment.mUsbConnectionListener.onUsbConnectionChanged(/* connected */ true, in usbIsPluginAndUsbTetheringIsOn_receivedNcm_startsTethering() [all …]
|
D | UsbConnectionBroadcastReceiverTest.java | 72 verify(mListener).onUsbConnectionChanged(true /* connected */, UsbManager.FUNCTION_NONE, in onReceive_usbConnected_invokeCallback() 85 verify(mListener).onUsbConnectionChanged(false /* connected */, UsbManager.FUNCTION_NONE, in onReceive_usbDisconnected_invokeCallback() 100 verify(mListener).onUsbConnectionChanged(true /* connected */, UsbManager.FUNCTION_MTP, in onReceive_usbConnectedMtpEnabled_invokeCallback() 115 verify(mListener).onUsbConnectionChanged(/* connected */ true, UsbManager.FUNCTION_NCM, in onReceive_usbConnectedNcmEnabled_invokesCallback() 131 verify(mListener).onUsbConnectionChanged(false /* connected */, UsbManager.FUNCTION_NONE, in onReceive_usbPortStatus_invokesCallback() 144 verify(mListener).onUsbConnectionChanged(true /* connected */, UsbManager.FUNCTION_NONE, in onReceive_usbConfiguredIsFalse_invokesCallback()
|
D | ConnectedUsbDeviceUpdaterTest.java | 98 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/ |
D | UsbConnectionBroadcastReceiver.java | 105 mUsbConnectionListener.onUsbConnectionChanged(mConnected, mFunctions, mPowerRole, in onReceive() 150 void onUsbConnectionChanged(boolean connected, long functions, int powerRole, int dataRole, in onUsbConnectionChanged() method
|