Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImpl.java49 protected final ContentObserver mSettingsObserver; field in DeviceProvisionedControllerImpl
61 mSettingsObserver = new ContentObserver(mainHandler) { in DeviceProvisionedControllerImpl()
110 mSettingsObserver, 0); in startListening()
112 mSettingsObserver, user); in startListening()
118 mContentResolver.unregisterContentObserver(mSettingsObserver); in stopListening()
123 mContentResolver.unregisterContentObserver(mSettingsObserver); in onUserSwitched()
125 mSettingsObserver, 0); in onUserSwitched()
127 mSettingsObserver, newUserId); in onUserSwitched()
DUserSwitcherController.java140 mSettingsObserver); in UserSwitcherController() local
143 mSettingsObserver); in UserSwitcherController() local
147 true, mSettingsObserver); in UserSwitcherController() local
149 mSettingsObserver.onChange(false); in UserSwitcherController()
552 private final ContentObserver mSettingsObserver = new ContentObserver(new Handler()) { field in UserSwitcherController
/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/core/java/com/android/server/am/
DBroadcastConstants.java70 private SettingsObserver mSettingsObserver; field in BroadcastConstants
98 mSettingsObserver = new SettingsObserver(handler); in startObserving()
100 false, mSettingsObserver); in startObserving() local
135 pw.print(mSettingsObserver != null); in dump()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassificationManager.java57 private final SettingsObserver mSettingsObserver; field in TextClassificationManager
77 mSettingsObserver = new SettingsObserver(this); in TextClassificationManager()
203 if (mSettingsObserver != null) { in finalize()
205 .unregisterContentObserver(mSettingsObserver); in finalize()
207 DeviceConfig.removeOnPropertiesChangedListener(mSettingsObserver); in finalize()
DActionsModelParamsSupplier.java52 private final SettingsObserver mSettingsObserver; field in ActionsModelParamsSupplier
67 mSettingsObserver = new SettingsObserver(mAppContext, () -> { in ActionsModelParamsSupplier()
128 mAppContext.getContentResolver().unregisterContentObserver(mSettingsObserver); in finalize()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicy.java116 private SettingsObserver mSettingsObserver; field in AlwaysOnDisplayPolicy
122 mSettingsObserver = new SettingsObserver(context.getMainThreadHandler()); in AlwaysOnDisplayPolicy()
123 mSettingsObserver.observe(); in AlwaysOnDisplayPolicy()
DDozeSensors.java214 mResolver.unregisterContentObserver(mSettingsObserver); in updateListening()
217 s.registerSettingsObserver(mSettingsObserver); in updateListening()
242 private final ContentObserver mSettingsObserver = new ContentObserver(mHandler) { field in DozeSensors
506 mSettingsObserver, UserHandle.USER_ALL); in registerSettingsObserver() local
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java228 private final ContentObserver mSettingsObserver = new ContentObserver(null) { field in BatterySaverStateMachine
300 false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootCompleted() local
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
/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/services/core/java/com/android/server/location/
DLocationFudger.java109 private final ContentObserver mSettingsObserver; field in LocationFudger
144 mSettingsObserver = new ContentObserver(handler) { in LocationFudger()
151 COARSE_ACCURACY_CONFIG_NAME), false, mSettingsObserver); in LocationFudger() local
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DServiceListing.java88 false, mSettingsObserver); in setListening() local
91 mContentResolver.unregisterContentObserver(mSettingsObserver); in setListening()
164 private final ContentObserver mSettingsObserver = new ContentObserver(new Handler()) { field in ServiceListing
/frameworks/base/services/core/java/com/android/server/
DLooperStatsService.java184 private final SettingsObserver mSettingsObserver; field in LooperStatsService.Lifecycle
192 mSettingsObserver = new SettingsObserver(mService); in Lifecycle()
207 settingsUri, false, mSettingsObserver, UserHandle.USER_SYSTEM); in onBootPhase()
DBinderCallsStatsService.java278 private SettingsObserver mSettingsObserver; field in BinderCallsStatsService
289 mSettingsObserver = new SettingsObserver(context, mBinderCallsStats, mWorkSourceProvider); in systemReady()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerImpl.java169 protected ContentObserver mSettingsObserver; field in NotificationLockscreenUserManagerImpl
208 mSettingsObserver = new ContentObserver(Dependency.get(Dependency.MAIN_HANDLER)) { in setUpWithPresenter()
231 mSettingsObserver); in setUpWithPresenter() local
237 mSettingsObserver, in setUpWithPresenter() local
257 mSettingsObserver.onChange(false); // set up in setUpWithPresenter()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java106 final ContentObserver mSettingsObserver; field in MultipathPolicyTracker
139 mSettingsObserver = new SettingsObserver(mHandler); in MultipathPolicyTracker()
154 mResolver.registerContentObserver(defaultSettingUri, false, mSettingsObserver); in start()
169 mResolver.unregisterContentObserver(mSettingsObserver); in shutdown()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHumanInteractionClassifier.java54 protected final ContentObserver mSettingsObserver = new ContentObserver(mHandler) { field in HumanInteractionClassifier
92 mSettingsObserver, in HumanInteractionClassifier() local
DFalsingManagerImpl.java122 protected final ContentObserver mSettingsObserver = new ContentObserver(mHandler) { field in FalsingManagerImpl
152 mSettingsObserver, in FalsingManagerImpl() local
557 mContext.getContentResolver().unregisterContentObserver(mSettingsObserver); in cleanup()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java78 private SettingsObserver mSettingsObserver; field in DisplayRotation
167 mSettingsObserver = new SettingsObserver(uiHandler); in DisplayRotation()
168 mSettingsObserver.observe(); in DisplayRotation()
828 if (mSettingsObserver != null) { in onUserSwitch()
829 mSettingsObserver.onChange(false); in onUserSwitch()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayModeDirector.java96 private final SettingsObserver mSettingsObserver; field in DisplayModeDirector
110 mSettingsObserver = new SettingsObserver(context, handler); in DisplayModeDirector()
124 mSettingsObserver.observe(); in start()
126 mSettingsObserver.observe(); in start()
342 mSettingsObserver.dumpLocked(pw); in dump()
441 mSettingsObserver.onDeviceConfigDefaultPeakRefreshRateChanged( in handleMessage()
DDisplayPowerController.java166 private final SettingsObserver mSettingsObserver; field in DisplayPowerController
395 mSettingsObserver = new SettingsObserver(mHandler); in DisplayPowerController()
706 false /*notifyForDescendants*/, mSettingsObserver, UserHandle.USER_ALL); in initialize() local
709 false /*notifyForDescendants*/, mSettingsObserver, UserHandle.USER_ALL); in initialize() local
712 false /*notifyForDescendants*/, mSettingsObserver, UserHandle.USER_ALL); in initialize() local
/frameworks/base/services/core/java/com/android/server/gpu/
DGpuService.java76 private SettingsObserver mSettingsObserver; field in GpuService
110 mSettingsObserver = new SettingsObserver(); in onBootPhase()
/frameworks/base/core/java/android/inputmethodservice/
DInputMethodService.java947 private SettingsObserver mSettingsObserver; field in InputMethodService
999 mSettingsObserver = SettingsObserver.createAndRegister(this); in onCreate()
1076 if (mSettingsObserver != null) { in onDestroy()
1077 mSettingsObserver.unregister(); in onDestroy()
1078 mSettingsObserver = null; in onDestroy()
1544 if (mSettingsObserver == null) { in onEvaluateInputViewShown()
1548 if (mSettingsObserver.shouldShowImeWithHardKeyboard()) { in onEvaluateInputViewShown()
1830 if (!mSettingsObserver.shouldShowImeWithHardKeyboard() && in onShowInputRequested()
3091 p.println(" mSettingsObserver=" + mSettingsObserver); in dump()
/frameworks/base/services/core/java/com/android/server/trust/
DTrustManagerService.java179 private final SettingsObserver mSettingsObserver; field in TrustManagerService
194 mSettingsObserver = new SettingsObserver(mHandler); in TrustManagerService()
303 if (mSettingsObserver.getLockWhenTrustLost()) { in maybeLockScreen()
314 if (alarm != null && mSettingsObserver.getTrustAgentsExtendUnlock()) { in maybeLockScreen()
408 if (mSettingsObserver.getTrustAgentsExtendUnlock()) { in updateTrust()
1287 int updateTrustOnUnlock = mSettingsObserver.getTrustAgentsExtendUnlock() ? 1 : 0;
1369 mSettingsObserver.updateContentObserver();
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java250 private SettingsObserver mSettingsObserver; field in PowerManagerService
858 mSettingsObserver = new SettingsObserver(mHandler); in systemReady()
890 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
893 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
896 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
899 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
902 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
905 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
908 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
911 false, mSettingsObserver, UserHandle.USER_ALL); in systemReady() local
[all …]

12