/frameworks/base/services/core/java/com/android/server/am/ |
D | GlobalSettingsToPropertiesMapper.java | 65 final String settingName = entry[0]; in updatePropertiesFromGlobalSettings() local 67 Uri settingUri = Settings.Global.getUriFor(settingName); in updatePropertiesFromGlobalSettings() 68 Preconditions.checkNotNull(settingUri, "Setting " + settingName + " not found"); in updatePropertiesFromGlobalSettings() 72 updatePropertyFromSetting(settingName, propName); in updatePropertiesFromGlobalSettings() 75 updatePropertyFromSetting(settingName, propName); in updatePropertiesFromGlobalSettings() 124 void updatePropertyFromSetting(String settingName, String propName) { in updatePropertyFromSetting() argument 125 String settingValue = getGlobalSetting(settingName); in updatePropertyFromSetting()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/ |
D | FakeSettingsProviderTest.java | 48 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/ |
D | EnabledComponentsObserver.java | 79 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()
|
D | SettingsObserver.java | 107 @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/ |
D | GlobalSetting.java | 33 public GlobalSetting(Context context, Handler handler, String settingName) { in GlobalSetting() argument 36 mSettingName = settingName; in GlobalSetting()
|
D | SecureSetting.java | 40 public SecureSetting(Context context, Handler handler, String settingName) { in SecureSetting() argument 43 mSettingName = settingName; in SecureSetting()
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 1122 private void setRingtoneIfNotSet(String settingName, Uri uri, long rowId) { 1123 if (wasRingtoneAlreadySet(settingName)) { 1128 String existingSettingValue = Settings.System.getString(cr, settingName); 1130 final Uri settingUri = Settings.System.getUriFor(settingName); 1135 Settings.System.putInt(cr, settingSetIndicatorName(settingName), 1);
|
/frameworks/base/tests/net/java/com/android/server/ |
D | ConnectivityServiceTest.java | 3012 final String settingName = Settings.Global.NETWORK_AVOID_BAD_WIFI; in testAvoidBadWifiSetting() local 3017 Settings.Global.putInt(cr, settingName, 1); in testAvoidBadWifiSetting() 3027 Settings.Global.putInt(cr, settingName, 0); in testAvoidBadWifiSetting() 3033 Settings.Global.putInt(cr, settingName, 1); in testAvoidBadWifiSetting() 3039 Settings.Global.putString(cr, settingName, null); in testAvoidBadWifiSetting() 3175 final String settingName = Settings.Global.NETWORK_METERED_MULTIPATH_PREFERENCE; in testMeteredMultipathPreferenceSetting() local 3180 Settings.Global.putString(cr, settingName, setting); in testMeteredMultipathPreferenceSetting()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 1484 private void readComponentNamesFromSettingLocked(String settingName, int userId, in readComponentNamesFromSettingLocked() argument 1487 settingName, userId); in readComponentNamesFromSettingLocked() 1523 public void persistComponentNamesToSettingLocked(String settingName, in persistComponentNamesToSettingLocked() argument 1535 settingName, builder.toString(), userId); in persistComponentNamesToSettingLocked() local
|
D | AbstractAccessibilityServiceConnection.java | 233 void persistComponentNamesToSettingLocked(String settingName, in persistComponentNamesToSettingLocked() argument
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProvider.java | 1710 private void enforceSettingReadable(String settingName, int settingsType, int userId) { 1718 if (!getInstantAppAccessibleSettings(settingsType).contains(settingName) 1719 && !getOverlayInstantAppAccessibleSettings(settingsType).contains(settingName)) {
|
D | SettingsProtoDumpUtil.java | 1496 @NonNull ProtoOutputStream proto, String settingName, long fieldId) { in dumpSetting() argument 1497 SettingsState.Setting setting = settings.getSettingLocked(settingName); in dumpSetting() 1500 proto.write(SettingProto.NAME, settingName); in dumpSetting()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioService.java | 4771 private VolumeStreamState(String settingName, int streamType) { in VolumeStreamState() argument 4773 mVolumeIndexSettingName = settingName; in VolumeStreamState()
|