Searched refs:mDisconnectedReceiver (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
D | UsbDebuggingSecondaryUserActivity.java | 35 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()
|
D | UsbDebuggingActivity.java | 51 private UsbDisconnectedReceiver mDisconnectedReceiver; field in UsbDebuggingActivity 63 mDisconnectedReceiver = new UsbDisconnectedReceiver(this); in onCreate() 141 registerReceiver(mDisconnectedReceiver, filter); in onStart() 146 if (mDisconnectedReceiver != null) { in onStop() 147 unregisterReceiver(mDisconnectedReceiver); in onStop()
|
D | UsbResolverActivity.java | 51 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()
|
D | UsbConfirmActivity.java | 56 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()
|
D | UsbPermissionActivity.java | 59 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/ |
D | StorageBrowser.java | 45 private DeviceDisconnectedReceiver mDisconnectedReceiver; field in StorageBrowser 97 mDisconnectedReceiver = new DeviceDisconnectedReceiver(this, mDeviceName); in onCreate() 109 unregisterReceiver(mDisconnectedReceiver); in onDestroy()
|
D | ObjectBrowser.java | 52 private DeviceDisconnectedReceiver mDisconnectedReceiver; field in ObjectBrowser 115 mDisconnectedReceiver = new DeviceDisconnectedReceiver(this, mDeviceName); in onCreate() 128 unregisterReceiver(mDisconnectedReceiver); in onDestroy()
|
D | ObjectViewer.java | 56 private DeviceDisconnectedReceiver mDisconnectedReceiver; field in ObjectViewer 109 mDisconnectedReceiver = new DeviceDisconnectedReceiver(this, mDeviceName); in onCreate() 166 unregisterReceiver(mDisconnectedReceiver); in onDestroy()
|