/aosp14/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/hdr/ |
H A D | GainmapMetadataEditor.kt | 205 "%.3f".format(newValue)) 208 gainmap!!.setRatioMin(newValue, newValue, newValue) 216 "%.3f".format(newValue)) 219 gainmap!!.setRatioMax(newValue, newValue, newValue) 227 "%.3f".format(newValue)) 238 "%.3f".format(newValue)) 252 gainmap!!.setGamma(newValue, newValue, newValue) 258 var newValue = 0.0f regex 266 gainmap!!.setEpsilonSdr(newValue, newValue, newValue) 272 var newValue = 0.0f regex [all …]
|
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
H A D | FakeSettingsHelper.java | 58 public void setValue(Object newValue) { in setValue() argument 59 setValue(newValue, UserHandle.USER_NULL); in setValue() 62 public void setValue(Object newValue, int userId) { in setValue() argument 65 mValues.put(userId, newValue); in setValue() 183 mGnssMeasurementsFullTrackingSetting.setValue(newValue); in setGnssMeasurementsFullTrackingEnabled() 218 public void setAdasSettingsAllowlist(PackageTagsList newValue) { in setAdasSettingsAllowlist() argument 219 mAdasPackageAllowlist.setValue(newValue); in setAdasSettingsAllowlist() 222 public void setIgnoreSettingsAllowlist(PackageTagsList newValue) { in setIgnoreSettingsAllowlist() argument 223 mIgnoreSettingsAllowlist.setValue(newValue); in setIgnoreSettingsAllowlist() 252 public void setCoarseLocationAccuracyM(float newValue) { in setCoarseLocationAccuracyM() argument [all …]
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
H A D | AbstractLogdSizePreferenceController.java | 79 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 81 writeLogdSizeOption(newValue); in onPreferenceChange() 144 public void writeLogdSizeOption(Object newValue) { in writeLogdSizeOption() argument 145 boolean disable = (newValue != null) && in writeLogdSizeOption() 146 (newValue.toString().equals(SELECT_LOGD_OFF_SIZE_MARKER_VALUE)); in writeLogdSizeOption() 158 newValue = SELECT_LOGD_MINIMUM_SIZE_VALUE; in writeLogdSizeOption() 178 final String size = ((newValue != null) && (newValue.toString().length() != 0)) ? in writeLogdSizeOption() 179 newValue.toString() : defaultValue; in writeLogdSizeOption()
|
H A D | AbstractLogpersistPreferenceController.java | 96 public boolean onPreferenceChange(Preference preference, Object newValue) { in onPreferenceChange() argument 98 writeLogpersistOption(newValue, false); in onPreferenceChange() 210 public void writeLogpersistOption(Object newValue, boolean skipWarning) { in writeLogpersistOption() argument 218 newValue = null; in writeLogpersistOption() 222 if ((newValue == null) || newValue.toString().equals("")) { in writeLogpersistOption() 239 if ((currentBuffer != null) && !currentBuffer.equals(newValue.toString())) { in writeLogpersistOption() 242 SystemProperties.set(SELECT_LOGPERSIST_PROPERTY_BUFFER, newValue.toString()); in writeLogpersistOption()
|
/aosp14/frameworks/base/core/java/android/service/controls/actions/ |
H A D | FloatAction.java | 39 public FloatAction(@NonNull String templateId, float newValue) { in FloatAction() argument 40 this(templateId, newValue, null); in FloatAction() 51 public FloatAction(@NonNull String templateId, float newValue, in FloatAction() argument 54 mNewValue = newValue; in FloatAction()
|
/aosp14/frameworks/base/services/core/java/com/android/server/vr/ |
H A D | SettingsObserver.java | 63 void onSettingRestored(String prevValue, String newValue, int userId); in onSettingRestored() argument 77 String newValue = intent.getStringExtra(Intent.EXTRA_SETTING_NEW_VALUE); in SettingsObserver() 78 sendSettingRestored(prevValue, newValue, getSendingUserId()); in SettingsObserver() 138 …private void sendSettingRestored(final String prevValue, final String newValue, final int userId) { in sendSettingRestored() argument 140 l.onSettingRestored(prevValue, newValue, userId); in sendSettingRestored()
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/ |
H A D | BiometricStrengthController.java | 71 final String newValue = DeviceConfig.getString(DeviceConfig.NAMESPACE_BIOMETRICS, in updateStrengths() local 73 if ("null".equals(newValue) || newValue.isEmpty()) { in updateStrengths() 76 updateStrengths(newValue); in updateStrengths()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
H A D | FlagCommand.java | 99 boolean newValue = isBooleanFlagEnabled(flag); in execute() 101 newValue = !newValue; in execute() 103 newValue = true; in execute() 105 newValue = false; in execute() 112 pw.println("Flag " + name + " is " + newValue); in execute() 115 mFeatureFlags.setBooleanFlagInternal(flag, newValue); in execute()
|
H A D | FeatureFlagsRelease.java | 64 boolean newValue = value == null ? false : Boolean.parseBoolean(value); 65 if (mBooleanCache.get(flag.getName()) != newValue) { 69 String newValue = value == null ? "" : value; 70 if (!mStringCache.get(flag.getName()).equals(newValue)) { 74 int newValue = 0; 76 newValue = value == null ? 0 : Integer.parseInt(value); 79 if (mIntCache.get(flag.getName()) != newValue) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
H A D | Roundable.kt | 99 val newValue = roundnessMap.values.maxOrNull() ?: 0f regex 101 if (lastValue != newValue) { 108 val shouldAnimate = wasAnimating && abs(newValue - lastValue) > 0.5f 110 roundableState.setTopRoundness(value = newValue, animated = shouldAnimate || animate) 168 val newValue = roundnessMap.values.maxOrNull() ?: 0f regex 170 if (lastValue != newValue) { 177 val shouldAnimate = wasAnimating && abs(newValue - lastValue) > 0.5f 179 roundableState.setBottomRoundness(value = newValue, animated = shouldAnimate || animate)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | ClockPreference.java | 61 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 64 mHideList = StatusBarIconController.getIconHideList(getContext(), newValue); in onTuningChanged() 68 mHasSeconds = newValue != null && Integer.parseInt(newValue) != 0; in onTuningChanged()
|
H A D | NavBarTuner.java | 109 addTunable((key, newValue) -> mHandler.post(() -> { in bindLayout() 110 String val = newValue; in bindLayout() 116 preference.setOnPreferenceChangeListener((preference1, newValue) -> { in bindLayout() 117 String val = (String) newValue; in bindLayout() 129 addTunable((key, newValue) -> mHandler.post(() -> { in bindButton() 130 String val = newValue; in bindButton() 150 OnPreferenceChangeListener listener = (preference, newValue) -> { in bindButton()
|
H A D | TunablePadding.java | 56 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 58 if (newValue != null) { in onTuningChanged() 60 dimen = (int) (Integer.parseInt(newValue) * mDensity); in onTuningChanged()
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | UserRestrictionsUtils.java | 553 if (newValue != prevValue) { in applyUserRestrictions() 566 boolean newValue) { in applyUserRestriction() argument 586 if (newValue) { in applyUserRestriction() 608 if (newValue) { in applyUserRestriction() 616 if (newValue) { in applyUserRestriction() 630 if (newValue) { in applyUserRestriction() 640 newValue)); in applyUserRestriction() 648 newValue)); in applyUserRestriction() 651 if (newValue) { in applyUserRestriction() 674 if (newValue) { in applyUserRestriction() [all …]
|
/aosp14/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/ |
H A D | DeviceConfigServiceTest.java | 65 final String newValue = "value2"; in testPut() local 72 executeShellCommand("device_config put " + newNamespace + " " + sKey + " " + newValue); in testPut() 77 assertEquals(newValue, result); in testPut() 144 String newValue = "value2"; in testReset() local 151 "device_config put " + sNamespace + " " + sKey + " " + newValue); in testReset() 153 assertEquals(newValue, result); in testReset()
|
H A D | InstallNonMarketAppsDeprecationTest.java | 59 String newValue = getSetting(SETTING_TYPE_SECURE, Settings.Secure.INSTALL_NON_MARKET_APPS); in waitTillValueChanges() local 60 while (newValue.equals(oldValue) && SystemClock.uptimeMillis() <= (startTime in waitTillValueChanges() 67 newValue = getSetting(SETTING_TYPE_SECURE, Settings.Secure.INSTALL_NON_MARKET_APPS); in waitTillValueChanges() 72 assertFalse(errorMessage, oldValue.equals(newValue)); in waitTillValueChanges() 73 return newValue; in waitTillValueChanges()
|
/aosp14/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteConnection.java | 299 final long newValue = SQLiteGlobal.getDefaultPageSize(); in setPageSize() local 301 if (value != newValue) { in setPageSize() 311 if (value != newValue) { in setAutoCheckpointInterval() 321 if (value != newValue) { in setJournalSizeLimit() 331 if (value != newValue) { in setForeignKeyModeFromConfiguration() 393 if (TextUtils.isEmpty(newValue)) { in setSyncMode() 399 canonicalizeSyncMode(newValue))) { in setSyncMode() 400 execute("PRAGMA synchronous=" + newValue, null, null); in setSyncMode() 415 if (TextUtils.isEmpty(newValue)) { in setJournalMode() 420 if (!value.equalsIgnoreCase(newValue)) { in setJournalMode() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
H A D | AccessibilityTargetAdapter.java | 137 void updateIconWidthHeight(int newValue) { in updateIconWidthHeight() argument 139 if (layoutParams.width == newValue) { in updateIconWidthHeight() 142 layoutParams.width = newValue; in updateIconWidthHeight() 143 layoutParams.height = newValue; in updateIconWidthHeight()
|
/aosp14/frameworks/base/services/core/java/com/android/server/content/ |
H A D | SyncManagerConstants.java | 82 String newValue = Settings.Global.getString(mContext.getContentResolver(), in refresh() local 86 parser.setString(newValue); in refresh() 88 Slog.wtf(TAG, "Bad constants: " + newValue); in refresh()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumeDialogComponent.java | 126 public void onTuningChanged(String key, String newValue) { in onTuningChanged() argument 133 TunerService.parseIntegerSwitch(newValue, mDefaultVolumeDownToEnterSilent); in onTuningChanged() 136 TunerService.parseIntegerSwitch(newValue, DEFAULT_VOLUME_UP_TO_EXIT_SILENT); in onTuningChanged() 139 TunerService.parseIntegerSwitch(newValue, DEFAULT_DO_NOT_DISTURB_WHEN_SILENT); in onTuningChanged()
|
/aosp14/frameworks/base/services/core/java/com/android/server/inputmethod/ |
H A D | OverlayableSystemBooleanResourceWrapper.java | 96 final boolean newValue = evaluate(userContext, boolResId); in create() 97 if (newValue != valueRef.getAndSet(newValue)) { in create()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
H A D | ChannelEditorListView.kt | 51 set(newValue) { 52 field = newValue 169 set(newValue) { 170 field = newValue
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | LockSettingsStrongAuth.java | 203 int newValue = strongAuthReason == STRONG_AUTH_NOT_REQUIRED in handleRequireStrongAuthOneUser() local 206 if (oldValue != newValue) { in handleRequireStrongAuthOneUser() 207 mStrongAuthForUser.put(userId, newValue); in handleRequireStrongAuthOneUser() 208 notifyStrongAuthTrackers(newValue, userId); in handleRequireStrongAuthOneUser() 225 int newValue = oldValue & ~strongAuthReason; in handleNoLongerRequireStrongAuthOneUser() local 226 if (oldValue != newValue) { in handleNoLongerRequireStrongAuthOneUser() 227 mStrongAuthForUser.put(userId, newValue); in handleNoLongerRequireStrongAuthOneUser() 228 notifyStrongAuthTrackers(newValue, userId); in handleNoLongerRequireStrongAuthOneUser()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
H A D | FakeFlashlightController.java | 44 public void onFlashlightAvailabilityChanged(boolean newValue) { in onFlashlightAvailabilityChanged() argument 46 flashlightListener -> flashlightListener.onFlashlightAvailabilityChanged(newValue) in onFlashlightAvailabilityChanged()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/util/ |
H A D | LruCacheTest.java | 374 boolean evicted, String key, String oldValue, String newValue) { in testEntryRemovedIsCalledWithoutSynchronization() 412 boolean evicted, String key, String oldValue, String newValue) { in testCreateWithConcurrentPut() 413 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentPut() 439 boolean evicted, String key, Integer oldValue, Integer newValue) { in testCreateWithConcurrentCreate() 440 log.add(key + "=" + oldValue + ">" + newValue); in testCreateWithConcurrentCreate() 459 boolean evicted, String key, String oldValue, String newValue) { 462 : (key + "=" + oldValue + ">" + newValue);
|