Searched refs:mUsbReceiver (Results 1 – 8 of 8) sorted by relevance
43 UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdater68 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, in ConnectedUsbDeviceUpdater()74 mUsbReceiver.register(); in registerCallback()78 mUsbReceiver.unregister(); in unregisterCallback()101 mUsbReceiver.register(); in forceUpdate()
48 UsbConnectionBroadcastReceiver mUsbReceiver; field in UsbDetailsFragment76 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in createPreferenceControllers()78 this.getSettingsLifecycle().addObserver(mUsbReceiver); in createPreferenceControllers()
53 private UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdaterTest68 mDeviceUpdater.mUsbReceiver = mUsbReceiver; in setUp()
68 private final BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { field in MtpClient173 context.registerReceiver(mUsbReceiver, filter); in MtpClient()217 mContext.unregisterReceiver(mUsbReceiver); in close()
71 private final BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { field in MtpClient175 context.registerReceiver(mUsbReceiver, filter); in MtpClient()219 mContext.unregisterReceiver(mUsbReceiver); in close()
560 if (getActivity().registerReceiver(mUsbReceiver, filter) == null) { in onCreateView()570 getActivity().unregisterReceiver(mUsbReceiver); in onDestroyView()1651 private BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { field in DevelopmentFragment