Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DReservableTicketPool.java128 private final ArrayDeque<Waiter> mTicketWaiters; field in ReservableTicketPool
150 mTicketWaiters = new ArrayDeque<>(); in ReservableTicketPool()
160 if (mTicketWaiters.size() != 0) { in updateCurrentTicketCount()
194 if (mParentTickets.isEmpty() || mTicketWaiters.size() > 0) { in tryAcquire()
304 if (mTicketWaiters.isEmpty()) { in acquireParentTickets()
308 mTicketWaiters.add(thisWaiter); in acquireParentTickets()
316 mTicketWaiters.remove(thisWaiter); in acquireParentTickets()
361 while (mTicketWaiters.size() > 0) { in releaseWaitersOnTicketAvailability()
362 Waiter nextWaiter = mTicketWaiters.peek(); in releaseWaitersOnTicketAvailability()
366 mTicketWaiters.poll(); in releaseWaitersOnTicketAvailability()
[all …]