Home
last modified time | relevance | path

Searched refs:mUsbReceiver (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DConnectedUsbDeviceUpdater.java54 UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdater
79 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, in ConnectedUsbDeviceUpdater()
87 mUsbReceiver.register(); in registerCallback()
91 mUsbReceiver.unregister(); in unregisterCallback()
118 mUsbReceiver.register(); in forceUpdate()
DUsbDetailsFragment.java50 UsbConnectionBroadcastReceiver mUsbReceiver; field in UsbDetailsFragment
84 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in createPreferenceControllers()
86 this.getSettingsLifecycle().addObserver(mUsbReceiver); in createPreferenceControllers()
DUsbDefaultFragment.java67 private UsbConnectionBroadcastReceiver mUsbReceiver; field in UsbDefaultFragment
98 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in onAttach()
101 getSettingsLifecycle().addObserver(mUsbReceiver); in onAttach()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DConnectedUsbDeviceUpdaterTest.java59 private UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdaterTest
77 mDeviceUpdater.mUsbReceiver = mUsbReceiver; in setUp()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpClient.java68 private final BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { field in MtpClient
173 context.registerReceiver(mUsbReceiver, filter); in MtpClient()
217 mContext.unregisterReceiver(mUsbReceiver); in close()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java71 private final BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { field in MtpClient
175 context.registerReceiver(mUsbReceiver, filter); in MtpClient()
219 mContext.unregisterReceiver(mUsbReceiver); in close()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java612 if (getActivity().registerReceiver(mUsbReceiver, filter) == null) { in onCreateView()
622 getActivity().unregisterReceiver(mUsbReceiver); in onDestroyView()
1771 private final BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { field in DevelopmentFragment