Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/connecteddevice/usb/
DConnectedUsbDeviceUpdater.java43 UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdater
68 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, in ConnectedUsbDeviceUpdater()
74 mUsbReceiver.register(); in registerCallback()
78 mUsbReceiver.unregister(); in unregisterCallback()
101 mUsbReceiver.register(); in forceUpdate()
DUsbDetailsFragment.java48 UsbConnectionBroadcastReceiver mUsbReceiver; field in UsbDetailsFragment
76 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in createPreferenceControllers()
78 this.getSettingsLifecycle().addObserver(mUsbReceiver); in createPreferenceControllers()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/connecteddevice/usb/
DConnectedUsbDeviceUpdater.java43 UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdater
68 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, in ConnectedUsbDeviceUpdater()
74 mUsbReceiver.register(); in registerCallback()
78 mUsbReceiver.unregister(); in unregisterCallback()
101 mUsbReceiver.register(); in forceUpdate()
DUsbDetailsFragment.java48 UsbConnectionBroadcastReceiver mUsbReceiver; field in UsbDetailsFragment
76 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in createPreferenceControllers()
78 this.getSettingsLifecycle().addObserver(mUsbReceiver); in createPreferenceControllers()
/packages/apps/Settings/tests/robotests/src/com/android/settings/connecteddevice/usb/
DConnectedUsbDeviceUpdaterTest.java53 private UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdaterTest
68 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.java561 if (getActivity().registerReceiver(mUsbReceiver, filter) == null) { in onCreateView()
571 getActivity().unregisterReceiver(mUsbReceiver); in onDestroyView()
1635 private BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { field in DevelopmentFragment