/frameworks/base/core/java/android/os/ |
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(); method 370 * {@link WakeLock#acquire() acquire()} on the object to acquire the 380 *wl.acquire(); 388 * @see WakeLock#acquire() [all...] |
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/ |
ScoSocket.java | 179 mWakeLock.acquire(); 180 if (VDBG) log("mWakeLock.acquire() " + this); 192 mWakeLock.acquire(2000);
|
/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...] |
/cts/tests/tests/os/src/android/os/cts/ |
PowerManagerTest.java | 71 wl.acquire(TIME);
|
TokenWatcherTest.java | 128 method = "acquire", 165 // test acquire() and acquired() 166 mMockTokenWatcher.acquire(token, TAG); 171 mMockTokenWatcher.acquire(token, TAG); 208 mMockTokenWatcher.acquire(token, TAG);
|
/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_pthread.cpp | 77 void SkMutex::acquire() function in class:SkMutex
|
/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
|
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/include/utils/ |
SharedBuffer.h | 36 /*! allocate a buffer of size 'size' and acquire() it. 81 //! acquire/release a reference on this buffer 82 void acquire() const;
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
SmsReceiver.java | 81 mStartingService.acquire();
|
/system/core/libpixelflinger/tinyutils/ |
SharedBuffer.h | 28 /*! allocate a buffer of size 'size' and acquire() it. 73 //! acquire/release a reference on this buffer 74 void acquire() const;
|
SharedBuffer.cpp | 89 void SharedBuffer::acquire() const { function in class:android::SharedBuffer
|
/external/skia/src/gl/ |
SkGLCanvas.cpp | 160 gTextureCacheMutex.acquire(); 172 gTextureCacheMutex.acquire();
|
/external/skia/src/images/ |
SkFlipPixelRef.cpp | 40 fMutex.acquire(); 50 fMutex.acquire();
|
/external/webkit/WebKitTools/pywebsocket/mod_pywebsocket/ |
msgutil.py | 231 condition.acquire() 240 condition.acquire()
|
/libcore/luni/src/main/java/java/util/concurrent/locks/ |
ReentrantLock.java | 179 * acquire on failure. 185 acquire(1); 200 acquire(1); 322 * immediately acquire the lock if it is available, whether or not 584 * threads trying to acquire the lock but have not yet done so. 596 * Queries whether any threads are waiting to acquire this lock. Note that 599 * acquire this lock. This method is designed primarily for use in 603 * acquire the lock 611 * Queries whether the given thread is waiting to acquire this 614 * will ever acquire this lock. This method is designed primarily for us [all...] |
/frameworks/base/libs/utils/ |
SharedBuffer.cpp | 96 void SharedBuffer::acquire() const { function in class:android::SharedBuffer
|
/external/openssl/crypto/rand/ |
rand_win.c | 243 CRYPTACQUIRECONTEXTW acquire = NULL; local 342 acquire = (CRYPTACQUIRECONTEXTW) GetProcAddress(advapi, 350 if (acquire && gen && release) 354 if (acquire(&hProvider, NULL, NULL, PROV_RSA_FULL, 369 if (acquire(&hProvider, 0, INTEL_DEF_PROV, PROV_INTEL_SEC, 0))
|
/libcore/luni/src/test/java/libcore/java/lang/ |
OldThreadTest.java | 322 sem.acquire(); 348 sem.acquire(); 366 sem.acquire();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
ExperimentService.java | 106 mWakeLock.acquire();
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
ScanResultTest.java | 83 mWifiLock.acquire();
|
/external/skia/src/views/ |
SkEvent.cpp | 335 globals.fEventMutex.acquire(); 371 globals.fEventMutex.acquire(); 406 globals.fEventMutex.acquire(); 502 globals.fEventMutex.acquire();
|
SkEventSink.cpp | 47 globals.fSinkMutex.acquire(); 63 globals.fSinkMutex.acquire();
|