/frameworks/base/packages/SettingsProvider/test/src/android/provider/ |
D | SettingsBackupTest.java | 64 Settings.System.ADVANCED_SETTINGS, // candidate for backup? 65 Settings.System.ALARM_ALERT_CACHE, // internal cache 66 Settings.System.APPEND_FOR_LAST_AUDIBLE, // suffix deprecated since API 2 67 Settings.System.EGG_MODE, // I am the lolrus 68 Settings.System.END_BUTTON_BEHAVIOR, // bug? 69 Settings.System 71 Settings.System.LOCKSCREEN_DISABLED, // ? 72 Settings.System.MEDIA_BUTTON_RECEIVER, // candidate for backup? 73 Settings.System.MUTE_STREAMS_AFFECTED, // candidate for backup? 74 Settings.System.NOTIFICATION_SOUND_CACHE, // internal cache [all …]
|
/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/ |
D | SecureSettings.java | 20 import android.provider.Settings; 32 Settings.Secure.BUGREPORT_IN_POWER_MENU, // moved to global 33 Settings.Secure.ALLOW_MOCK_LOCATION, 34 Settings.Secure.USB_MASS_STORAGE_ENABLED, // moved to global 35 Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, 36 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER, 37 Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED, 38 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED, 39 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED, 40 Settings.Secure.ADAPTIVE_CHARGING_ENABLED, [all …]
|
D | SystemSettings.java | 20 import android.provider.Settings; 34 Settings.System.STAY_ON_WHILE_PLUGGED_IN, // moved to global 35 Settings.System.WIFI_USE_STATIC_IP, 36 Settings.System.WIFI_STATIC_IP, 37 Settings.System.WIFI_STATIC_GATEWAY, 38 Settings.System.WIFI_STATIC_NETMASK, 39 Settings.System.WIFI_STATIC_DNS1, 40 Settings.System.WIFI_STATIC_DNS2, 41 Settings.System.BLUETOOTH_DISCOVERABILITY, 42 Settings.System.BLUETOOTH_DISCOVERABILITY_TIMEOUT, [all …]
|
D | GlobalSettings.java | 19 import android.provider.Settings; 41 Settings.Global.APPLY_RAMPING_RINGER, 42 Settings.Global.BUGREPORT_IN_POWER_MENU, 43 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 44 Settings.Global.APP_AUTO_RESTRICTION_ENABLED, 45 Settings.Global.AUTO_TIME, 46 Settings.Global.AUTO_TIME_ZONE, 47 Settings.Global.POWER_SOUNDS_ENABLED, 48 Settings.Global.DOCK_SOUNDS_ENABLED, 49 Settings.Global.CHARGING_SOUNDS_ENABLED, [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 22 import android.provider.Settings; 163 Settings.Global.ACTIVITY_MANAGER_CONSTANTS, in dumpProtoGlobalSettingsLocked() 166 Settings.Global.ADB_ENABLED, in dumpProtoGlobalSettingsLocked() 169 Settings.Global.ADD_USERS_WHEN_LOCKED, in dumpProtoGlobalSettingsLocked() 174 Settings.Global.AIRPLANE_MODE_ON, in dumpProtoGlobalSettingsLocked() 182 Settings.Global.AIRPLANE_MODE_RADIOS, in dumpProtoGlobalSettingsLocked() 185 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS, in dumpProtoGlobalSettingsLocked() 190 Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED, in dumpProtoGlobalSettingsLocked() 193 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, in dumpProtoGlobalSettingsLocked() 196 Settings.Global.ALWAYS_FINISH_ACTIVITIES, in dumpProtoGlobalSettingsLocked() [all …]
|
D | DatabaseHelper.java | 41 import android.provider.Settings; 42 import android.provider.Settings.Global; 43 import android.provider.Settings.Secure; 344 Settings.Secure.ADB_ENABLED, in onUpgrade() 345 Settings.Secure.ANDROID_ID, in onUpgrade() 346 Settings.Secure.BLUETOOTH_ON, in onUpgrade() 347 Settings.Secure.DATA_ROAMING, in onUpgrade() 348 Settings.Secure.DEVICE_PROVISIONED, in onUpgrade() 349 Settings.Secure.HTTP_PROXY, in onUpgrade() 350 Settings.Secure.INSTALL_NON_MARKET_APPS, in onUpgrade() [all …]
|
D | SettingsHelper.java | 37 import android.provider.Settings; 86 sBroadcastOnRestore.add(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS); 87 sBroadcastOnRestore.add(Settings.Secure.ENABLED_VR_LISTENERS); 88 sBroadcastOnRestore.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 89 sBroadcastOnRestore.add(Settings.Global.BLUETOOTH_ON); 90 sBroadcastOnRestore.add(Settings.Secure.UI_NIGHT_MODE); 91 sBroadcastOnRestore.add(Settings.Secure.DARK_THEME_CUSTOM_START_TIME); 92 sBroadcastOnRestore.add(Settings.Secure.DARK_THEME_CUSTOM_END_TIME); 93 sBroadcastOnRestore.add(Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED); 94 sBroadcastOnRestore.add(Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS); [all …]
|
D | SettingsService.java | 32 import android.provider.Settings; 176 mResetMode = Settings.RESET_MODE_UNTRUSTED_DEFAULTS; in onCommand() 178 mResetMode = Settings.RESET_MODE_UNTRUSTED_CHANGES; in onCommand() 180 mResetMode = Settings.RESET_MODE_TRUSTED_DEFAULTS; in onCommand() 183 mResetMode = Settings.RESET_MODE_PACKAGE_DEFAULTS; in onCommand() 302 if ("system".equals(table)) callListCommand = Settings.CALL_METHOD_LIST_SYSTEM; in listForUser() 303 else if ("secure".equals(table)) callListCommand = Settings.CALL_METHOD_LIST_SECURE; in listForUser() 304 else if ("global".equals(table)) callListCommand = Settings.CALL_METHOD_LIST_GLOBAL; in listForUser() 312 arg.putInt(Settings.CALL_METHOD_USER_KEY, userHandle); in listForUser() 315 Bundle result = provider.call(attributionSource, Settings.AUTHORITY, in listForUser() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 52 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 …]
|
D | NameValueCacheTest.java | 74 Settings.Config.clearProviderForTest(); in setUp() 88 eq(Settings.CALL_METHOD_SET_ALL_CONFIG), in setUp() 93 Settings.CALL_METHOD_FLAGS_KEY); in setUp() 94 String prefix = incomingBundle.getString(Settings.CALL_METHOD_PREFIX_KEY); in setUp() 99 result.putInt(Settings.KEY_CONFIG_SET_ALL_RETURN, in setUp() 100 Settings.SET_ALL_RESULT_SUCCESS); in setUp() 108 eq(Settings.CALL_METHOD_LIST_CONFIG), in setUp() 112 String prefix = incomingBundle.getString(Settings.CALL_METHOD_PREFIX_KEY); in setUp() 120 bundle.putSerializable(Settings.NameValueTable.VALUE, keyValues); in setUp() 122 if (incomingBundle.containsKey(Settings.CALL_METHOD_TRACK_GENERATION_KEY)) { in setUp() [all …]
|
/frameworks/proto_logging/stats/enums/app/ |
D | settings_enums.proto | 30 // 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/ |
D | Estimate.kt | 20 import android.provider.Settings 50 Settings.Global.getLong(resolver, in getCachedEstimateIfAvailable() 51 Settings.Global.TIME_REMAINING_ESTIMATE_MILLIS, in getCachedEstimateIfAvailable() 53 Settings.Global.getInt(resolver, in getCachedEstimateIfAvailable() 54 Settings.Global.TIME_REMAINING_ESTIMATE_BASED_ON_USAGE, 0) == 1, in getCachedEstimateIfAvailable() 55 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() 75 Settings.Global.putLong(resolver, Settings.Global.AVERAGE_TIME_TO_DISCHARGE, in storeCachedEstimate() 77 Settings.Global.putLong(resolver, Settings.Global.BATTERY_ESTIMATES_LAST_UPDATE_TIME, in storeCachedEstimate() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | ZenDurationDialogTest.java | 29 import android.provider.Settings; 64 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testAlwaysPrompt() 65 Settings.Global.ZEN_DURATION_PROMPT); in testAlwaysPrompt() 78 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testForever() 79 Settings.Secure.ZEN_DURATION_FOREVER); in testForever() 92 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, 45); in testSpecificDuration() 105 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseAlwaysPromptSetting() 106 Settings.Secure.ZEN_DURATION_FOREVER); in testChooseAlwaysPromptSetting() 111 mController.updateZenDuration(Settings.Secure.ZEN_DURATION_FOREVER); in testChooseAlwaysPromptSetting() 113 assertEquals(Settings.Secure.ZEN_DURATION_PROMPT, Settings.Secure.getInt(mContentResolver, in testChooseAlwaysPromptSetting() [all …]
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ReviewNotificationPermissionsReceiverTest.java | 25 import android.provider.Settings; 72 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_remindMeLater_firstTime() 73 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_remindMeLater_firstTime() 87 Settings.Global.getInt(mContext.getContentResolver(), in testReceive_remindMeLater_firstTime() 88 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_remindMeLater_firstTime() 96 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_remindMeLater_laterTimes() 97 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_remindMeLater_laterTimes() 112 Settings.Global.getInt(mContext.getContentResolver(), in testReceive_remindMeLater_laterTimes() 113 Settings.Global.REVIEW_PERMISSIONS_NOTIFICATION_STATE, in testReceive_remindMeLater_laterTimes() 121 Settings.Global.putInt(mContext.getContentResolver(), in testReceive_dismiss() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | GestureNavigationSettingsObserver.java | 28 import android.provider.Settings; 65 Settings.Secure.getUriFor(Settings.Secure.BACK_GESTURE_INSET_SCALE_LEFT), in register() 68 Settings.Secure.getUriFor(Settings.Secure.BACK_GESTURE_INSET_SCALE_RIGHT), in register() 71 Settings.Secure.getUriFor(Settings.Secure.USER_SETUP_COMPLETE), in register() 85 Settings.Secure.getUriFor(Settings.Secure.BACK_GESTURE_INSET_SCALE_LEFT), in registerForCallingUser() 88 Settings.Secure.getUriFor(Settings.Secure.BACK_GESTURE_INSET_SCALE_RIGHT), in registerForCallingUser() 91 Settings.Secure.getUriFor(Settings.Secure.USER_SETUP_COMPLETE), in registerForCallingUser() 117 final float scale = Settings.Secure.getFloatForUser(mContext.getContentResolver(), in getLeftSensitivity() 118 Settings.Secure.BACK_GESTURE_INSET_SCALE_LEFT, 1.0f, UserHandle.USER_CURRENT); in getLeftSensitivity() 128 final float scale = Settings.Secure.getFloat(mContext.getContentResolver(), in getLeftSensitivityForCallingUser() [all …]
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/onehanded/ |
D | OneHandedSettingsUtil.java | 26 import android.provider.Settings; 85 uriKey = Settings.Secure.getUriFor(key); in registerSettingsKeyObserver() 111 return Settings.Secure.getIntForUser(resolver, in getSettingsOneHandedModeEnabled() 112 Settings.Secure.ONE_HANDED_MODE_ENABLED, 0 /* Disabled */, userId) == 1; in getSettingsOneHandedModeEnabled() 121 return Settings.Secure.putIntForUser(resolver, in setOneHandedModeEnabled() 122 Settings.Secure.ONE_HANDED_MODE_ENABLED, enabled, userId); in setOneHandedModeEnabled() 132 return Settings.Secure.getIntForUser(resolver, in getSettingsTapsAppToExit() 133 Settings.Secure.TAPS_APP_TO_EXIT, 1, userId) == 1; in getSettingsTapsAppToExit() 144 return Settings.Secure.getIntForUser(resolver, in getSettingsOneHandedModeTimeout() 145 Settings.Secure.ONE_HANDED_MODE_TIMEOUT, ONE_HANDED_TIMEOUT_MEDIUM_IN_SECONDS, in getSettingsOneHandedModeTimeout() [all …]
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsHelperRestoreTest.java | 26 import android.provider.Settings; 62 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE; in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 67 Settings.Secure.putFloat(mContentResolver, settingName, configuredSettingValue); in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 73 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 80 Settings.Secure.getFloat(mContentResolver, settingName), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 89 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE; in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() 96 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() 103 Settings.Secure.getFloat(mContentResolver, settingName), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() 118 Settings.Secure.putFloat( in setDefaultAccessibilityDisplayMagnificationScale() 120 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, in setDefaultAccessibilityDisplayMagnificationScale() [all …]
|
D | BaseSettingsProviderTest.java | 27 import android.provider.Settings; 60 Settings.NameValueTable.NAME, Settings.NameValueTable.VALUE 67 Settings.Global.clearProviderForTest(); in setUp() 68 Settings.Secure.clearProviderForTest(); in setUp() 69 Settings.System.clearProviderForTest(); in setUp() 74 Settings.Global.clearProviderForTest(); in tearDown() 75 Settings.Secure.clearProviderForTest(); in tearDown() 76 Settings.System.clearProviderForTest(); in tearDown() 84 Settings.Global.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting() 88 Settings.Secure.putStringForUser(contentResolver, name, value, userId); in setStringViaFrontEndApiSetting() [all …]
|
D | SettingsHelperTest.java | 36 import android.provider.Settings; 122 Settings.Global.POWER_BUTTON_LONG_PRESS, "5", 0); in testRestoreValue_lppForAssistantEnabled_updatesValue() 125 Settings.Global.getInt(cr, Settings.Global.POWER_BUTTON_LONG_PRESS, -1)) in testRestoreValue_lppForAssistantEnabled_updatesValue() 127 assertThat(Settings.Global.getInt(cr, Settings.Global.KEY_CHORD_POWER_VOLUME_UP, in testRestoreValue_lppForAssistantEnabled_updatesValue() 148 Settings.Global.POWER_BUTTON_LONG_PRESS, "2", 0); in testRestoreValue_lppForAssistantNotEnabled_updatesValueToDefaultConfig() 151 Settings.Global.getInt(cr, Settings.Global.POWER_BUTTON_LONG_PRESS, -1)) in testRestoreValue_lppForAssistantNotEnabled_updatesValueToDefaultConfig() 153 assertThat(Settings.Global.getInt(cr, Settings.Global.KEY_CHORD_POWER_VOLUME_UP, in testRestoreValue_lppForAssistantNotEnabled_updatesValueToDefaultConfig() 174 Settings.Global.POWER_BUTTON_LONG_PRESS, "2", 0); in testRestoreValue_lppForAssistantNotEnabledDefaultConfig_updatesValue() 177 Settings.Global.getInt(cr, Settings.Global.POWER_BUTTON_LONG_PRESS, -1)) in testRestoreValue_lppForAssistantNotEnabledDefaultConfig_updatesValue() 179 assertThat(Settings.Global.getInt(cr, Settings.Global.KEY_CHORD_POWER_VOLUME_UP, in testRestoreValue_lppForAssistantNotEnabledDefaultConfig_updatesValue() [all …]
|
/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/helpers/ |
D | AssistantAppHelper.kt | 21 import android.provider.Settings 33 protected val defaultAssistant: String? = Settings.Secure.getString( 35 Settings.Secure.ASSISTANT) 36 protected val defaultVoiceInteractionService: String? = Settings.Secure.getString( 38 Settings.Secure.VOICE_INTERACTION_SERVICE) 41 Settings.Secure.putString( in setDefaultAssistant() 43 Settings.Secure.VOICE_INTERACTION_SERVICE, in setDefaultAssistant() 45 Settings.Secure.putString( in setDefaultAssistant() 47 Settings.Secure.ASSISTANT, in setDefaultAssistant() 52 Settings.Secure.putString( in resetDefaultAssistant() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | AmbientDisplayConfiguration.java | 23 import android.provider.Settings; 47 Settings.Secure.DOZE_ENABLED, 48 Settings.Secure.DOZE_ALWAYS_ON, 49 Settings.Secure.DOZE_PICK_UP_GESTURE, 50 Settings.Secure.DOZE_PULSE_ON_LONG_PRESS, 51 Settings.Secure.DOZE_DOUBLE_TAP_GESTURE, 52 Settings.Secure.DOZE_WAKE_LOCK_SCREEN_GESTURE, 53 Settings.Secure.DOZE_WAKE_DISPLAY_GESTURE, 54 Settings.Secure.DOZE_TAP_SCREEN_GESTURE 59 Settings.Secure.DOZE_QUICK_PICKUP_GESTURE [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CoreSettingsObserver.java | 27 import android.provider.Settings; 78 sSecureSettingToTypeMap.put(Settings.Secure.LONG_PRESS_TIMEOUT, int.class); in sSecureSettingToTypeMap.put() 79 sSecureSettingToTypeMap.put(Settings.Secure.MULTI_PRESS_TIMEOUT, int.class); in sSecureSettingToTypeMap.put() 82 sSystemSettingToTypeMap.put(Settings.System.TIME_12_24, String.class); in sSystemSettingToTypeMap.put() 85 sGlobalSettingToTypeMap.put(Settings.Global.DEBUG_VIEW_ATTRIBUTES, int.class); in sGlobalSettingToTypeMap.put() 87 Settings.Global.DEBUG_VIEW_ATTRIBUTES_APPLICATION_PACKAGE, String.class); in sGlobalSettingToTypeMap.put() 89 Settings.Global.ANGLE_DEBUG_PACKAGE, String.class); in sGlobalSettingToTypeMap.put() 91 Settings.Global.ANGLE_GL_DRIVER_ALL_ANGLE, int.class); in sGlobalSettingToTypeMap.put() 93 Settings.Global.ANGLE_GL_DRIVER_SELECTION_PKGS, String.class); in sGlobalSettingToTypeMap.put() 95 Settings.Global.ANGLE_GL_DRIVER_SELECTION_VALUES, String.class); in sGlobalSettingToTypeMap.put() [all …]
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestableSettingsProvider.java | 24 import android.provider.Settings; 53 Settings.Global.clearProviderForTest(); in clearValuesAndCheck() 54 Settings.Secure.clearProviderForTest(); in clearValuesAndCheck() 55 Settings.System.clearProviderForTest(); in clearValuesAndCheck() 58 Settings.Global.putString(context.getContentResolver(), MY_UNIQUE_KEY, MY_UNIQUE_KEY); in clearValuesAndCheck() 59 Settings.Secure.putString(context.getContentResolver(), MY_UNIQUE_KEY, MY_UNIQUE_KEY); in clearValuesAndCheck() 60 Settings.System.putString(context.getContentResolver(), MY_UNIQUE_KEY, MY_UNIQUE_KEY); in clearValuesAndCheck() 64 Settings.Global.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck() 66 Settings.Secure.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck() 68 Settings.System.getString(context.getContentResolver(), MY_UNIQUE_KEY)); in clearValuesAndCheck() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SettingsAdapter.java | 20 import android.provider.Settings; 36 return Settings.Global.getInt(cr, name, def); in getGlobalInt() 41 return Settings.Global.getString(resolver, name); in getGlobalString() 46 return Settings.Global.putInt(cr, name, value); in putGlobalInt() 51 return Settings.Global.putString(resolver, name, value); in putGlobalString() 60 return Settings.System.getIntForUser(cr, name, def, userHandle); in getSystemIntForUser() 65 return Settings.System.putIntForUser(cr, name, value, userHandle); in putSystemIntForUser() 74 return Settings.Secure.getIntForUser(cr, name, def, userHandle); in getSecureIntForUser() 79 return Settings.Secure.getStringForUser(resolver, name, userHandle); in getSecureStringForUser() 84 return Settings.Secure.putIntForUser(cr, name, value, userHandle); in putSecureIntForUser() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/floatingmenu/ |
D | AccessibilityFloatingMenuControllerTest.java | 19 import static android.provider.Settings.Secure.ACCESSIBILITY_BUTTON_MODE_FLOATING_MENU; 20 import static android.provider.Settings.Secure.ACCESSIBILITY_BUTTON_MODE_NAVIGATION_BAR; 32 import android.provider.Settings; 206 Settings.Secure.putStringForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonModeChanged_floatingModeAndHasButtonTargets_showWidget() 207 Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS, TEST_A11Y_BTN_TARGETS, in onAccessibilityButtonModeChanged_floatingModeAndHasButtonTargets_showWidget() 218 Settings.Secure.putStringForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonModeChanged_floatingModeAndNoButtonTargets_destroyWidget() 219 Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS, "", ActivityManager.getCurrentUser()); in onAccessibilityButtonModeChanged_floatingModeAndNoButtonTargets_destroyWidget() 229 Settings.Secure.putStringForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonModeChanged_navBarModeAndHasButtonTargets_destroyWidget() 230 Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS, TEST_A11Y_BTN_TARGETS, in onAccessibilityButtonModeChanged_navBarModeAndHasButtonTargets_destroyWidget() 241 Settings.Secure.putStringForUser(mContextWrapper.getContentResolver(), in onAccessibilityButtonModeChanged_navBarModeAndNoButtonTargets_destroyWidget() [all …]
|