/packages/apps/Camera2/src/com/android/camera/processing/memory/ |
H A D | LruResourcePool.java | 33 public Resource<TValue> acquire(TKey key); method in interface:LruResourcePool
|
H A D | LruPool.java | 42 * {@link #acquire(TKey)} is currently linear time, pending a better 45 * TODO: Build a constant time acquire(TKey) method implementation. 53 * removed via {@link #acquire}. The default 140 * TODO: Build a constant time acquire(TKey) method implementation. 145 public final TValue acquire(TKey key) { method in class:LruPool 148 // We must remove the item we acquire from the list
|
H A D | SimpleLruResourcePool.java | 44 public Resource<TValue> acquire(TKey key) { method in class:SimpleLruResourcePool 47 value = mLruPool.acquire(key);
|
/packages/apps/Camera2/src/android/util/ |
H A D | Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 55 public T acquire(); method in interface:Pools.Pool 98 public T acquire() { method in class:Pools.SimplePool 152 public T acquire() { method in class:Pools.SynchronizedPool 154 return super.acquire();
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/ |
H A D | TicketPool.java | 44 * Implementations must be fair w.r.t. other calls to acquire. 47 public Collection<Ticket> acquire(int tickets) throws InterruptedException, method in interface:TicketPool 58 * Attempts to acquire and return a ticket. The caller owns the resulting 61 * Implementations must be fair w.r.t. {@link #acquire}.
|
H A D | FiniteTicketPool.java | 118 public Collection<Ticket> acquire(int tickets) throws InterruptedException, method in class:FiniteTicketPool
|
H A D | ReservableTicketPool.java | 125 * currently blocked in {@link #acquire}. 131 * {@link #acquire}. 172 public Collection<Ticket> acquire(int tickets) throws InterruptedException, method in class:ReservableTicketPool 209 * @param additionalCapacity The additional capacity to acquire. 210 * @throws InterruptedException If interrupted while trying to acquire the 215 Collection<Ticket> tickets = mParentPool.acquire(additionalCapacity); 294 * @param tickets The number of tickets to acquire. 298 // The list of tickets from mTicketList to acquire. 299 // Try to acquire these immediately, if there are no threads already 327 * be an all-or-nothing attempt to avoid multiple acquire() call [all...] |
/packages/apps/Gallery2/src/android/util/ |
H A D | Pools.java | 28 * MyPooledClass instance = sPool.acquire(); 55 public T acquire(); method in interface:Pools.Pool 98 public T acquire() { method in class:Pools.SimplePool 152 public T acquire() { method in class:Pools.SynchronizedPool 154 return super.acquire();
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
H A D | WakeLockHelper.java | 51 public void acquire(final Context context, final Intent intent, final int opcode) { method in class:WakeLockHelper 65 mWakeLock.acquire();
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
H A D | TelecomWakeLock.java | 35 public void acquire() { method in class:TelecomWakeLock.WakeLockAdapter 36 mWakeLock.acquire(); 90 public void acquire() { method in class:TelecomWakeLock 92 Log.i(TAG, "Can not acquire WakeLock (not supported) with level: " + mWakeLockLevel); 97 mWakeLock.acquire();
|
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
H A D | DynamicRingBuffer.java | 85 // Try to acquire a ticket to expand the ring-buffer and save the image. 90 // mQueue. However, for a brief moment, we acquire a ticket from 158 public Collection<Ticket> acquire(int tickets) throws InterruptedException, method in class:DynamicRingBuffer 165 return mTicketPool.acquire(tickets);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | Suggestions.java | 53 public void acquire() { method in class:Suggestions
|