/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
SettingsUI.java | 40 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 70 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.ALL, filter, null, mHandler);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
CarrierLabel.java | 65 getContext().registerReceiver(mIntentReceiver, filter, null, getHandler()); 73 getContext().unregisterReceiver(mIntentReceiver); 78 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
|
PhoneStatusBarPolicy.java | 112 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 151 mContext.registerReceiver(mIntentReceiver, filter, null, mHandler);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
TelephonyTester.java | 42 protected BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 71 phone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone.getHandler()); 76 mPhone.getContext().unregisterReceiver(mIntentReceiver);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcTesterFailBringUpAll.java | 53 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 91 phone.getContext().registerReceiver(mIntentReceiver, filter, null, handler); 96 mPhone.getContext().unregisterReceiver(mIntentReceiver);
|
DcRetryAlarmController.java | 48 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 89 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mDc.getHandler()); 97 mPhone.getContext().unregisterReceiver(mIntentReceiver);
|
DcTrackerBase.java | 281 protected BroadcastReceiver mIntentReceiver = new BroadcastReceiver () 519 mPhone.getContext().registerReceiver(mIntentReceiver, filter, null, mPhone); 551 mPhone.getContext().unregisterReceiver(mIntentReceiver); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
DateView.java | 43 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 127 mContext.registerReceiver(mIntentReceiver, filter, null, null); 130 mContext.unregisterReceiver(mIntentReceiver);
|
Clock.java | 92 getContext().registerReceiver(mIntentReceiver, filter, null, getHandler()); 109 getContext().unregisterReceiver(mIntentReceiver); 114 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
|
/packages/apps/Settings/src/com/android/settings/ |
BatteryInfo.java | 79 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 170 registerReceiver(mIntentReceiver, mIntentFilter); 179 unregisterReceiver(mIntentReceiver);
|
CryptKeeperSettings.java | 59 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 123 getActivity().registerReceiver(mIntentReceiver, mIntentFilter); 129 getActivity().unregisterReceiver(mIntentReceiver);
|
DateTimeSettings.java | 162 getActivity().registerReceiver(mIntentReceiver, filter, null, null); 170 getActivity().unregisterReceiver(mIntentReceiver); 417 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
|
DateTimeSettingsSetupWizard.java | 161 registerReceiver(mIntentReceiver, filter, null, null); 167 unregisterReceiver(mIntentReceiver); 327 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
|
/frameworks/base/core/java/android/widget/ |
AnalogClock.java | 111 getContext().registerReceiver(mIntentReceiver, filter, null, mHandler); 128 getContext().unregisterReceiver(mIntentReceiver); 240 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
|
TextClock.java | 142 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 484 getContext().registerReceiver(mIntentReceiver, filter, null, getHandler()); 493 getContext().unregisterReceiver(mIntentReceiver);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
PowerUI.java | 78 mContext.registerReceiver(mIntentReceiver, filter, null, mHandler); 107 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
ClockFragment.java | 61 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 173 getActivity().registerReceiver(mIntentReceiver, filter); 198 getActivity().unregisterReceiver(mIntentReceiver);
|
DigitalClock.java | 59 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 148 getContext().registerReceiver(mIntentReceiver, filter); 167 getContext().unregisterReceiver(mIntentReceiver);
|
ScreensaverActivity.java | 59 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 100 registerReceiver(mIntentReceiver, filter); 133 unregisterReceiver(mIntentReceiver);
|
AnalogClock.java | 114 getContext().registerReceiver(mIntentReceiver, filter, null, mHandler); 135 getContext().unregisterReceiver(mIntentReceiver); 254 private final BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
|
/cts/tests/tests/location2/src/android/location2/cts/ |
LocationManagerTest.java | 63 private TestIntentReceiver mIntentReceiver; 140 assertNotNull(mIntentReceiver.getLastReceivedIntent()); 247 mIntentReceiver = new TestIntentReceiver(intentKey); 248 mContext.registerReceiver(mIntentReceiver, mIntentReceiver.getFilter()); 255 synchronized (mIntentReceiver) { 257 mIntentReceiver.wait(TEST_TIME_OUT_MS);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsActivity.java | 52 private BroadcastReceiver mIntentReceiver = new BroadcastReceiver() { 197 registerReceiver(mIntentReceiver, mIntentFilter); 209 unregisterReceiver(mIntentReceiver);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
ClockView.java | 56 private BroadcastReceiver mIntentReceiver; 170 if (mIntentReceiver == null) { 171 mIntentReceiver = new TimeChangedReceiver(this); 176 mContext.registerReceiverAsUser(mIntentReceiver, UserHandle.OWNER, filter, null, null ); 195 if (mIntentReceiver != null) { 196 mContext.unregisterReceiver(mIntentReceiver); 204 mIntentReceiver = null;
|
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 65 private TestIntentReceiver mIntentReceiver; 115 if (mIntentReceiver != null) { 116 mContext.unregisterReceiver(mIntentReceiver); 420 assertNotNull(mIntentReceiver.getLastReceivedIntent()); 429 mIntentReceiver.clearReceivedIntents(); 432 assertNull(mIntentReceiver.getLastReceivedIntent()); 510 assertNotNull(mIntentReceiver.getLastReceivedIntent()); 517 mIntentReceiver.clearReceivedIntents(); 521 assertNotNull(mIntentReceiver.getLastReceivedIntent()); 630 mIntentReceiver.clearReceivedIntents() [all...] |
/frameworks/base/services/java/com/android/server/ |
VibratorService.java | 152 context.registerReceiver(mIntentReceiver, filter); 593 BroadcastReceiver mIntentReceiver = new BroadcastReceiver() {
|