Searched refs:mUsbReceiver (Results 1 – 7 of 7) sorted by relevance
54 UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdater79 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, in ConnectedUsbDeviceUpdater()87 mUsbReceiver.register(); in registerCallback()91 mUsbReceiver.unregister(); in unregisterCallback()118 mUsbReceiver.register(); in forceUpdate()
50 UsbConnectionBroadcastReceiver mUsbReceiver; field in UsbDetailsFragment84 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in createPreferenceControllers()86 this.getSettingsLifecycle().addObserver(mUsbReceiver); in createPreferenceControllers()
67 private UsbConnectionBroadcastReceiver mUsbReceiver; field in UsbDefaultFragment98 mUsbReceiver = new UsbConnectionBroadcastReceiver(context, mUsbConnectionListener, in onAttach()101 getSettingsLifecycle().addObserver(mUsbReceiver); in onAttach()
59 private UsbConnectionBroadcastReceiver mUsbReceiver; field in ConnectedUsbDeviceUpdaterTest77 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()
612 if (getActivity().registerReceiver(mUsbReceiver, filter) == null) { in onCreateView()622 getActivity().unregisterReceiver(mUsbReceiver); in onDestroyView()1771 private final BroadcastReceiver mUsbReceiver = new BroadcastReceiver() { field in DevelopmentFragment