Home
last modified time | relevance | path

Searched refs:mUsbDeviceConnectionReceiver (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DAccessoryTestCompanion.java49 private BroadcastReceiver mUsbDeviceConnectionReceiver; field in AccessoryTestCompanion
65 mUsbDeviceConnectionReceiver = new BroadcastReceiver() { in runTest()
101 getContext().registerReceiver(mUsbDeviceConnectionReceiver, filter); in runTest()
277 getContext().unregisterReceiver(mUsbDeviceConnectionReceiver); in onDeviceAccessPermitted()
278 mUsbDeviceConnectionReceiver = null; in onDeviceAccessPermitted()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/
DUsbDeviceTestActivity.java81 private BroadcastReceiver mUsbDeviceConnectionReceiver; field in UsbDeviceTestActivity
130 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()