Searched refs:mUsbConnectionListener (Results 1 – 6 of 6) sorted by relevance
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/ |
D | UsbDefaultFragmentTest.java | 206 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 …]
|
D | ConnectedUsbDeviceUpdaterTest.java | 99 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 | 35 private UsbConnectionListener mUsbConnectionListener; field in UsbConnectionBroadcastReceiver 47 mUsbConnectionListener = usbConnectionListener; in UsbConnectionBroadcastReceiver() 92 if (mUsbConnectionListener != null) { in onReceive() 93 mUsbConnectionListener.onUsbConnectionChanged(mConnected, mFunctions, mPowerRole, in onReceive()
|
D | UsbDetailsFragment.java | 52 private UsbConnectionBroadcastReceiver.UsbConnectionListener mUsbConnectionListener = field in UsbDetailsFragment 84 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in createPreferenceControllers()
|
D | ConnectedUsbDeviceUpdater.java | 57 UsbConnectionBroadcastReceiver.UsbConnectionListener mUsbConnectionListener = field in ConnectedUsbDeviceUpdater 80 mUsbConnectionListener, mUsbBackend); in ConnectedUsbDeviceUpdater()
|
D | UsbDefaultFragment.java | 71 UsbConnectionBroadcastReceiver.UsbConnectionListener mUsbConnectionListener = field in UsbDefaultFragment 98 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in onAttach()
|