/frameworks/base/core/java/android/util/ |
Pool.java | 23 public abstract T acquire(); method in interface:Pool
|
SynchronizedPool.java | 37 public T acquire() { method in class:SynchronizedPool 39 return mPool.acquire();
|
FinitePool.java | 37 * Next object to acquire 59 public T acquire() { method in class:FinitePool
|
/development/simulator/app/ |
Semaphore.cpp | 49 void Semaphore::acquire(void) function in class:Semaphore 167 * Acquire or release the semaphore. 169 void Semaphore::acquire(void) 173 LOG(LOG_WARN, "sem", "acquire failed (errno=%d)\n", errno); 311 * Acquire or release the semaphore. 313 void Semaphore::acquire(void) 333 * in a negative value for "adj" to acquire resources, or a positive 467 * Acquire or release the semaphore. 469 void Semaphore::acquire(void)
|
/external/skia/src/ports/ |
SkThread_none.cpp | 42 void SkMutex::acquire() function in class:SkMutex
|
SkThread_win.cpp | 55 void SkMutex::acquire() function in class:SkMutex
|
SkThread_pthread.cpp | 77 void SkMutex::acquire() function in class:SkMutex
|
/frameworks/base/voip/java/com/android/server/sip/ |
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="
|
/cts/tests/tests/os/src/android/os/cts/ |
PowerManager_WakeLockTest.java | 35 notes = "Test method: acquire", 36 method = "acquire", 65 notes = "Test method: acquire", 66 method = "acquire", 81 wl.acquire(); 86 // Try ref-counted acquire/release 88 wl.acquire(); 90 wl.acquire(); 99 wl.acquire(); 101 wl.acquire(); [all...] |
/external/skia/include/core/ |
SkThread_platform.h | 35 void acquire() { this->lock(); } function in class:SkMutex 58 void acquire();
|
/frameworks/base/libs/utils/ |
SharedBuffer.cpp | 96 void SharedBuffer::acquire() const { function in class:android::SharedBuffer
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmAlertWakeLock.java | 42 sCpuWakeLock.acquire();
|
/system/core/libpixelflinger/tinyutils/ |
SharedBuffer.cpp | 89 void SharedBuffer::acquire() const { function in class:android::SharedBuffer
|
/cts/tests/tests/permission/src/android/permission/cts/ |
NoWakeLockPermissionTest.java | 44 * Verify that WifiManager.WifiLock.acquire() requires permissions. 54 wifiLock.acquire(); 55 fail("WifiManager.WifiLock.acquire() didn't throw SecurityException as expected"); 81 * Verify that PowerManager.WakeLock.acquire() requires permissions. 88 mWakeLock.acquire(); 96 * Verify that PowerManager.WakeLock.acquire(long) requires permissions. 102 // Tset acquire(long) 104 mWakeLock.acquire(1);
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManager_WifiLockTest.java | 36 method = "acquire", 71 wl.acquire(); 75 wl.acquire(); 76 wl.acquire(); 86 +" a greater number of times than acquire"); 94 wl.acquire(); 98 wl.acquire(); 99 wl.acquire();
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiver.java | 81 mStartingService.acquire();
|
/frameworks/base/core/java/android/database/sqlite/ |
SQLiteCompiledSql.java | 117 * returns true if acquire() succeeds. false otherwise. 119 /* package */ synchronized boolean acquire() { method in class:SQLiteCompiledSql
|
/frameworks/base/core/tests/coretests/src/android/os/ |
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/ |
FileMap.h | 83 FileMap* acquire(void) { mRefCount++; return this; } function in class:android::FileMap
|
/frameworks/base/opengl/libagl/ |
Tokenizer.cpp | 41 uint32_t Tokenizer::acquire() function in class:android::Tokenizer
|
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/ |
BatteryWaster.java | 151 mPartialWakeLock.acquire();
|
/libcore/luni/src/main/java/java/util/concurrent/ |
Semaphore.java | 15 * permits. Each {@link #acquire} blocks if necessary until a permit is 30 * available.acquire(); 70 * <p>Before obtaining an item each thread must acquire a permit from 74 * thread to acquire that item. Note that no synchronization lock is 75 * held when {@link #acquire} is called as that would prevent an item 94 * guarantees about the order in which threads acquire permits. In 96 * invoking {@link #acquire} can be allocated a permit ahead of a 100 * #acquire() acquire} methods are selected to obtain permits in the order in 105 * {@code acquire} before another, but reach the ordering point afte 283 public void acquire() throws InterruptedException { method in class:Semaphore 437 public void acquire(int permits) throws InterruptedException { method in class:Semaphore [all...] |
/libcore/luni/src/test/java/tests/api/java/util/concurrent/ |
SemaphoreTest.java | 36 * A runnable calling acquire 43 lock.acquire(); 51 * A runnable calling acquire that expects to be interrupted 57 lock.acquire(); 98 * Acquire and release of semaphore succeed if initially available 103 s.acquire(); 105 s.acquire(); 107 s.acquire(); 109 s.acquire(); 111 s.acquire(); [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
AlertReceiver.java | 90 mStartingService.acquire();
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
KeyguardViewMediator.java | 611 * acquire the handoff lock that will keep the cpu running. this will 615 mWakeAndHandOff.acquire(); 628 mShowKeyguardWakeLock.acquire(); 780 mWakeLock.acquire(); [all...] |