/frameworks/base/packages/SettingsProvider/src/android/provider/settings/backup/ |
D | SecureSettings.java | 20 import android.provider.Settings; 32 Settings.Secure.BUGREPORT_IN_POWER_MENU, 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 | GlobalSettings.java | 19 import android.provider.Settings; 41 Settings.Global.CONNECTED_APPS_ALLOWED_PACKAGES, 42 Settings.Global.CONNECTED_APPS_DISALLOWED_PACKAGES, 43 Settings.Global.APPLY_RAMPING_RINGER, 44 Settings.Global.BUGREPORT_IN_POWER_MENU, // moved to secure 45 Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 46 Settings.Global.APP_AUTO_RESTRICTION_ENABLED, 47 Settings.Global.AUTO_TIME, 48 Settings.Global.AUTO_TIME_ZONE, 49 Settings.Global.POWER_SOUNDS_ENABLED, [all …]
|
D | SystemSettings.java | 20 import android.provider.Settings; 42 Settings.System.STAY_ON_WHILE_PLUGGED_IN, // moved to global in getSettingsToBackUp() 43 Settings.System.WIFI_USE_STATIC_IP, in getSettingsToBackUp() 44 Settings.System.WIFI_STATIC_IP, in getSettingsToBackUp() 45 Settings.System.WIFI_STATIC_GATEWAY, in getSettingsToBackUp() 46 Settings.System.WIFI_STATIC_NETMASK, in getSettingsToBackUp() 47 Settings.System.WIFI_STATIC_DNS1, in getSettingsToBackUp() 48 Settings.System.WIFI_STATIC_DNS2, in getSettingsToBackUp() 49 Settings.System.BLUETOOTH_DISCOVERABILITY, in getSettingsToBackUp() 50 Settings.System.BLUETOOTH_DISCOVERABILITY_TIMEOUT, in getSettingsToBackUp() [all …]
|
/frameworks/base/packages/SettingsProvider/test/src/android/provider/ |
D | SettingsBackupTest.java | 60 Settings.Global.ACTIVITY_MANAGER_CONSTANTS, 61 Settings.Global.ACTIVITY_STARTS_LOGGING_ENABLED, 62 Settings.Global.ADB_ALLOWED_CONNECTION_TIME, 63 Settings.Global.ADB_ENABLED, 64 Settings.Global.ADB_WIFI_ENABLED, 65 Settings.Global.ADB_DISCONNECT_SESSIONS_ON_REVOKE, 66 Settings.Global.AIRPLANE_MODE_ON, 67 Settings.Global.AIRPLANE_MODE_RADIOS, 68 Settings.Global.ALLOW_WORK_PROFILE_TELEPHONY_FOR_NON_DPM_ROLE_HOLDERS, 69 Settings.Global.SATELLITE_MODE_RADIOS, [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 | 83 Settings.Config.clearProviderForTest(); in setUp() 84 Settings.Secure.clearProviderForTest(); in setUp() 89 mMockContentResolver.addProvider(Settings.Config.CONTENT_URI.getAuthority(), in setUp() 91 mMockContentResolver.addProvider(Settings.Secure.CONTENT_URI.getAuthority(), in setUp() 105 when(mMockIContentProvider.call(any(), eq(Settings.Config.CONTENT_URI.getAuthority()), in setUp() 106 eq(Settings.CALL_METHOD_SET_ALL_CONFIG), any(), any(Bundle.class))).thenAnswer( in setUp() 111 Settings.CALL_METHOD_FLAGS_KEY, HashMap.class); in setUp() 112 String prefix = incomingBundle.getString(Settings.CALL_METHOD_PREFIX_KEY); in setUp() 124 result.putInt(Settings.KEY_CONFIG_SET_ALL_RETURN, in setUp() 125 Settings.SET_ALL_RESULT_SUCCESS); in setUp() [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 22 import android.provider.Settings; 174 Settings.Global.ACTIVITY_MANAGER_CONSTANTS, in dumpProtoGlobalSettingsLocked() 177 Settings.Global.ADB_ENABLED, in dumpProtoGlobalSettingsLocked() 180 Settings.Global.ADD_USERS_WHEN_LOCKED, in dumpProtoGlobalSettingsLocked() 185 Settings.Global.AIRPLANE_MODE_ON, in dumpProtoGlobalSettingsLocked() 193 Settings.Global.AIRPLANE_MODE_RADIOS, in dumpProtoGlobalSettingsLocked() 196 Settings.Global.AIRPLANE_MODE_TOGGLEABLE_RADIOS, in dumpProtoGlobalSettingsLocked() 201 Settings.Global.ALLOW_USER_SWITCHING_WHEN_SYSTEM_USER_LOCKED, in dumpProtoGlobalSettingsLocked() 204 Settings.Global.ALWAYS_ON_DISPLAY_CONSTANTS, in dumpProtoGlobalSettingsLocked() 207 Settings.Global.ALWAYS_FINISH_ACTIVITIES, in dumpProtoGlobalSettingsLocked() [all …]
|
D | DatabaseHelper.java | 38 import android.provider.Settings; 39 import android.provider.Settings.Global; 40 import android.provider.Settings.Secure; 333 Settings.Secure.ADB_ENABLED, in onUpgrade() 334 Settings.Secure.ANDROID_ID, in onUpgrade() 335 Settings.Secure.BLUETOOTH_ON, in onUpgrade() 336 Settings.Secure.DATA_ROAMING, in onUpgrade() 337 Settings.Secure.DEVICE_PROVISIONED, in onUpgrade() 338 Settings.Secure.HTTP_PROXY, in onUpgrade() 339 Settings.Secure.INSTALL_NON_MARKET_APPS, in onUpgrade() [all …]
|
D | SettingsHelper.java | 37 import android.provider.Settings; 92 sBroadcastOnRestore.add(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS); 93 sBroadcastOnRestore.add(Settings.Secure.ENABLED_VR_LISTENERS); 94 sBroadcastOnRestore.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 95 sBroadcastOnRestore.add(Settings.Global.BLUETOOTH_ON); 96 sBroadcastOnRestore.add(Settings.Secure.UI_NIGHT_MODE); 97 sBroadcastOnRestore.add(Settings.Secure.DARK_THEME_CUSTOM_START_TIME); 98 sBroadcastOnRestore.add(Settings.Secure.DARK_THEME_CUSTOM_END_TIME); 99 sBroadcastOnRestore.add(Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED); 100 sBroadcastOnRestore.add(Settings.Secure.ACCESSIBILITY_BUTTON_TARGETS); [all …]
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | InputSettingsObserver.java | 35 import android.provider.Settings; 63 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() [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/core/java/android/hardware/input/ |
D | InputSettings.java | 38 import android.provider.Settings; 108 return Settings.System.getInt(context.getContentResolver(), in getPointerSpeed() 109 Settings.System.POINTER_SPEED, DEFAULT_POINTER_SPEED); in getPointerSpeed() 130 Settings.System.putInt(context.getContentResolver(), in setPointerSpeed() 131 Settings.System.POINTER_SPEED, speed); in setPointerSpeed() 150 return Settings.Global.getFloat(context.getContentResolver(), in getMaximumObscuringOpacityForTouch() 151 Settings.Global.MAXIMUM_OBSCURING_OPACITY_FOR_TOUCH, in getMaximumObscuringOpacityForTouch() 188 Settings.Global.putFloat(context.getContentResolver(), in setMaximumObscuringOpacityForTouch() 189 Settings.Global.MAXIMUM_OBSCURING_OPACITY_FOR_TOUCH, opacity); in setMaximumObscuringOpacityForTouch() 197 return Settings.Global.getInt(context.getContentResolver(), in isStylusEverUsed() [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; 68 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() 125 final float scale = Settings.Secure.getFloatForUser(mContext.getContentResolver(), in getLeftSensitivity() 126 Settings.Secure.BACK_GESTURE_INSET_SCALE_LEFT, 1.0f, UserHandle.USER_CURRENT); in getLeftSensitivity() 136 final float scale = Settings.Secure.getFloat(mContext.getContentResolver(), in getLeftSensitivityForCallingUser() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/credentials/ |
D | CredentialManagerServiceTest.java | 23 import android.provider.Settings; 78 Settings.Secure.AUTOFILL_SERVICE, in onProviderRemoved_success() 81 Settings.Secure.CREDENTIAL_SERVICE, in onProviderRemoved_success() 84 Settings.Secure.CREDENTIAL_SERVICE_PRIMARY, in onProviderRemoved_success() 90 assertThat(getSettingsKey(Settings.Secure.AUTOFILL_SERVICE)).isEqualTo(""); in onProviderRemoved_success() 91 assertThat(getSettingsKey(Settings.Secure.CREDENTIAL_SERVICE)) in onProviderRemoved_success() 93 assertThat(getSettingsKey(Settings.Secure.CREDENTIAL_SERVICE_PRIMARY)).isEqualTo(""); in onProviderRemoved_success() 103 Settings.Secure.AUTOFILL_SERVICE, in onProviderRemoved_notPrimaryRemoved_success() 105 setSettingsKey(Settings.Secure.CREDENTIAL_SERVICE, testCredentialValue); in onProviderRemoved_notPrimaryRemoved_success() 106 setSettingsKey(Settings.Secure.CREDENTIAL_SERVICE_PRIMARY, testCredentialPrimaryValue); in onProviderRemoved_notPrimaryRemoved_success() [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 | SettingsHelperTest.java | 45 import android.provider.Settings; 102 mContentResolver.addProvider(Settings.AUTHORITY, mSettingsProvider); in setUp() 107 Settings.Global.putString(mContentResolver, Settings.Global.POWER_BUTTON_LONG_PRESS, in tearDown() 109 Settings.Global.putString(mContentResolver, Settings.Global.KEY_CHORD_POWER_VOLUME_UP, in tearDown() 137 .addProvider(Settings.AUTHORITY, mSettingsProvider); in testRestoreValue_settingReplaced_doesNotRestore() 149 Settings.Global.POWER_BUTTON_LONG_PRESS, "5", 0); in testRestoreValue_lppForAssistantEnabled_updatesValue() 151 assertThat(Settings.Global.getInt( in testRestoreValue_lppForAssistantEnabled_updatesValue() 152 mContentResolver, Settings.Global.POWER_BUTTON_LONG_PRESS, -1)).isEqualTo(5); in testRestoreValue_lppForAssistantEnabled_updatesValue() 153 assertThat(Settings.Global.getInt( in testRestoreValue_lppForAssistantEnabled_updatesValue() 154 mContentResolver, Settings.Global.KEY_CHORD_POWER_VOLUME_UP, -1)).isEqualTo(2); in testRestoreValue_lppForAssistantEnabled_updatesValue() [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 | SettingsHelperRestoreTest.java | 31 import android.provider.Settings; 77 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE; in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 82 Settings.Secure.putFloat(mContentResolver, settingName, configuredSettingValue); in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 88 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 95 Settings.Secure.getFloat(mContentResolver, settingName), in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() 104 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE; in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() 111 Settings.Secure.getUriFor(settingName), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() 118 Settings.Secure.getFloat(mContentResolver, settingName), in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() 133 Settings.Secure.putFloat( in setDefaultAccessibilityDisplayMagnificationScale() 135 Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE, in setDefaultAccessibilityDisplayMagnificationScale() [all …]
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/ |
D | BrightnessLowLuxModifierTest.kt | 20 import android.provider.Settings 96 Settings.Secure.putIntForUser(context.contentResolver, in testSettingOffDisablesModifier() 97 Settings.Secure.EVEN_DIMMER_ACTIVATED, 0, USER_ID) in testSettingOffDisablesModifier() 114 Settings.Secure.putIntForUser(context.contentResolver, in testLuxRestrictsBrightnessRange() 115 Settings.Secure.EVEN_DIMMER_ACTIVATED, 1, USER_ID) in testLuxRestrictsBrightnessRange() 116 Settings.Secure.putFloatForUser(context.contentResolver, in testLuxRestrictsBrightnessRange() 117 Settings.Secure.EVEN_DIMMER_MIN_NITS, 0.1f, USER_ID) in testLuxRestrictsBrightnessRange() 132 Settings.Secure.putIntForUser(context.contentResolver, in testUserRestrictsBrightnessRange() 133 Settings.Secure.EVEN_DIMMER_ACTIVATED, 1, USER_ID) in testUserRestrictsBrightnessRange() 134 Settings.Secure.putFloatForUser(context.contentResolver, in testUserRestrictsBrightnessRange() [all …]
|
/frameworks/base/tests/FlickerTests/test-apps/app-helpers/src/com/android/server/wm/flicker/helpers/ |
D | AssistantAppHelper.kt | 21 import android.provider.Settings 37 Settings.Secure.getString(instr.targetContext.contentResolver, Settings.Secure.ASSISTANT) 39 Settings.Secure.getString( 41 Settings.Secure.VOICE_INTERACTION_SERVICE 45 Settings.Secure.putString( in setDefaultAssistant() 47 Settings.Secure.VOICE_INTERACTION_SERVICE, in setDefaultAssistant() 50 Settings.Secure.putString( in setDefaultAssistant() 52 Settings.Secure.ASSISTANT, in setDefaultAssistant() 58 Settings.Secure.putString( in resetDefaultAssistant() 60 Settings.Secure.VOICE_INTERACTION_SERVICE, in resetDefaultAssistant() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CoreSettingsObserver.java | 27 import android.provider.Settings; 79 sSecureSettingToTypeMap.put(Settings.Secure.LONG_PRESS_TIMEOUT, int.class); in sSecureSettingToTypeMap.put() 80 sSecureSettingToTypeMap.put(Settings.Secure.MULTI_PRESS_TIMEOUT, int.class); in sSecureSettingToTypeMap.put() 81 sSecureSettingToTypeMap.put(Settings.Secure.KEY_REPEAT_TIMEOUT_MS, int.class); in sSecureSettingToTypeMap.put() 82 sSecureSettingToTypeMap.put(Settings.Secure.KEY_REPEAT_DELAY_MS, int.class); in sSecureSettingToTypeMap.put() 83 sSecureSettingToTypeMap.put(Settings.Secure.STYLUS_POINTER_ICON_ENABLED, int.class); in sSecureSettingToTypeMap.put() 86 sSystemSettingToTypeMap.put(Settings.System.TIME_12_24, String.class); in sSystemSettingToTypeMap.put() 89 sGlobalSettingToTypeMap.put(Settings.Global.DEBUG_VIEW_ATTRIBUTES, int.class); in sGlobalSettingToTypeMap.put() 91 Settings.Global.DEBUG_VIEW_ATTRIBUTES_APPLICATION_PACKAGE, String.class); in sGlobalSettingToTypeMap.put() 93 Settings.Global.ANGLE_DEBUG_PACKAGE, String.class); in sGlobalSettingToTypeMap.put() [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 …]
|