Searched refs:mUsbDeviceConnectionReceiver (Results 1 – 2 of 2) sorted by relevance
49 private BroadcastReceiver mUsbDeviceConnectionReceiver; field in AccessoryTestCompanion65 mUsbDeviceConnectionReceiver = new BroadcastReceiver() { in runTest()101 getContext().registerReceiver(mUsbDeviceConnectionReceiver, filter); in runTest()277 getContext().unregisterReceiver(mUsbDeviceConnectionReceiver); in onDeviceAccessPermitted()278 mUsbDeviceConnectionReceiver = null; in onDeviceAccessPermitted()
81 private BroadcastReceiver mUsbDeviceConnectionReceiver; field in UsbDeviceTestActivity130 mUsbDeviceConnectionReceiver = new BroadcastReceiver() { in onCreate()178 unregisterReceiver(mUsbDeviceConnectionReceiver); in onCreate()179 mUsbDeviceConnectionReceiver = null; in onCreate()200 registerReceiver(mUsbDeviceConnectionReceiver, filter, Context.RECEIVER_EXPORTED); in onCreate()2322 if (mUsbDeviceConnectionReceiver != null) { in onDestroy()2323 unregisterReceiver(mUsbDeviceConnectionReceiver); in onDestroy()