/frameworks/base/core/tests/utiltests/src/com/android/internal/util/test/ |
H A D | FakeSettingsProviderTest.java | 48 String settingName = Settings.System.SCREEN_BRIGHTNESS; 51 Settings.System.getInt(mCr, settingName); 56 Settings.System.putInt(mCr, settingName, 123); 57 assertEquals(123, Settings.System.getInt(mCr, settingName));
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | GlobalSettingsToPropertiesMapper.java | 65 final String settingName = entry[0]; 67 Uri settingUri = Settings.Global.getUriFor(settingName); 68 Preconditions.checkNotNull(settingUri, "Setting " + settingName + " not found"); 72 updatePropertyFromSetting(settingName, propName); 75 updatePropertyFromSetting(settingName, propName); 124 void updatePropertyFromSetting(String settingName, String propName) { argument 125 String settingValue = getGlobalSetting(settingName);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | GlobalSetting.java | 33 public GlobalSetting(Context context, Handler handler, String settingName) { argument 36 mSettingName = settingName;
|
H A D | SecureSetting.java | 40 public SecureSetting(Context context, Handler handler, String settingName) { argument 43 mSettingName = settingName;
|
/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | EnabledComponentsObserver.java | 79 private EnabledComponentsObserver(@NonNull Context context, @NonNull String settingName, argument 84 mSettingName = settingName; 95 * @param settingName the name of a setting to monitor for a list of enabled components. 103 @NonNull Handler handler, @NonNull String settingName, @NonNull Looper looper, 108 SettingsObserver s = SettingsObserver.build(context, handler, settingName); 110 final EnabledComponentsObserver o = new EnabledComponentsObserver(context, settingName, 285 private ArraySet<ComponentName> loadComponentNamesFromSetting(String settingName, argument 290 settingName, 102 build(@onNull Context context, @NonNull Handler handler, @NonNull String settingName, @NonNull Looper looper, @NonNull String servicePermission, @NonNull String serviceName, @NonNull final Object lock, @NonNull Collection<EnabledComponentChangeListener> listeners) argument
|
H A D | SettingsObserver.java | 103 * @param settingName the setting to track. 107 @NonNull String settingName) { 108 Uri settingUri = Settings.Secure.getUriFor(settingName); 110 return new SettingsObserver(context, handler, settingUri, settingName); 106 build(@onNull Context context, @NonNull Handler handler, @NonNull String settingName) argument
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScanner.java | 1122 private void setRingtoneIfNotSet(String settingName, Uri uri, long rowId) { argument 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/ |
H A D | ConnectivityServiceTest.java | 3012 final String settingName = Settings.Global.NETWORK_AVOID_BAD_WIFI; 3017 Settings.Global.putInt(cr, settingName, 1); 3027 Settings.Global.putInt(cr, settingName, 0); 3033 Settings.Global.putInt(cr, settingName, 1); 3039 Settings.Global.putString(cr, settingName, null); 3175 final String settingName = Settings.Global.NETWORK_METERED_MULTIPATH_PREFERENCE; 3180 Settings.Global.putString(cr, settingName, setting);
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
H A D | AbstractAccessibilityServiceConnection.java | 229 * @param settingName The setting name. 233 void persistComponentNamesToSettingLocked(String settingName, argument
|
H A D | AccessibilityManagerService.java | 1480 * @param settingName The setting to parse. 1484 private void readComponentNamesFromSettingLocked(String settingName, int userId, argument 1487 settingName, userId); 1523 public void persistComponentNamesToSettingLocked(String settingName, argument 1535 settingName, builder.toString(), userId);
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
H A D | SettingsProtoDumpUtil.java | 1496 @NonNull ProtoOutputStream proto, String settingName, long fieldId) { 1497 SettingsState.Setting setting = settings.getSettingLocked(settingName); 1500 proto.write(SettingProto.NAME, settingName); 1495 dumpSetting(@onNull SettingsState settings, @NonNull ProtoOutputStream proto, String settingName, long fieldId) argument
|
H A D | SettingsProvider.java | 1710 private void enforceSettingReadable(String settingName, int settingsType, int userId) { argument 1718 if (!getInstantAppAccessibleSettings(settingsType).contains(settingName) 1719 && !getOverlayInstantAppAccessibleSettings(settingsType).contains(settingName)) {
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | AudioService.java | 4771 private VolumeStreamState(String settingName, int streamType) { argument 4773 mVolumeIndexSettingName = settingName;
|