Home
last modified time | relevance | path

Searched refs:currentSet (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/
DFlattener.cpp425 for (auto currentSet = mLayers.cbegin(); currentSet != mLayers.cend(); ++currentSet) { in findCandidateRuns() local
426 bool layerIsInactive = now - currentSet->getLastUpdate() > mTunables.mActiveLayerTimeout; in findCandidateRuns()
427 const bool layerHasBlur = currentSet->hasBlurBehind(); in findCandidateRuns()
428 const bool layerDeniedFromCaching = currentSet->cachingHintExcludesLayers(); in findCandidateRuns()
431 if (!layerIsInactive && currentSet->getLayerCount() == kNumLayersFpsConsideration) { in findCandidateRuns()
432 auto layerFps = currentSet->getFirstLayer().getState()->getFps(); in findCandidateRuns()
435 currentSet->getFirstLayer().getName().c_str(), layerFps); in findCandidateRuns()
442 !currentSet->hasKnownColorShift()) { in findCandidateRuns()
446 builder.init(currentSet); in findCandidateRuns()
453 builder.setHolePunchCandidate(&(*currentSet)); in findCandidateRuns()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/panels/
DAuthorizedPanelsRepositoryImpl.kt59 val currentSet = getAuthorizedPanelsInternal(this) in removeAuthorizedPanels() constant
60 edit().putStringSet(KEY, currentSet - packageNames).apply() in removeAuthorizedPanels()
72 val currentSet = getAuthorizedPanelsInternal(sharedPreferences) in addAuthorizedPanelsInternal() constant
73 sharedPreferences.edit().putStringSet(KEY, currentSet + packageNames).apply() in addAuthorizedPanelsInternal()
/frameworks/base/services/credentials/java/com/android/server/credentials/
DCredentialDescriptionRegistry.java171 Set<CredentialDescription> currentSet = mCredentialDescriptions.get(packageName); in getFilteredResultForProvider() local
172 for (CredentialDescription containedDescription: currentSet) { in getFilteredResultForProvider()
188 Set<CredentialDescription> currentSet = mCredentialDescriptions.get(packageName); in getMatchingProviders() local
189 for (CredentialDescription containedDescription : currentSet) { in getMatchingProviders()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.cpp136 StreamSet& currentSet = mStreamSetMap.editValueFor(streamSetKey); in unregisterStream() local
137 BufferCountMap& handOutBufferCounts = currentSet.handoutBufferCountMap; in unregisterStream()
138 BufferCountMap& attachedBufferCounts = currentSet.attachedBufferCountMap; in unregisterStream()
139 InfoMap& infoMap = currentSet.streamInfoMap; in unregisterStream()
145 currentSet.maxAllowedBufferCount = 0; in unregisterStream()
147 if (infoMap[i].totalBufferCount > currentSet.maxAllowedBufferCount) { in unregisterStream()
148 currentSet.maxAllowedBufferCount = infoMap[i].totalBufferCount; in unregisterStream()
155 currentSet.allocatedBufferWaterMark = 0; in unregisterStream()
/frameworks/base/packages/SystemUI/src/com/android/systemui/display/data/repository/
DDisplayRepository.kt361 return onEach { currentSet -> in mapElementsLazily() method
362 val removed = initialSet - currentSet in mapElementsLazily()
363 val added = currentSet - initialSet in mapElementsLazily()
369 initialSet = currentSet in mapElementsLazily()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DAndroidCamera2AgentImpl.java111 Set<String> currentSet = new HashSet<String>(Arrays.asList(currentCameraDevices)); in updateCameraDevices() local
115 if (!currentSet.contains(mCameraDevices.get(index))) { in updateCameraDevices()
122 currentSet.removeAll(mCameraDevices); // The devices we didn't know about in updateCameraDevices()
124 if (currentSet.contains(device)) { in updateCameraDevices()