Home
last modified time | relevance | path

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

1234

/frameworks/base/services/core/java/com/android/server/am/
DCoreSettingsObserver.java85 Uri uri = Settings.Secure.getUriFor(setting); in beginObserveCoreSettings()
91 Uri uri = Settings.System.getUriFor(setting); in beginObserveCoreSettings()
97 Uri uri = Settings.Global.getUriFor(setting); in beginObserveCoreSettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DZenModeControllerImpl.java285 Global.getUriFor(Global.DEVICE_PROVISIONED), false, this); in register()
287 Secure.getUriFor(Secure.USER_SETUP_COMPLETE), false, this, mUserId); in register()
293 if (Global.getUriFor(Global.DEVICE_PROVISIONED).equals(uri) in onChange()
294 || Secure.getUriFor(Secure.USER_SETUP_COMPLETE).equals(uri)) { in onChange()
/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()
DSamplingProfilerService.java93 Settings.Global.getUriFor(Settings.Global.SAMPLING_PROFILER_MS), in registerSettingObserver()
DNetworkTimeUpdateService.java289 resolver.registerContentObserver(Settings.Global.getUriFor(Settings.Global.AUTO_TIME), in observe()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DBrightnessController.java74 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS_MODE);
76 Settings.System.getUriFor(Settings.System.SCREEN_BRIGHTNESS);
78 Settings.System.getUriFor(Settings.System.SCREEN_AUTO_BRIGHTNESS_ADJ);
/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/cmds/settings/src/com/android/commands/settings/
DSettingsCmd.java270 if ("system".equals(table)) targetUri = Settings.System.getUriFor(key); in deleteForUser()
271 else if ("secure".equals(table)) targetUri = Settings.Secure.getUriFor(key); in deleteForUser()
272 else if ("global".equals(table)) targetUri = Settings.Global.getUriFor(key); in deleteForUser()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java51 assertEquals(1, r.delete(Settings.Secure.getUriFor("test_service"), null, null)); in testNameValueCache()
61 assertEquals(1, r.delete(Settings.System.getUriFor("test_setting"), null, null)); in testNameValueCache()
70 Settings.System.getUriFor("test_setting").toString()); in testRowNameContentUri()
72 Settings.Secure.getUriFor("test_service").toString()); in testRowNameContentUri()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DDemoModeFragment.java79 contentResolver.registerContentObserver(Settings.Global.getUriFor( in onCreate()
81 contentResolver.registerContentObserver(Settings.Global.getUriFor(DEMO_MODE_ON), false, in onCreate()
DTunerFragment.java109 System.getUriFor(SHOW_PERCENT_SETTING), false, mSettingObserver); in onResume()
DTunerService.java91 Uri uri = Settings.Secure.getUriFor(key); in addTunable()
/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()
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/
DHapticFeedbackController.java48 Uri uri = Settings.System.getUriFor(Settings.System.HAPTIC_FEEDBACK_ENABLED); in start()
/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/power/
DPowerManagerService.java569 resolver.registerContentObserver(Settings.Secure.getUriFor( in systemReady()
572 resolver.registerContentObserver(Settings.Secure.getUriFor( in systemReady()
575 resolver.registerContentObserver(Settings.Secure.getUriFor( in systemReady()
578 resolver.registerContentObserver(Settings.System.getUriFor( in systemReady()
581 resolver.registerContentObserver(Settings.Secure.getUriFor( in systemReady()
584 resolver.registerContentObserver(Settings.Global.getUriFor( in systemReady()
587 resolver.registerContentObserver(Settings.System.getUriFor( in systemReady()
590 resolver.registerContentObserver(Settings.System.getUriFor( in systemReady()
593 resolver.registerContentObserver(Settings.System.getUriFor( in systemReady()
596 resolver.registerContentObserver(Settings.Global.getUriFor( in systemReady()
[all …]
/frameworks/base/services/core/java/com/android/server/location/
DLocationBlacklist.java61 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( in init()
DLocationFudger.java150 mContext.getContentResolver().registerContentObserver(Settings.Secure.getUriFor( in LocationFudger()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiController.java247 Settings.Global.getUriFor(Settings.Global.STAY_ON_WHILE_PLUGGED_IN), in registerForStayAwakeModeChange()
263 Settings.Global.getUriFor(Settings.Global.WIFI_IDLE_MS), in registerForWifiIdleTimeChange()
278 Settings.Global.getUriFor(Settings.Global.WIFI_SLEEP_POLICY), in registerForWifiSleepPolicyChange()
DWifiNotificationController.java279 cr.registerContentObserver(Settings.Global.getUriFor( in register()
/frameworks/base/core/java/android/provider/
DSettings.java1270 public static Uri getUriFor(Uri uri, String name) { in getUriFor() method in Settings.NameValueTable
1680 public static Uri getUriFor(String name) { in getUriFor() method in Settings.System
1684 return Secure.getUriFor(Secure.CONTENT_URI, name); in getUriFor()
1689 return Global.getUriFor(Global.CONTENT_URI, name); in getUriFor()
1691 return getUriFor(CONTENT_URI, name); in getUriFor()
2673 public static final Uri DEFAULT_RINGTONE_URI = getUriFor(RINGTONE);
2691 public static final Uri DEFAULT_NOTIFICATION_URI = getUriFor(NOTIFICATION_SOUND);
2709 public static final Uri DEFAULT_ALARM_ALERT_URI = getUriFor(ALARM_ALERT);
3986 public static Uri getUriFor(String name) { in getUriFor() method in Settings.Secure
3990 return Global.getUriFor(Global.CONTENT_URI, name); in getUriFor()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DWifiDisplayController.java186 resolver.registerContentObserver(Settings.Global.getUriFor( in WifiDisplayController()
188 resolver.registerContentObserver(Settings.Global.getUriFor( in WifiDisplayController()
190 resolver.registerContentObserver(Settings.Global.getUriFor( in WifiDisplayController()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java3865 private final Uri mAccessibilityEnabledUri = Settings.Secure.getUriFor(
3868 private final Uri mTouchExplorationEnabledUri = Settings.Secure.getUriFor(
3871 private final Uri mDisplayMagnificationEnabledUri = Settings.Secure.getUriFor(
3874 private final Uri mEnabledAccessibilityServicesUri = Settings.Secure.getUriFor(
3878 .getUriFor(Settings.Secure.TOUCH_EXPLORATION_GRANTED_ACCESSIBILITY_SERVICES);
3881 .getUriFor(Settings.Secure.ACCESSIBILITY_SCRIPT_INJECTION);
3883 private final Uri mDisplayInversionEnabledUri = Settings.Secure.getUriFor(
3886 private final Uri mDisplayDaltonizerEnabledUri = Settings.Secure.getUriFor(
3889 private final Uri mDisplayDaltonizerUri = Settings.Secure.getUriFor(
3892 private final Uri mHighTextContrastUri = Settings.Secure.getUriFor(
/frameworks/base/services/core/java/com/android/server/search/
DSearchManagerService.java181 Settings.Secure.getUriFor(Settings.Secure.SEARCH_GLOBAL_SEARCH_ACTIVITY), in GlobalSearchProviderObserver()

1234