Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
DReservableTicketPool.java75 private class TicketImpl implements Ticket {
76 private final Ticket mParentTicket;
79 private TicketImpl(Ticket parentTicket) { in TicketImpl()
134 private final ArrayDeque<Ticket> mParentTickets;
172 public Collection<Ticket> acquire(int tickets) throws InterruptedException, in acquire()
174 Collection<Ticket> acquiredParentTickets = acquireParentTickets(tickets); in acquire()
176 List<Ticket> wrappedTicketList = new ArrayList<>(); in acquire()
177 for (Ticket parentTicket : acquiredParentTickets) { in acquire()
190 public Ticket tryAcquire() { in tryAcquire()
191 Ticket parentTicket; in tryAcquire()
[all …]
DFiniteTicketPool.java38 private class TicketImpl implements Ticket {
118 public Collection<Ticket> acquire(int tickets) throws InterruptedException, in acquire()
140 List<Ticket> ticketList = new ArrayList<>(); in acquire()
170 public Ticket tryAcquire() { in tryAcquire()
DTicketPool.java47 public Collection<Ticket> acquire(int tickets) throws InterruptedException, in acquire()
68 public Ticket tryAcquire(); in tryAcquire()
DTicket.java28 public interface Ticket extends SafeCloseable { interface
DTicketProvider.java30 public Ticket tryAcquire(); in tryAcquire()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DDynamicRingBuffer.java25 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket;
86 Ticket ticket = null; in update()
118 private Ticket tryAcquireLowPriorityTicket() { in tryAcquireLowPriorityTicket()
158 public Collection<Ticket> acquire(int tickets) throws InterruptedException, in acquire()
179 public Ticket tryAcquire() { in tryAcquire()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
DTicketImageProxy.java21 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket;
32 private final Ticket mTicket;
35 public TicketImageProxy(ImageProxy image, Ticket ticket) { in TicketImageProxy()
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
DTicketRequiredFilter.java21 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket;
44 Ticket ticket = mTicketProvider.tryAcquire(); in update()