Home
last modified time | relevance | path

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

12345678910>>...29

/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsBackupTest.java60 Settings.System.ADVANCED_SETTINGS, // candidate for backup?
61 Settings.System.ALARM_ALERT_CACHE, // internal cache
62 Settings.System.APPEND_FOR_LAST_AUDIBLE, // suffix deprecated since API 2
63 Settings.System.EGG_MODE, // I am the lolrus
64 Settings.System.END_BUTTON_BEHAVIOR, // bug?
65 Settings.System
67 Settings.System.LOCKSCREEN_DISABLED, // ?
68 Settings.System.MEDIA_BUTTON_RECEIVER, // candidate for backup?
69 Settings.System.MUTE_STREAMS_AFFECTED, // candidate for backup?
70 Settings.System.NOTIFICATION_SOUND_CACHE, // internal cache
[all …]
DSettingsProviderTest.java52 Settings.Secure.putString(r, "test_service", "Value"); in testNameValueCache()
53 assertEquals("Value", Settings.Secure.getString(r, "test_service")); in testNameValueCache()
56 Settings.Secure.putString(r, "test_service", "New"); in testNameValueCache()
57 assertEquals("New", Settings.Secure.getString(r, "test_service")); in testNameValueCache()
60 assertEquals(1, r.delete(Settings.Secure.getUriFor("test_service"), null, null)); in testNameValueCache()
61 assertEquals(null, Settings.Secure.getString(r, "test_service")); in testNameValueCache()
65 Settings.System.putString(r, "test_setting", "Value"); in testNameValueCache()
79 testRowNameContentUri(Settings.Secure.CONTENT_URI, Settings.Secure.NAME, in testRowNameContentUriForSecure()
80 Settings.Secure.VALUE, testKey, testValue, secondTestValue); in testRowNameContentUriForSecure()
83 Settings.Secure.putString(getContext().getContentResolver(), testKey, null); in testRowNameContentUriForSecure()
[all …]
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java21 import android.provider.Settings;
98 Settings.Global.ACTIVITY_MANAGER_CONSTANTS, in dumpProtoGlobalSettingsLocked()
101 Settings.Global.ADB_ENABLED, in dumpProtoGlobalSettingsLocked()
104 Settings.Global.ADD_USERS_WHEN_LOCKED, in dumpProtoGlobalSettingsLocked()
109 Settings.Global.AIRPLANE_MODE_ON, in dumpProtoGlobalSettingsLocked()
117 Settings.Global.AIRPLANE_MODE_RADIOS, in dumpProtoGlobalSettingsLocked()
120 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS, in dumpProtoGlobalSettingsLocked()
125 Settings.Global.ALARM_MANAGER_CONSTANTS, in dumpProtoGlobalSettingsLocked()
128 Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED, in dumpProtoGlobalSettingsLocked()
131 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, in dumpProtoGlobalSettingsLocked()
[all …]
DDatabaseHelper.java41 import android.provider.Settings;
42 import android.provider.Settings.Global;
43 import android.provider.Settings.Secure;
342 Settings.Secure.ADB_ENABLED, in onUpgrade()
343 Settings.Secure.ANDROID_ID, in onUpgrade()
344 Settings.Secure.BLUETOOTH_ON, in onUpgrade()
345 Settings.Secure.DATA_ROAMING, in onUpgrade()
346 Settings.Secure.DEVICE_PROVISIONED, in onUpgrade()
347 Settings.Secure.HTTP_PROXY, in onUpgrade()
348 Settings.Secure.INSTALL_NON_MARKET_APPS, in onUpgrade()
[all …]
DSettingsHelper.java36 import android.provider.Settings;
74 sBroadcastOnRestore.add(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS);
75 sBroadcastOnRestore.add(Settings.Secure.ENABLED_VR_LISTENERS);
76 sBroadcastOnRestore.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES);
77 sBroadcastOnRestore.add(Settings.Global.BLUETOOTH_ON);
86 return Settings.System.getStringForUser(resolver, name, userHandle);
92 return Settings.Secure.getStringForUser(resolver, name, userHandle);
98 return Settings.Global.getStringForUser(resolver, name, userHandle);
126 if (destination.equals(Settings.Secure.CONTENT_URI)) { in restoreValue()
128 } else if (destination.equals(Settings.System.CONTENT_URI)) { in restoreValue()
[all …]
DSettingsService.java31 import android.provider.Settings;
175 mResetMode = Settings.RESET_MODE_UNTRUSTED_DEFAULTS; in onCommand()
177 mResetMode = Settings.RESET_MODE_UNTRUSTED_CHANGES; in onCommand()
179 mResetMode = Settings.RESET_MODE_TRUSTED_DEFAULTS; in onCommand()
182 mResetMode = Settings.RESET_MODE_PACKAGE_DEFAULTS; in onCommand()
301 if ("system".equals(table)) callListCommand = Settings.CALL_METHOD_LIST_SYSTEM; in listForUser()
302 else if ("secure".equals(table)) callListCommand = Settings.CALL_METHOD_LIST_SECURE; in listForUser()
303 else if ("global".equals(table)) callListCommand = Settings.CALL_METHOD_LIST_GLOBAL; in listForUser()
311 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle); in listForUser()
312 Bundle result = provider.call(resolveCallingPackage(), Settings.AUTHORITY, in listForUser()
[all …]
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto30 // ACTION: Settings > Wi-Fi > [Long press network] > Connect to network
36 // ACTION: Settings > Wi-Fi > [Long press network] > Forget network
41 // ACTION: Settings > Wi-Fi > Toggle off
47 // ACTION: Settings > Wi-Fi > Toggle on
52 // ACTION: Settings > Bluetooth > Overflow > Rename this device
57 // ACTION: Settings > Bluetooth > Overflow > Show received files
62 // ACTION: DND Settings > Priority only allows > Reminder toggle
68 // ACTION: DND Settings > Priority only allows > Event toggle
74 // ACTION: DND Settings > Priority only allows > Messages
80 // ACTION: DND Settings > Priority only allows > Calls
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/
DEstimate.kt20 import android.provider.Settings
45 Settings.Global.getLong( in getCachedEstimateIfAvailable()
46 resolver, Settings.Global.BATTERY_ESTIMATES_LAST_UPDATE_TIME, -1)) in getCachedEstimateIfAvailable()
51 Settings.Global.getLong(resolver, in getCachedEstimateIfAvailable()
52 Settings.Global.TIME_REMAINING_ESTIMATE_MILLIS, in getCachedEstimateIfAvailable()
54 Settings.Global.getInt(resolver, in getCachedEstimateIfAvailable()
55 Settings.Global.TIME_REMAINING_ESTIMATE_BASED_ON_USAGE, 0) == 1, in getCachedEstimateIfAvailable()
56 Settings.Global.getLong(resolver, Settings.Global.AVERAGE_TIME_TO_DISCHARGE, in getCachedEstimateIfAvailable()
71 Settings.Global.putLong(resolver, Settings.Global.TIME_REMAINING_ESTIMATE_MILLIS, in storeCachedEstimate()
73 Settings.Global.putInt(resolver, Settings.Global.TIME_REMAINING_ESTIMATE_BASED_ON_USAGE, in storeCachedEstimate()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DCoreSettingsObserver.java23 import android.provider.Settings;
50 sSecureSettingToTypeMap.put(Settings.Secure.LONG_PRESS_TIMEOUT, int.class); in sSecureSettingToTypeMap.put()
51 sSecureSettingToTypeMap.put(Settings.Secure.MULTI_PRESS_TIMEOUT, int.class); in sSecureSettingToTypeMap.put()
54 sSystemSettingToTypeMap.put(Settings.System.TIME_12_24, String.class); in sSystemSettingToTypeMap.put()
57 sGlobalSettingToTypeMap.put(Settings.Global.DEBUG_VIEW_ATTRIBUTES, int.class); in sGlobalSettingToTypeMap.put()
59 Settings.Global.DEBUG_VIEW_ATTRIBUTES_APPLICATION_PACKAGE, String.class); in sGlobalSettingToTypeMap.put()
61 Settings.Global.GLOBAL_SETTINGS_ANGLE_DEBUG_PACKAGE, String.class); in sGlobalSettingToTypeMap.put()
63 Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_ALL_ANGLE, String.class); in sGlobalSettingToTypeMap.put()
65 Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_SELECTION_PKGS, String.class); in sGlobalSettingToTypeMap.put()
67 Settings.Global.GLOBAL_SETTINGS_ANGLE_GL_DRIVER_SELECTION_VALUES, String.class); in sGlobalSettingToTypeMap.put()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java21 import android.provider.Settings;
140 Settings.Global.putInt(cr, Settings.Global.WIFI_ON, state); in persistWifiState()
145 String airplaneModeRadios = Settings.Global.getString(mContext.getContentResolver(), in isAirplaneSensitive()
146 Settings.Global.AIRPLANE_MODE_RADIOS); in isAirplaneSensitive()
148 || airplaneModeRadios.contains(Settings.Global.RADIO_WIFI); in isAirplaneSensitive()
153 String toggleableRadios = Settings.Global.getString(mContext.getContentResolver(), in isAirplaneToggleable()
154 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS); in isAirplaneToggleable()
156 && toggleableRadios.contains(Settings.Global.RADIO_WIFI); in isAirplaneToggleable()
186 Settings.Global.putInt(mContext.getContentResolver(), in setWifiSavedState()
187 Settings.Global.WIFI_SAVED_STATE, state); in setWifiSavedState()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/
DZenDurationDialogTest.java27 import android.provider.Settings;
62 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testAlwaysPrompt()
63 Settings.Global.ZEN_DURATION_PROMPT); in testAlwaysPrompt()
76 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testForever()
77 Settings.Secure.ZEN_DURATION_FOREVER); in testForever()
90 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, 45); in testSpecificDuration()
103 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseAlwaysPromptSetting()
104 Settings.Secure.ZEN_DURATION_FOREVER); in testChooseAlwaysPromptSetting()
109 mController.updateZenDuration(Settings.Secure.ZEN_DURATION_FOREVER); in testChooseAlwaysPromptSetting()
111 assertEquals(Settings.Secure.ZEN_DURATION_PROMPT, Settings.Secure.getInt(mContentResolver, in testChooseAlwaysPromptSetting()
[all …]
/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Phone/
DAndroid.mk31 LOCAL_MODULE_RELATIVE_PATH := parameter-framework/Settings/Policy
35 $(LOCAL_PATH)/../Settings/device_for_input_source.pfw \
36 $(LOCAL_PATH)/../Settings/volumes.pfw \
37 $(LOCAL_PATH)/Settings/device_for_product_strategy_media.pfw \
38 $(LOCAL_PATH)/Settings/device_for_product_strategy_accessibility.pfw \
39 $(LOCAL_PATH)/Settings/device_for_product_strategy_dtmf.pfw \
40 $(LOCAL_PATH)/Settings/device_for_product_strategy_enforced_audible.pfw \
41 $(LOCAL_PATH)/Settings/device_for_product_strategy_phone.pfw \
42 $(LOCAL_PATH)/Settings/device_for_product_strategy_sonification.pfw \
43 $(LOCAL_PATH)/Settings/device_for_product_strategy_sonification_respectful.pfw \
[all …]
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperRestoreTest.java26 import android.provider.Settings;
61 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE; in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
66 Settings.Secure.putFloat(mContentResolver, settingName, configuredSettingValue); in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
72 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
79 Settings.Secure.getFloat(mContentResolver, settingName), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
88 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE; in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue()
95 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue()
102 Settings.Secure.getFloat(mContentResolver, settingName), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue()
117 Settings.Secure.putFloat( in setDefaultAccessibilityDisplayMagnificationScale()
119 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, in setDefaultAccessibilityDisplayMagnificationScale()
[all …]
DBaseSettingsProviderTest.java27 import android.provider.Settings;
58 Settings.NameValueTable.NAME, Settings.NameValueTable.VALUE
68 Settings.Global.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
72 Settings.Secure.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
76 Settings.System.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting()
90 return Settings.Global.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
94 return Settings.Secure.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
98 return Settings.System.getStringForUser(contentResolver, name, userId); in getStringViaFrontEndApiSetting()
114 values.put(Settings.NameValueTable.NAME, name); in insertStringViaProviderApi()
115 values.put(Settings.NameValueTable.VALUE, value); in insertStringViaProviderApi()
[all …]
DSettingsProviderTest.java33 import android.provider.Settings;
51 Settings.NameValueTable.NAME, Settings.NameValueTable.VALUE
372 Settings.RESET_MODE_UNTRUSTED_DEFAULTS); in testResetModeUntrustedDefaultsCommon()
413 Settings.RESET_MODE_UNTRUSTED_CHANGES); in testResetModeUntrustedClearCommon()
454 Settings.RESET_MODE_TRUSTED_DEFAULTS); in testResetModeTrustedDefaultsCommon()
498 firstValues.put(Settings.NameValueTable.NAME, FAKE_SETTING_NAME); in toTestBulkInsertViaProviderApiForType()
499 firstValues.put(Settings.NameValueTable.VALUE, FAKE_SETTING_VALUE); in toTestBulkInsertViaProviderApiForType()
504 secondValues.put(Settings.NameValueTable.NAME, FAKE_SETTING_NAME_1); in toTestBulkInsertViaProviderApiForType()
505 secondValues.put(Settings.NameValueTable.VALUE, FAKE_SETTING_VALUE_1); in toTestBulkInsertViaProviderApiForType()
510 thirdValues.put(Settings.NameValueTable.NAME, FAKE_SETTING_NAME_2); in toTestBulkInsertViaProviderApiForType()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java37 import android.provider.Settings;
38 import android.provider.Settings.Global;
538 android.provider.Settings.Global.putStringForUser(cr, in applyUserRestriction()
539 android.provider.Settings.Global.DATA_ROAMING in applyUserRestriction()
545 android.provider.Settings.Global.putStringForUser(cr, in applyUserRestriction()
546 android.provider.Settings.Global.DATA_ROAMING, "0", userId); in applyUserRestriction()
551 android.provider.Settings.Secure.putIntForUser(cr, in applyUserRestriction()
552 android.provider.Settings.Secure.LOCATION_MODE, in applyUserRestriction()
553 android.provider.Settings.Secure.LOCATION_MODE_OFF, in applyUserRestriction()
562 android.provider.Settings.Global.putStringForUser(cr, in applyUserRestriction()
[all …]
/frameworks/opt/gamesdk/src/swappy/
DSettings.cpp27 Settings *Settings::getInstance() { in getInstance()
28 static auto settings = std::make_unique<Settings>(ConstructorTag{}); in getInstance()
32 void Settings::addListener(Listener listener) { in addListener()
37 void Settings::setRefreshPeriod(std::chrono::nanoseconds period) { in setRefreshPeriod()
45 void Settings::setSwapIntervalNS(uint64_t swap_ns) { in setSwapIntervalNS()
54 void Settings::setUseAffinity(bool tf) { in setUseAffinity()
64 std::chrono::nanoseconds Settings::getRefreshPeriod() const { in getRefreshPeriod()
69 uint64_t Settings::getSwapIntervalNS() const { in getSwapIntervalNS()
74 bool Settings::getUseAffinity() const { in getUseAffinity()
79 void Settings::notifyListeners() { in notifyListeners()
/frameworks/opt/gamesdk/samples/bouncyball/app/src/main/cpp/
DSettings.cpp28 Settings *Settings::getInstance() { in getInstance()
29 static auto settings = std::make_unique<Settings>(ConstructorTag{}); in getInstance()
33 void Settings::addListener(Listener listener) { in addListener()
38 void Settings::setPreference(std::string key, std::string value) { in setPreference()
57 std::chrono::nanoseconds Settings::getRefreshPeriod() const { in getRefreshPeriod()
61 int32_t Settings::getSwapIntervalNS() const { in getSwapIntervalNS()
65 bool Settings::getUseAffinity() const { in getUseAffinity()
69 bool Settings::getHotPocket() const { in getHotPocket()
73 void Settings::notifyListeners() { in notifyListeners()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java20 import static android.provider.Settings.Secure.NOTIFICATION_NEW_INTERRUPTION_MODEL;
40 import android.provider.Settings;
106 Settings.Secure.putInt(mContext.getContentResolver(), in testLockScreenShowNotificationsFalse()
107 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 0); in testLockScreenShowNotificationsFalse()
114 Settings.Secure.putInt(mContext.getContentResolver(), in testLockScreenShowNotificationsTrue()
115 Settings.Secure.LOCK_SCREEN_SHOW_NOTIFICATIONS, 1); in testLockScreenShowNotificationsTrue()
122 Settings.Secure.putInt(mContext.getContentResolver(), in testLockScreenAllowPrivateNotificationsTrue()
123 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 1); in testLockScreenAllowPrivateNotificationsTrue()
130 Settings.Secure.putInt(mContext.getContentResolver(), in testLockScreenAllowPrivateNotificationsFalse()
131 Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, 0); in testLockScreenAllowPrivateNotificationsFalse()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java46 import android.provider.Settings;
254 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, null); in testSetActiveScorer_nullPackage_currentIsSet()
256 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testSetActiveScorer_nullPackage_currentIsSet()
279 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, newPackage); in testSetActiveScorer_validPackage()
281 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testSetActiveScorer_validPackage()
303 eq(Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE)); in testUpdateState_recommendationsForcedOff()
305 eq(Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED), anyInt()); in testUpdateState_recommendationsForcedOff()
317 eq(Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE), any()); in testUpdateState_currentPackageValid()
319 Settings.Global.NETWORK_RECOMMENDATIONS_ENABLED, in testUpdateState_currentPackageValid()
336 Settings.Global.NETWORK_RECOMMENDATIONS_PACKAGE, defaultPackage); in testUpdateState_currentPackageNotValid_validDefault()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DOldTimeServiceHelper.java28 import android.provider.Settings;
78 Settings.Global.getUriFor(Settings.Global.AUTO_TIME), true, in setListener()
85 Settings.Global.getUriFor(Settings.Global.AUTO_TIME_ZONE), true, in setListener()
120 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME) > 0; in isTimeDetectionEnabled()
121 } catch (Settings.SettingNotFoundException snfe) { in isTimeDetectionEnabled()
131 return Settings.Global.getInt(mCr, Settings.Global.AUTO_TIME_ZONE) > 0; in isTimeZoneDetectionEnabled()
132 } catch (Settings.SettingNotFoundException snfe) { in isTimeZoneDetectionEnabled()
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto294 // OPEN: Settings > Accessibility
299 // OPEN: Settings > Accessibility > Captions
304 // OPEN: Settings > Accessibility > [Service]
309 // OPEN: Settings > Accessibility > Color correction
314 // OPEN: Settings > Accessibility > Accessibility shortcut
319 // OPEN: Settings > Accessibility > Magnification gestures (Renamed in O)
320 // OPEN: Settings > Accessibility > Magnification > Magnify with triple-tap
321 // OPEN: Settings > Accessibility > Magnification > Magnify with button
326 // OPEN: Settings > Accounts
331 // OPEN: Settings > Accounts > [Single Account Sync Settings]
[all …]
/frameworks/base/core/java/com/android/internal/view/
DRotationPolicy.java29 import android.provider.Settings;
99 Settings.System.getIntForUser(context.getContentResolver(), in isRotationLockToggleVisible()
100 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, 0, in isRotationLockToggleVisible()
108 return Settings.System.getIntForUser(context.getContentResolver(), in isRotationLocked()
109 Settings.System.ACCELEROMETER_ROTATION, 0, UserHandle.USER_CURRENT) == 0; in isRotationLocked()
125 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockAtAngle()
126 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, 0, in setRotationLockAtAngle()
138 Settings.System.putIntForUser(context.getContentResolver(), in setRotationLockForAccessibility()
139 Settings.System.HIDE_ROTATION_LOCK_TOGGLE_FOR_ACCESSIBILITY, enabled ? 1 : 0, in setRotationLockForAccessibility()
181 context.getContentResolver().registerContentObserver(Settings.System.getUriFor( in registerRotationPolicyListener()
[all …]
/frameworks/base/tests/testables/src/android/testing/
DTestableSettingsProvider.java22 import android.provider.Settings;
57 Settings.Global.clearProviderForTest(); in clearValuesAndCheck()
58 Settings.Secure.clearProviderForTest(); in clearValuesAndCheck()
59 Settings.System.clearProviderForTest(); in clearValuesAndCheck()
63 Settings.Global.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck()
65 Settings.Secure.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck()
67 Settings.System.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck()
74 final int userId = extras.getInt(Settings.CALL_METHOD_USER_KEY, 0); in call()
87 out.putString(Settings.NameValueTable.VALUE, value); in call()
95 call.remove(Settings.CALL_METHOD_TRACK_GENERATION_KEY); in call()
[all …]
/frameworks/base/core/java/com/android/internal/accessibility/
DAccessibilityShortcutController.java40 import android.provider.Settings;
97 final String currentShortcutServiceId = Settings.Secure.getStringForUser( in getTargetServiceComponentNameString()
98 context.getContentResolver(), Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, in getTargetServiceComponentNameString()
116 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, in getFrameworkShortcutFeaturesMap()
121 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, in getFrameworkShortcutFeaturesMap()
144 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE), in AccessibilityShortcutController()
147 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED), in AccessibilityShortcutController()
150 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN), in AccessibilityShortcutController()
153 Settings.Secure.getUriFor(Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN), in AccessibilityShortcutController()
178 final boolean enabled = Settings.Secure.getIntForUser( in onSettingsChanged()
[all …]

12345678910>>...29