Searched defs:acquire (Results 1 - 24 of 24) 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.java474 // Set of app ids that are temporarily allowed to acquire wakelocks due to high-pri message
511 mDisplaySuspendBlocker.acquire();
2185 mDisplaySuspendBlocker.acquire();
2223 // First acquire suspend blockers if needed.
2225 mWakeLockSuspendBlocker.acquire();
2229 mDisplaySuspendBlocker.acquire();
3127 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();
499 * Call {@link WakeLock#acquire() acquire()} on the object to acquire the
509 * wl.acquire();
516 * required to actually acquire or release the wake lock that is returned.
528 * @see WakeLock#acquire()
1123 * Call {@link #acquire()} to acquire th
1198 public void acquire() { method in class:PowerManager.WakeLock
1214 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.java53 * {@link #init(long)} and {@link #acquire(long)} to start a rendering and {@link #release()}
63 * The current context being rendered. This is set through {@link #acquire(long)} and
76 * call to {@link RenderAction#acquire(long)}
93 * @see #acquire(long)
97 // 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.
310 * the scene, or if {@link #acquire(long)} was not called.
315 throw new IllegalStateException("scene must be acquired first. see #acquire(lon
[all...]
/frameworks/data-binding/extensions/library/src/main/java/android/databinding/
H A DListChangeRegistry.java80 ListChanges listChanges = acquire(start, 0, count);
92 ListChanges listChanges = acquire(start, 0, count);
105 ListChanges listChanges = acquire(from, to, count);
117 ListChanges listChanges = acquire(start, 0, count);
121 private static ListChanges acquire(int start, int to, int count) { method in class:ListChangeRegistry
122 ListChanges listChanges = sListChanges.acquire();
/frameworks/native/include/gui/
H A DBufferSlot.h78 // acquire fence is signaled. The slot is "owned" by the consumer. It
146 inline void acquire() { function in struct:android::BufferState
/frameworks/native/opengl/libagl/
H A DTokenizer.cpp41 uint32_t Tokenizer::acquire() function in class:android::Tokenizer
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecLocalDevicePlayback.java196 getWakeLock().acquire();
213 public void acquire() { }
390 void acquire(); method in interface:HdmiCecLocalDevicePlayback.ActiveWakeLock
403 public void acquire() { method in class:HdmiCecLocalDevicePlayback.SystemWakeLock
404 mWakeLock.acquire();
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h79 void acquire() const;
102 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/native/services/sensorservice/
H A DSensorService.cpp508 // as ~SensorEventConnection() needs to acquire mLock again for cleanup. So copy all the
693 void SensorService::setWakeLockAcquiredLocked(bool acquire) { argument
694 if (acquire) {
/frameworks/base/core/java/android/widget/
H A DRelativeLayout.java1728 final Node node = Node.acquire(view);
1871 static Node acquire(View view) { method in class:RelativeLayout.DependencyGraph.Node
1872 Node node = sPool.acquire();
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java2197 * If this WifiLock is reference-counted, each call to {@code acquire} will increment the
2201 * If this WifiLock is not reference-counted, the first call to {@code acquire} will lock
2203 * will be required, regardless of the number of times that {@code acquire} is called.
2205 public void acquire() { method in class:WifiManager.WifiLock
2232 * a greater number of times than {@link #acquire}), an exception is thrown.
2235 * the radio was locked using {@link #acquire}) will unlock the radio, and subsequent
2260 * Reference-counted WifiLocks keep track of the number of calls to {@link #acquire} and
2261 * {@link #release}, and only allow the radio to sleep when every call to {@link #acquire}
2263 * lock the radio whenever {@link #acquire} is called and it is unlocked, and unlock the
2425 * {@code acquire} wil
2441 public void acquire() { method in class:WifiManager.MulticastLock
[all...]
/frameworks/av/services/audioflinger/
H A DThreads.cpp229 // call when you acquire a partial wakelock
230 void acquire(const sp<IBinder> &wakeLockToken) { function in struct:android::__anon800
1040 gBoottime.acquire(mWakeLockToken);
3215 // since we can't guarantee the destructors won't acquire that
/frameworks/base/services/core/java/com/android/server/policy/
H A DPhoneWindowManager.java1007 mPowerKeyWakeLock.acquire();
5710 mBroadcastWakeLock.acquire();
5742 mBroadcastWakeLock.acquire();
6913 private void updateDreamingSleepToken(boolean acquire) { argument
6914 if (acquire) {
6926 private void updateScreenOffSleepToken(boolean acquire) { argument
6927 if (acquire) {
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...

Completed in 4270 milliseconds