Home
last modified time | relevance | path

Searched refs:settingName (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/internal/util/
DFakeSettingsProviderTest.java48 String settingName = Settings.System.SCREEN_BRIGHTNESS; in testBasicOperation() local
51 Settings.System.getInt(mCr, settingName); in testBasicOperation()
56 Settings.System.putInt(mCr, settingName, 123); in testBasicOperation()
57 assertEquals(123, Settings.System.getInt(mCr, settingName)); in testBasicOperation()
/frameworks/base/services/core/java/com/android/server/vr/
DEnabledComponentsObserver.java79 private EnabledComponentsObserver(@NonNull Context context, @NonNull String settingName, in EnabledComponentsObserver() argument
84 mSettingName = settingName; in EnabledComponentsObserver()
103 @NonNull Handler handler, @NonNull String settingName, @NonNull Looper looper, in build() argument
108 SettingsObserver s = SettingsObserver.build(context, handler, settingName); in build()
110 final EnabledComponentsObserver o = new EnabledComponentsObserver(context, settingName, in build()
285 private ArraySet<ComponentName> loadComponentNamesFromSetting(String settingName, in loadComponentNamesFromSetting() argument
290 settingName, in loadComponentNamesFromSetting()
DSettingsObserver.java107 @NonNull String settingName) { in build() argument
108 Uri settingUri = Settings.Secure.getUriFor(settingName); in build()
110 return new SettingsObserver(context, handler, settingUri, settingName); in build()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DGlobalSetting.java33 public GlobalSetting(Context context, Handler handler, String settingName) { in GlobalSetting() argument
36 mSettingName = settingName; in GlobalSetting()
DSecureSetting.java40 public SecureSetting(Context context, Handler handler, String settingName) { in SecureSetting() argument
43 mSettingName = settingName; in SecureSetting()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java367 protected @NonNull ArraySet<ComponentName> loadComponentNamesFromSetting(String settingName, in loadComponentNamesFromSetting() argument
372 settingName, in loadComponentNamesFromSetting()
388 String settingName, in storeComponentsToSetting() argument
403 settingName, in storeComponentsToSetting()
DConditionProviders.java281 protected @NonNull ArraySet<ComponentName> loadComponentNamesFromSetting(String settingName, in loadComponentNamesFromSetting() argument
286 settingName, in loadComponentNamesFromSetting()
/frameworks/base/media/java/android/media/
DMediaScanner.java1113 private void setRingtoneIfNotSet(String settingName, Uri uri, long rowId) {
1114 if (wasRingtoneAlreadySet(settingName)) {
1119 String existingSettingValue = Settings.System.getString(cr, settingName);
1121 final Uri settingUri = Settings.System.getUriFor(settingName);
1126 Settings.System.putInt(cr, settingSetIndicatorName(settingName), 1);
/frameworks/base/services/tests/servicestests/src/com/android/server/
DConnectivityServiceTest.java2122 final String settingName = Settings.Global.NETWORK_AVOID_BAD_WIFI; in testAvoidBadWifiSetting() local
2127 Settings.Global.putInt(cr, settingName, 1); in testAvoidBadWifiSetting()
2137 Settings.Global.putInt(cr, settingName, 0); in testAvoidBadWifiSetting()
2143 Settings.Global.putInt(cr, settingName, 1); in testAvoidBadWifiSetting()
2149 Settings.Global.putString(cr, settingName, null); in testAvoidBadWifiSetting()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityManagerService.java1228 private void readComponentNamesFromSettingLocked(String settingName, int userId, in readComponentNamesFromSettingLocked() argument
1231 settingName, userId); in readComponentNamesFromSettingLocked()
1273 private void persistComponentNamesToSettingLocked(String settingName, in persistComponentNamesToSettingLocked() argument
1285 settingName, builder.toString(), userId); in persistComponentNamesToSettingLocked() local
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3852 private VolumeStreamState(String settingName, int streamType) { in VolumeStreamState() argument
3854 mVolumeIndexSettingName = settingName; in VolumeStreamState()