/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceProvisionedControllerImpl.java | 50 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()
|
D | UserSwitcherController.java | 113 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/ |
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 | 84 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/ |
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() 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/ |
D | BroadcastConstants.java | 73 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/ |
D | AlwaysOnDisplayPolicy.java | 131 private SettingsObserver mSettingsObserver; field in AlwaysOnDisplayPolicy 137 mSettingsObserver = new SettingsObserver(context.getMainThreadHandler()); in AlwaysOnDisplayPolicy() 138 mSettingsObserver.observe(); in AlwaysOnDisplayPolicy()
|
D | DozeSensors.java | 306 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/ |
D | BatterySaverStateMachine.java | 231 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/ |
D | DataCollector.java | 85 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/ |
D | ServiceListing.java | 91 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/ |
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 | 315 private SettingsObserver mSettingsObserver; field in BinderCallsStatsService 326 mSettingsObserver = new SettingsObserver(context, mBinderCallsStats, mWorkSourceProvider); in systemReady()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | HighBrightnessModeController.java | 70 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()
|
D | DisplayModeDirector.java | 106 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/ |
D | NotificationHistoryManager.java | 61 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/ |
D | NotificationLockscreenUserManagerImpl.java | 186 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/ |
D | MultipathPolicyTracker.java | 112 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/ |
D | InputMethodService.java | 1270 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/ |
D | GpuService.java | 81 private SettingsObserver mSettingsObserver; field in GpuService 118 mSettingsObserver = new SettingsObserver(); in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/trust/ |
D | TrustManagerService.java | 185 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/ |
D | GlobalActionsDialog.java | 133 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/ |
D | HdmiCecConfig.java | 92 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/ |
D | DisplayRotation.java | 111 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/ |
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
|