/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 34 import android.provider.Settings.Secure; 68 Secure.putString(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, "null"); in testSetPowerSaveMode_enable_firstCall_needWarning() 69 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_enable_firstCall_needWarning() 78 Secure.getInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, -1)); in testSetPowerSaveMode_enable_firstCall_needWarning() 80 Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enable_firstCall_needWarning() 85 Secure.putInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 1); // Already acked. in testSetPowerSaveMode_enable_secondCall_needWarning() 86 Secure.putString(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, "null"); in testSetPowerSaveMode_enable_secondCall_needWarning() 93 assertEquals(1, Secure.getInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, -1)); in testSetPowerSaveMode_enable_secondCall_needWarning() 94 assertEquals(1, Secure.getInt(mMockResolver, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, -2)); in testSetPowerSaveMode_enable_secondCall_needWarning() 99 Secure.putInt(mMockResolver, Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 1); // Already acked. in testSetPowerSaveMode_enable_thridCall_needWarning() [all …]
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsBackupTest.java | 586 Settings.Secure.ACCESSIBILITY_SOFT_KEYBOARD_MODE, 587 Settings.Secure.ACCESSIBILITY_SPEAK_PASSWORD, // Deprecated since O. 588 Settings.Secure.ALLOWED_GEOLOCATION_ORIGINS, 589 Settings.Secure.ALWAYS_ON_VPN_APP, 590 Settings.Secure.ALWAYS_ON_VPN_LOCKDOWN, 591 Settings.Secure.ALWAYS_ON_VPN_LOCKDOWN_WHITELIST, 592 Settings.Secure.ANDROID_ID, 593 Settings.Secure.ANR_SHOW_BACKGROUND, 594 Settings.Secure.ASSISTANT, 595 Settings.Secure.ASSIST_DISCLOSURE_ENABLED, [all …]
|
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() 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() 185 Settings.Secure.putString(r, testKey, testValue1); in testSettingsChangeForOtherUser() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/notification/ |
D | ZenDurationDialogTest.java | 62 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, 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() 112 Settings.Secure.ZEN_DURATION, Settings.Secure.ZEN_DURATION_FOREVER)); in testChooseAlwaysPromptSetting() 117 Settings.Secure.putInt(mContentResolver, Settings.Secure.ZEN_DURATION, in testChooseForeverSetting() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | CaptioningManager.java | 30 import android.provider.Settings.Secure; 71 return Secure.getInt( in isEnabled() 72 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_ENABLED, DEFAULT_ENABLED) == 1; in isEnabled() 82 return Secure.getString(mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_LOCALE); in getRawLocale() 112 return Secure.getFloat( in getFontScale() 113 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_FONT_SCALE, DEFAULT_FONT_SCALE); in getFontScale() 121 return Secure.getInt( in getRawUserStyle() 122 mContentResolver, Secure.ACCESSIBILITY_CAPTIONING_PRESET, DEFAULT_PRESET); in getRawUserStyle() 148 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_ENABLED); in addCaptioningChangeListener() 149 registerObserver(Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR); in addCaptioningChangeListener() [all …]
|
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
D | SettingsHelperRestoreTest.java | 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() 129 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED; in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue() [all …]
|
D | SettingsProviderTest.java | 699 Settings.Secure.LOCATION_MODE, in testLocationModeChanges_viaFrontEndApi() 700 String.valueOf(Settings.Secure.LOCATION_MODE_OFF), in testLocationModeChanges_viaFrontEndApi() 707 Settings.Secure.LOCATION_PROVIDERS_ALLOWED, in testLocationModeChanges_viaFrontEndApi() 712 Settings.Secure.LOCATION_MODE, in testLocationModeChanges_viaFrontEndApi() 713 String.valueOf(Settings.Secure.LOCATION_MODE_BATTERY_SAVING), in testLocationModeChanges_viaFrontEndApi() 720 Settings.Secure.LOCATION_PROVIDERS_ALLOWED, in testLocationModeChanges_viaFrontEndApi() 725 Settings.Secure.LOCATION_MODE, in testLocationModeChanges_viaFrontEndApi() 726 String.valueOf(Settings.Secure.LOCATION_MODE_HIGH_ACCURACY), in testLocationModeChanges_viaFrontEndApi() 733 Settings.Secure.LOCATION_PROVIDERS_ALLOWED, in testLocationModeChanges_viaFrontEndApi() 741 Settings.Secure.LOCATION_MODE, in testLocationProvidersAllowed_disableProviders() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | NightDisplayListener.java | 28 import android.provider.Settings.Secure; 67 case Secure.NIGHT_DISPLAY_ACTIVATED: in NightDisplayListener() 70 case Secure.NIGHT_DISPLAY_AUTO_MODE: in NightDisplayListener() 73 case Secure.NIGHT_DISPLAY_CUSTOM_START_TIME: in NightDisplayListener() 77 case Secure.NIGHT_DISPLAY_CUSTOM_END_TIME: in NightDisplayListener() 81 case Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE: in NightDisplayListener() 109 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_ACTIVATED), in setCallbackInternal() 111 cr.registerContentObserver(Secure.getUriFor(Secure.NIGHT_DISPLAY_AUTO_MODE), in setCallbackInternal() 114 Secure.getUriFor(Secure.NIGHT_DISPLAY_CUSTOM_START_TIME), in setCallbackInternal() 117 Secure.getUriFor(Secure.NIGHT_DISPLAY_CUSTOM_END_TIME), in setCallbackInternal() [all …]
|
D | AmbientDisplayConfiguration.java | 59 return boolSettingDefaultOn(Settings.Secure.DOZE_ENABLED, user) in pulseOnNotificationEnabled() 70 return boolSettingDefaultOn(Settings.Secure.DOZE_PICK_UP_GESTURE, user) in pickupGestureEnabled() 81 return boolSettingDefaultOn(Settings.Secure.DOZE_TAP_SCREEN_GESTURE, user) in tapGestureEnabled() 92 return boolSettingDefaultOn(Settings.Secure.DOZE_DOUBLE_TAP_GESTURE, user) in doubleTapGestureEnabled() 109 return boolSettingDefaultOn(Settings.Secure.DOZE_WAKE_SCREEN_GESTURE, user) in wakeScreenGestureEnabled() 136 Settings.Secure.DOZE_PULSE_ON_LONG_PRESS, user); in pulseOnLongPressEnabled() 150 return boolSetting(Settings.Secure.DOZE_ALWAYS_ON, user, mAlwaysOnByDefault ? 1 : 0) in alwaysOnEnabled() 182 return boolSettingDefaultOff(Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED, user); in accessibilityInversionEnabled() 207 return Settings.Secure.getIntForUser(mContext.getContentResolver(), name, def, user) != 0; in boolSetting()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationLockscreenUserManagerTest.java | 20 import static android.provider.Settings.Secure.NOTIFICATION_NEW_INTERRUPTION_MODEL; 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() 161 Settings.Secure.putInt(mContext.getContentResolver(), in testShowSilentNotifications_settingSaysShow() [all …]
|
/frameworks/base/tests/testables/tests/src/android/testing/ |
D | TestableSettingsProviderTest.java | 22 import android.provider.Settings.Secure; 47 Settings.Secure.putString(mContentResolver, NONEXISTENT_SETTING, null); in setup() 54 String value = Secure.getString(mContentResolver, NONEXISTENT_SETTING); in testInitialValueSecure() 66 Secure.putString(mContentResolver, NONEXISTENT_SETTING, "something"); in testSeparateTables() 68 assertEquals("something", Secure.getString(mContentResolver, NONEXISTENT_SETTING)); in testSeparateTables() 74 Secure.putStringForUser(mContentResolver, NONEXISTENT_SETTING, "something", 0); in testSeparateUsers() 75 Secure.putStringForUser(mContentResolver, NONEXISTENT_SETTING, "else", 1); in testSeparateUsers() 77 Secure.getStringForUser(mContentResolver, NONEXISTENT_SETTING, 0)); in testSeparateUsers() 79 Secure.getStringForUser(mContentResolver, NONEXISTENT_SETTING, 1)); in testSeparateUsers() 85 assertTrue(Secure.getInt(mContentResolver, Secure.USER_SETUP_COMPLETE, 0) != 0); in testPassThrough()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 1640 Settings.Secure.ACCESSIBILITY_ENABLED, in dumpProtoSecureSettingsLocked() 1643 Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, in dumpProtoSecureSettingsLocked() 1646 Settings.Secure.ACCESSIBILITY_AUTOCLICK_ENABLED, in dumpProtoSecureSettingsLocked() 1649 Settings.Secure.ACCESSIBILITY_AUTOCLICK_DELAY, in dumpProtoSecureSettingsLocked() 1652 Settings.Secure.ACCESSIBILITY_BUTTON_TARGET_COMPONENT, in dumpProtoSecureSettingsLocked() 1655 Settings.Secure.ACCESSIBILITY_CAPTIONING_ENABLED, in dumpProtoSecureSettingsLocked() 1658 Settings.Secure.ACCESSIBILITY_CAPTIONING_LOCALE, in dumpProtoSecureSettingsLocked() 1661 Settings.Secure.ACCESSIBILITY_CAPTIONING_PRESET, in dumpProtoSecureSettingsLocked() 1664 Settings.Secure.ACCESSIBILITY_CAPTIONING_BACKGROUND_COLOR, in dumpProtoSecureSettingsLocked() 1667 Settings.Secure.ACCESSIBILITY_CAPTIONING_FOREGROUND_COLOR, in dumpProtoSecureSettingsLocked() [all …]
|
D | DatabaseHelper.java | 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() 349 Settings.Secure.LOCATION_PROVIDERS_ALLOWED, in onUpgrade() 350 Settings.Secure.LOGGING_ID, in onUpgrade() [all …]
|
D | SettingsHelper.java | 74 sBroadcastOnRestore.add(Settings.Secure.ENABLED_NOTIFICATION_LISTENERS); 75 sBroadcastOnRestore.add(Settings.Secure.ENABLED_VR_LISTENERS); 76 sBroadcastOnRestore.add(Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES); 92 return Settings.Secure.getStringForUser(resolver, name, userHandle); 126 if (destination.equals(Settings.Secure.CONTENT_URI)) { in restoreValue() 144 } else if (Settings.Secure.BACKUP_AUTO_RESTORE.equals(name)) { in restoreValue() 259 case Settings.Secure.ACCESSIBILITY_ENABLED: in isAlreadyConfiguredCriticalAccessibilitySetting() 260 case Settings.Secure.TOUCH_EXPLORATION_ENABLED: in isAlreadyConfiguredCriticalAccessibilitySetting() 261 case Settings.Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED: in isAlreadyConfiguredCriticalAccessibilitySetting() 262 case Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_ENABLED: in isAlreadyConfiguredCriticalAccessibilitySetting() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 25 import android.provider.Settings.Secure; 134 Secure.getInt(cr, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, 0) + 1; in setPowerSaveMode() 135 Secure.putInt(cr, Secure.LOW_POWER_MANUAL_ACTIVATION_COUNT, count); in setPowerSaveMode() 142 && Secure.getInt(cr, in setPowerSaveMode() 143 Secure.SUPPRESS_AUTO_BATTERY_SAVER_SUGGESTION, 0) == 0) { in setPowerSaveMode() 167 if (Secure.getInt(context.getContentResolver(), in maybeShowBatterySaverConfirmation() 168 Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 0) != 0) { in maybeShowBatterySaverConfirmation() 189 Secure.putInt(context.getContentResolver(), Secure.LOW_POWER_WARNING_ACKNOWLEDGED, 1); in setBatterySaverConfirmationAcknowledged() 196 Secure.putInt(context.getContentResolver(), in suppressAutoBatterySaver() 197 Secure.SUPPRESS_AUTO_BATTERY_SAVER_SUGGESTION, 1); in suppressAutoBatterySaver()
|
/frameworks/base/services/core/java/com/android/server/display/color/ |
D | ColorDisplayService.java | 62 import android.provider.Settings.Secure; 258 cr.registerContentObserver(Secure.getUriFor(Secure.USER_SETUP_COMPLETE), in onUserChanged() 267 return Secure.getIntForUser(cr, Secure.USER_SETUP_COMPLETE, 0, userHandle) == 1; in isUserSetupCompleted() 283 case Secure.NIGHT_DISPLAY_ACTIVATED: in setUp() 291 case Secure.NIGHT_DISPLAY_COLOR_TEMPERATURE: in setUp() 300 case Secure.NIGHT_DISPLAY_AUTO_MODE: in setUp() 303 case Secure.NIGHT_DISPLAY_CUSTOM_START_TIME: in setUp() 307 case Secure.NIGHT_DISPLAY_CUSTOM_END_TIME: in setUp() 314 case Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED: in setUp() 318 case Secure.ACCESSIBILITY_DISPLAY_DALTONIZER_ENABLED: in setUp() [all …]
|
/frameworks/base/core/java/com/android/internal/accessibility/ |
D | AccessibilityShortcutController.java | 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() 179 cr, Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED, 1, mUserId) == 1; in onSettingsChanged() [all …]
|
/frameworks/base/core/tests/coretests/src/com/android/internal/accessibility/ |
D | AccessibilityShortcutControllerTest.java | 19 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN; 20 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_ENABLED; 21 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_ON_LOCK_SCREEN; 22 import static android.provider.Settings.Secure.ACCESSIBILITY_SHORTCUT_TARGET_SERVICE; 241 Settings.Secure.putString( in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset() 243 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset() 245 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 1); in testShortcutAvailable_onLockScreenAndLockScreenPreferenceUnset() 254 Settings.Secure.putString(mContentResolver, ACCESSIBILITY_SHORTCUT_TARGET_SERVICE, ""); in testShortcutAvailable_whenServiceIdBecomesNull_shouldReturnFalse() 323 Settings.Secure.putInt(mContentResolver, ACCESSIBILITY_SHORTCUT_DIALOG_SHOWN, 0); in testOnAccessibilityShortcut_firstTime_showsWarningDialog() 326 assertEquals(1, Settings.Secure.getInt( in testOnAccessibilityShortcut_firstTime_showsWarningDialog() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/accessibility/ |
D | AccessibilityUtilsTest.java | 49 Settings.Secure.putStringForUser( in getEnabledServicesFromSettings_badFormat_emptyResult() 50 mContext.getContentResolver(), Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, in getEnabledServicesFromSettings_badFormat_emptyResult() 60 Settings.Secure.putStringForUser( in getEnabledServicesFromSettings_1Service_1result() 61 mContext.getContentResolver(), Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, in getEnabledServicesFromSettings_1Service_1result() 73 Settings.Secure.putStringForUser( in getEnabledServicesFromSettings_2Services_2results() 74 mContext.getContentResolver(), Settings.Secure.ENABLED_ACCESSIBILITY_SERVICES, in getEnabledServicesFromSettings_2Services_2results()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 31 import android.provider.Settings.Secure; 65 Settings.Secure.DOZE_ALWAYS_ON 125 Settings.Secure.putStringForUser(mContentResolver, in upgradeTuner() 145 return Settings.Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue() 150 Settings.Secure.putStringForUser(mContentResolver, setting, value, mCurrentUser); in setValue() 155 return Settings.Secure.getIntForUser(mContentResolver, setting, def, mCurrentUser); in getValue() 160 String ret = Secure.getStringForUser(mContentResolver, setting, mCurrentUser); in getValue() 167 Settings.Secure.putIntForUser(mContentResolver, setting, value, mCurrentUser); in setValue() 186 Uri uri = Settings.Secure.getUriFor(key); in addTunable() 192 String value = Settings.Secure.getStringForUser(mContentResolver, key, mCurrentUser); in addTunable() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | AutoAddTracker.java | 26 import android.provider.Settings.Secure; 65 Secure.getUriFor(Secure.QS_AUTO_ADDED_TILES), false, mObserver); in AutoAddTracker() 89 Secure.putString(mContext.getContentResolver(), Secure.QS_AUTO_ADDED_TILES, in saveTiles() 94 … String current = Secure.getString(mContext.getContentResolver(), Secure.QS_AUTO_ADDED_TILES); in getAdded()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | ServiceListingTest.java | 69 Settings.Secure.putString(RuntimeEnvironment.application.getContentResolver(), in testSaveLoad() 77 assertThat(Settings.Secure.getString(RuntimeEnvironment.application.getContentResolver(), in testSaveLoad() 79 assertThat(Settings.Secure.getString(RuntimeEnvironment.application.getContentResolver(), in testSaveLoad() 86 assertThat(Settings.Secure.getString(RuntimeEnvironment.application.getContentResolver(), in testSaveLoad() 88 assertThat(Settings.Secure.getString(RuntimeEnvironment.application.getContentResolver(), in testSaveLoad() 95 assertThat(Settings.Secure.getString(RuntimeEnvironment.application.getContentResolver(), in testSaveLoad() 97 assertThat(Settings.Secure.getString(RuntimeEnvironment.application.getContentResolver(), in testSaveLoad()
|
/frameworks/base/services/core/java/com/android/server/policy/role/ |
D | LegacyRoleResolutionPolicy.java | 70 String legacyAssistant = Settings.Secure.getStringForUser( in getRoleHolders() 71 mContext.getContentResolver(), Settings.Secure.ASSISTANT, userId); in getRoleHolders() 87 String setting = Settings.Secure.getStringForUser( in getRoleHolders() 89 Settings.Secure.DIALER_DEFAULT_APPLICATION, userId); in getRoleHolders() 96 String result = Settings.Secure.getStringForUser( in getRoleHolders() 98 Settings.Secure.SMS_DEFAULT_APPLICATION, userId); in getRoleHolders() 134 String defaultEmergencyApp = Settings.Secure.getStringForUser( in getRoleHolders() 136 Settings.Secure.EMERGENCY_ASSISTANCE_APPLICATION, userId); in getRoleHolders()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/clock/ |
D | SettingsWrapper.java | 26 private static final String CUSTOM_CLOCK_FACE = Settings.Secure.LOCK_SCREEN_CUSTOM_CLOCK_FACE; 27 private static final String DOCKED_CLOCK_FACE = Settings.Secure.DOCKED_CLOCK_FACE; 41 return Settings.Secure.getStringForUser(mContentResolver, CUSTOM_CLOCK_FACE, userId); in getLockScreenCustomClockFace() 50 return Settings.Secure.getStringForUser(mContentResolver, DOCKED_CLOCK_FACE, userId); in getDockedClockFace()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 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() 634 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() 636 Settings.Secure.DOZE_ENABLED, 0, userId); in applyUserRestriction() 637 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() 639 Settings.Secure.DOZE_ALWAYS_ON, 0, userId); in applyUserRestriction() 640 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() 642 Settings.Secure.DOZE_PICK_UP_GESTURE, 0, userId); in applyUserRestriction() 643 android.provider.Settings.Secure.putIntForUser( in applyUserRestriction() [all …]
|