Home
last modified time | relevance | path

Searched refs:settingValue (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/
DClockSize.kt45 val settingValue: Int, constant in com.android.systemui.keyguard.shared.model.ClockSizeSetting
54 if (enumVal.settingValue == value) { in fromSettingValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/data/repository/
DUserA11yQsShortcutsRepository.kt63 val settingValue = secureSettings.getStringForUser(SETTING_NAME, userId) ?: "" in getA11yQsShortcutTargets() constant
64 return settingValue.split(SETTING_SEPARATOR).filterNot { it.isEmpty() }.toSet() in getA11yQsShortcutTargets()
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java288 String settingValue = Settings.Secure.getStringForUser( in loadComponentNamesFromSetting() local
292 if (TextUtils.isEmpty(settingValue)) in loadComponentNamesFromSetting()
294 String[] restored = settingValue.split(ENABLED_SERVICES_SEPARATOR); in loadComponentNamesFromSetting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DBiometricNotificationService.java256 final int settingValue = in isFaceReenrollRequired() local
260 return settingValue == REENROLL_REQUIRED; in isFaceReenrollRequired()
/frameworks/base/services/core/java/com/android/server/webkit/
DWebViewUpdateServiceImpl.java661 int settingValue = mSystemInterface.getMultiProcessSetting(mContext); in isMultiProcessEnabled() local
664 return settingValue > MULTIPROCESS_SETTING_OFF_VALUE; in isMultiProcessEnabled()
667 return settingValue >= MULTIPROCESS_SETTING_ON_VALUE; in isMultiProcessEnabled()
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java732 String settingValue = Settings.Global.getString(mContentResolver, settingName); in updatePropertyFromSetting() local
733 setProperty(propName, settingValue); in updatePropertyFromSetting()
/frameworks/base/core/java/android/provider/
DSettings.java3945 private static float parseFloatSetting(String settingValue, String settingName) in parseFloatSetting() argument
3947 if (settingValue == null) { in parseFloatSetting()
3951 return Float.parseFloat(settingValue); in parseFloatSetting()
3957 private static float parseFloatSettingWithDefault(String settingValue, float defaultValue) { in parseFloatSettingWithDefault() argument
3959 return settingValue != null ? Float.parseFloat(settingValue) : defaultValue; in parseFloatSettingWithDefault()
3965 private static int parseIntSetting(String settingValue, String settingName) in parseIntSetting() argument
3967 if (settingValue == null) { in parseIntSetting()
3971 return Integer.parseInt(settingValue); in parseIntSetting()
3977 private static int parseIntSettingWithDefault(String settingValue, int defaultValue) { in parseIntSettingWithDefault() argument
3979 return settingValue != null ? Integer.parseInt(settingValue) : defaultValue; in parseIntSettingWithDefault()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java963 int settingValue) { in setInstallMarketAppsRestriction() argument
965 cr, android.provider.Settings.Secure.INSTALL_NON_MARKET_APPS, settingValue, userId); in setInstallMarketAppsRestriction()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java2647 final String settingValue = Settings.Secure.getStringForUser(mContext.getContentResolver(), in readColonDelimitedSettingToSet() local
2649 readColonDelimitedStringToSet(settingValue, toItem, outSet, false); in readColonDelimitedSettingToSet()
2693 final String settingValue = TextUtils.isEmpty(builderValue) in persistColonDelimitedSetToSettingLocked() local
2698 if (Objects.equals(settingValue, currentValue)) { in persistColonDelimitedSetToSettingLocked()
2720 settingName, settingValue, userId); in persistColonDelimitedSetToSettingLocked() local
2726 private void persistIntToSetting(int userId, String settingName, int settingValue) { in persistIntToSetting() argument
2730 mContext.getContentResolver(), settingName, settingValue, userId); in persistIntToSetting() local
3390 final String settingValue = Settings.Secure.getStringForUser(mContext.getContentResolver(), in readAccessibilityShortcutKeySettingLocked() local
3393 readColonDelimitedStringToSet(settingValue, str -> str, targetsFromSetting, false); in readAccessibilityShortcutKeySettingLocked()
3395 if (settingValue == null) { in readAccessibilityShortcutKeySettingLocked()
/frameworks/base/services/print/java/com/android/server/print/
DUserState.java973 String settingValue = Settings.Secure.getStringForUser(mContext.getContentResolver(), in readPrintServicesFromSettingLocked() local
975 if (!TextUtils.isEmpty(settingValue)) { in readPrintServicesFromSettingLocked()
977 splitter.setString(settingValue); in readPrintServicesFromSettingLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
DWebViewUpdateServiceTest.java1447 boolean enabledByDefault, int settingValue, boolean expectEnabled) { in testMultiProcessByDefaultWithSettingsValue() argument
1461 mTestSystemImpl.setMultiProcessSetting(null /* context */, settingValue); in testMultiProcessByDefaultWithSettingsValue()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiControlService.java1162 public void setSoundbarMode(final int settingValue) { in setSoundbarMode() argument
1167 settingValue == SOUNDBAR_MODE_ENABLED, in setSoundbarMode()
1179 if (settingValue == SOUNDBAR_MODE_DISABLED && audioSystem != null) { in setSoundbarMode()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1276 String settingValue = settingLocked == null ? null : settingLocked.getValue(); in getSyncDisabledModeConfigLocked() local
1277 if (settingValue == null) { in getSyncDisabledModeConfigLocked()
1282 boolean isSyncDisabledPersistent = !"0".equals(settingValue); in getSyncDisabledModeConfigLocked()