Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3BufferManager.cpp130 StreamSet& currentSet = mStreamSetMap.editValueFor(streamSetId); in unregisterStream() local
131 BufferCountMap& handOutBufferCounts = currentSet.handoutBufferCountMap; in unregisterStream()
132 BufferCountMap& attachedBufferCounts = currentSet.attachedBufferCountMap; in unregisterStream()
133 InfoMap& infoMap = currentSet.streamInfoMap; in unregisterStream()
139 currentSet.maxAllowedBufferCount = 0; in unregisterStream()
141 if (infoMap[i].totalBufferCount > currentSet.maxAllowedBufferCount) { in unregisterStream()
142 currentSet.maxAllowedBufferCount = infoMap[i].totalBufferCount; in unregisterStream()
149 currentSet.allocatedBufferWaterMark = 0; in unregisterStream()
/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()