Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
DUsbDebuggingSecondaryUserActivity.java35 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbDebuggingSecondaryUserActivity
42 mDisconnectedReceiver = new UsbDisconnectedReceiver(this); in onCreate()
77 registerReceiver(mDisconnectedReceiver, filter); in onStart()
82 if (mDisconnectedReceiver != null) { in onStop()
83 unregisterReceiver(mDisconnectedReceiver); in onStop()
DUsbDebuggingActivity.java51 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbDebuggingActivity
63 mDisconnectedReceiver = new UsbDisconnectedReceiver(this); in onCreate()
140 registerReceiver(mDisconnectedReceiver, filter); in onStart()
145 if (mDisconnectedReceiver != null) { in onStop()
146 unregisterReceiver(mDisconnectedReceiver); in onStop()
DUsbResolverActivity.java51 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbResolverActivity
90 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); in onCreate()
98 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mAccessory); in onCreate()
137 if (mDisconnectedReceiver != null) { in onDestroy()
138 unregisterReceiver(mDisconnectedReceiver); in onDestroy()
DUsbConfirmActivity.java56 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbConfirmActivity
75 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mAccessory); in onCreate()
79 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); in onCreate()
109 if (mDisconnectedReceiver != null) { in onDestroy()
110 unregisterReceiver(mDisconnectedReceiver); in onDestroy()
DUsbPermissionActivity.java59 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbPermissionActivity
89 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mAccessory); in onCreate()
93 mDisconnectedReceiver = new UsbDisconnectedReceiver(this, mDevice); in onCreate()
159 if (mDisconnectedReceiver != null) { in onDestroy()
160 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()