/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | BrightnessWearBedtimeModeClamper.java | 37 private final ContentObserver mSettingsObserver; field in BrightnessWearBedtimeModeClamper 50 mSettingsObserver = new ContentObserver(mHandler) { in BrightnessWearBedtimeModeClamper() 61 injector.registerBedtimeModeObserver(context.getContentResolver(), mSettingsObserver); in BrightnessWearBedtimeModeClamper() local 83 mContext.getContentResolver().unregisterContentObserver(mSettingsObserver); in stop()
|
D | BrightnessLowLuxModifier.java | 51 private final SettingsObserver mSettingsObserver; field in BrightnessLowLuxModifier 71 mSettingsObserver = new SettingsObserver(mHandler); in BrightnessLowLuxModifier() 184 mContentResolver.unregisterContentObserver(mSettingsObserver); in stop()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowManagerSettingsTests.java | 65 mWm.mSettingsObserver.onChange(false, forceDesktopModeUri); in testForceDesktopModeOnExternalDisplays() 79 mWm.mSettingsObserver.onChange(false, freeformWindowUri); in testFreeformWindow() 94 mWm.mSettingsObserver.onChange(false, freeformWindowUri); in testFreeformWindow_valueChanged_updatesDisplaySettings() 100 mWm.mSettingsObserver.onChange(false, freeformWindowUri); in testFreeformWindow_valueChanged_updatesDisplaySettings() 114 mWm.mSettingsObserver.onChange(false, forceResizableUri); in testForceResizableMode() 128 mWm.mSettingsObserver.onChange(false, supportsNonResizableMultiWindowUri); in testSupportsNonResizableMultiWindow() 146 mWm.mSettingsObserver.onChange(false /* selfChange */, baseDisplaySettingsPathUri); in testChangeBaseDisplaySettingsPath()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierActionAgent.java | 85 private final SettingsObserver mSettingsObserver; field in CarrierActionAgent 111 mSettingsObserver = new SettingsObserver(mPhone.getContext(), this); in CarrierActionAgent() 178 mSettingsObserver.observe(Settings.Global.getUriFor(mobileData), in handleMessage() 180 mSettingsObserver.observe( in handleMessage() 183 mSettingsObserver.observe( in handleMessage() 192 mSettingsObserver.unobserve(); in handleMessage() 300 return mSettingsObserver; in getContentObserver()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationHistoryManagerTest.java | 124 mHistoryManager.mSettingsObserver.update(null, info.id); in setUp() 149 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabled() 172 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabled_withProfile() 176 mHistoryManager.mSettingsObserver.update(null, mProfileId); in testOnUserUnlocked_historyDisabled_withProfile() 229 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabledThenEnabled() 234 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabledThenEnabled() 258 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile() 263 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile() 360 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnPackageRemoved_historyDisabled() 467 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testTriggerWriteToDisk_historyDisabled() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | AlwaysOnDisplayPolicy.java | 135 private SettingsObserver mSettingsObserver; field in AlwaysOnDisplayPolicy 142 mSettingsObserver = new SettingsObserver(context.getMainThreadHandler()); in AlwaysOnDisplayPolicy() 143 mSettingsObserver.observe(); in AlwaysOnDisplayPolicy()
|
D | DozeSensors.java | 429 mSecureSettings.unregisterContentObserverSync(mSettingsObserver); in updateListening() 432 s.registerSettingsObserver(mSettingsObserver); in updateListening() 472 private final ContentObserver mSettingsObserver = new ContentObserver(mHandler) { field in DozeSensors 754 mSetting, mSettingsObserver, UserHandle.USER_ALL); in registerSettingsObserver()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationHistoryManager.java | 61 final SettingsObserver mSettingsObserver; field in NotificationHistoryManager 78 mSettingsObserver = new SettingsObserver(handler); in NotificationHistoryManager() 83 mSettingsObserver.stopObserving(); in onDestroy() 92 mSettingsObserver.observe(); in onBootPhaseAppsCanStart() 122 mSettingsObserver.update(null, userId); in onUserAdded()
|
D | NotificationAttentionHelper.java | 142 private final SettingsObserver mSettingsObserver; field in NotificationAttentionHelper 217 mSettingsObserver = new SettingsObserver(); in NotificationAttentionHelper() 300 SettingsObserver.NOTIFICATION_LIGHT_PULSE_URI, false, mSettingsObserver, in registerBroadcastListeners() 304 SettingsObserver.NOTIFICATION_COOLDOWN_ENABLED_URI, false, mSettingsObserver, in registerBroadcastListeners() 307 SettingsObserver.NOTIFICATION_COOLDOWN_ALL_URI, false, mSettingsObserver, in registerBroadcastListeners() 311 mSettingsObserver, UserHandle.USER_ALL); in registerBroadcastListeners()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastConstants.java | 291 private SettingsObserver mSettingsObserver; field in BroadcastConstants 322 mSettingsObserver = new SettingsObserver(handler); in startObserving() 324 false, mSettingsObserver); in startObserving() local 452 pw.print(mSettingsObserver != null); in dump()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 242 private final ContentObserver mSettingsObserver = new ContentObserver(null) { field in BatterySaverStateMachine 334 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local 337 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local 340 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local 343 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local 346 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local 349 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local 352 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local 355 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ServiceListing.java | 94 false, mSettingsObserver); in setListening() local 97 mContentResolver.unregisterContentObserver(mSettingsObserver); in setListening() 176 private final ContentObserver mSettingsObserver = new ContentObserver(new Handler()) { field in ServiceListing
|
/frameworks/base/services/core/java/com/android/server/ |
D | LooperStatsService.java | 197 private final SettingsObserver mSettingsObserver; field in LooperStatsService.Lifecycle 205 mSettingsObserver = new SettingsObserver(mService); in Lifecycle() 220 settingsUri, false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootPhase()
|
D | BinderCallsStatsService.java | 316 private SettingsObserver mSettingsObserver; field in BinderCallsStatsService 327 mSettingsObserver = new SettingsObserver(context, mBinderCallsStats, mWorkSourceProvider); in systemReady()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | HighBrightnessModeController.java | 80 private final SettingsObserver mSettingsObserver; field in HighBrightnessModeController 144 mSettingsObserver = new SettingsObserver(mHandler); in HighBrightnessModeController() 266 mSettingsObserver.stopObserving(); in stop() 282 mSettingsObserver.stopObserving(); in resetHbmData() 288 mSettingsObserver.startObserving(); in resetHbmData()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | MultipathPolicyTracker.java | 108 final ContentObserver mSettingsObserver; field in MultipathPolicyTracker 142 mSettingsObserver = new SettingsObserver(mHandler); in MultipathPolicyTracker() 157 mResolver.registerContentObserver(defaultSettingUri, false, mSettingsObserver); in start() 172 mResolver.unregisterContentObserver(mSettingsObserver); in shutdown()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | DataSettingsManager.java | 98 private final SettingsObserver mSettingsObserver; field in DataSettingsManager 201 mSettingsObserver = new SettingsObserver(mPhone.getContext(), this); in DataSettingsManager() 294 mSettingsObserver.observe(Settings.Global.getUriFor(Settings.Global.DEVICE_PROVISIONED), in onInitialize() 296 mSettingsObserver.observe( in onInitialize()
|
/frameworks/base/services/core/java/com/android/server/gpu/ |
D | GpuService.java | 81 private SettingsObserver mSettingsObserver; field in GpuService 118 mSettingsObserver = new SettingsObserver(); in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/dreams/ |
D | DreamManagerService.java | 145 private SettingsObserver mSettingsObserver; field in DreamManagerService 255 mSettingsObserver = new SettingsObserver(mHandler); in DreamManagerService() 305 mSettingsObserver = new SettingsObserver(mHandler); in onBootPhase() 308 false, mSettingsObserver, UserHandle.USER_ALL); in onBootPhase() local 311 false, mSettingsObserver, UserHandle.USER_ALL); in onBootPhase() local 314 false, mSettingsObserver, UserHandle.USER_ALL); in onBootPhase() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | LocalBluetoothLeBroadcast.java | 131 private ContentObserver mSettingsObserver; field in LocalBluetoothLeBroadcast 409 mSettingsObserver = new BroadcastSettingsObserver(handler); in LocalBluetoothLeBroadcast() 1090 mContentResolver.registerContentObserver(uri, false, mSettingsObserver); in registerContentObserver() 1099 mContentResolver.unregisterContentObserver(mSettingsObserver); in unregisterContentObserver()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 132 private final SettingsObserver mSettingsObserver; field in DisplayModeDirector 233 mSettingsObserver = new SettingsObserver(context, handler, displayManagerFlags); in DisplayModeDirector() 266 mSettingsObserver.observe(); in start() 481 mSettingsObserver.setRefreshRates(displayDeviceConfig, in defaultDisplayDeviceUpdated() 594 mSettingsObserver.dumpLocked(pw); in dump() 682 return mSettingsObserver; in getSettingsObserver() 704 mSettingsObserver.updateRefreshRateSettingLocked(minRefreshRate, peakRefreshRate, in getDesiredDisplayModeSpecsWithInjectedFpsSettings() 770 mSettingsObserver.onDeviceConfigDefaultPeakRefreshRateChanged( in handleMessage() 1457 mSettingsObserver.removeRefreshRateSetting(displayId); in onDisplayRemoved() 1626 mSettingsObserver.updateRefreshRateSettingLocked(displayId); in updateDisplayModes()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | InputMethodService.java | 1687 private SettingsObserver mSettingsObserver; field in InputMethodService 1745 mSettingsObserver = SettingsObserver.createAndRegister(this); in onCreate() 1748 mSettingsObserver.shouldShowImeWithHardKeyboard(); in onCreate() 1899 if (mSettingsObserver != null) { in onDestroy() 1900 mSettingsObserver.unregister(); in onDestroy() 1901 mSettingsObserver = null; in onDestroy() 2405 if (mSettingsObserver == null) { in onEvaluateInputViewShown() 2409 if (mSettingsObserver.shouldShowImeWithHardKeyboard()) { in onEvaluateInputViewShown() 3036 if (!mSettingsObserver.shouldShowImeWithHardKeyboard() && 4512 p.println(" mSettingsObserver=" + mSettingsObserver); [all …]
|
/frameworks/base/services/core/java/com/android/server/appbinding/ |
D | AppBindingService.java | 197 Settings.Global.APP_BINDING_CONSTANTS), false, mSettingsObserver); in onPhaseActivityManagerReady() local 202 private final ContentObserver mSettingsObserver = new ContentObserver(null) { field in AppBindingService
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/ |
D | ThemeOverlayControllerTest.java | 147 private ArgumentCaptor<ContentObserver> mSettingsObserver; field in ThemeOverlayControllerTest 207 eq(false), mSettingsObserver.capture(), eq(UserHandle.USER_ALL) in setup() 447 mSettingsObserver.getValue().onChange(true, null, 0, mUserTracker.getUserId()); in onSettingChanged_honorThemeStyle() 463 mSettingsObserver.getValue().onChange(true, null, 0, mUserTracker.getUserId()); in onSettingChanged_invalidStyle()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | LowPowerStandbyController.java | 138 private final SettingsObserver mSettingsObserver; field in LowPowerStandbyController 357 mSettingsObserver = new SettingsObserver(mHandler); in LowPowerStandbyController() 396 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local 399 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
|