/frameworks/base/core/java/com/android/internal/util/function/pooled/ |
D | PooledLambda.java | 19 import static com.android.internal.util.function.pooled.PooledLambdaImpl.acquire; 191 return acquire(PooledLambdaImpl.sPool, in obtainRunnable() 208 return acquire(PooledLambdaImpl.sPool, in obtainSupplier() 225 return acquire(PooledLambdaImpl.sPool, in obtainSupplier() 256 PooledRunnable callback = acquire(PooledLambdaImpl.sMessageCallbacksPool, in obtainMessage() 276 return acquire(PooledLambdaImpl.sPool, in obtainRunnable() 294 return acquire(PooledLambdaImpl.sPool, in obtainSupplier() 312 return acquire(PooledLambdaImpl.sPool, in obtainSupplier() 330 return acquire(PooledLambdaImpl.sPool, in obtainConsumer() 348 return acquire(PooledLambdaImpl.sPool, in obtainPredicate() [all …]
|
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/ |
D | ImagePoolImplTest.java | 56 Image img1 = pool.acquire(width, height, type, in testImageDispose() 99 Image img1 = pool.acquire(width, height, type, in testImageDisposedAndRecycled() 117 Image img2 = pool.acquire(width - variant, height - variant, type, in testImageDisposedAndRecycled() 144 Image image1 = pool.acquire(width, height, BufferedImage.TYPE_INT_ARGB, in testBufferedImageReleased() 160 getImg(pool.acquire(width, height, BufferedImage.TYPE_INT_ARGB))); in testBufferedImageReleased() 172 ImageImpl image = (ImageImpl) pool.acquire(width, height, BufferedImage.TYPE_INT_ARGB); in testPoolWidthHeightNotBigEnough() 186 ImageImpl image = (ImageImpl) pool.acquire(width, height, BufferedImage.TYPE_INT_ARGB); in testSizeNotBigEnough() 207 Image img1 = pool.acquire(width, height, type, bufferedImage -> cd1.countDown()); in testImageMultipleCopies() 210 Image img2 = pool.acquire(width, height, type); in testImageMultipleCopies() 221 Image img3 = pool.acquire(width, height, type); in testImageMultipleCopies() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/listeners/ |
D | ListenerMultiplexer.java | 254 try (UpdateServiceBuffer ignored1 = mUpdateServiceBuffer.acquire(); in replaceRegistration() 255 ReentrancyGuard ignored2 = mReentrancyGuard.acquire()) { in replaceRegistration() 317 try (UpdateServiceBuffer ignored1 = mUpdateServiceBuffer.acquire(); in removeRegistrationIf() 318 ReentrancyGuard ignored2 = mReentrancyGuard.acquire()) { in removeRegistrationIf() 373 try (UpdateServiceBuffer ignored1 = mUpdateServiceBuffer.acquire(); in removeRegistration() 374 ReentrancyGuard ignored2 = mReentrancyGuard.acquire()) { in removeRegistration() 456 return new UpdateServiceLock(mUpdateServiceBuffer.acquire()); in newUpdateServiceLock() 472 try (UpdateServiceBuffer ignored1 = mUpdateServiceBuffer.acquire(); in updateRegistrations() 473 ReentrancyGuard ignored2 = mReentrancyGuard.acquire()) { in updateRegistrations() 501 try (UpdateServiceBuffer ignored1 = mUpdateServiceBuffer.acquire(); in updateRegistration() [all …]
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeLock.java | 42 synchronized void acquire(long timeout) { in acquire() method in SipWakeLock 48 mTimerWakeLock.acquire(timeout); in acquire() 51 synchronized void acquire(Object holder) { in acquire() method in SipWakeLock 57 if (!mWakeLock.isHeld()) mWakeLock.acquire(); in acquire()
|
/frameworks/base/core/java/android/util/ |
D | Pools.java | 58 public T acquire(); in acquire() method 105 public T acquire() { in acquire() method in Pools.SimplePool 169 public T acquire() { in acquire() method in Pools.SynchronizedPool 171 return super.acquire(); in acquire()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/ |
D | WakeLock.java | 44 void acquire(String why); in acquire() method 73 w.acquire(REASON_WRAP); in wrapImpl() 95 public void acquire(String why) { 98 inner.acquire(maxTimeout);
|
D | DelayedWakeLock.java | 41 public void acquire(String why) { in acquire() method in DelayedWakeLock 42 mInner.acquire(why); in acquire()
|
D | SettableWakeLock.java | 42 mInner.acquire(mWhy); in setAcquired()
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
D | PowerTest.java | 72 mProx.acquire(); 87 mProx.acquire(); 99 mProx.acquire();
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | TransactionPool.java | 33 public SurfaceControl.Transaction acquire() { in acquire() method in TransactionPool 34 SurfaceControl.Transaction t = mTransactionPool.acquire(); in acquire()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/ |
D | WakeLockFake.java | 28 public void acquire(String why) { in acquire() method in WakeLockFake 40 acquire(WakeLockFake.class.getSimpleName()); in wrap()
|
D | WakeLockTest.java | 62 mWakeLock.acquire(WHY); in wakeLock_acquire() 68 mWakeLock.acquire(WHY); in wakeLock_release()
|
/frameworks/layoutlib/bridge/src/android/util/imagepool/ |
D | ImagePoolImpl.java | 54 public Image acquire(int w, int h, int type) { in acquire() method in ImagePoolImpl 55 return acquire(w, h, type, null); in acquire() 58 /* package private */ Image acquire(int w, int h, int type, in acquire() method in ImagePoolImpl
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDevicePlayback.java | 208 getWakeLock().acquire(); in setActiveSource() 225 public void acquire() { } in getWakeLock() 417 void acquire(); in acquire() method 430 public void acquire() { in acquire() method in HdmiCecLocalDevicePlayback.SystemWakeLock 431 mWakeLock.acquire(); in acquire()
|
/frameworks/minikin/libs/minikin/ |
D | WordBreaker.h | 59 virtual Slot acquire(const Locale& locale) = 0; 67 Slot acquire(const Locale& locale) override;
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | UserTokenWatcher.java | 65 public void acquire(IBinder token, String tag, @UserIdInt int userId) { in acquire() method in UserTokenWatcher 72 watcher.acquire(token, tag); in acquire()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ScreenOnBlocker.java | 31 void acquire(); in acquire() method
|
D | SuspendBlocker.java | 35 void acquire(); in acquire() method
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | PowerManagerTest.java | 167 wl.acquire(); in doTestWakeLock() 174 wl.acquire(); in doTestWakeLock() 176 wl.acquire(); in doTestWakeLock() 185 wl.acquire(); in doTestWakeLock() 187 wl.acquire(); in doTestWakeLock()
|
/frameworks/av/camera/include/camera/ |
D | CameraMetadata.h | 102 void acquire(camera_metadata_t* buffer); 108 void acquire(CameraMetadata &other);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
D | BridgeRenderSession.java | 86 mLastResult = mSession.acquire(timeout); in measure() 105 mLastResult = mSession.acquire(timeout); in render()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | ProgressTransformState.java | 38 ProgressTransformState instance = sInstancePool.acquire(); in obtain()
|
D | ActionListTransformState.java | 35 ActionListTransformState instance = sInstancePool.acquire(); in obtain()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WakeLockStateMachine.java | 83 mWakeLock.acquire(); in WakeLockStateMachine() 158 mWakeLock.acquire(); in exit()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | AWakeLock.h | 34 bool acquire();
|