Home
last modified time | relevance | path

Searched refs:mAvailableTicketCount (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DDynamicRingBuffer.java65 private final AvailableTicketCounter mAvailableTicketCount; field in DynamicRingBuffer
76 mAvailableTicketCount = new AvailableTicketCounter(Arrays.asList(mQueueSize, parentTickets in DynamicRingBuffer()
96 mAvailableTicketCount.freeze(); in update()
113 mAvailableTicketCount.unfreeze(); in update()
174 return mAvailableTicketCount; in getAvailableTicketCount()
202 mAvailableTicketCount.freeze(); in shrinkToFitMaxSize()
211 mAvailableTicketCount.unfreeze(); in shrinkToFitMaxSize()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DFiniteTicketPool.java79 private final ConcurrentState<Integer> mAvailableTicketCount; field in FiniteTicketPool
91 mAvailableTicketCount = new ConcurrentState<>(capacity); in FiniteTicketPool()
157 mAvailableTicketCount.update(0); in updateAvailableTicketCount()
159 mAvailableTicketCount.update(mTickets); in updateAvailableTicketCount()
166 return mAvailableTicketCount; in getAvailableTicketCount()
DReservableTicketPool.java139 private final ConcurrentState<Integer> mAvailableTicketCount; field in ReservableTicketPool
153 mAvailableTicketCount = new ConcurrentState<>(0); in ReservableTicketPool()
161 mAvailableTicketCount.update(0); in updateCurrentTicketCount()
163 mAvailableTicketCount.update(mParentTickets.size()); in updateCurrentTicketCount()
186 return mAvailableTicketCount; in getAvailableTicketCount()