/external/autotest/client/common_lib/cros/fake_device_server/ |
registration_tickets_unittest.py | 29 self.tickets = {} 41 resource_delegate.ResourceDelegate(self.tickets), self.devices, 48 self.tickets[(1234, None)] = dict(id=1234) 57 self.tickets[(1234, None)] = expected_ticket 81 self.tickets[(1234, None)] = dict(id=1234) 83 self.assertEquals(returned_json, self.tickets[(1234, None)]) 94 self.tickets[(1234, None)] = dict(id=1234) 109 self.tickets[(12345, None)] = dict(id=12345)
|
server.py | 68 tickets = resource_delegate.ResourceDelegate({}) 70 tickets, devices_handler, fail_control_handler)
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
ReservableTicketPool.java | 38 * A TicketPool which reserves a capacity of tickets ahead of time from its 41 * The capacity of the pool is the total number of tickets which may be 44 * Increases in capacity result in tickets being requested from the parent pool. 46 * Decreases in capacity result in the returning of tickets to the parent pool 48 * closing tickets which had previously been acquired. 71 * Wraps tickets from the parent ticket pool with logic to either release 114 * acquired, tickets are taken from the parent pool and stored in 124 * A Queue containing the number of tickets requested by each thread 130 * Tickets from mParentPool which have not been given to clients via 136 * Maintains an observable count of the number of tickets which are readil 215 Collection<Ticket> tickets = mParentPool.acquire(additionalCapacity); local [all...] |
FiniteTicketPool.java | 35 * A ticket pool with a finite number of tickets. 101 // tickets can be satisfied. 118 public Collection<Ticket> acquire(int tickets) throws InterruptedException, 122 if (tickets > mMaxCapacity || tickets < 0) { 125 Waiter thisWaiter = new Waiter(tickets, mLock.newCondition()); 129 while (mTickets < tickets && !mClosed) { 136 mTickets -= tickets; 141 for (int i = 0; i < tickets; i++) {
|
TicketPool.java | 28 * Stores a collection of {@link Ticket}s. Tickets may be acquired from the 29 * pool. When closed, tickets return themselves to the pool. 33 * Indicates that the requested number of tickets will never be available, 35 * the maximum number of tickets which exist in the context of the pool. 41 * Acquires and returns the specified number of tickets. The caller owns all 42 * returned tickets and is responsible for eventually closing them. 47 public Collection<Ticket> acquire(int tickets) throws InterruptedException, 51 * @return The number of tickets readily-available for immediate
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
DynamicRingBuffer.java | 46 * The size of the buffer is implicitly defined by the number of "Tickets" 48 * number of available tickets decreases, the buffer shrinks, discarding old 49 * elements. When the number of available tickets increases, the buffer expands, 53 * to reserve "Tickets" (representing ImageReader capacity) to evict images from 158 public Collection<Ticket> acquire(int tickets) throws InterruptedException, 165 return mTicketPool.acquire(tickets);
|
/art/tools/dexfuzz/src/dexfuzz/program/ |
Program.java | 359 // then 0 has 8 chances ("tickets"), 364 // Allocate the tickets 365 // n mutations need (2^(n+1) - 1) tickets 367 // 3 mutations => 15 tickets 368 // 4 mutations => 31 tickets 369 int tickets = (2 << Options.methodMutations) - 1; local 372 int luckyTicket = rng.nextInt(tickets); 374 // The tickets are put into buckets with accordance with log-base-2.
|
/prebuilts/go/darwin-x86/src/crypto/tls/ |
common.go | 398 // material from the returned config will be used for session tickets. 511 // for new tickets and any subsequent keys can be used to decrypt old 512 // tickets. 626 // key will be used when creating new tickets, while all keys can be used for 627 // decrypting tickets. It is safe to call this function while the server is [all...] |
handshake_server.go | 42 // encrypt the tickets with.
|
/prebuilts/go/linux-x86/src/crypto/tls/ |
common.go | 398 // material from the returned config will be used for session tickets. 511 // for new tickets and any subsequent keys can be used to decrypt old 512 // tickets. 626 // key will be used when creating new tickets, while all keys can be used for 627 // decrypting tickets. It is safe to call this function while the server is [all...] |
handshake_server.go | 42 // encrypt the tickets with.
|
/external/boringssl/src/ssl/test/runner/ |
shim_ticket.go | 99 // Use the zero IV for rewritten tickets.
|
handshake_client.go | 708 return errors.New("tls: new session used session IDs instead of tickets") 937 // BoringSSL will always send two tickets half-RTT when [all...] |
handshake_server.go | 46 // encrypt the tickets with. [all...] |
runner.go | 86 // HalfRTTTickets is the number of half-RTT tickets the client should [all...] |
common.go | 758 // SendBothTickets, if true, causes the client to send tickets in both [all...] |