/packages/apps/Settings/src/com/android/settings/notification/ |
D | SettingPrefController.java | 43 protected SettingsObserver mSettingsObserver; field in SettingPrefController 60 mSettingsObserver = new SettingsObserver(); in displayPreference() 81 if (mSettingsObserver != null) { in onResume() 82 mSettingsObserver.register(true /* register */); in onResume() 88 if (mSettingsObserver != null) { in onPause() 89 mSettingsObserver.register(false /* register */); in onPause()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | StayAwakePreferenceController.java | 55 SettingsObserver mSettingsObserver; field in StayAwakePreferenceController 106 if (mSettingsObserver == null) { in onResume() 107 mSettingsObserver = new SettingsObserver(); in onResume() 109 mSettingsObserver.register(true /* register */); in onResume() 114 if (mPreference == null || mSettingsObserver == null) { in onPause() 117 mSettingsObserver.register(false /* unregister */); in onPause()
|
D | WirelessDebuggingEnabler.java | 48 private final ContentObserver mSettingsObserver; field in WirelessDebuggingEnabler 64 mSettingsObserver = new ContentObserver(mHandler) { in WirelessDebuggingEnabler() 99 mSettingsObserver); in onResume() local 108 mContentResolver.unregisterContentObserver(mSettingsObserver); in onPause()
|
D | WirelessDebuggingPreferenceController.java | 56 private final ContentObserver mSettingsObserver; field in WirelessDebuggingPreferenceController 68 mSettingsObserver = new ContentObserver(mHandler) { in WirelessDebuggingPreferenceController() 123 mSettingsObserver); in onResume() local 128 mContentResolver.unregisterContentObserver(mSettingsObserver); in onPause()
|
/packages/apps/Settings/src/com/android/settings/development/autofill/ |
D | AutofillPreferenceCategory.java | 36 private final ContentObserver mSettingsObserver; field in AutofillPreferenceCategory 42 mSettingsObserver = new ContentObserver(mHandler) { in AutofillPreferenceCategory() 61 mSettingsObserver); in onAttached() local 66 mContentResolver.unregisterContentObserver(mSettingsObserver); in onDetached()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | OneHandedSettingsUtils.java | 66 private final SettingsObserver mSettingsObserver; field in OneHandedSettingsUtils 73 mSettingsObserver = new SettingsObserver(new Handler(Looper.getMainLooper())); in OneHandedSettingsUtils() 261 mSettingsObserver.observe(); in registerToggleAwareObserver() 262 mSettingsObserver.setCallback(callback); in registerToggleAwareObserver() 270 resolver.unregisterContentObserver(mSettingsObserver); in unregisterToggleAwareObserver()
|
/packages/apps/Settings/src/com/android/settings/emergency/ |
D | EmergencyGestureNumberOverridePreferenceController.java | 48 private final ContentObserver mSettingsObserver; field in EmergencyGestureNumberOverridePreferenceController 56 mSettingsObserver = new EmergencyGestureNumberOverrideSettingsObserver(mHandler); in EmergencyGestureNumberOverridePreferenceController() 91 false, mSettingsObserver); in onStart() 96 mContext.getContentResolver().unregisterContentObserver(mSettingsObserver); in onStop()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | PrivateDnsPreferenceController.java | 69 private final ContentObserver mSettingsObserver; field in PrivateDnsPreferenceController 77 mSettingsObserver = new PrivateDnsSettingsObserver(mHandler); in PrivateDnsPreferenceController() 103 mContext.getContentResolver().registerContentObserver(uri, false, mSettingsObserver); in onStart() 114 mContext.getContentResolver().unregisterContentObserver(mSettingsObserver); in onStop()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | VibrationPreferenceFragment.java | 63 private final SettingsObserver mSettingsObserver; field in VibrationPreferenceFragment 67 mSettingsObserver = new SettingsObserver(); in VibrationPreferenceFragment() 73 mSettingsObserver.register(); in onAttach() 160 mSettingsObserver.unregister(); in onDetach()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeSettingsBase.java | 40 private final SettingsObserver mSettingsObserver = new SettingsObserver(); field in ZenModeSettingsBase 75 mSettingsObserver.register(); in onResume() 89 mSettingsObserver.unregister(); in onPause()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | PreferredServices.java | 64 final SettingsObserver mSettingsObserver; field in PreferredServices 101 mSettingsObserver = new SettingsObserver(mHandler); in PreferredServices() 104 true, mSettingsObserver, UserHandle.USER_ALL); in PreferredServices() 108 true, mSettingsObserver, UserHandle.USER_ALL); in PreferredServices()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverScheduleSettings.java | 64 final ContentObserver mSettingsObserver = new ContentObserver(new Handler()) { field in BatterySaverScheduleSettings 92 mSettingsObserver); in onResume() local 109 mContext.getContentResolver().unregisterContentObserver(mSettingsObserver); in onPause()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | PowerUsageSummary.java | 88 final ContentObserver mSettingsObserver = new ContentObserver(new Handler()) { field in PowerUsageSummary 182 mSettingsObserver); in onResume() local 187 getContentResolver().unregisterContentObserver(mSettingsObserver); in onPause()
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
D | WifiDisplaySettings.java | 169 Settings.Global.WIFI_DISPLAY_ON), false, mSettingsObserver); in onStart() local 171 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON), false, mSettingsObserver); in onStart() local 173 Settings.Global.WIFI_DISPLAY_WPS_CONFIG), false, mSettingsObserver); in onStart() local 189 getContentResolver().unregisterContentObserver(mSettingsObserver); in onStop() 631 private final ContentObserver mSettingsObserver = new ContentObserver(new Handler()) { field in WifiDisplaySettings
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | StayAwakePreferenceControllerTest.java | 125 mController.mSettingsObserver.onChange(false, in observerOnChangeCalledWithSameUri_preferenceShouldBeUpdated() 136 mController.mSettingsObserver.onChange(false, null); in observerOnChangeCalledWithDifferentUri_preferenceShouldNotBeUpdated()
|
/packages/apps/Settings/src/com/android/settings/development/qstile/ |
D | DevelopmentTiles.java | 398 private final ContentObserver mSettingsObserver = new ContentObserver(mHandler) { field in DevelopmentTiles.WirelessDebugging 420 mSettingsObserver); in onStartListening() local 426 getContentResolver().unregisterContentObserver(mSettingsObserver); in onStopListening()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneGlobals.java | 213 private final SettingsObserver mSettingsObserver; field in PhoneGlobals 371 mSettingsObserver = new SettingsObserver(context, mHandler); in PhoneGlobals() 581 mSettingsObserver.unobserve(); in registerSettingsObserver() 593 mSettingsObserver.observe(Settings.Global.getUriFor(dataRoamingSetting), in registerSettingsObserver() 597 mSettingsObserver.observe(Settings.Global.getUriFor(mobileDataSetting), in registerSettingsObserver()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | PowerUsageSummaryTest.java | 212 mFragment.mSettingsObserver); in onResume_registerContentObserver() 220 mFragment.mSettingsObserver); in onPause_unregisterContentObserver()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
D | SettingPrefControllerTest.java | 169 return mSettingsObserver; in getObserver()
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 269 private SettingsObserver mSettingsObserver; field in Tethering 321 mSettingsObserver = new SettingsObserver(mHandler); in Tethering() 323 Settings.Global.getUriFor(TETHER_FORCE_USB_FUNCTIONS), false, mSettingsObserver); in Tethering() local 393 return mSettingsObserver; in getSettingsObserverForTest()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | MultipathPolicyTrackerTest.java | 354 mTracker.mSettingsObserver.onChange( in testGetMultipathPreference_SettingChanged()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 730 final private SettingsObserver mSettingsObserver; field in ConnectivityService 1454 mSettingsObserver = new SettingsObserver(mContext, mHandler); in ConnectivityService() 1600 mSettingsObserver.observe( in registerSettingsCallbacks() 1605 mSettingsObserver.observe( in registerSettingsCallbacks() 1610 mSettingsObserver.observe( in registerSettingsCallbacks() 1615 mSettingsObserver.observe( in registerSettingsCallbacks() 1622 mSettingsObserver.observe(uri, EVENT_PRIVATE_DNS_SETTINGS_CHANGED); in registerPrivateDnsSettingsCallbacks()
|