Home
last modified time | relevance | path

Searched defs:settingName (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGlobalSettingsHelper.java34 public static int getInt(Context context, String settingName, int subId, in getInt()
43 public static boolean getBoolean(Context context, String settingName, int subId, in getBoolean()
53 public static boolean getBoolean(Context context, String settingName, int subId) in getBoolean()
63 public static boolean setInt(Context context, String settingName, int subId, int value) { in setInt()
72 if (needChange) Settings.Global.putInt(context.getContentResolver(), settingName, value); in setInt() local
81 public static boolean setBoolean(Context context, String settingName, int subId, in setBoolean()
86 private static String getSettingName(Context context, String settingName, int subId) { in getSettingName()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperRestoreTest.java62 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE; in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue() local
89 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_SCALE; in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() local
97 settingName, in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue() local
130 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED; in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue() local
140 settingName, in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue() local
151 String settingName = Settings.Secure.ACCESSIBILITY_DISPLAY_MAGNIFICATION_NAVBAR_ENABLED; in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_notAlreadyConfigured_restoresValue() local
162 settingName, in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_notAlreadyConfigured_restoresValue() local
/frameworks/base/services/tests/servicestests/src/com/android/server/vibrator/
DVibrationSettingsTest.java440 private void setUserSetting(String settingName, int value) { in setUserSetting()
442 mContextSpy.getContentResolver(), settingName, value, UserHandle.USER_CURRENT); in setUserSetting() local
447 private void setGlobalSetting(String settingName, int value) { in setGlobalSetting()
448 Settings.Global.putInt(mContextSpy.getContentResolver(), settingName, value); in setGlobalSetting() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DSecureSetting.java38 public SecureSetting(SecureSettings secureSettings, Handler handler, String settingName, in SecureSetting()
43 public SecureSetting(SecureSettings secureSetting, Handler handler, String settingName) { in SecureSetting()
47 public SecureSetting(SecureSettings secureSettings, Handler handler, String settingName, in SecureSetting()
DGlobalSetting.java33 public GlobalSetting(Context context, Handler handler, String settingName) { in GlobalSetting()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/
DFakeSettingsProviderTest.java48 String settingName = Settings.System.SCREEN_BRIGHTNESS; in testBasicOperation() local
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java79 private EnabledComponentsObserver(@NonNull Context context, @NonNull String settingName, in EnabledComponentsObserver()
103 @NonNull Handler handler, @NonNull String settingName, @NonNull Looper looper, in build()
285 private ArraySet<ComponentName> loadComponentNamesFromSetting(String settingName, in loadComponentNamesFromSetting()
DSettingsObserver.java107 @NonNull String settingName) { in build()
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemSettingsHelper.java420 IntegerSecureSetting(Context context, String settingName, Handler handler) { in IntegerSecureSetting()
451 StringListCachedSecureSetting(Context context, String settingName, in StringListCachedSecureSetting()
510 BooleanGlobalSetting(Context context, String settingName, Handler handler) { in BooleanGlobalSetting()
536 LongGlobalSetting(Context context, String settingName, Handler handler) { in LongGlobalSetting()
568 StringSetCachedGlobalSetting(Context context, String settingName, in StringSetCachedGlobalSetting()
/frameworks/base/services/core/java/com/android/server/vibrator/
DVibrationSettings.java456 private int getSystemSetting(String settingName, int defaultValue) { in getSystemSetting()
461 private int getGlobalSetting(String settingName, int defaultValue) { in getGlobalSetting()
/frameworks/base/services/core/java/com/android/server/am/
DSettingsToPropertiesMapper.java283 void updatePropertyFromSetting(String settingName, String propName) { in updatePropertyFromSetting()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1808 private void readComponentNamesFromSettingLocked(String settingName, int userId, in readComponentNamesFromSettingLocked()
1831 public void persistComponentNamesToSettingLocked(String settingName, in persistComponentNamesToSettingLocked()
1843 private <T> void readColonDelimitedSettingToSet(String settingName, int userId, in readColonDelimitedSettingToSet()
1871 private <T> void persistColonDelimitedSetToSettingLocked(String settingName, int userId, in persistColonDelimitedSetToSettingLocked()
1888 settingName, TextUtils.isEmpty(settingValue) ? null : settingValue, userId); in persistColonDelimitedSetToSettingLocked() local
DAbstractAccessibilityServiceConnection.java241 void persistComponentNamesToSettingLocked(String settingName, in persistComponentNamesToSettingLocked()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProtoDumpUtil.java1677 @NonNull ProtoOutputStream proto, String settingName, long fieldId) { in dumpSetting()
DSettingsBackupAgent.java889 static String getQualifiedKeyForSetting(String settingName, Uri settingUri) { in getQualifiedKeyForSetting()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java6747 private VolumeStreamState(String settingName, int streamType) { in VolumeStreamState()