Home
last modified time | relevance | path

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

12345

/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/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_DestroyDisplayTest.cpp34 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local
35 existing.inject(); in TEST_F()
46 EXPECT_EQ(NO_ERROR, mFlinger.destroyVirtualDisplay(existing.token())); in TEST_F()
52 EXPECT_FALSE(hasCurrentDisplayState(existing.token())); in TEST_F()
55 EXPECT_TRUE(hasDrawingDisplayState(existing.token())); in TEST_F()
DSurfaceFlinger_DisplayTransactionCommitTest.cpp226 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in processesHotplugDisconnectCommon() local
227 existing.inject(); in processesHotplugDisconnectCommon()
254 verifyDisplayIsNotConnected(existing.token()); in processesHotplugDisconnectCommon()
350 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local
351 existing.inject(); in TEST_F()
373 verifyDisplayIsNotConnected(existing.token()); in TEST_F()
379 EXPECT_NE(existing.token(), displayOpt->get().token()); in TEST_F()
518 auto existing = Case::Display::makeFakeExistingDisplayInjector(this); in TEST_F() local
519 existing.inject(); in TEST_F()
520 mFlinger.mutableCurrentState().displays.removeItem(existing.token()); in TEST_F()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayReferenceMapperTests.kt58 val existing = mapper.addInOrder(overlay) { in <lambda>() constant
62 mapper.addInOrder(target, existing = existing) { in <lambda>()
87 val existing = mapper.addInOrder(overlay0, overlay1) { in <lambda>() constant
91 mapper.addInOrder(target, existing = existing) { in <lambda>()
122 val existing = mapper.addInOrder(target) { in <lambda>() constant
126 mapper.addInOrder(overlay, existing = existing) { in <lambda>()
179 existing: MutableMap<String, AndroidPackage> = mutableMapOf(), in <lambda>()
184 changedPackages += addPkg(it, existing) in <lambda>()
185 existing[it.packageName] = it in <lambda>()
188 return existing in <lambda>()
/frameworks/base/tools/aapt2/tools/
Dfinalize_res.py94 existing = finalFile.read() variable
96 existing = "\n".join(existing.rsplit("</resources>", 1)) variable
99 collect_ids(existing)
112 finalFile.write(existing.strip("\n"))
/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.java563 MessagingMessage existing = mMessages.get(i); in findAndRemoveMatchingMessage() local
564 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
566 return existing; in findAndRemoveMatchingMessage()
570 MessagingMessage existing = mHistoricMessages.get(i); in findAndRemoveMatchingMessage() local
571 if (existing.sameAs(m)) { in findAndRemoveMatchingMessage()
573 return existing; in findAndRemoveMatchingMessage()
587 MessagingMessage existing = mHistoricMessages.get(i); in updateHistoricMessageVisibility() local
588 existing.setVisibility(mShowHistoricMessages ? VISIBLE : GONE); in updateHistoricMessageVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DSemiStableSort.kt148 existing: MutableList<T>, in <lambda>()
152 if (DEBUG) println(" To $existing insert $preSortedAdditions with fewest misordering") in <lambda>()
155 if (DEBUG) println(" need to add $toAdd to $existing, starting at $iStart") in <lambda>()
160 for (i in iCmpSumMax until existing.size) { in <lambda>()
161 val cmp = comparator.compare(toAdd, existing[i]).sign in <lambda>()
170 existing.add(iCmpSumMax, toAdd) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
DLockscreenTargetFilter.kt48 val existing = field constant
50 if (existing != field) {
56 val existing = field constant
58 if (existing != field) {
/frameworks/base/services/core/java/com/android/server/pm/
DOriginInfo.java55 private OriginInfo(File file, boolean staged, boolean existing) { in OriginInfo() argument
58 mExisting = existing; in OriginInfo()
DShortcutRequestPinProcessor.java304 final ShortcutInfo existing = ps.findShortcutById(inShortcut.getId()); in requestPinShortcutLocked() local
305 final boolean existsAlready = existing != null; in requestPinShortcutLocked()
306 final boolean existingIsVisible = existsAlready && existing.isVisibleToPublisher(); in requestPinShortcutLocked()
321 validateExistingShortcut(existing); in requestPinShortcutLocked()
324 launcherPackage, existing.getUserId(), launcherUserId).hasPinned(existing); in requestPinShortcutLocked()
336 shortcutForLauncher = existing.clone(ShortcutInfo.CLONE_REMOVE_FOR_LAUNCHER); in requestPinShortcutLocked()
DPreferredActivityHelper.java210 final ArrayList<PreferredActivity> existing = pir.findFilters(filter);
211 if (removeExisting && existing != null) {
212 Settings.removeFilters(pir, filter, existing);
265 final ArrayList<PreferredActivity> existing = pir.findFilters(filter);
266 if (existing != null && existing.size() == 1) {
267 final PreferredActivity cur = existing.get(0);
297 if (existing != null) {
298 Settings.removeFilters(pir, filter, existing);
/frameworks/base/tests/TrustTests/
DREADME.md7 _closely_ matching existing test file or create a new test file. Prefer many test files over large
14 following the pattern fo the existing agents.
39 3. To re-use code between tests, prefer creating new rules alongside the existing rules or adding
40 functionality to a _closely_ matching existing rule.
/frameworks/base/services/core/java/com/android/server/am/
DFgsTempAllowList.java96 final Pair<Long, E> existing = mTempAllowList.get(uid); in add() local
98 if (existing == null || existing.first < expirationTime) { in add()
/frameworks/base/services/core/java/com/android/server/connectivity/
DMultipathPolicyTracker.java479 MultipathTracker existing = mMultipathTrackers.get(network); in registerTrackMobileCallback()
480 if (existing != null) { in registerTrackMobileCallback()
481 existing.setNetworkCapabilities(nc); in registerTrackMobileCallback()
482 existing.updateMultipathBudget(); in registerTrackMobileCallback()
496 MultipathTracker existing = mMultipathTrackers.get(network); in registerTrackMobileCallback()
497 if (existing != null) { in registerTrackMobileCallback()
498 existing.shutdown(); in registerTrackMobileCallback()
/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/core/java/com/android/server/net/
DNetlinkTracker.java346 DnsServerEntry existing = mIndex.get(address); in updateExistingEntry() local
347 if (existing != null) { in updateExistingEntry()
348 existing.expiry = expiry; in updateExistingEntry()
/frameworks/base/packages/SystemUI/docs/
Dcorestartable.md40 that doesn't have a clear initialization path in existing code, strongly consider defining a _new_
41 CoreStartable instead of inserting into a random place in an existing one.
/frameworks/base/tools/aapt2/link/
DTableMerger.cpp180 bool override_styles_instead_of_overlaying, Value* existing, Value* incoming, in ResolveMergeCollision() argument
182 if (Styleable* existing_styleable = ValueCast<Styleable>(existing)) { in ResolveMergeCollision()
189 if (Style* existing_style = ValueCast<Style>(existing)) { in ResolveMergeCollision()
198 return ResourceTable::ResolveValueCollision(existing, incoming); in ResolveMergeCollision()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java982 NotificationChannel existing = r.channels.get(channel.getId()); in createNotificationChannel() local
983 if (existing != null && fromTargetApp) { in createNotificationChannel()
985 if (existing.isDeleted()) { in createNotificationChannel()
987 existing.setDeleted(false); in createNotificationChannel()
988 existing.setDeletedTimeMs(-1); in createNotificationChannel()
998 if (!Objects.equals(channel.getName().toString(), existing.getName().toString())) { in createNotificationChannel()
999 existing.setName(channel.getName().toString()); in createNotificationChannel()
1002 if (!Objects.equals(channel.getDescription(), existing.getDescription())) { in createNotificationChannel()
1003 existing.setDescription(channel.getDescription()); in createNotificationChannel()
1006 if (channel.isBlockable() != existing.isBlockable()) { in createNotificationChannel()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DPropertyAnimator.java123 Animator existing = (Animator) view.getTag(animatorTag); in startAnimation()
124 if (existing == animation) { in startAnimation()
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DJsonStyleParser.java216 final int[] existing = configuration.get(controlCode.getValue());
217 configuration.put(controlCode.getValue(), existing == null ? data.toArray()
218 : IntStream.concat(IntStream.of(existing), data).toArray());
/frameworks/native/cmds/servicemanager/
DServiceManager.cpp457 const Service& existing = it->second; in addService() local
458 prevClients = existing.hasClients; in addService()
464 if (existing.ctx.uid != ctx.uid) { in addService()
467 name.c_str(), existing.ctx.uid, ctx.uid); in addService()
470 if (existing.ctx.sid != ctx.sid) { in addService()
473 name.c_str(), existing.ctx.sid.c_str(), ctx.sid.c_str()); in addService()
478 name.c_str(), existing.ctx.debugPid, ctx.debugPid); in addService()

12345