Home
last modified time | relevance | path

Searched refs:oldValue (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Messaging/src/com/android/messaging/util/
DBugleSubscriptionPrefs.java77 final boolean oldValue = oldPrefs.getBoolean(oldKey, defaultValue); in migratePrefBooleanInternal()
80 if (oldValue != defaultValue) { in migratePrefBooleanInternal()
81 putBoolean(resources.getString(newKeyResId), oldValue); in migratePrefBooleanInternal() local
88 final String oldValue = oldPrefs.getString(oldKey, defaultValue); in migratePrefStringInternal() local
91 if (!TextUtils.equals(oldValue, defaultValue)) { in migratePrefStringInternal()
92 putString(resources.getString(newKeyResId), oldValue); in migratePrefStringInternal() local
/packages/apps/Contacts/src/com/android/contacts/editor/
DEventFieldEditorView.java163 final String oldValue = getEntry().getAsString(column); in onLabelRebuilt() local
172 if (!isYearOptional && !TextUtils.isEmpty(oldValue)) { in onLabelRebuilt()
175 ? null : kind.dateFormatWithoutYear.parse(oldValue, position); in onLabelRebuilt()
199 final String oldValue = getEntry().getAsString(column); in createDatePickerDialog() local
210 if (TextUtils.isEmpty(oldValue)) { in createDatePickerDialog()
217 Calendar cal = DateUtils.parseDate(oldValue, false); in createDatePickerDialog()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/storage/
DDatabaseManager.java245 byte[] oldValue = data.getCustomizedMeta(key); in setCustomMeta()
246 if (oldValue != null && Arrays.equals(oldValue, newValue)) { in setCustomMeta()
412 int oldValue = data.a2dpSupportsOptionalCodecs; in setA2dpSupportsOptionalCodecs() local
413 if (oldValue == newValue) { in setA2dpSupportsOptionalCodecs()
417 + oldValue + " -> " + newValue); in setA2dpSupportsOptionalCodecs()
483 int oldValue = data.a2dpOptionalCodecsEnabled; in setA2dpOptionalCodecsEnabled() local
484 if (oldValue == newValue) { in setA2dpOptionalCodecsEnabled()
488 + oldValue + " -> " + newValue); in setA2dpOptionalCodecsEnabled()
/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java145 Object oldValue = mBefore.get(key); in isChanged() local
147 if (oldValue == null) { in isChanged()
151 return !oldValue.equals(newValue); in isChanged()
218 Object oldValue = mBefore.get(key); in isUpdate() local
219 if (oldValue == null) { in isUpdate()
223 } else if (!oldValue.equals(newValue)) { in isUpdate()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DTouchTargetEnforcerTest.java132 private void assertBoundsCorrect(int oldValue, int newValue) { in assertBoundsCorrect() argument
134 if (oldValue >= mEdgeValue) { in assertBoundsCorrect()
135 assertThat(newValue, equalTo(oldValue)); in assertBoundsCorrect()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DMatchContentFrameRateFragment.java127 int oldValue = getCurrentSettingValue(); in onPreferenceTreeClick() local
128 if (newValue != oldValue) { in onPreferenceTreeClick()
133 logToggleInteracted(toggleIdFromSetting(oldValue), false); in onPreferenceTreeClick()
/packages/services/Car/experimental/service/src/com/android/experimentalcar/
DDriverDistractionExperimentalFeatureService.java484 float oldValue = mRequiredAwareness; in handleSpeedEventLocked() local
491 if (Float.compare(oldValue, mRequiredAwareness) != 0) { in handleSpeedEventLocked()
493 addTransitionLogLocked(oldValue, mRequiredAwareness, "Required awareness"); in handleSpeedEventLocked()
687 private void addTransitionLogLocked(float oldValue, float newValue, String extra) { in addTransitionLogLocked() argument
692 Utils.TransitionLog tLog = new Utils.TransitionLog(TAG, oldValue, newValue, in addTransitionLogLocked()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DMediaCache.java99 final T oldValue, final T newValue) { in entryRemoved() argument
100 oldValue.release(); in entryRemoved()
DPoolableImageCache.java75 final ImageResource oldValue, final ImageResource newValue) { in entryRemoved() argument
76 mReusablePoolAccessor.onResourceLeaveCache(oldValue); in entryRemoved()
77 super.entryRemoved(evicted, key, oldValue, newValue); in entryRemoved()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaBrowser.java134 (oldValue, newValue) -> {
147 (oldValue, newValue) -> invalidateRoot();
150 (oldValue, newValue) -> invalidateRoot();
DTmaPublicProvider.java126 (oldValue, newValue) -> mAssetDelay = newValue.mReplyDelayMs); in onCreate()
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/
DWifiP2pGroupList.java65 WifiP2pGroup oldValue, WifiP2pGroup newValue) { in WifiP2pGroupList()
67 mListener.onDeleteGroup(oldValue.getNetworkId()); in WifiP2pGroupList()
/packages/apps/Camera2/src/com/android/camera/one/v2/
DImageCaptureManager.java432 final Object oldValue = (oldEntry != null) ? oldEntry.second : null; in updateMetadataChangeListeners() local
445 if (oldValue == newValue || !mMetadataChangeListeners.containsKey(key)) { in updateMetadataChangeListeners()
454 listener.onImageMetadataChange(key, oldValue, newValue, in updateMetadataChangeListeners()
DOneCameraZslImpl.java336 public void onImageMetadataChange(Key<?> key, Object oldValue, Object newValue, in OneCameraZslImpl()
369 public void onImageMetadataChange(Key<?> key, Object oldValue, in setFocusDistanceListener()
537 public void onImageMetadataChange(Key<?> key, Object oldValue, in takePicture()
541 if (oldValue.equals(Integer.valueOf( in takePicture()
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationDiff.java232 Object oldValue = oldBundle.get(key); in areBundlesEqual() local
234 if (!Objects.equals(oldValue, newValue)) { in areBundlesEqual()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DHighPowerDetail.java140 boolean oldValue = mBackend.isAllowlisted(mPackageName); in onClick()
141 if (newValue != oldValue) { in onClick()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/
DTestUtils.java72 Object oldValue = field.get(obj); in replaceField() local
74 return oldValue; in replaceField()
/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/
DCarMultiUserTestBase.java326 String oldValue = SystemProperties.get(property); in setSystemProperty() local
327 Log.d(TAG, "Setting system prop " + property + " from '" + oldValue + "' to '" in setSystemProperty()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/common/
DResizableIntArrayTests.java395 final int oldValue = i + shiftAmount; in testShift() local
396 assertEquals("value at " + i, oldValue, src.get(i)); in testShift()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java145 String oldValue = getValue(); in setValue() local
149 log(this + ": setValue() " + value + ": " + oldValue + " --> " + in setValue()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/prefs/
DTmaPrefs.java61 void onValueChanged(T oldValue, T newValue); in onValueChanged() argument
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java311 boolean evicted, CacheKey key, Entry oldValue, Entry newValue) { in entryRemoved() argument
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java166 boolean evicted, Object key, Bitmap oldValue, Bitmap newValue) { in ContactPhotoManagerImpl()
182 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) { in ContactPhotoManagerImpl()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java1152 private void assertMultipathPreferenceIsEventually(Network network, int oldValue, in assertMultipathPreferenceIsEventually() argument
1156 assertNotSame(oldValue, expectedValue); in assertMultipathPreferenceIsEventually()
1163 if (actualValue != oldValue) { in assertMultipathPreferenceIsEventually()
1164 fail("Multipath preference is neither previous (" + oldValue in assertMultipathPreferenceIsEventually()
/packages/apps/Contacts/src/com/android/contacts/
DContactPhotoManager.java723 boolean evicted, Object key, Bitmap oldValue, Bitmap newValue) { in ContactPhotoManagerImpl()
734 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) { in ContactPhotoManagerImpl()

12