HomeSort by relevance Sort by last modified time
    Searched refs:Ticket (Results 1 - 15 of 15) sorted by null

  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
Ticket.java 28 public interface Ticket extends SafeCloseable {
30 * Releases the ticket. Implementations must be idempotent.
TicketProvider.java 24 * Attempts to acquire and return a ticket.
26 * @return The acquired ticket, or null if no ticket is readily available.
30 public Ticket tryAcquire();
ReservableTicketPool.java 47 * as soon as possible, which may depend on consumers of this ticket pool
71 * Wraps tickets from the parent ticket pool with logic to either release
75 private class TicketImpl implements Ticket {
76 private final Ticket mParentTicket;
79 private TicketImpl(Ticket parentTicket) {
93 // and return the ticket to the parent by closing it.
134 private final ArrayDeque<Ticket> mParentTickets;
172 public Collection<Ticket> acquire(int tickets) throws InterruptedException,
174 Collection<Ticket> acquiredParentTickets = acquireParentTickets(tickets);
176 List<Ticket> wrappedTicketList = new ArrayList<>()
    [all...]
TicketPool.java 28 * Stores a collection of {@link Ticket}s. Tickets may be acquired from the
47 public Collection<Ticket> acquire(int tickets) throws InterruptedException,
58 * Attempts to acquire and return a ticket. The caller owns the resulting
59 * ticket (if not null) and is responsible for eventually closing it.
63 * @return The acquired ticket, or null if no ticket is readily available.
68 public Ticket tryAcquire();
FiniteTicketPool.java 35 * A ticket pool with a finite number of tickets.
38 private class TicketImpl implements Ticket {
118 public Collection<Ticket> acquire(int tickets) throws InterruptedException,
140 List<Ticket> ticketList = new ArrayList<>();
170 public Ticket tryAcquire() {
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/util/
TicketImageProxy.java 21 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket;
28 * Combines an {@link ImageProxy} with a {@link Ticket}.
32 private final Ticket mTicket;
35 public TicketImageProxy(ImageProxy image, Ticket ticket) {
37 mTicket = ticket;
46 // The ticket must be closed *after* the image is closed to avoid a race
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/
TicketRequiredFilter.java 21 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket;
28 * Decorates a BufferQueueController by attaching incoming images with a ticket
29 * from a TicketPool. If no ticket can be acquired, the incoming image is
44 Ticket ticket = mTicketProvider.tryAcquire(); local
45 if (ticket == null) {
48 mImageSequence.update(new TicketImageProxy(image, ticket));
  /packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
DynamicRingBuffer.java 25 import com.android.camera.one.v2.sharedimagereader.ticketpool.Ticket;
70 * @param parentTickets The parent ticket pool which implicitly determines
85 // Try to acquire a ticket to expand the ring-buffer and save the image.
86 Ticket ticket = null; local
90 // mQueue. However, for a brief moment, we acquire a ticket from
98 ticket = tryAcquireLowPriorityTicket();
99 if (ticket == null) {
104 ticket = tryAcquireLowPriorityTicket();
106 if (ticket != null)
    [all...]
  /external/curl/docs/cmdline-opts/
user.d 17 obtain a Kerberos Ticket. If you don't then the initial authentication
  /external/scapy/scapy/layers/tls/
keyexchange_tls13.py 227 class Ticket(Packet):
228 name = "Recommended Ticket Construction (from RFC 5077)"
240 PacketField.__init__(self, name, default, Ticket, **kargs)
  /external/tpm2/
Makefile 278 SOURCES += Ticket.c
  /external/curl/tests/python_dependencies/impacket/
smb3.py 518 from impacket.krb5.types import Principal, KerberosTime, Ticket
532 # Save the ticket
541 # ccache.saveFile('/tmp/ticket.bin')
563 # Let's extract the ticket from the TGS
565 ticket = Ticket()
566 ticket.from_asn1(tgs['ticket'])
575 seq_set(apReq,'ticket', ticket.to_asn1
    [all...]
smb.py     [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
ntsecapi.h     [all...]
  /external/boringssl/src/ssl/test/runner/
runner.go     [all...]

Completed in 847 milliseconds