/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WpsDialog.java | 63 private BroadcastReceiver mReceiver; field in WpsDialog 125 mReceiver = new BroadcastReceiver() { in WpsDialog() 181 mContext.registerReceiver(mReceiver, mFilter); in onStart() 194 if (mReceiver != null) { in onStop() 195 mContext.unregisterReceiver(mReceiver); in onStop() 196 mReceiver = null; in onStop() 224 if (mReceiver != null) { in updateDialog() 225 mContext.unregisterReceiver(mReceiver); in updateDialog() 226 mReceiver = null; in updateDialog()
|
D | WifiEnabler.java | 47 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in WifiEnabler 81 mContext.registerReceiver(mReceiver, mIntentFilter); in resume() 86 mContext.unregisterReceiver(mReceiver); in pause()
|
D | WifiApEnabler.java | 53 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in WifiApEnabler 92 mContext.registerReceiver(mReceiver, mIntentFilter); in resume() 97 mContext.unregisterReceiver(mReceiver); in pause()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
D | StorageMeasurement.java | 151 private volatile WeakReference<MeasurementReceiver> mReceiver; field in StorageMeasurement 178 if (mReceiver == null || mReceiver.get() == null) { in setReceiver() 179 mReceiver = new WeakReference<MeasurementReceiver>(receiver); in setReceiver() 190 mReceiver = null; in cleanUp() 200 MeasurementReceiver receiver = (mReceiver != null) ? mReceiver.get() : null; in sendInternalApproximateUpdate() 208 MeasurementReceiver receiver = (mReceiver != null) ? mReceiver.get() : null; in sendExactUpdate()
|
/packages/services/Telephony/src/com/android/phone/ |
D | HfaLogic.java | 69 private BroadcastReceiver mReceiver; field in HfaLogic 168 mReceiver = new BroadcastReceiver() { in startHfaIntentReceiver() 181 mContext.registerReceiver(mReceiver, filter); in startHfaIntentReceiver() 185 if (mReceiver != null) { in stopHfaIntentReceiver() 186 mContext.unregisterReceiver(mReceiver); in stopHfaIntentReceiver() 187 mReceiver = null; in stopHfaIntentReceiver()
|
D | WiredHeadsetManager.java | 45 private final WiredHeadsetBroadcastReceiver mReceiver; field in WiredHeadsetManager 49 mReceiver = new WiredHeadsetBroadcastReceiver(); in WiredHeadsetManager() 53 context.registerReceiver(mReceiver, intentFilter); in WiredHeadsetManager()
|
/packages/apps/Nfc/src/com/android/nfc/ |
D | RegisteredComponentCache.java | 51 final AtomicReference<BroadcastReceiver> mReceiver; field in RegisteredComponentCache 69 mReceiver = new AtomicReference<BroadcastReceiver>(receiver); in RegisteredComponentCache() 125 final BroadcastReceiver receiver = mReceiver.getAndSet(null); in close() 133 if (mReceiver.get() != null) { in finalize()
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | LocationSettings.java | 65 private BroadcastReceiver mReceiver; field in LocationSettings 83 getActivity().unregisterReceiver(mReceiver); in onPause() 180 mReceiver = new BroadcastReceiver() { in addLocationServices() 193 context.registerReceiver(mReceiver, filter); in addLocationServices()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 56 final AtomicReference<BroadcastReceiver> mReceiver; field in RegisteredServicesCache 113 mReceiver = new AtomicReference<BroadcastReceiver>(receiver); in RegisteredServicesCache() 123 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, intentFilter, null, null); in RegisteredServicesCache() 129 mContext.registerReceiverAsUser(mReceiver.get(), UserHandle.ALL, sdFilter, null, null); in RegisteredServicesCache()
|
D | TapAgainDialog.java | 49 final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in TapAgainDialog 70 registerReceiver(mReceiver, filter); in onCreate() 103 unregisterReceiver(mReceiver); in onDestroy()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageGallery.java | 87 private BroadcastReceiver mReceiver = null; field in ImageGallery 366 if (mReceiver != null) { 367 unregisterReceiver(mReceiver); 368 mReceiver = null; 449 mReceiver = new BroadcastReceiver() { 470 registerReceiver(mReceiver, intentFilter);
|
/packages/apps/Settings/src/com/android/settings/ |
D | NsdEnabler.java | 39 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in NsdEnabler 58 mContext.registerReceiver(mReceiver, mIntentFilter); in resume() 63 mContext.unregisterReceiver(mReceiver); in pause()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothPairingDialog.java | 68 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothPairingDialog 158 registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_PAIRING_CANCEL)); in onCreate() 159 registerReceiver(mReceiver, new IntentFilter(BluetoothDevice.ACTION_BOND_STATE_CHANGED)); in onCreate() 300 unregisterReceiver(mReceiver); in onDestroy()
|
D | BluetoothEnabler.java | 44 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothEnabler 79 mContext.registerReceiver(mReceiver, mIntentFilter); in resume() 89 mContext.unregisterReceiver(mReceiver); in pause()
|
D | BluetoothNameDialogFragment.java | 68 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothNameDialogFragment 167 getActivity().registerReceiver(mReceiver, filter); in onResume() 173 getActivity().unregisterReceiver(mReceiver); in onPause()
|
D | RequestPermissionActivity.java | 74 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in RequestPermissionActivity 122 registerReceiver(mReceiver, in onCreate() 293 unregisterReceiver(mReceiver); in onDestroy()
|
D | BluetoothDiscoverableEnabler.java | 76 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothDiscoverableEnabler 111 mContext.registerReceiver(mReceiver, filter); in resume() 122 mContext.unregisterReceiver(mReceiver); in pause()
|
D | BluetoothPermissionActivity.java | 59 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothPermissionActivity 111 registerReceiver(mReceiver, in onCreate() 247 unregisterReceiver(mReceiver); in onDestroy()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | NfcEnabler.java | 42 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in NfcEnabler 75 mContext.registerReceiver(mReceiver, mIntentFilter); in resume() 83 mContext.unregisterReceiver(mReceiver); in pause()
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
D | BluetoothRequestPermissionTest.java | 97 registerReceiver(mReceiver, filter); in onCreate() 136 unregisterReceiver(mReceiver); in onDestroy() 144 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothRequestPermissionTest
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppIncomingFileConfirmActivity.java | 82 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothOppIncomingFileConfirmActivity 123 registerReceiver(mReceiver, new IntentFilter( in onCreate() 182 unregisterReceiver(mReceiver); in onDestroy()
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.java | 118 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in AlarmActivity 187 registerReceiver(mReceiver, filter); in onCreate() 238 unregisterReceiver(mReceiver); in onDestroy()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | VideoModule.java | 283 private BroadcastReceiver mReceiver = null; field in VideoModule 641 mReceiver = new MyBroadcastReceiver(); in installIntentFilter() 642 mActivity.registerReceiver(mReceiver, intentFilter); in installIntentFilter() 800 if (mReceiver != null) { in onPauseBeforeSuper() 801 mActivity.unregisterReceiver(mReceiver); in onPauseBeforeSuper() 802 mReceiver = null; in onPauseBeforeSuper()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapActivity.java | 100 private BroadcastReceiver mReceiver = new BroadcastReceiver() { field in BluetoothPbapActivity 123 registerReceiver(mReceiver, new IntentFilter( in onCreate() 268 unregisterReceiver(mReceiver); in onDestroy()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MtpService.java | 69 private final BroadcastReceiver mReceiver = new BroadcastReceiver() { field in MtpService 124 registerReceiver(mReceiver, new IntentFilter(Intent.ACTION_USER_PRESENT)); in onCreate() 203 unregisterReceiver(mReceiver); in onDestroy()
|