/frameworks/base/core/java/android/util/ |
H A D | Pool.java | 23 public abstract T acquire(); method in interface:Pool
|
H A D | SynchronizedPool.java | 37 public T acquire() { method in class:SynchronizedPool 39 return mPool.acquire();
|
H A D | FinitePool.java | 37 * Next object to acquire 59 public T acquire() { method in class:FinitePool
|
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipWakeLock.java | 42 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 (DEBUGV) Log.v(TAG, "acquire wakelock: holder count="
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | PowerManagerTest.java | 96 // 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/base/include/utils/ |
H A D | FileMap.h | 83 FileMap* acquire(void) { mRefCount++; return this; } function in class:android::FileMap
|
H A D | SharedBuffer.h | 36 /*! allocate a buffer of size 'size' and acquire() it. 81 //! acquire/release a reference on this buffer 82 void acquire() const;
|
/frameworks/base/opengl/libagl/ |
H A D | TokenManager.cpp | 39 *tokens++ = mTokenizer.acquire();
|
H A D | Tokenizer.h | 36 uint32_t acquire();
|
H A D | Tokenizer.cpp | 41 uint32_t Tokenizer::acquire() function in class:android::Tokenizer
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/ |
H A D | BridgeRenderSession.java | 87 mLastResult = mSession.acquire(timeout); 115 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT); 141 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT); 162 mLastResult = mSession.acquire(RenderParams.DEFAULT_TIMEOUT);
|
/frameworks/base/core/java/android/os/ |
H A D | PowerManager.java | 27 * acquire WakeLocks unless you really need them, use the minimum levels possible, and be sure 40 * wl.acquire(); 248 public void acquire() method in class:PowerManager.WakeLock 267 public void acquire(long timeout) { method in class:PowerManager.WakeLock 268 acquire(); 370 * {@link WakeLock#acquire() acquire()} on the object to acquire the 380 *wl.acquire(); 388 * @see WakeLock#acquire() [all...] |
H A D | TokenWatcher.java | 57 * Record that this token has been acquired. When acquire is called, and 66 public void acquire(IBinder token, String tag) method in class:TokenWatcher
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | ScoSocket.java | 179 mWakeLock.acquire(); 180 if (VDBG) log("mWakeLock.acquire() " + this); 192 mWakeLock.acquire(2000);
|
H A D | HeadsetBase.java | 282 mWakeLock.acquire();
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteCompiledSql.java | 117 * returns true if acquire() succeeds. false otherwise. 119 /* package */ synchronized boolean acquire() { method in class:SQLiteCompiledSql
|
H A D | SQLiteProgram.java | 75 // since it is not in the cache, no need to acquire() it. 88 mCompiledSql.acquire(); 96 // try to acquire the object. 97 if (!mCompiledSql.acquire()) { 110 // since it is not in the cache, no need to acquire() it.
|
/frameworks/base/libs/utils/ |
H A D | SharedBuffer.cpp | 96 void SharedBuffer::acquire() const { function in class:android::SharedBuffer
|
/frameworks/base/media/java/android/media/ |
H A D | AsyncPlayer.java | 232 mWakeLock.acquire();
|
/frameworks/base/services/java/com/android/server/ |
H A D | HeadsetObserver.java | 134 mWakeLock.acquire();
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
H A D | BatteryWaster.java | 151 mPartialWakeLock.acquire();
|
/frameworks/base/tests/CoreTests/android/core/ |
H A D | SocketTest.java | 146 semThreadEnd.acquire();
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
H A D | PowerTest.java | 71 mProx.acquire();
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 43 * {@link #init(long)} and {@link #acquire(long)} to start a rendering and {@link #release()} 53 * The current context being rendered. This is set through {@link #acquire(long)} and 66 * call to {@link RenderAction#acquire(long)} 83 * @see #acquire(long) 87 // acquire the lock. if the result is null, lock was just acquired, otherwise, return 137 public Result acquire(long timeout) { method in class:RenderAction 142 // acquire the lock. if the result is null, lock was just acquired, otherwise, return 162 * @return null if the lock was just acquire or another result depending on the state. 272 * the scene, or if {@link #acquire(long)} was not called. 277 throw new IllegalStateException("scene must be acquired first. see #acquire(lon [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiManager.java | 892 * If this WifiLock is reference-counted, each call to {@code acquire} will increment the 896 * If this WifiLock is not reference-counted, the first call to {@code acquire} will lock 898 * will be required, regardless of the number of times that {@code acquire} is called. 900 public void acquire() { method in class:WifiManager.WifiLock 926 * a greater number of times than {@link #acquire}), an exception is thrown. 929 * the radio was locked using {@link #acquire}) will unlock the radio, and subsequent 953 * Reference-counted WifiLocks keep track of the number of calls to {@link #acquire} and 954 * {@link #release}, and only allow the radio to sleep when every call to {@link #acquire} 956 * lock the radio whenever {@link #acquire} is called and it is unlocked, and unlock the 1113 * {@code acquire} wil 1129 public void acquire() { method in class:WifiManager.MulticastLock [all...] |