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

/frameworks/base/services/core/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.java447 mDisplaySuspendBlocker.acquire();
1991 mDisplaySuspendBlocker.acquire();
2029 // First acquire suspend blockers if needed.
2031 mWakeLockSuspendBlocker.acquire();
2035 mDisplaySuspendBlocker.acquire();
2758 public void acquire() { method in class:PowerManagerService.SuspendBlockerImpl
/frameworks/av/media/libstagefright/foundation/
H A DAWakeLock.cpp45 bool AWakeLock::acquire() { function in class:android::AWakeLock
/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/support/v4/java/android/support/v4/util/
H A DPools.java30 * MyPooledClass instance = sPool.acquire();
56 public T acquire(); method in interface:Pools.Pool
99 public T acquire() { method in class:Pools.SimplePool
153 public T acquire() { method in class:Pools.SynchronizedPool
155 return super.acquire();
/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.java29 * Do not acquire {@link WakeLock}s unless you really need them, use the minimum levels
43 * wl.acquire();
439 * Call {@link WakeLock#acquire() acquire()} on the object to acquire the
449 * wl.acquire();
456 * required to actually acquire or release the wake lock that is returned.
468 * @see WakeLock#acquire()
866 * Call {@link #acquire()} to acquire th
940 public void acquire() { method in class:PowerManager.WakeLock
956 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.cpp51 acquire(buffer);
117 void CameraMetadata::acquire(camera_metadata_t *buffer) { function in class:android::CameraMetadata
130 void CameraMetadata::acquire(CameraMetadata &other) { function in class:android::CameraMetadata
135 acquire(other.release());
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1657 final Node node = Node.acquire(view);
1800 static Node acquire(View view) { method in class:RelativeLayout.DependencyGraph.Node
1801 Node node = sPool.acquire();
/frameworks/native/services/sensorservice/
H A DSensorService.cpp408 // result in a deadlock as ~SensorEventConnection() needs to acquire mLock again for
542 void SensorService::setWakeLockAcquiredLocked(bool acquire) { argument
543 if (acquire) {
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java2094 * If this WifiLock is reference-counted, each call to {@code acquire} will increment the
2098 * If this WifiLock is not reference-counted, the first call to {@code acquire} will lock
2100 * will be required, regardless of the number of times that {@code acquire} is called.
2102 public void acquire() { method in class:WifiManager.WifiLock
2128 * a greater number of times than {@link #acquire}), an exception is thrown.
2131 * the radio was locked using {@link #acquire}) will unlock the radio, and subsequent
2155 * Reference-counted WifiLocks keep track of the number of calls to {@link #acquire} and
2156 * {@link #release}, and only allow the radio to sleep when every call to {@link #acquire}
2158 * lock the radio whenever {@link #acquire} is called and it is unlocked, and unlock the
2318 * {@code acquire} wil
2334 public void acquire() { method in class:WifiManager.MulticastLock
[all...]

Completed in 462 milliseconds