Home
last modified time | relevance | path

Searched refs:mSettingsObserver (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowManagerSettingsTests.java65 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/
DCarrierActionAgent.java84 private final SettingsObserver mSettingsObserver; field in CarrierActionAgent
106 mSettingsObserver = new SettingsObserver(mPhone.getContext(), this); in CarrierActionAgent()
173 mSettingsObserver.observe(Settings.Global.getUriFor(mobileData), in handleMessage()
175 mSettingsObserver.observe( in handleMessage()
178 mSettingsObserver.observe( in handleMessage()
187 mSettingsObserver.unobserve(); in handleMessage()
295 return mSettingsObserver; in getContentObserver()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryManagerTest.java124 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()
195 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabledThenEnabled()
200 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabledThenEnabled()
224 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
229 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnUserUnlocked_historyDisabledThenEnabled_multiProfile()
326 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testOnPackageRemoved_historyDisabled()
433 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testTriggerWriteToDisk_historyDisabled()
457 mHistoryManager.mSettingsObserver.update(null, USER_SYSTEM); in testAddNotification_historyDisabled()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastConstants.java120 private SettingsObserver mSettingsObserver; field in BroadcastConstants
148 mSettingsObserver = new SettingsObserver(handler); in startObserving()
150 false, mSettingsObserver); in startObserving() local
185 pw.print(mSettingsObserver != null); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicy.java135 private SettingsObserver mSettingsObserver; field in AlwaysOnDisplayPolicy
142 mSettingsObserver = new SettingsObserver(context.getMainThreadHandler()); in AlwaysOnDisplayPolicy()
143 mSettingsObserver.observe(); in AlwaysOnDisplayPolicy()
DDozeSensors.java425 mSecureSettings.unregisterContentObserver(mSettingsObserver); in updateListening()
428 s.registerSettingsObserver(mSettingsObserver); in updateListening()
468 private final ContentObserver mSettingsObserver = new ContentObserver(mHandler) { field in DozeSensors
750 mSetting, mSettingsObserver, UserHandle.USER_ALL); in registerSettingsObserver()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java231 private final ContentObserver mSettingsObserver = new ContentObserver(null) { field in BatterySaverStateMachine
303 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
306 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
309 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
312 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
315 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
318 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
321 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
324 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java94 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/
DLooperStatsService.java197 private final SettingsObserver mSettingsObserver; field in LooperStatsService.Lifecycle
205 mSettingsObserver = new SettingsObserver(mService); in Lifecycle()
220 settingsUri, false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootPhase()
DBinderCallsStatsService.java315 private SettingsObserver mSettingsObserver; field in BinderCallsStatsService
326 mSettingsObserver = new SettingsObserver(context, mBinderCallsStats, mWorkSourceProvider); in systemReady()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryManager.java61 final SettingsObserver mSettingsObserver; field in NotificationHistoryManager
78 mSettingsObserver = new SettingsObserver(handler); in NotificationHistoryManager()
83 mSettingsObserver.stopObserving(); in onDestroy()
92 mSettingsObserver.observe(); in onBootPhaseAppsCanStart()
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java81 private final SettingsObserver mSettingsObserver; field in LowPowerStandbyController
173 mSettingsObserver = new SettingsObserver(mHandler); in LowPowerStandbyController()
200 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
203 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
/frameworks/base/services/core/java/com/android/server/display/
DHighBrightnessModeController.java76 private final SettingsObserver mSettingsObserver; field in HighBrightnessModeController
136 mSettingsObserver = new SettingsObserver(mHandler); in HighBrightnessModeController()
258 mSettingsObserver.stopObserving(); in stop()
275 mSettingsObserver.stopObserving(); in resetHbmData()
285 mSettingsObserver.startObserving(); in resetHbmData()
DDisplayModeDirector.java115 private final SettingsObserver mSettingsObserver; field in DisplayModeDirector
165 mSettingsObserver = new SettingsObserver(context, handler); in DisplayModeDirector()
189 mSettingsObserver.observe(); in start()
539 mSettingsObserver.setRefreshRates(displayDeviceConfig, in defaultDisplayDeviceUpdated()
645 mSettingsObserver.dumpLocked(pw); in dump()
765 return mSettingsObserver; in getSettingsObserver()
782 mSettingsObserver.updateRefreshRateSettingLocked( in getDesiredDisplayModeSpecsWithInjectedFpsSettings()
838 mSettingsObserver.onDeviceConfigDefaultPeakRefreshRateChanged( in handleMessage()
DBrightnessTracker.java159 private SettingsObserver mSettingsObserver; field in BrightnessTracker
230 mSettingsObserver = new SettingsObserver(mBgHandler); in backgroundStart()
231 mInjector.registerBrightnessModeObserver(mContentResolver, mSettingsObserver); in backgroundStart()
263 mInjector.unregisterBrightnessModeObserver(mContext, mSettingsObserver); in stop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java200 protected ContentObserver mSettingsObserver; field in NotificationLockscreenUserManagerImpl
257 mSettingsObserver = new ContentObserver(mMainHandler) { in setUpWithPresenter()
281 mSettingsObserver); in setUpWithPresenter() local
287 mSettingsObserver, in setUpWithPresenter() local
314 mSettingsObserver.onChange(false); // set up in setUpWithPresenter()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DLocalBluetoothLeBroadcast.java91 private ContentObserver mSettingsObserver; field in LocalBluetoothLeBroadcast
216 mSettingsObserver = new BroadcastSettingsObserver(handler); in LocalBluetoothLeBroadcast()
617 mContentResolver.registerContentObserver(uri, false, mSettingsObserver); in registerContentObserver()
626 mContentResolver.unregisterContentObserver(mSettingsObserver); in unregisterContentObserver()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java108 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/
DDataSettingsManager.java83 private final SettingsObserver mSettingsObserver; field in DataSettingsManager
175 mSettingsObserver = new SettingsObserver(mPhone.getContext(), this); in DataSettingsManager()
284 mSettingsObserver.observe(Settings.Global.getUriFor(Settings.Global.DEVICE_PROVISIONED), in onInitialize()
286 mSettingsObserver.observe( in onInitialize()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopModeController.java87 private final SettingsObserver mSettingsObserver; field in DesktopModeController
105 mSettingsObserver = new SettingsObserver(mContext, mainHandler); in DesktopModeController()
115 mSettingsObserver.observe(); in onInit()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java135 private SettingsObserver mSettingsObserver; field in DreamManagerService
236 mSettingsObserver = new SettingsObserver(mHandler); in DreamManagerService()
280 mSettingsObserver = new SettingsObserver(mHandler); in onBootPhase()
283 false, mSettingsObserver, UserHandle.USER_ALL); in onBootPhase() local
286 false, mSettingsObserver, UserHandle.USER_ALL); in onBootPhase() local
289 false, mSettingsObserver, UserHandle.USER_ALL); in onBootPhase() local
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java81 private SettingsObserver mSettingsObserver; field in GpuService
118 mSettingsObserver = new SettingsObserver(); in onBootPhase()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1449 private SettingsObserver mSettingsObserver; field in InputMethodService
1502 mSettingsObserver = SettingsObserver.createAndRegister(this); in onCreate()
1505 mSettingsObserver.shouldShowImeWithHardKeyboard(); in onCreate()
1624 if (mSettingsObserver != null) { in onDestroy()
1625 mSettingsObserver.unregister(); in onDestroy()
1626 mSettingsObserver = null; in onDestroy()
2112 if (mSettingsObserver == null) { in onEvaluateInputViewShown()
2116 if (mSettingsObserver.shouldShowImeWithHardKeyboard()) { in onEvaluateInputViewShown()
2518 if (!mSettingsObserver.shouldShowImeWithHardKeyboard() && in onShowInputRequested()
3831 p.println(" mSettingsObserver=" + mSettingsObserver);
[all …]
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java228 private final SettingsObserver mSettingsObserver; field in TrustManagerService
243 mSettingsObserver = new SettingsObserver(mHandler); in TrustManagerService()
352 if (mSettingsObserver.getLockWhenTrustLost()) { in maybeLockScreen()
363 if (alarm != null && mSettingsObserver.getTrustAgentsNonrenewableTrust()) { in maybeLockScreen()
549 if (mSettingsObserver.getTrustAgentsNonrenewableTrust()) { in updateTrustWithNonrenewableTrust()
1774 int updateTrustOnUnlock = mSettingsObserver.getTrustAgentsNonrenewableTrust() ? 1 : 0;
1871 mSettingsObserver.updateContentObserver();
/frameworks/base/services/core/java/com/android/server/appbinding/
DAppBindingService.java197 Settings.Global.APP_BINDING_CONSTANTS), false, mSettingsObserver); in onPhaseActivityManagerReady() local
202 private final ContentObserver mSettingsObserver = new ContentObserver(null) { field in AppBindingService

12