Home
last modified time | relevance | path

Searched refs:mDisconnectedReceiver (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingSecondaryUserActivity.java45 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbDebuggingSecondaryUserActivity
60 mDisconnectedReceiver = new UsbDisconnectedReceiver(this); in onCreate()
93 if (mDisconnectedReceiver != null) { in onStart()
95 mBroadcastDispatcher.registerReceiver(mDisconnectedReceiver, filter); in onStart()
101 if (mDisconnectedReceiver != null) { in onStop()
102 mBroadcastDispatcher.unregisterReceiver(mDisconnectedReceiver); in onStop()
DUsbDebuggingActivity.java52 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbDebuggingActivity
74 mDisconnectedReceiver = new UsbDisconnectedReceiver(this); in onCreate()
76 mBroadcastDispatcher.registerReceiver(mDisconnectedReceiver, filter); in onCreate()
135 if (mDisconnectedReceiver != null) { in onDestroy()
136 mBroadcastDispatcher.unregisterReceiver(mDisconnectedReceiver); in onDestroy()
DUsbDialogHelper.java58 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbDialogHelper
108 mDisconnectedReceiver = new UsbDisconnectedReceiver(activity, mDevice); in registerUsbDisconnectedReceiver()
110 mDisconnectedReceiver = new UsbDisconnectedReceiver(activity, mAccessory); in registerUsbDisconnectedReceiver()
119 if (mDisconnectedReceiver != null) { in unregisterUsbDisconnectedReceiver()
121 activity.unregisterReceiver(mDisconnectedReceiver); in unregisterUsbDisconnectedReceiver()
125 mDisconnectedReceiver = null; in unregisterUsbDisconnectedReceiver()
DUsbResolverActivity.java54 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbResolverActivity
97 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); in onCreate()
107 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mAccessory); in onCreate()
151 if (mDisconnectedReceiver != null) { in onDestroy()
152 unregisterReceiver(mDisconnectedReceiver); in onDestroy()
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DStorageBrowser.java45 private DeviceDisconnectedReceiver mDisconnectedReceiver; field in StorageBrowser
97 mDisconnectedReceiver = new DeviceDisconnectedReceiver(this, mDeviceName); in onCreate()
109 unregisterReceiver(mDisconnectedReceiver); in onDestroy()
DObjectBrowser.java52 private DeviceDisconnectedReceiver mDisconnectedReceiver; field in ObjectBrowser
115 mDisconnectedReceiver = new DeviceDisconnectedReceiver(this, mDeviceName); in onCreate()
128 unregisterReceiver(mDisconnectedReceiver); in onDestroy()
DObjectViewer.java56 private DeviceDisconnectedReceiver mDisconnectedReceiver; field in ObjectViewer
109 mDisconnectedReceiver = new DeviceDisconnectedReceiver(this, mDeviceName); in onCreate()
166 unregisterReceiver(mDisconnectedReceiver); in onDestroy()