Searched refs:useCountMap (Results 1 – 1 of 1) sorted by relevance
49 @GuardedBy("lock") private val useCountMap: MutableMap<Surface, Int> = mutableMapOf() constant in androidx.camera.camera2.pipe.CameraSurfaceManager101 useCountMap.filter { it.value > 0 }.keys in addListener()121 val newUseCount = (useCountMap[surface] ?: 0) + 1 in registerSurface()122 useCountMap[surface] = newUseCount in registerSurface()147 val useCount = useCountMap[surface] in onTokenClosed()150 useCountMap[surface] = newUseCount in onTokenClosed()162 useCountMap.remove(surface) in onTokenClosed()