Searched refs:acquire (Results 1 - 25 of 167) sorted by relevance

1234567

/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.java32 * Calls to acquire() nest and must be matched by the same number
35 void acquire(); method in interface:SuspendBlocker
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
H A DWakeLockFake.java26 public void acquire() { method in class:WakeLockFake
38 acquire();
H A DWakeLockTest.java61 mWakeLock.acquire();
67 mWakeLock.acquire();
74 mWakeLock.acquire();
75 mWakeLock.acquire();
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/wakelock/
H A DWakeLock.java26 /** @see android.os.PowerManager.WakeLock#acquire() */
27 void acquire(); method in interface:WakeLock
47 /** @see PowerManager.WakeLock#acquire() */
48 public void acquire() {
49 inner.acquire();
H A DSettableWakeLock.java43 mInner.acquire();
/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/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/compat/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/tests/coretests/src/android/os/
H A DPowerManagerTest.java96 // First try simple acquire/release
97 wl.acquire();
102 // Try ref-counted acquire/release
104 wl.acquire();
106 wl.acquire();
115 wl.acquire();
117 wl.acquire();
/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/base/core/proto/android/service/
H A Dfingerprint.proto53 int32 acquire = 3;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DProgressTransformState.java38 ProgressTransformState instance = sInstancePool.acquire();
H A DActionListTransformState.java39 ActionListTransformState instance = sInstancePool.acquire();
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
H A DWakeUpCall.java33 // we acquire wakelock without release because user is supposed to manually release it
34 WakeUpController.getController().getWakeLock().acquire();
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
H A DPowerTest.java72 mProx.acquire();
87 mProx.acquire();
99 mProx.acquire();
/frameworks/av/include/media/stagefright/foundation/
H A DAWakeLock.h31 // NOTE: acquire and release are not thread safe
34 bool acquire();
/frameworks/av/media/libstagefright/foundation/include/foundation/
H A DAWakeLock.h31 // NOTE: acquire and release are not thread safe
34 bool acquire();
/frameworks/av/media/libstagefright/include/foundation/
H A DAWakeLock.h31 // NOTE: acquire and release are not thread safe
34 bool acquire();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DPlatformVelocityTracker.java35 PlatformVelocityTracker tracker = sPool.acquire();
/frameworks/native/opengl/libagl/
H A DTokenManager.cpp39 *tokens++ = mTokenizer.acquire();
H A DTokenizer.h36 uint32_t acquire();
/frameworks/support/wear/tests/src/android/support/wear/widget/util/
H A DWakeLockRule.java42 wakeLock.acquire();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridgeRenderSession.java89 mLastResult = mSession.acquire(timeout);
108 mLastResult = mSession.acquire(timeout);
130 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT);
154 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT);
182 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT);
205 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT);
/frameworks/base/core/java/android/os/
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");

Completed in 4018 milliseconds

1234567