Home
last modified time | relevance | path

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

123456789

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DActiveUnlockConfigTest.kt107 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_WAKE)) in onWakeupSettingChanged()
143 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_UNLOCK_INTENT_LEGACY)) in onUnlockIntentLegacySettingChanged()
180 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_UNLOCK_INTENT)) in onUnlockIntentSettingChanged()
215 secureSettings.getUriFor(ACTIVE_UNLOCK_ON_UNLOCK_INTENT_WHEN_BIOMETRIC_ENROLLED) in onBioFailSettingChanged()
225 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL)) in onBioFailSettingChanged()
254 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL)) in faceErrorSettingsChanged()
258 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_FACE_ERRORS)) in faceErrorSettingsChanged()
278 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL)) in faceAcquiredSettingsChanged()
287 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_FACE_ACQUIRE_INFO)) in faceAcquiredSettingsChanged()
317 updateSetting(secureSettings.getUriFor(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL)) in triggerOnUnlockIntentWhenBiometricEnrolledNone()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DInputSettingsObserver.java63 Map.entry(Settings.System.getUriFor(Settings.System.POINTER_SPEED), in InputSettingsObserver()
65 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_POINTER_SPEED), in InputSettingsObserver()
67 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_NATURAL_SCROLLING), in InputSettingsObserver()
69 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_TAP_TO_CLICK), in InputSettingsObserver()
71 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_TAP_DRAGGING), in InputSettingsObserver()
73 Map.entry(Settings.System.getUriFor(Settings.System.TOUCHPAD_RIGHT_CLICK_ZONE), in InputSettingsObserver()
75 Map.entry(Settings.System.getUriFor(Settings.System.SHOW_TOUCHES), in InputSettingsObserver()
77 Map.entry(Settings.System.getUriFor(Settings.System.POINTER_LOCATION), in InputSettingsObserver()
80 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_LARGE_POINTER_ICON), in InputSettingsObserver()
82 Map.entry(Settings.Secure.getUriFor(Settings.Secure.LONG_PRESS_TIMEOUT), in InputSettingsObserver()
[all …]
/frameworks/base/core/java/com/android/internal/policy/
DGestureNavigationSettingsObserver.java68 Settings.Secure.getUriFor(Settings.Secure.BACK_GESTURE_INSET_SCALE_LEFT), in register()
71 Settings.Secure.getUriFor(Settings.Secure.BACK_GESTURE_INSET_SCALE_RIGHT), in register()
74 Settings.Secure.getUriFor(Settings.Secure.USER_SETUP_COMPLETE), in register()
90 Settings.Secure.getUriFor(Settings.Secure.BACK_GESTURE_INSET_SCALE_LEFT), in registerForCallingUser()
93 Settings.Secure.getUriFor(Settings.Secure.BACK_GESTURE_INSET_SCALE_RIGHT), in registerForCallingUser()
96 Settings.Secure.getUriFor(Settings.Secure.USER_SETUP_COMPLETE), in registerForCallingUser()
/frameworks/base/core/java/android/hardware/display/
DNightDisplayListener.java109 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_ACTIVATED), in setCallbackInternal()
111 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_AUTO_MODE), in setCallbackInternal()
114 Secure.getUriFor(Secure.NIGHT_DISPLAY_CUSTOM_START_TIME), in setCallbackInternal()
117 Secure.getUriFor(Secure.NIGHT_DISPLAY_CUSTOM_END_TIME), in setCallbackInternal()
120 Secure.getUriFor(Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE), in setCallbackInternal()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DActiveUnlockConfig.kt120 private val wakeUri = secureSettings.getUriFor(ACTIVE_UNLOCK_ON_WAKE)
122 secureSettings.getUriFor(ACTIVE_UNLOCK_ON_UNLOCK_INTENT_LEGACY)
123 private val unlockIntentUri = secureSettings.getUriFor(ACTIVE_UNLOCK_ON_UNLOCK_INTENT)
124 private val bioFailUri = secureSettings.getUriFor(ACTIVE_UNLOCK_ON_BIOMETRIC_FAIL)
125 private val faceErrorsUri = secureSettings.getUriFor(ACTIVE_UNLOCK_ON_FACE_ERRORS)
127 secureSettings.getUriFor(ACTIVE_UNLOCK_ON_FACE_ACQUIRE_INFO)
129 secureSettings.getUriFor(ACTIVE_UNLOCK_ON_UNLOCK_INTENT_WHEN_BIOMETRIC_ENROLLED)
131 secureSettings.getUriFor(ACTIVE_UNLOCK_WAKEUPS_CONSIDERED_UNLOCK_INTENTS)
133 secureSettings.getUriFor(ACTIVE_UNLOCK_WAKEUPS_TO_FORCE_DISMISS_KEYGUARD)
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/settings/
DFakeGlobalSettings.java64 public Uri getUriFor(String name) { in getUriFor() method in FakeGlobalSettings
70 return mValues.get(getUriFor(name).toString()); in getString()
81 String key = getUriFor(name).toString(); in putString()
84 Uri uri = getUriFor(name); in putString()
DFakeSettings.java96 public Uri getUriFor(String name) { in getUriFor() method in FakeSettings
116 return mValues.get(new SettingsKey(userHandle, getUriFor(name).toString())); in getStringForUser()
137 SettingsKey key = new SettingsKey(userHandle, getUriFor(name).toString()); in putStringForUser()
140 Uri uri = getUriFor(name); in putStringForUser()
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DFakeSettingsProvider.java81 private Uri getUriFor(String table, String key) { in getUriFor() method in FakeSettingsProvider
84 return Settings.System.getUriFor(key); in getUriFor()
86 return Settings.Secure.getUriFor(key); in getUriFor()
88 return Settings.Global.getUriFor(key); in getUriFor()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperRestoreTest.java88 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
111 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue()
154 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue()
176 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_notAlreadyConfigured_restoresValue()
200 Settings.Secure.getUriFor(settingName), in restoreAccessibilityQsTargets_broadcastSent()
228 Settings.Secure.getUriFor(settingName), in restoreAccessibilityShortcutTargetService_broadcastSent()
/frameworks/base/services/flags/java/com/android/server/flags/
DSettingsProxy.java61 Uri getUriFor(String name); in getUriFor() method
300 registerContentObserver(getUriFor(name), settingsObserver); in registerContentObserver()
319 registerContentObserver(getUriFor(name), notifyForDescendants, settingsObserver); in registerContentObserver()
340 getUriFor(name), settingsObserver, userHandle); in registerContentObserverForUser()
363 getUriFor(name), notifyForDescendants, settingsObserver, userHandle); in registerContentObserverForUser()
DGlobalSettingsProxy.java36 public Uri getUriFor(String name) { in getUriFor() method in GlobalSettingsProxy
37 return Settings.Global.getUriFor(name); in getUriFor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/
DGlobalSettingsImpl.java44 public Uri getUriFor(String name) { in getUriFor() method in GlobalSettingsImpl
45 return Settings.Global.getUriFor(name); in getUriFor()
DSystemSettingsImpl.java50 public Uri getUriFor(String name) { in getUriFor() method in SystemSettingsImpl
51 return Settings.System.getUriFor(name); in getUriFor()
DSettingsProxy.kt49 fun getUriFor(name: String): Uri in getContentResolver() method
57 registerContentObserverSync(getUriFor(name), settingsObserver) in getContentResolver()
73 ) = registerContentObserverSync(getUriFor(name), notifyForDescendants, settingsObserver) in registerContentObserverSync()
DSecureSettingsImpl.java50 public Uri getUriFor(String name) { in getUriFor() method in SecureSettingsImpl
51 return Settings.Secure.getUriFor(name); in getUriFor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/settings/
DFakeSettingsTest.java97 mFakeSettings.getUriFor("cat"), false, mContentObserver, UserHandle.USER_ALL); in testRegisterContentObserverAllUsers()
119 mFakeSettings.getUriFor("cat"), false, mContentObserver, UserHandle.USER_ALL); in testUnregisterContentObserverAllUsers()
132 mFakeSettings.getUriFor("cat"), false, mContentObserver, UserHandle.USER_ALL in testContentObserverDispatchCorrectUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DMenuInfoRepository.java244 mSecureSettings.getUriFor(Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS), in registerObserversAndCallbacks()
249 mSecureSettings.getUriFor(ENABLED_ACCESSIBILITY_SERVICES), in registerObserversAndCallbacks()
255 mSecureSettings.getUriFor(Settings.Secure.ACCESSIBILITY_FLOATING_MENU_SIZE), in registerObserversAndCallbacks()
259 mSecureSettings.getUriFor(ACCESSIBILITY_FLOATING_MENU_FADE_ENABLED), in registerObserversAndCallbacks()
263 mSecureSettings.getUriFor(ACCESSIBILITY_FLOATING_MENU_OPACITY), in registerObserversAndCallbacks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/demomode/
DDemoModeAvailabilityTracker.kt47 globalSettings.getUriFor(DEMO_MODE_ALLOWED), false, allowedObserver) in startTracking()
49 globalSettings.getUriFor(DEMO_MODE_ON), false, onObserver) in startTracking()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java284 registerSettingsObserver(Settings.System.getUriFor(Settings.System.VIBRATE_INPUT_DEVICES)); in onSystemReady()
285 registerSettingsObserver(Settings.System.getUriFor(Settings.System.VIBRATE_ON)); in onSystemReady()
286 registerSettingsObserver(Settings.System.getUriFor( in onSystemReady()
289 Settings.System.getUriFor(Settings.System.ALARM_VIBRATION_INTENSITY)); in onSystemReady()
291 Settings.System.getUriFor(Settings.System.HAPTIC_FEEDBACK_INTENSITY)); in onSystemReady()
293 Settings.System.getUriFor(Settings.System.HARDWARE_HAPTIC_FEEDBACK_INTENSITY)); in onSystemReady()
295 Settings.System.getUriFor(Settings.System.MEDIA_VIBRATION_INTENSITY)); in onSystemReady()
297 Settings.System.getUriFor(Settings.System.NOTIFICATION_VIBRATION_INTENSITY)); in onSystemReady()
299 Settings.System.getUriFor(Settings.System.RING_VIBRATION_INTENSITY)); in onSystemReady()
301 Settings.System.getUriFor(Settings.System.KEYBOARD_VIBRATION_ENABLED)); in onSystemReady()
/frameworks/base/services/core/java/com/android/server/
DCertBlacklister.java130 Settings.Secure.getUriFor(PUBKEY_BLACKLIST_KEY), in registerObservers()
137 Settings.Secure.getUriFor(SERIAL_BLACKLIST_KEY), in registerObservers()
/frameworks/base/core/java/com/android/internal/util/
DNotificationMessagingUtil.java50 Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING), false, mSmsContentObserver); in NotificationMessagingUtil()
89 if (uris.contains(Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING))) {
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/settingsprovider/
DSettingsGlobalChangeFlow.kt25 contentChangeFlow(Settings.Global.getUriFor(name), sendInitialValue)
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java332 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted()
335 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted()
338 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted()
341 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted()
344 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted()
347 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted()
350 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted()
353 cr.registerContentObserver(Settings.Global.getUriFor( in onBootCompleted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java380 Global.getUriFor(Global.DEVICE_PROVISIONED), false, this); in register()
382 Secure.getUriFor(Secure.USER_SETUP_COMPLETE), false, this, mUserId); in register()
389 if (Global.getUriFor(Global.DEVICE_PROVISIONED).equals(uri) in onChange()
390 || Secure.getUriFor(Secure.USER_SETUP_COMPLETE).equals(uri)) { in onChange()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/flags/
DFlagSettingsHelper.kt35 Settings.Secure.getUriFor(name), in getStringFromSecure()

123456789