Home
last modified time | relevance | path

Searched refs:existing (Results 1 – 25 of 74) 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/base/services/tests/servicestests/src/com/android/server/om/
DOverlayReferenceMapperTests.kt59 val existing = mapper.addInOrder(overlay) in <lambda>() constant
61 mapper.addInOrder(target, existing = existing) in <lambda>()
82 val existing = mapper.addInOrder(overlay0, overlay1) in <lambda>() constant
84 mapper.addInOrder(target, existing = existing) in <lambda>()
105 val existing = mapper.addInOrder(target) in <lambda>() constant
107 mapper.addInOrder(overlay, existing = existing) in <lambda>()
146 existing: MutableMap<String, AndroidPackage> = mutableMapOf() in <lambda>()
147 ) = pkgs.fold(existing) { map, pkg -> in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DMessagingPropertyAnimator.java142 ObjectAnimator existing = (ObjectAnimator) v.getTag(TAG_TOP_ANIMATOR); in startTopAnimation() local
143 if (existing != null) { in startTopAnimation()
144 existing.cancel(); in startTopAnimation()
182 ObjectAnimator existing = (ObjectAnimator) v.getTag(TAG_ALPHA_ANIMATOR); in fadeIn() local
183 if (existing != null) { in fadeIn()
184 existing.cancel(); in fadeIn()
215 ObjectAnimator existing = (ObjectAnimator) view.getTag(TAG_ALPHA_ANIMATOR); in fadeOut() local
216 if (existing != null) { in fadeOut()
217 existing.cancel(); in fadeOut()
DMessagingLayout.java528 MessagingMessage existing = mMessages.get(i); in findAndRemoveMatchingMessage() local
529 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
531 return existing; in findAndRemoveMatchingMessage()
535 MessagingMessage existing = mHistoricMessages.get(i); in findAndRemoveMatchingMessage() local
536 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
538 return existing; in findAndRemoveMatchingMessage()
552 MessagingMessage existing = mHistoricMessages.get(i); in updateHistoricMessageVisibility() local
553 existing.setVisibility(mShowHistoricMessages ? VISIBLE : GONE); in updateHistoricMessageVisibility()
DConversationLayout.java1100 MessagingMessage existing = mMessages.get(i); in findAndRemoveMatchingMessage() local
1101 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
1103 return existing; in findAndRemoveMatchingMessage()
1107 MessagingMessage existing = mHistoricMessages.get(i); in findAndRemoveMatchingMessage() local
1108 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
1110 return existing; in findAndRemoveMatchingMessage()
1124 MessagingMessage existing = mHistoricMessages.get(i); in updateHistoricMessageVisibility() local
1125 existing.setVisibility(mShowHistoricMessages ? VISIBLE : GONE); in updateHistoricMessageVisibility()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkAgentInfo.java380 NetworkRequest existing = mNetworkRequests.get(networkRequest.requestId); in addRequest() local
381 if (existing == networkRequest) return false; in addRequest()
382 if (existing != null) { in addRequest()
386 networkRequest, existing, toShortString())); in addRequest()
387 updateRequestCounts(REMOVE, existing); in addRequest()
398 NetworkRequest existing = mNetworkRequests.get(requestId); in removeRequest() local
399 if (existing == null) return; in removeRequest()
400 updateRequestCounts(REMOVE, existing); in removeRequest()
402 if (existing.isRequest()) { in removeRequest()
403 unlingerRequest(existing); in removeRequest()
DMultipathPolicyTracker.java455 MultipathTracker existing = mMultipathTrackers.get(network); in registerTrackMobileCallback()
456 if (existing != null) { in registerTrackMobileCallback()
457 existing.setNetworkCapabilities(nc); in registerTrackMobileCallback()
458 existing.updateMultipathBudget(); in registerTrackMobileCallback()
472 MultipathTracker existing = mMultipathTrackers.get(network); in registerTrackMobileCallback()
473 if (existing != null) { in registerTrackMobileCallback()
474 existing.shutdown(); in registerTrackMobileCallback()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DChartDataLoader.java136 NetworkTemplate template, int uid, int set, NetworkStatsHistory existing) in collectHistoryForUid() argument
141 if (existing != null) { in collectHistoryForUid()
142 existing.recordEntireHistory(history); in collectHistoryForUid()
143 return existing; in collectHistoryForUid()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutRequestPinProcessor.java303 final ShortcutInfo existing = ps.findShortcutById(inShortcut.getId()); in requestPinShortcutLocked() local
304 final boolean existsAlready = existing != null; in requestPinShortcutLocked()
305 final boolean existingIsVisible = existsAlready && existing.isVisibleToPublisher(); in requestPinShortcutLocked()
322 validateExistingShortcut(existing); in requestPinShortcutLocked()
325 launcherPackage, existing.getUserId(), launcherUserId).hasPinned(existing); in requestPinShortcutLocked()
337 shortcutForLauncher = existing.clone(ShortcutInfo.CLONE_REMOVE_FOR_LAUNCHER); in requestPinShortcutLocked()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceClientPermissions.java229 String[] existing = mPaths.valueAt(i); in addPath() local
230 if (isPathPrefixMatch(existing, pathSegs)) { in addPath()
234 if (isPathPrefixMatch(pathSegs, existing)) { in addPath()
246 String[] existing = mPaths.valueAt(i); in removePath() local
247 if (isPathPrefixMatch(pathSegs, existing)) { in removePath()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java827 NotificationChannel existing = r.channels.get(channel.getId()); in createNotificationChannel() local
828 if (existing != null && fromTargetApp) { in createNotificationChannel()
830 if (existing.isDeleted()) { in createNotificationChannel()
832 existing.setDeleted(false); in createNotificationChannel()
842 if (!Objects.equals(channel.getName().toString(), existing.getName().toString())) { in createNotificationChannel()
843 existing.setName(channel.getName().toString()); in createNotificationChannel()
846 if (!Objects.equals(channel.getDescription(), existing.getDescription())) { in createNotificationChannel()
847 existing.setDescription(channel.getDescription()); in createNotificationChannel()
850 if (channel.isBlockable() != existing.isBlockable()) { in createNotificationChannel()
851 existing.setBlockable(channel.isBlockable()); in createNotificationChannel()
[all …]
/frameworks/base/core/java/com/android/server/net/
DNetlinkTracker.java345 DnsServerEntry existing = mIndex.get(address); in updateExistingEntry() local
346 if (existing != null) { in updateExistingEntry()
347 existing.expiry = expiry; in updateExistingEntry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java1277 RemoteInputView existing = (RemoteInputView)
1280 if (existing != null) {
1281 existing.onNotificationUpdateOrReset();
1284 if (existing == null && hasRemoteInput) {
1295 existing = riv;
1300 existing = cachedView;
1308 existing.setBackgroundColor(ContrastColorUtil.ensureTextBackgroundColor(color,
1312 existing.setWrapper(wrapper);
1313 existing.setOnVisibilityChangedListener(this::setRemoteInputVisible);
1315 if (existingPendingIntent != null || existing.isActive()) {
[all …]
/frameworks/base/core/java/android/window/
DWindowContainerTransaction.java277 Change existing = mChanges.get(key); in merge() local
278 if (existing == null) { in merge()
279 existing = new Change(); in merge()
280 mChanges.put(key, existing); in merge()
282 existing.merge(other.mChanges.valueAt(i), transfer); in merge()
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp176 bool override_styles_instead_of_overlaying, Value* existing, Value* incoming, in ResolveMergeCollision() argument
178 if (Styleable* existing_styleable = ValueCast<Styleable>(existing)) { in ResolveMergeCollision()
185 if (Style* existing_style = ValueCast<Style>(existing)) { in ResolveMergeCollision()
194 return ResourceTable::ResolveValueCollision(existing, incoming); in ResolveMergeCollision()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java192 NotificationEntry existing = group.children.get(added.getKey()); in onEntryAddedInternal() local
193 if (existing != null && existing != added) { in onEntryAddedInternal()
194 Throwable existingThrowable = existing.getDebugThrowable(); in onEntryAddedInternal()
196 + "existing removed: " + existing.isRowRemoved() in onEntryAddedInternal()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceAdminServiceController.java131 final PersistentConnection<IDeviceAdminService> existing = in startServiceForOwner() local
133 if (existing != null) { in startServiceForOwner()
/frameworks/base/services/core/java/com/android/server/wm/
DEventLogTags.logtags12 # An existing activity is being given a new intent:
16 # A new activity is being created in an existing task:
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1258 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local
1259 existing.inject(); in TEST_F()
1273 mFlinger.destroyDisplay(existing.token()); in TEST_F()
1279 EXPECT_FALSE(hasCurrentDisplayState(existing.token())); in TEST_F()
1282 EXPECT_TRUE(hasDrawingDisplayState(existing.token())); in TEST_F()
1315 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local
1316 existing.inject(); in TEST_F()
1340 EXPECT_FALSE(hasDisplayDevice(existing.token())); in TEST_F()
1343 EXPECT_TRUE(hasCurrentDisplayState(existing.token())); in TEST_F()
1346 EXPECT_FALSE(hasDrawingDisplayState(existing.token())); in TEST_F()
[all …]
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java592 long[] existing = new long[POSSIBLE_SETS.length + 1]; in getAvailableRestoreSets() local
598 existing[num++] = token; in getAvailableRestoreSets()
602 existing[num++] = CURRENT_SET_TOKEN; in getAvailableRestoreSets()
606 available[i] = new RestoreSet("Local disk image", "flash", existing[i]); in getAvailableRestoreSets()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java438 final NetworkStatsHistory existing = mStats.get(key); in findOrCreateHistory() local
442 if (existing == null) { in findOrCreateHistory()
444 } else if (existing.getBucketDuration() != mBucketDuration) { in findOrCreateHistory()
445 updated = new NetworkStatsHistory(existing, mBucketDuration); in findOrCreateHistory()
452 return existing; in findOrCreateHistory()
/frameworks/base/tools/aapt2/
DResourceTable.h208 static CollisionResult ResolveValueCollision(Value* existing, Value* incoming);
211 static CollisionResult IgnoreCollision(Value* existing, Value* incoming);
/frameworks/base/packages/SystemUI/tools/lint/
DREADME8 baseline.xml contains the list of existing "grandfathered" lint

123