Home
last modified time | relevance | path

Searched refs:existing (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/rs/
DrsProgramStore.cpp95 ProgramStore *existing = rsc->mStateFragmentStore.mStorePrograms[ct]; in getProgramStore() local
96 if (existing->mHal.state.ditherEnable != ditherEnable) continue; in getProgramStore()
97 if (existing->mHal.state.colorRWriteEnable != colorMaskR) continue; in getProgramStore()
98 if (existing->mHal.state.colorGWriteEnable != colorMaskG) continue; in getProgramStore()
99 if (existing->mHal.state.colorBWriteEnable != colorMaskB) continue; in getProgramStore()
100 if (existing->mHal.state.colorAWriteEnable != colorMaskA) continue; in getProgramStore()
101 if (existing->mHal.state.blendSrc != srcFunc) continue; in getProgramStore()
102 if (existing->mHal.state.blendDst != destFunc) continue; in getProgramStore()
103 if (existing->mHal.state.depthWriteEnable != depthMask) continue; in getProgramStore()
104 if (existing->mHal.state.depthFunc != depthFunc) continue; in getProgramStore()
[all …]
DrsSampler.cpp88 Sampler *existing = rsc->mStateSampler.mAllSamplers[ct]; in getSampler() local
89 if (existing->mHal.state.magFilter != magFilter) continue; in getSampler()
90 if (existing->mHal.state.minFilter != minFilter ) continue; in getSampler()
91 if (existing->mHal.state.wrapS != wrapS) continue; in getSampler()
92 if (existing->mHal.state.wrapT != wrapT) continue; in getSampler()
93 if (existing->mHal.state.wrapR != wrapR) continue; in getSampler()
94 if (existing->mHal.state.aniso != aniso) continue; in getSampler()
95 returnRef.set(existing); in getSampler()
DrsProgramRaster.cpp84 ProgramRaster *existing = rsc->mStateRaster.mRasterPrograms[ct]; in getProgramRaster() local
85 if (existing->mHal.state.pointSprite != pointSprite) continue; in getProgramRaster()
86 if (existing->mHal.state.cull != cull) continue; in getProgramRaster()
87 returnRef.set(existing); in getProgramRaster()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DDataBinder.java117 final CallbackWrapper existing = uniqueWrappers.get(entry.getKey()); in writeCallbackWrappers() local
118 if (existing == null) { in writeCallbackWrappers()
129 .prepare(existing.getClassName(), existing.getListenerMethodName()); in writeCallbackWrappers()
147 private String makeUnique(Set<String> existing, String wanted) { in makeUnique() argument
149 while (existing.contains(wanted)) { in makeUnique()
153 existing.add(wanted); in makeUnique()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUManager.java187 OSUInfo existing = mOSUMap.get(entry.getKey()); in updateOSUInfoCache() local
190 if (existing == null) { in updateOSUInfoCache()
193 } else if (existing.getBSSID() != bssid) { in updateOSUInfoCache()
194 HSIconFileElement icon = mIconCache.getIcon(existing); in updateOSUInfoCache()
195 if (icon != null && icon.equals(existing.getIconFileElement())) { in updateOSUInfoCache()
197 existing.getOsuID()); in updateOSUInfoCache()
198 osuInfo.setIconFileElement(icon, existing.getIconFileName()); in updateOSUInfoCache()
206 osus.put(entry.getKey(), existing); in updateOSUInfoCache() local
238 for (OSUInfo existing : mOSUMap.values()) { in notifyOSUCount()
239 if (existing.getIconStatus() == OSUInfo.IconStatus.Available) { in notifyOSUCount()
DOSUCache.java116 ScanResult existing = mBatchedOSUs.put(provider, scanResult); in putProviders() local
117 if (existing != null && existing.level > scanResult.level) { in putProviders()
119 mBatchedOSUs.put(provider, existing); in putProviders()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java317 NetworkRequest existing = mNetworkRequests.get(networkRequest.requestId); in addRequest() local
318 if (existing == networkRequest) return false; in addRequest()
319 if (existing != null) { in addRequest()
323 networkRequest, existing, name())); in addRequest()
324 updateRequestCounts(REMOVE, existing); in addRequest()
335 NetworkRequest existing = mNetworkRequests.get(requestId); in removeRequest() local
336 if (existing == null) return; in removeRequest()
337 updateRequestCounts(REMOVE, existing); in removeRequest()
339 if (existing.isRequest()) { in removeRequest()
340 unlingerRequest(existing); in removeRequest()
/frameworks/support/lifecycle/extensions/src/main/java/android/arch/lifecycle/
DMediatorLiveData.java54 Source<?> existing = mSources.putIfAbsent(source, e); in addSource() local
55 if (existing != null && existing.mObserver != onChanged) { in addSource()
59 if (existing != null) { in addSource()
DLiveData.java191 LifecycleBoundObserver existing = mObservers.putIfAbsent(observer, wrapper); in observe() local
192 if (existing != null && existing.owner != wrapper.owner) { in observe()
196 if (existing != null) { in observe()
/frameworks/base/services/core/java/com/android/server/wm/
DBoundsAnimationController.java392 final BoundsAnimator existing = mRunningAnimations.get(target); in animateBoundsImpl() local
393 final boolean replacing = existing != null; in animateBoundsImpl()
402 if (existing.isAnimatingTo(to)) { in animateBoundsImpl()
405 if (DEBUG) Slog.d(TAG, "animateBounds: same destination as existing=" + existing in animateBoundsImpl()
408 return existing; in animateBoundsImpl()
412 prevSchedulePipModeChangedState = existing.mSchedulePipModeChangedState; in animateBoundsImpl()
415 if (existing.mSchedulePipModeChangedState == SCHEDULE_PIP_MODE_CHANGED_ON_START) { in animateBoundsImpl()
424 } else if (existing.mSchedulePipModeChangedState == SCHEDULE_PIP_MODE_CHANGED_ON_END) { in animateBoundsImpl()
436 existing.cancel(); in animateBoundsImpl()
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/
DDiffUtilTest.java390 Item existing = target.get(positionInList); in applyUpdates()
392 assertThat(existing.changed, is(false)); in applyUpdates()
393 assertThat(existing.newItem, is(false)); in applyUpdates()
394 assertThat(existing.payload, is(nullValue())); in applyUpdates()
395 Item replica = new Item(existing); in applyUpdates()
417 Item existing = mAfter.get(index); in update() local
418 if (existing.newItem) { in update()
421 Item replica = new Item(existing); in update()
432 Item existing = mAfter.get(index); in updateWithPayload() local
433 if (existing.newItem) { in updateWithPayload()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DChartDataLoader.java133 NetworkTemplate template, int uid, int set, NetworkStatsHistory existing) in collectHistoryForUid() argument
138 if (existing != null) { in collectHistoryForUid()
139 existing.recordEntireHistory(history); in collectHistoryForUid()
140 return existing; in collectHistoryForUid()
/frameworks/support/lifecycle/common/src/main/java/android/arch/lifecycle/
DReflectiveGenericLifecycleObserver.java86 CallbackInfo existing = sInfoCache.get(klass); in getInfo() local
87 if (existing != null) { in getInfo()
88 return existing; in getInfo()
90 existing = createInfo(klass); in getInfo()
91 return existing; in getInfo()
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DSortedList.java396 T existing = mData[index]; in add() local
397 if (mCallback.areItemsTheSame(existing, item)) { in add()
398 if (mCallback.areContentsTheSame(existing, item)) { in add()
482 final T existing = get(index); in updateItemAt() local
484 boolean contentsChanged = existing == item || !mCallback.areContentsTheSame(existing, item); in updateItemAt()
485 if (existing != item) { in updateItemAt()
487 final int cmp = mCallback.compare(existing, item); in updateItemAt()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
DCallbackExprModel.java79 final Expr existing = mExprMap.get(id.getUniqueKey()); in identifier() local
80 if (existing == null) { in identifier()
87 return (IdentifierExpr) existing; in identifier()
DExprModel.java106 T existing = (T) mExprMap.get(expr.getUniqueKey()); in register() local
107 if (existing != null) { in register()
114 expr.onSwappedWith(existing); in register()
116 existing.addLocation(location); in register()
118 return existing; in register()
297 String existing = mImports.get(alias);
298 if (existing != null) {
299 if (existing.equals(type)) {
306 existing, type);
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java301 final ShortcutInfo existing = ps.findShortcutById(inShortcut.getId()); in requestPinShortcutLocked() local
302 final boolean existsAlready = existing != null; in requestPinShortcutLocked()
318 validateExistingShortcut(existing); in requestPinShortcutLocked()
321 launcherPackage, existing.getUserId(), launcherUserId).hasPinned(existing); in requestPinShortcutLocked()
333 shortcutForLauncher = existing.clone(ShortcutInfo.CLONE_REMOVE_FOR_LAUNCHER); in requestPinShortcutLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationContentView.java1188 RemoteInputView existing = (RemoteInputView)
1191 if (existing != null) {
1192 existing.onNotificationUpdateOrReset();
1195 if (existing == null && hasRemoteInput) {
1206 existing = riv;
1211 existing = cachedView;
1219 existing.setBackgroundColor(NotificationColorUtil.ensureTextBackgroundColor(color,
1223 existing.setWrapper(wrapper);
1225 if (existingPendingIntent != null || existing.isActive()) {
1230 existing.setPendingIntent(existingPendingIntent);
[all …]
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java341 DnsServerEntry existing = mIndex.get(address); in updateExistingEntry() local
342 if (existing != null) { in updateExistingEntry()
343 existing.expiry = expiry; in updateExistingEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java125 NotificationData.Entry existing = group.children.get(added.key); in onEntryAdded() local
126 if (existing != null && existing != added) { in onEntryAdded()
127 Throwable existingThrowable = existing.getDebugThrowable(); in onEntryAdded()
129 + "existing removed: " + existing.row.isRemoved() in onEntryAdded()
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp190 static ResourceTable::CollisionResult ResolveMergeCollision(Value* existing, Value* incoming, in ResolveMergeCollision() argument
192 if (Styleable* existing_styleable = ValueCast<Styleable>(existing)) { in ResolveMergeCollision()
198 } else if (Style* existing_style = ValueCast<Style>(existing)) { in ResolveMergeCollision()
206 return ResourceTable::ResolveValueCollision(existing, incoming); in ResolveMergeCollision()
/frameworks/support/room/runtime/src/main/java/android/arch/persistence/room/
DRoomDatabase.java473 Migration existing = targetMap.get(end); in addMigration() local
474 if (existing != null) { in addMigration()
475 Log.w(Room.LOG_TAG, "Overriding migration " + existing + " with " + migration); in addMigration()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceAdminServiceController.java156 final PersistentConnection<IDeviceAdminService> existing = in startServiceForOwner() local
158 if (existing != null) { in startServiceForOwner()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java549 NotificationChannel existing = r.channels.get(channel.getId()); in createNotificationChannel() local
551 if (existing != null && fromTargetApp) { in createNotificationChannel()
552 if (existing.isDeleted()) { in createNotificationChannel()
553 existing.setDeleted(false); in createNotificationChannel()
560 existing.setName(channel.getName().toString()); in createNotificationChannel()
561 existing.setDescription(channel.getDescription()); in createNotificationChannel()
562 existing.setBlockableSystem(channel.isBlockableSystem()); in createNotificationChannel()
566 if (existing.getUserLockedFields() == 0 && in createNotificationChannel()
567 channel.getImportance() < existing.getImportance()) { in createNotificationChannel()
568 existing.setImportance(channel.getImportance()); in createNotificationChannel()
/frameworks/hardware/interfaces/
Dcurrent.txt2 # pre-existing interfaces will fail VTS and break framework-only OTAs

123