Home
last modified time | relevance | path

Searched refs:existing (Results 1 – 25 of 71) 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/core/java/com/android/server/wm/
DBoundsAnimationController.java442 final BoundsAnimator existing = mRunningAnimations.get(target); in cancel() local
443 if (existing != null) { in cancel()
446 existing.cancelAndCallAnimationEnd(); in cancel()
455 final BoundsAnimator existing = mRunningAnimations.get(target); in animateBoundsImpl() local
461 final boolean replacing = existing != null; in animateBoundsImpl()
471 if (existing.isAnimatingTo(to) && (!moveToFullscreen || existing.mMoveToFullscreen) in animateBoundsImpl()
472 && (!moveFromFullscreen || existing.mMoveFromFullscreen)) { in animateBoundsImpl()
477 + "existing=" + existing + ", ignoring..."); in animateBoundsImpl()
478 return existing; in animateBoundsImpl()
482 prevSchedulePipModeChangedState = existing.mSchedulePipModeChangedState; in animateBoundsImpl()
[all …]
/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.java487 MessagingMessage existing = mMessages.get(i); in findAndRemoveMatchingMessage() local
488 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
490 return existing; in findAndRemoveMatchingMessage()
494 MessagingMessage existing = mHistoricMessages.get(i); in findAndRemoveMatchingMessage() local
495 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
497 return existing; in findAndRemoveMatchingMessage()
511 MessagingMessage existing = mHistoricMessages.get(i); in updateHistoricMessageVisibility() local
512 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.java301 final ShortcutInfo existing = ps.findShortcutById(inShortcut.getId()); in requestPinShortcutLocked() local
302 final boolean existsAlready = existing != null; in requestPinShortcutLocked()
303 final boolean existingIsVisible = existsAlready && existing.isVisibleToPublisher(); in requestPinShortcutLocked()
320 validateExistingShortcut(existing); in requestPinShortcutLocked()
323 launcherPackage, existing.getUserId(), launcherUserId).hasPinned(existing); in requestPinShortcutLocked()
335 shortcutForLauncher = existing.clone(ShortcutInfo.CLONE_REMOVE_FOR_LAUNCHER); in requestPinShortcutLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentView.java1227 RemoteInputView existing = (RemoteInputView)
1230 if (existing != null) {
1231 existing.onNotificationUpdateOrReset();
1234 if (existing == null && hasRemoteInput) {
1245 existing = riv;
1250 existing = cachedView;
1258 existing.setBackgroundColor(ContrastColorUtil.ensureTextBackgroundColor(color,
1262 existing.setWrapper(wrapper);
1263 existing.setOnVisibilityChangedListener(this::setRemoteInputVisible);
1265 if (existingPendingIntent != null || existing.isActive()) {
[all …]
/frameworks/base/services/core/java/com/android/server/slice/
DSliceClientPermissions.java223 String[] existing = mPaths.valueAt(i); in addPath() local
224 if (isPathPrefixMatch(existing, pathSegs)) { in addPath()
228 if (isPathPrefixMatch(pathSegs, existing)) { in addPath()
240 String[] existing = mPaths.valueAt(i); in removePath() local
241 if (isPathPrefixMatch(pathSegs, existing)) { in removePath()
/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/services/core/java/com/android/server/notification/
DPreferencesHelper.java648 NotificationChannel existing = r.channels.get(channel.getId()); in createNotificationChannel() local
650 if (existing != null && fromTargetApp) { in createNotificationChannel()
651 if (existing.isDeleted()) { in createNotificationChannel()
652 existing.setDeleted(false); in createNotificationChannel()
660 if (!Objects.equals(channel.getName().toString(), existing.getName().toString())) { in createNotificationChannel()
661 existing.setName(channel.getName().toString()); in createNotificationChannel()
664 if (!Objects.equals(channel.getDescription(), existing.getDescription())) { in createNotificationChannel()
665 existing.setDescription(channel.getDescription()); in createNotificationChannel()
668 if (channel.isBlockableSystem() != existing.isBlockableSystem()) { in createNotificationChannel()
669 existing.setBlockableSystem(channel.isBlockableSystem()); in createNotificationChannel()
[all …]
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp175 static ResourceTable::CollisionResult ResolveMergeCollision(Value* existing, Value* incoming, in ResolveMergeCollision() argument
177 if (Styleable* existing_styleable = ValueCast<Styleable>(existing)) { in ResolveMergeCollision()
183 } else if (Style* existing_style = ValueCast<Style>(existing)) { in ResolveMergeCollision()
191 return ResourceTable::ResolveValueCollision(existing, incoming, true /* overlay */); in ResolveMergeCollision()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupManager.java160 NotificationEntry existing = group.children.get(added.key); in onEntryAdded() local
161 if (existing != null && existing != added) { in onEntryAdded()
162 Throwable existingThrowable = existing.getDebugThrowable(); in onEntryAdded()
164 + "existing removed: " + existing.isRowRemoved() in onEntryAdded()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTest.cpp1091 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local
1092 existing.inject(); in TEST_F()
1106 mFlinger.destroyDisplay(existing.token()); in TEST_F()
1112 EXPECT_FALSE(hasCurrentDisplayState(existing.token())); in TEST_F()
1115 EXPECT_TRUE(hasDrawingDisplayState(existing.token())); in TEST_F()
1148 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local
1149 existing.inject(); in TEST_F()
1173 EXPECT_FALSE(hasDisplayDevice(existing.token())); in TEST_F()
1176 EXPECT_TRUE(hasCurrentDisplayState(existing.token())); in TEST_F()
1179 EXPECT_FALSE(hasDrawingDisplayState(existing.token())); in TEST_F()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDeviceAdminServiceController.java132 final PersistentConnection<IDeviceAdminService> existing = in startServiceForOwner() local
134 if (existing != null) { in startServiceForOwner()
/frameworks/base/core/java/android/view/
DInsetsState.java213 Insets existing = typeInsetsMap[index]; in processSourceAsPublicType() local
214 if (existing == null) { in processSourceAsPublicType()
217 typeInsetsMap[index] = Insets.max(existing, insets); in processSourceAsPublicType()
/frameworks/base/packages/LocalTransport/src/com/android/localtransport/
DLocalTransport.java578 long[] existing = new long[POSSIBLE_SETS.length + 1]; in getAvailableRestoreSets() local
584 existing[num++] = token; in getAvailableRestoreSets()
588 existing[num++] = CURRENT_SET_TOKEN; in getAvailableRestoreSets()
592 available[i] = new RestoreSet("Local disk image", "flash", existing[i]); in getAvailableRestoreSets()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsCollection.java414 final NetworkStatsHistory existing = mStats.get(key); in findOrCreateHistory() local
418 if (existing == null) { in findOrCreateHistory()
420 } else if (existing.getBucketDuration() != mBucketDuration) { in findOrCreateHistory()
421 updated = new NetworkStatsHistory(existing, mBucketDuration); in findOrCreateHistory()
428 return existing; in findOrCreateHistory()
/frameworks/hardware/interfaces/
Dcurrent.txt2 # pre-existing interfaces will fail VTS and break framework-only OTAs
/frameworks/av/media/codec2/vndk/
DC2Buffer.cpp921 std::shared_ptr<Mapped> existing = mMapped.lock(); in map() local
922 if (!existing) { in map()
923 existing = std::shared_ptr<Mapped>(new Mapped(shared_from_this(), writable, fence)); in map()
924 mMapped = existing; in map()
927 if (writable && !existing->writable()) { in map()
928 existing = std::shared_ptr<Mapped>(new Mapped(C2_CANNOT_DO)); in map()
934 return existing; in map()
/frameworks/base/tools/aapt2/
DResourceTable.h234 static CollisionResult ResolveValueCollision(Value* existing, Value* incoming, bool overlay);
237 static CollisionResult IgnoreCollision(Value* existing, Value* incoming, bool overlay);
/frameworks/base/packages/SystemUI/tools/lint/
DREADME8 baseline.xml contains the list of existing "grandfathered" lint

123