Searched defs:acquire (Results 1 - 16 of 16) sorted by relevance

/frameworks/base/services/java/com/android/server/power/
H A DScreenOnBlocker.java28 * Calls to acquire() nest and must be matched by the same number
31 void acquire(); method in interface:ScreenOnBlocker
H A DSuspendBlocker.java30 * Calls to acquire() nest and must be matched by the same number
33 void acquire(); method in interface:SuspendBlocker
H A DPowerManagerService.java383 mDisplaySuspendBlocker.acquire();
1792 // First acquire suspend blockers if needed.
1794 mWakeLockSuspendBlocker.acquire();
1798 mDisplaySuspendBlocker.acquire();
2629 public void acquire() { method in class:PowerManagerService.SuspendBlockerImpl
2676 public void acquire() { method in class:PowerManagerService.ScreenOnBlockerImpl
/frameworks/base/core/java/android/util/
H A DPools.java28 * 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();
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/
H A DBufferPool.java22 * Maintains a bounded pool of buffers. Attempts to acquire buffers beyond the maximum
38 public ByteBuffer acquire(int needed) { method in class:BufferPool
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeLock.java42 synchronized void acquire(long timeout) { method in class:SipWakeLock
48 mTimerWakeLock.acquire(timeout);
51 synchronized void acquire(Object holder) { method in class:SipWakeLock
57 if (!mWakeLock.isHeld()) mWakeLock.acquire();
58 if (DBG) log("acquire count=" + mHolders.size());
/frameworks/base/core/java/android/os/
H A DTokenWatcher.java59 * Record that this token has been acquired. When acquire is called, and
68 public void acquire(IBinder token, String tag) method in class:TokenWatcher
H A DUpdateLock.java102 public void acquire() { method in class:UpdateLock
104 Log.v(TAG, "acquire() : " + this, new RuntimeException("here"));
118 Log.e(TAG, "Unable to contact service to acquire");
H A DPowerManager.java27 * Do not acquire {@link WakeLock}s unless you really need them, use the minimum levels
41 * wl.acquire();
370 * Call {@link WakeLock#acquire() acquire()} on the object to acquire the
380 * wl.acquire();
387 * required to actually acquire or release the wake lock that is returned.
399 * @see WakeLock#acquire()
616 * Call {@link #acquire()} to acquire th
686 public void acquire() { method in class:PowerManager.WakeLock
702 public void acquire(long timeout) { method in class:PowerManager.WakeLock
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java52 * {@link #init(long)} and {@link #acquire(long)} to start a rendering and {@link #release()}
62 * The current context being rendered. This is set through {@link #acquire(long)} and
75 * call to {@link RenderAction#acquire(long)}
92 * @see #acquire(long)
96 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
155 public Result acquire(long timeout) { method in class:RenderAction
160 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
180 * @return null if the lock was just acquire or another result depending on the state.
307 * the scene, or if {@link #acquire(long)} was not called.
312 throw new IllegalStateException("scene must be acquired first. see #acquire(lon
[all...]
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp41 uint32_t Tokenizer::acquire() function in class:android::Tokenizer
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h78 void acquire() const;
101 void egl_object_t::LocalRef<N,T>::acquire() const { function in class:android::egl_object_t::LocalRef
/frameworks/av/camera/
H A DCameraMetadata.cpp48 acquire(buffer);
114 void CameraMetadata::acquire(camera_metadata_t *buffer) { function in class:android::CameraMetadata
127 void CameraMetadata::acquire(CameraMetadata &other) { function in class:android::CameraMetadata
132 acquire(other.release());
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.cpp739 status_t HWComposer::acquire(int disp) { function in class:android::HWComposer
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1647 final Node node = Node.acquire(view);
1790 static Node acquire(View view) { method in class:RelativeLayout.DependencyGraph.Node
1791 Node node = sPool.acquire();
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1783 * If this WifiLock is reference-counted, each call to {@code acquire} will increment the
1787 * If this WifiLock is not reference-counted, the first call to {@code acquire} will lock
1789 * will be required, regardless of the number of times that {@code acquire} is called.
1791 public void acquire() { method in class:WifiManager.WifiLock
1817 * a greater number of times than {@link #acquire}), an exception is thrown.
1820 * the radio was locked using {@link #acquire}) will unlock the radio, and subsequent
1844 * Reference-counted WifiLocks keep track of the number of calls to {@link #acquire} and
1845 * {@link #release}, and only allow the radio to sleep when every call to {@link #acquire}
1847 * lock the radio whenever {@link #acquire} is called and it is unlocked, and unlock the
2007 * {@code acquire} wil
2023 public void acquire() { method in class:WifiManager.MulticastLock
[all...]

Completed in 775 milliseconds