Home
last modified time | relevance | path

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

12345

/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/core/java/com/android/internal/app/
DNightDisplayController.java437 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_ACTIVATED), in setListener()
439 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_AUTO_MODE), in setListener()
441 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_CUSTOM_START_TIME), in setListener()
443 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_CUSTOM_END_TIME), in setListener()
445 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE), in setListener()
447 cr.registerContentObserver(System.getUriFor(System.DISPLAY_COLOR_MODE), in setListener()
/frameworks/base/services/core/java/com/android/server/am/
DCoreSettingsObserver.java92 Uri uri = Settings.Secure.getUriFor(setting); in beginObserveCoreSettings()
98 Uri uri = Settings.System.getUriFor(setting); in beginObserveCoreSettings()
104 Uri uri = Settings.Global.getUriFor(setting); in beginObserveCoreSettings()
/frameworks/base/core/java/com/android/internal/util/
DNotificationMessagingUtil.java47 Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING), false, mSmsContentObserver); in NotificationMessagingUtil()
70 if (Settings.Secure.getUriFor(DEFAULT_SMS_APP_SETTING).equals(uri)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java268 Global.getUriFor(Global.DEVICE_PROVISIONED), false, this); in register()
270 Secure.getUriFor(Secure.USER_SETUP_COMPLETE), false, this, mUserId); in register()
276 if (Global.getUriFor(Global.DEVICE_PROVISIONED).equals(uri) in onChange()
277 || Secure.getUriFor(Secure.USER_SETUP_COMPLETE).equals(uri)) { in onChange()
DDeviceProvisionedControllerImpl.java43 mDeviceProvisionedUri = Global.getUriFor(Global.DEVICE_PROVISIONED); in DeviceProvisionedControllerImpl()
44 mUserSetupUri = Secure.getUriFor(Secure.USER_SETUP_COMPLETE); in DeviceProvisionedControllerImpl()
/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()
DGestureLauncherService.java171 Settings.Secure.getUriFor(Settings.Secure.CAMERA_GESTURE_DISABLED), in registerContentObservers()
174 Settings.Secure.getUriFor(Settings.Secure.CAMERA_DOUBLE_TAP_POWER_GESTURE_DISABLED), in registerContentObservers()
177 Settings.Secure.getUriFor(Settings.Secure.CAMERA_LIFT_TRIGGER_ENABLED), in registerContentObservers()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java93 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE);
95 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS);
97 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_FOR_VR);
99 Settings.System.getUriFor(Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ);
/frameworks/base/services/net/java/android/net/util/
DMultinetworkPolicyTracker.java87 Settings.Global.getUriFor(NETWORK_AVOID_BAD_WIFI), in MultinetworkPolicyTracker()
88 Settings.Global.getUriFor(NETWORK_METERED_MULTIPATH_PREFERENCE)); in MultinetworkPolicyTracker()
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java168 context.getContentResolver().registerContentObserver(Settings.System.getUriFor( in registerRotationPolicyListener()
171 context.getContentResolver().registerContentObserver(Settings.System.getUriFor( in registerRotationPolicyListener()
/frameworks/base/services/core/java/com/android/server/policy/
DAccessibilityShortcutController.java95 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE), in AccessibilityShortcutController()
98 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED), in AccessibilityShortcutController()
101 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN), in AccessibilityShortcutController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
DDataCollector.java87 Settings.Secure.getUriFor(COLLECTOR_ENABLE), false, in DataCollector()
92 Settings.Secure.getUriFor(COLLECT_BAD_TOUCHES), false, in DataCollector()
97 Settings.Secure.getUriFor(ALLOW_REJECTED_TOUCH_REPORTS), false, in DataCollector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DGlobalSetting.java51 Global.getUriFor(mSettingName), false, this); in setListening()
DSecureSetting.java62 Secure.getUriFor(mSettingName), false, this, mUserId); in setListening()
DAutoAddTracker.java61 Secure.getUriFor(Secure.QS_AUTO_ADDED_TILES), false, mObserver); in AutoAddTracker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DDemoModeFragment.java78 contentResolver.registerContentObserver(Settings.Global.getUriFor( in onCreatePreferences()
80 contentResolver.registerContentObserver(Settings.Global.getUriFor(DEMO_MODE_ON), false, in onCreatePreferences()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DHapticFeedbackController.java48 Uri uri = Settings.System.getUriFor(Settings.System.HAPTIC_FEEDBACK_ENABLED); in start()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsService.java396 if ("system".equals(table)) targetUri = Settings.System.getUriFor(key); in deleteForUser()
397 else if ("secure".equals(table)) targetUri = Settings.Secure.getUriFor(key); in deleteForUser()
398 else if ("global".equals(table)) targetUri = Settings.Global.getUriFor(key); in deleteForUser()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierActionAgent.java166 mSettingsObserver.observe(Settings.Global.getUriFor(mobileData), in handleMessage()
169 Settings.Global.getUriFor(Settings.Global.AIRPLANE_MODE_ON), in handleMessage()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java107 Settings.Global.getUriFor(Settings.Global.DEVICE_PROVISIONED), 0)) in isDeferredForProvision()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java277 final Uri defaultSmsAppUri = Settings.Secure.getUriFor( in registerDefaultAppNotifier()
279 final Uri defaultDialerAppUri = Settings.Secure.getUriFor( in registerDefaultAppNotifier()
/frameworks/base/services/core/java/com/android/server/location/
DLocationBlacklist.java61 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( in init()
/frameworks/base/services/core/java/com/android/server/vr/
DSettingsObserver.java108 Uri settingUri = Settings.Secure.getUriFor(settingName); in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DAlwaysOnDisplayPolicy.java121 = Settings.Global.getUriFor(Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS);

12345