Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImpl.java50 protected final ContentObserver mSettingsObserver; field in DeviceProvisionedControllerImpl
63 mSettingsObserver = new ContentObserver(mainHandler) { in DeviceProvisionedControllerImpl()
111 mSettingsObserver, 0); in startListening()
113 mSettingsObserver, user); in startListening()
119 mGlobalSettings.unregisterContentObserver(mSettingsObserver); in stopListening()
124 mGlobalSettings.unregisterContentObserver(mSettingsObserver); in onUserSwitched()
126 mSettingsObserver, 0); in onUserSwitched()
128 mSettingsObserver, newUserId); in onUserSwitched()
DUserSwitcherController.java113 private final ContentObserver mSettingsObserver; field in UserSwitcherController
209 mSettingsObserver = new ContentObserver(mHandler) { in UserSwitcherController()
220 mSettingsObserver); in UserSwitcherController() local
223 mSettingsObserver); in UserSwitcherController() local
227 true, mSettingsObserver); in UserSwitcherController() local
229 mSettingsObserver.onChange(false); in UserSwitcherController()
/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.java73 private SettingsObserver mSettingsObserver; field in BroadcastConstants
101 mSettingsObserver = new SettingsObserver(handler); in startObserving()
103 false, mSettingsObserver); in startObserving() local
138 pw.print(mSettingsObserver != null); in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicy.java131 private SettingsObserver mSettingsObserver; field in AlwaysOnDisplayPolicy
137 mSettingsObserver = new SettingsObserver(context.getMainThreadHandler()); in AlwaysOnDisplayPolicy()
138 mSettingsObserver.observe(); in AlwaysOnDisplayPolicy()
DDozeSensors.java306 mSecureSettings.unregisterContentObserver(mSettingsObserver); in updateListening()
309 s.registerSettingsObserver(mSettingsObserver); in updateListening()
349 private final ContentObserver mSettingsObserver = new ContentObserver(mHandler) { field in DozeSensors
517 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/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java85 protected final ContentObserver mSettingsObserver = new ContentObserver(mHandler) { field in DataCollector
107 mSettingsObserver, in DataCollector() local
112 mSettingsObserver, in DataCollector() local
117 mSettingsObserver, in DataCollector() local
122 mSettingsObserver, in DataCollector() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java91 false, mSettingsObserver); in setListening() local
94 mContentResolver.unregisterContentObserver(mSettingsObserver); in setListening()
171 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/display/
DHighBrightnessModeController.java70 private final SettingsObserver mSettingsObserver; field in HighBrightnessModeController
122 mSettingsObserver = new SettingsObserver(mHandler); in HighBrightnessModeController()
220 mSettingsObserver.stopObserving(); in stop()
230 mSettingsObserver.stopObserving(); in resetHbmData()
240 mSettingsObserver.startObserving(); in resetHbmData()
DDisplayModeDirector.java106 private final SettingsObserver mSettingsObserver; field in DisplayModeDirector
148 mSettingsObserver = new SettingsObserver(context, handler); in DisplayModeDirector()
172 mSettingsObserver.observe(); in start()
603 mSettingsObserver.dumpLocked(pw); in dump()
709 return mSettingsObserver; in getSettingsObserver()
722 mSettingsObserver.updateRefreshRateSettingLocked( in getDesiredDisplayModeSpecsWithInjectedFpsSettings()
778 mSettingsObserver.onDeviceConfigDefaultPeakRefreshRateChanged( in handleMessage()
/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()
87 mSettingsObserver.observe(); in onBootPhaseAppsCanStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java186 protected ContentObserver mSettingsObserver; field in NotificationLockscreenUserManagerImpl
237 mSettingsObserver = new ContentObserver(mMainHandler) { in setUpWithPresenter()
261 mSettingsObserver); in setUpWithPresenter() local
267 mSettingsObserver, in setUpWithPresenter() local
290 mSettingsObserver.onChange(false); // set up in setUpWithPresenter()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java112 final ContentObserver mSettingsObserver; field in MultipathPolicyTracker
146 mSettingsObserver = new SettingsObserver(mHandler); in MultipathPolicyTracker()
161 mResolver.registerContentObserver(defaultSettingUri, false, mSettingsObserver); in start()
176 mResolver.unregisterContentObserver(mSettingsObserver); in shutdown()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java1270 private SettingsObserver mSettingsObserver; field in InputMethodService
1323 mSettingsObserver = SettingsObserver.createAndRegister(this); in onCreate()
1326 mSettingsObserver.shouldShowImeWithHardKeyboard(); in onCreate()
1424 if (mSettingsObserver != null) { in onDestroy()
1425 mSettingsObserver.unregister(); in onDestroy()
1426 mSettingsObserver = null; in onDestroy()
1907 if (mSettingsObserver == null) { in onEvaluateInputViewShown()
1911 if (mSettingsObserver.shouldShowImeWithHardKeyboard()) { in onEvaluateInputViewShown()
2193 if (!mSettingsObserver.shouldShowImeWithHardKeyboard() && in onShowInputRequested()
3428 p.println(" mSettingsObserver=" + mSettingsObserver); in dump()
[all …]
/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/services/core/java/com/android/server/trust/
DTrustManagerService.java185 private final SettingsObserver mSettingsObserver; field in TrustManagerService
200 mSettingsObserver = new SettingsObserver(mHandler); in TrustManagerService()
309 if (mSettingsObserver.getLockWhenTrustLost()) { in maybeLockScreen()
320 if (alarm != null && mSettingsObserver.getTrustAgentsExtendUnlock()) { in maybeLockScreen()
414 if (mSettingsObserver.getTrustAgentsExtendUnlock()) { in updateTrust()
1303 int updateTrustOnUnlock = mSettingsObserver.getTrustAgentsExtendUnlock() ? 1 : 0;
1385 mSettingsObserver.updateContentObserver();
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java133 private final ContentObserver mSettingsObserver = new ContentObserver(mMainHandler) { field in GlobalActionsDialog
224 mSettingsObserver); in GlobalActionsDialog() local
231 mGlobalSettings.unregisterContentObserver(mSettingsObserver); in destroy()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecConfig.java92 private SettingsObserver mSettingsObserver; field in HdmiCecConfig
655 mSettingsObserver = new SettingsObserver(handler); in registerGlobalSettingsObserver()
666 mSettingsObserver, UserHandle.USER_ALL); in registerGlobalSettingsObserver() local
675 resolver.unregisterContentObserver(mSettingsObserver); in unregisterGlobalSettingsObserver()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java111 private SettingsObserver mSettingsObserver; field in DisplayRotation
263 mSettingsObserver = new SettingsObserver(uiHandler); in DisplayRotation()
264 mSettingsObserver.observe(); in DisplayRotation()
1431 if (mSettingsObserver != null) { in onUserSwitch()
1432 mSettingsObserver.onChange(false); in onUserSwitch()
/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