Home
last modified time | relevance | path

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

/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
H A DReservableTicketPool.java172 public Collection<Ticket> acquire(int tickets) throws InterruptedException, in acquire() argument
174 Collection<Ticket> acquiredParentTickets = acquireParentTickets(tickets); in acquire()
215 Collection<Ticket> tickets = mParentPool.acquire(additionalCapacity); in reserveCapacity() local
221 for (Ticket ticket : tickets) { in reserveCapacity()
296 private Collection<Ticket> acquireParentTickets(int tickets) throws InterruptedException, in acquireParentTickets() argument
305 acquiredParentTickets = tryAcquireAtomically(tickets); in acquireParentTickets()
307 Waiter thisWaiter = new Waiter(mLock.newCondition(), tickets); in acquireParentTickets()
313 acquiredParentTickets = tryAcquireAtomically(tickets); in acquireParentTickets()
339 if (tickets > mCapacity) { in tryAcquireAtomically()
342 if (mParentTickets.size() >= tickets) { in tryAcquireAtomically()
[all …]
H A DFiniteTicketPool.java118 public Collection<Ticket> acquire(int tickets) throws InterruptedException, in acquire() argument
122 if (tickets > mMaxCapacity || tickets < 0) { in acquire()
125 Waiter thisWaiter = new Waiter(tickets, mLock.newCondition()); in acquire()
129 while (mTickets < tickets && !mClosed) { in acquire()
136 mTickets -= tickets; in acquire()
141 for (int i = 0; i < tickets; i++) { in acquire()
H A DTicketPool.java47 public Collection<Ticket> acquire(int tickets) throws InterruptedException, in acquire() argument
/aosp12/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
H A DDynamicRingBuffer.java158 public Collection<Ticket> acquire(int tickets) throws InterruptedException, in acquire() argument
165 return mTicketPool.acquire(tickets); in acquire()
/aosp12/art/tools/dexfuzz/src/dexfuzz/program/
H A DProgram.java369 int tickets = (2 << Options.methodMutations) - 1; in getNumberOfMutationsToPerform() local
372 int luckyTicket = rng.nextInt(tickets); in getNumberOfMutationsToPerform()
/aosp12/packages/modules/DnsResolver/
H A DREADME-DoT.md96 This sets the limit on how long session tickets will be preserved during idle periods,
/aosp12/packages/inputmethods/LatinIME/dictionaries/
H A Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
H A Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
H A Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
H A Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
H A Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
H A Dpt_PT_wordlist.combined.gz1dictionary=main:pt_pt,locale=pt_PT,description=Português (Portugal),date ...
H A Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...