Home
last modified time | relevance | path

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

/frameworks/base/services/flags/java/com/android/server/flags/
DSettingsProxy.java299 default void registerContentObserver(String name, ContentObserver settingsObserver) { in registerContentObserver() argument
300 registerContentObserver(getUriFor(name), settingsObserver); in registerContentObserver() local
307 default void registerContentObserver(Uri uri, ContentObserver settingsObserver) { in registerContentObserver() argument
308 registerContentObserverForUser(uri, settingsObserver, getUserId()); in registerContentObserver()
318 ContentObserver settingsObserver) { in registerContentObserver() argument
319 registerContentObserver(getUriFor(name), notifyForDescendants, settingsObserver); in registerContentObserver() local
327 ContentObserver settingsObserver) { in registerContentObserver() argument
328 registerContentObserverForUser(uri, notifyForDescendants, settingsObserver, getUserId()); in registerContentObserver()
338 String name, ContentObserver settingsObserver, int userHandle) { in registerContentObserverForUser() argument
340 getUriFor(name), settingsObserver, userHandle); in registerContentObserverForUser() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DSettingsProxy.kt56 fun registerContentObserverSync(name: String, settingsObserver: ContentObserver) { in getContentResolver()
57 registerContentObserverSync(getUriFor(name), settingsObserver) in getContentResolver()
61 fun registerContentObserverSync(uri: Uri, settingsObserver: ContentObserver) = in registerContentObserverSync()
62 registerContentObserverSync(uri, false, settingsObserver) in registerContentObserverSync()
72 settingsObserver: ContentObserver in registerContentObserverSync()
73 ) = registerContentObserverSync(getUriFor(name), notifyForDescendants, settingsObserver) in registerContentObserverSync()
79 settingsObserver: ContentObserver in registerContentObserverSync()
83 .registerContentObserver(uri, notifyForDescendants, settingsObserver) in registerContentObserverSync()
88 fun unregisterContentObserverSync(settingsObserver: ContentObserver) { in unregisterContentObserverSync()
90 getContentResolver().unregisterContentObserver(settingsObserver) in unregisterContentObserverSync()
DUserSettingsProxy.kt65 override fun registerContentObserverSync(uri: Uri, settingsObserver: ContentObserver) { in registerContentObserverSync()
66 registerContentObserverForUserSync(uri, settingsObserver, userId) in registerContentObserverSync()
73 settingsObserver: ContentObserver in registerContentObserverSync()
75 registerContentObserverForUserSync(uri, notifyForDescendants, settingsObserver, userId) in registerContentObserverSync()
85 settingsObserver: ContentObserver, in registerContentObserverForUserSync()
88 registerContentObserverForUserSync(getUriFor(name), settingsObserver, userHandle) in registerContentObserverForUserSync()
94 settingsObserver: ContentObserver, in registerContentObserverForUserSync()
97 registerContentObserverForUserSync(uri, false, settingsObserver, userHandle) in registerContentObserverForUserSync()
108 settingsObserver: ContentObserver, in registerContentObserverForUserSync()
114 settingsObserver, in registerContentObserverForUserSync()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/
DComplicationTypesUpdater.java64 final ContentObserver settingsObserver = new ContentObserver(null /*handler*/) { in onStart() local
74 settingsObserver, in onStart()
78 settingsObserver, in onStart()
82 settingsObserver, in onStart()
84 settingsObserver.onChange(false); in onStart()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/settings/
DFakeGlobalSettings.java48 ContentObserver settingsObserver) { in registerContentObserverSync() argument
52 observers.add(settingsObserver); in registerContentObserverSync()
56 public void unregisterContentObserverSync(ContentObserver settingsObserver) { in unregisterContentObserverSync() argument
59 entry.getValue().remove(settingsObserver); in unregisterContentObserverSync()
DFakeSettings.java70 ContentObserver settingsObserver, int userHandle) { in registerContentObserverForUserSync() argument
80 observers.add(settingsObserver); in registerContentObserverForUserSync()
84 public void unregisterContentObserverSync(ContentObserver settingsObserver) { in unregisterContentObserverSync() argument
87 observers.remove(settingsObserver); in unregisterContentObserverSync()
91 observers.remove(settingsObserver); in unregisterContentObserverSync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DKeyguardNotificationVisibilityProvider.kt126 val settingsObserver: ContentObserver = in start() constant
140 settingsObserver, in start()
147 settingsObserver, in start()
151 globalSettings.registerContentObserverSync(Settings.Global.ZEN_MODE, settingsObserver) in start()
155 settingsObserver, in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
DLockscreenTargetFilter.kt63 private val settingsObserver = constant
85 settingsObserver, in addListener()
100 contentResolver.unregisterContentObserver(settingsObserver) in removeListener()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/devicestate/
DFakeSecureSettings.java50 ContentObserver settingsObserver, int userHandle) { in registerContentObserver() argument
51 mContentObservers.put(new SettingsKey(userHandle, name), settingsObserver); in registerContentObserver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/
DNotifUiAdjustmentProvider.kt81 settingsObserver, in addDirtyListener()
97 secureSettings.unregisterContentObserverSync(settingsObserver) in removeDirtyListener()
108 private val settingsObserver = constant in com.android.systemui.statusbar.notification.collection.inflation.NotifUiAdjustmentProvider
/frameworks/base/core/java/com/android/internal/os/
DKernelCpuThreadReaderSettingsObserver.java80 KernelCpuThreadReaderSettingsObserver settingsObserver = in getSettingsModifiedReader() local
86 settingsUri, false, settingsObserver, UserHandle.USER_SYSTEM); in getSettingsModifiedReader()
88 return settingsObserver.mKernelCpuThreadReaderDiff; in getSettingsModifiedReader()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
DFlagManager.kt63 private val settingsObserver: ContentObserver = SettingsObserver() in <lambda>() constant in com.android.systemui.flags.FlagManager
131 settings.registerContentObserver(SETTINGS_PREFIX, true, settingsObserver) in <lambda>()
143 settings.unregisterContentObserver(settingsObserver) in <lambda>()
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/
DSecureSettings.java29 ContentObserver settingsObserver, int userHandle); in registerContentObserver() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceController.kt246 private val settingsObserver = object : ContentObserver(handler) { in <lambda>() constant
493 settingsObserver, in <lambda>()
499 settingsObserver, in <lambda>()
547 contentResolver.unregisterContentObserver(settingsObserver) in <lambda>()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSettingsObserverTest.kt119 val settingsObserver = displayModeDirector.SettingsObserver( in test low power mode() constant
122 settingsObserver.onChange( in test low power mode()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DActiveUnlockConfig.kt119 private val settingsObserver = object : ContentObserver(handler) { constant
270 settingsObserver.register()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/
DLockscreenSmartspaceControllerTest.kt180 private lateinit var settingsObserver: ContentObserver in <lambda>() variable in com.android.systemui.statusbar.lockscreen.LockscreenSmartspaceControllerTest
370 settingsObserver.onChange(true, null) in <lambda>()
683 settingsObserver.onChange(true, fakePrivateLockscreenSettingUri) in <lambda>()
742 verify(contentResolver).unregisterContentObserver(settingsObserver) in <lambda>()
882 settingsObserver = settingsObserverCaptor.value in <lambda>()
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java178 ContentObserver settingsObserver = new ContentObserver(mHandler) { in WifiDisplayController() local
187 Settings.Global.WIFI_DISPLAY_ON), false, settingsObserver); in WifiDisplayController() local
189 Settings.Global.WIFI_DISPLAY_CERTIFICATION_ON), false, settingsObserver); in WifiDisplayController() local
191 Settings.Global.WIFI_DISPLAY_WPS_CONFIG), false, settingsObserver); in WifiDisplayController() local
DBrightnessTracker.java1069 ContentObserver settingsObserver) { in registerBrightnessModeObserver() argument
1072 false, settingsObserver, UserHandle.USER_ALL); in registerBrightnessModeObserver() local
1076 ContentObserver settingsObserver) { in unregisterBrightnessModeObserver() argument
1077 context.getContentResolver().unregisterContentObserver(settingsObserver); in unregisterBrightnessModeObserver()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBaseHeadsUpManager.java130 ContentObserver settingsObserver = new ContentObserver(handler) { in BaseHeadsUpManager() local
144 settingsObserver); in BaseHeadsUpManager() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DBackAnimationController.java252 ContentObserver settingsObserver = new ContentObserver(backgroundHandler) { in setupAnimationDeveloperSettingsObserver() local
260 false, settingsObserver, UserHandle.USER_SYSTEM in setupAnimationDeveloperSettingsObserver() local
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DBrightnessTrackerTest.java1076 ContentObserver settingsObserver) { in registerBrightnessModeObserver() argument
1077 mContentObserver = settingsObserver; in registerBrightnessModeObserver()
1082 ContentObserver settingsObserver) { in unregisterBrightnessModeObserver() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManager.kt602 val settingsObserver: ContentObserver = constant
617 settingsObserver,
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java751 public void registerSettingsObserver(ContentObserver settingsObserver) { in registerSettingsObserver() argument
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java666 ConstantsObserver settingsObserver = new ConstantsObserver(mHandler); in onBootPhase() local
667 settingsObserver.start(); in onBootPhase()