/packages/apps/Messaging/src/com/android/messaging/util/ |
D | BugleSubscriptionPrefs.java | 77 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/ |
D | EventFieldEditorView.java | 163 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/ |
D | DatabaseManager.java | 245 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/ |
D | ValuesDelta.java | 145 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/ |
D | TouchTargetEnforcerTest.java | 132 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/ |
D | MatchContentFrameRateFragment.java | 127 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/ |
D | DriverDistractionExperimentalFeatureService.java | 484 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/ |
D | MediaCache.java | 99 final T oldValue, final T newValue) { in entryRemoved() argument 100 oldValue.release(); in entryRemoved()
|
D | PoolableImageCache.java | 75 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/ |
D | TmaBrowser.java | 134 (oldValue, newValue) -> { 147 (oldValue, newValue) -> invalidateRoot(); 150 (oldValue, newValue) -> invalidateRoot();
|
D | TmaPublicProvider.java | 126 (oldValue, newValue) -> mAssetDelay = newValue.mReplyDelayMs); in onCreate()
|
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/ |
D | WifiP2pGroupList.java | 65 WifiP2pGroup oldValue, WifiP2pGroup newValue) { in WifiP2pGroupList() 67 mListener.onDeleteGroup(oldValue.getNetworkId()); in WifiP2pGroupList()
|
/packages/apps/Camera2/src/com/android/camera/one/v2/ |
D | ImageCaptureManager.java | 432 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()
|
D | OneCameraZslImpl.java | 336 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/ |
D | CarNotificationDiff.java | 232 Object oldValue = oldBundle.get(key); in areBundlesEqual() local 234 if (!Objects.equals(oldValue, newValue)) { in areBundlesEqual()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | HighPowerDetail.java | 140 boolean oldValue = mBackend.isAllowlisted(mPackageName); in onClick() 141 if (newValue != oldValue) { in onClick()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/ |
D | TestUtils.java | 72 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/ |
D | CarMultiUserTestBase.java | 326 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/ |
D | ResizableIntArrayTests.java | 395 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/ |
D | SipEditor.java | 145 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/ |
D | TmaPrefs.java | 61 void onValueChanged(T oldValue, T newValue); in onValueChanged() argument
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ThumbnailCache.java | 311 boolean evicted, CacheKey key, Entry oldValue, Entry newValue) { in entryRemoved() argument
|
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
D | ContactPhotoManagerImpl.java | 166 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/ |
D | ConnectivityManagerTest.java | 1152 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/ |
D | ContactPhotoManager.java | 723 boolean evicted, Object key, Bitmap oldValue, Bitmap newValue) { in ContactPhotoManagerImpl() 734 boolean evicted, Object key, BitmapHolder oldValue, BitmapHolder newValue) { in ContactPhotoManagerImpl()
|