Home
last modified time | relevance | path

Searched refs:old (Results 1 – 25 of 131) sorted by relevance

123456

/frameworks/compile/mclinker/lib/LD/
DStaticResolver.cpp65 ResolveInfo* old = &pOld; in resolve() local
79 old->overrideVisibility(pNew); in resolve()
90 old->override(pNew); in resolve()
95 uint32_t binding = old->binding(); in resolve()
96 old->override(pNew); in resolve()
97 old->setBinding(binding); in resolve()
98 ignore(diag::mark_dynamic_defined) << old->name(); in resolve()
104 old->overrideVisibility(pNew); in resolve()
105 old->setDynamic(); in resolve()
111 ignore(diag::comm_refer_to_define) << old->name(); in resolve()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DDisableFlagsLogger.kt98 old: DisableState? = null, in getDisableFlagsString()
105 if (old != null && old != new) { in getDisableFlagsString()
107 builder.append(getFlagsString(old)) in getDisableFlagsString()
112 builder.append(getDiffString(old, new)) in getDisableFlagsString()
113 } else if (old != null && old == new) { in getDisableFlagsString()
117 builder.append(getDiffString(old, new)) in getDisableFlagsString()
140 private fun getDiffString(old: DisableState, new: DisableState): String { in getDiffString()
141 if (old == new) { in getDiffString()
149 if (it.getFlagStatus(old.disable1) != newSymbol) { in getDiffString()
156 if (it.getFlagStatus(old.disable2) != newSymbol) { in getDiffString()
/frameworks/av/media/codec2/vndk/platform/
DC2SurfaceSyncObj.cpp128 uint32_t old; in lock() local
130 old = 0; in lock()
131 if (mLock.compare_exchange_strong(old, FUTEX_LOCKED_UNCONTENDED)) { in lock()
137 if (old == FUTEX_LOCKED_UNCONTENDED) in lock()
138 old = mLock.exchange(FUTEX_LOCKED_CONTENDED); in lock()
140 while (old) { in lock()
142 old = mLock.exchange(FUTEX_LOCKED_CONTENDED); in lock()
152 uint32_t old = FUTEX_LOCKED_UNCONTENDED; in unlock() local
153 mLock.compare_exchange_strong(old, FUTEX_LOCKED_CONTENDED); in unlock()
154 if (old) { in unlock()
[all …]
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecordLogger.java58 @Nullable NotificationRecord old, in maybeLogNotificationPosted() argument
127 return (p.old != null) ? NotificationReportedEvent.NOTIFICATION_UPDATED : in fromRecordPair()
355 public final NotificationRecord r, old; field in NotificationRecordLogger.NotificationRecordPair
361 NotificationRecordPair(@Nullable NotificationRecord r, @Nullable NotificationRecord old) { in NotificationRecordPair() argument
363 this.old = old; in NotificationRecordPair()
373 if ((old == null) || (buzzBeepBlink > 0)) { in shouldLogReported()
378 old.getSbn().getChannelIdLogTag()) in shouldLogReported()
379 && Objects.equals(r.getSbn().getGroupLogTag(), old.getSbn().getGroupLogTag()) in shouldLogReported()
381 == old.getSbn().getNotification().isGroupSummary()) in shouldLogReported()
383 old.getSbn().getNotification().category) in shouldLogReported()
[all …]
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
Datomic.rscript6 uint32_t old = dst;
9 _RS_ASSERT(old == ret);
16 uint32_t old = dst;
19 _RS_ASSERT(old == ret);
26 uint32_t old = dst;
29 _RS_ASSERT(old == ret);
/frameworks/base/services/core/java/com/android/server/utils/
DWatchedLongSparseArray.java207 E old = mStorage.get(key, null); in delete() local
209 unregisterChildIf(old); in delete()
228 E old = mStorage.valueAt(index); in removeAt() local
230 unregisterChildIf(old); in removeAt()
240 E old = mStorage.get(key); in put() local
242 unregisterChildIf(old); in put()
299 E old = mStorage.valueAt(index); in setValueAt() local
301 unregisterChildIf(old); in setValueAt()
DWatchedSparseArray.java292 final E old = mStorage.get(key); in put() local
294 unregisterChildIf(old); in put()
357 final E old = mStorage.valueAt(index); in setValueAt() local
359 if (value != old) { in setValueAt()
360 unregisterChildIf(old); in setValueAt()
/frameworks/base/core/java/android/text/style/
DStyleSpan.java148 Typeface old = paint.getTypeface(); in apply() local
149 if (old == null) { in apply()
152 oldStyle = old.getStyle(); in apply()
158 if (old == null) { in apply()
161 tf = Typeface.create(old, want); in apply()
DTypefaceSpan.java165 Typeface old = paint.getTypeface(); in applyFontFamily() local
166 if (old == null) { in applyFontFamily()
169 style = old.getStyle(); in applyFontFamily()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Datomic.rscript22 uint32_t old = dst;
25 _RS_ASSERT(old == ret);
32 uint32_t old = dst;
35 _RS_ASSERT(old == ret);
42 uint32_t old = dst;
45 _RS_ASSERT(old == ret);
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Datomic.rscript24 uint32_t old = dst;
27 _RS_ASSERT(old == ret);
34 uint32_t old = dst;
37 _RS_ASSERT(old == ret);
44 uint32_t old = dst;
47 _RS_ASSERT(old == ret);
/frameworks/base/core/jni/
Dandroid_media_JNIUtils.h49 sp<T> old = sp<T>::fromExisting(reinterpret_cast<T*>(env->GetLongField(thiz, id))); in setFieldSp() local
53 if (old) { in setFieldSp()
54 old->decStrong((void*)setFieldSp<T>); in setFieldSp()
57 return old; in setFieldSp()
Dandroid_media_AudioVolumeGroupCallback.cpp110 sp<JNIAudioVolumeGroupCallback> old = (JNIAudioVolumeGroupCallback*)env->GetLongField( in setJniCallback() local
115 if (old != 0) { in setJniCallback()
116 old->decStrong((void*)setJniCallback); in setJniCallback()
120 return old; in setJniCallback()
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/
DParcelableDetector.kt53 val old = isParcelableCache[c] in isParcelable() constant
54 if (old != null) { in isParcelable()
55 return old in isParcelable()
DAncestorCollector.kt37 val old = _ancestors.put(name, Ancestors(superName, interfaces?.toList())) in visit() constant
38 if (old != null) { in visit()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordLoggerFake.java38 CallRecord(NotificationRecord r, NotificationRecord old, int position, in CallRecord() argument
40 super(r, old); in CallRecord()
81 public void maybeLogNotificationPosted(NotificationRecord r, NotificationRecord old, in maybeLogNotificationPosted() argument
83 mCalls.add(new CallRecord(r, old, position, buzzBeepBlink, groupId)); in maybeLogNotificationPosted()
/frameworks/rs/support/jni/
Dandroid_rscompat_usage_io_driver.cpp40 ANativeWindow *old = drv->wndSurface; in rscAllocationSetSurface() local
41 ANativeWindow_unlockAndPost(old); in rscAllocationSetSurface()
43 ANativeWindow_release(old); in rscAllocationSetSurface()
44 old = NULL; in rscAllocationSetSurface()
/frameworks/base/core/java/android/os/
DConditionVariable.java65 boolean old = mCondition; in open()
67 if (!old) { in open()
/frameworks/base/media/jni/
Dandroid_media_MediaHTTPConnection.cpp86 sp<JMediaHTTPConnection> old = in setObject() local
92 if (old != NULL) { in setObject()
93 old->decStrong(thiz); in setObject()
97 return old; in setObject()
/frameworks/compile/mclinker/include/mcld/LD/
DDiagSymbolResolutions.inc39 "reach undefined situation, action: %0, old(%1) -> new(%2)",
40 "reach undefined situation, action: %0, old(%1) -> new(%2)")
43 "inconsistent definitions of absolute symbol `%0': old(%1) -> new(%2)",
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastDispatcher.java654 BroadcastRecord old = replaceBroadcastLocked(mOrderedBroadcasts, r, typeForLogging); in replaceBroadcastLocked() local
657 if (old == null) { in replaceBroadcastLocked()
658 old = replaceDeferredBroadcastLocked(mAlarmBroadcasts, r, typeForLogging); in replaceBroadcastLocked()
660 if (old == null) { in replaceBroadcastLocked()
661 old = replaceDeferredBroadcastLocked(mDeferredBroadcasts, r, typeForLogging); in replaceBroadcastLocked()
663 return old; in replaceBroadcastLocked()
668 BroadcastRecord old; in replaceDeferredBroadcastLocked() local
672 old = replaceBroadcastLocked(d.broadcasts, r, typeForLogging); in replaceDeferredBroadcastLocked()
673 if (old != null) { in replaceDeferredBroadcastLocked()
674 return old; in replaceDeferredBroadcastLocked()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
DFlow.kt42 fun <T, R> Flow<T>.pairwiseBy(transform: suspend (old: T, new: T) -> R): Flow<R> = flow { in <lambda>()
117 .pairwiseBy { old: Set<T>, new: Set<T> -> in new() method
119 val removed = old - new in new()
121 val added = new - old in new()
/frameworks/base/core/tests/coretests/src/android/widget/
DRadioGroupPreCheckedTest.java54 RadioButton old = (RadioButton) activity.findViewById(R.id.value_one); in testRadioButtonChangePreChecked() local
56 assertFalse("The first radio button should not be checked", old.isChecked()); in testRadioButtonChangePreChecked()
/frameworks/base/core/java/android/app/
DRecoverableSecurityException.java149 final Fragment old = fm.findFragmentByTag(tag); in showAsDialog() local
150 if (old != null) { in showAsDialog()
151 ft.remove(old); in showAsDialog()
/frameworks/base/core/java/com/android/internal/app/
DProcessMap.java45 final E old = uids.removeReturnOld(uid); in remove() local
49 return old; in remove()

123456