/cts/tests/tests/net/src/android/net/wifi/cts/ |
WifiManager_WifiLockTest.java | 38 wl.acquire(); 42 wl.acquire(); 43 wl.acquire(); 53 +" a greater number of times than acquire"); 61 wl.acquire(); 65 wl.acquire(); 66 wl.acquire();
|
/cts/tests/tests/os/src/android/os/cts/ |
PowerManager_WakeLockTest.java | 38 wl.acquire(); 43 // Try ref-counted acquire/release 45 wl.acquire(); 47 wl.acquire(); 56 wl.acquire(); 58 wl.acquire(); 63 // test acquire(long) 64 wl.acquire(PowerManagerTest.TIME);
|
/external/chromium_org/third_party/webrtc/base/ |
linked_ptr.h | 48 {acquire(r);} 53 acquire(r); 61 {acquire(r);} 66 acquire(r); 82 void acquire(const linked_ptr& r) throw() function in class:rtc::linked_ptr 96 template <class Y> void acquire(const linked_ptr<Y>& r) throw() function in class:rtc::linked_ptr
|
/developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/ |
Pools.java | 28 * 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();
|
/developers/samples/android/common/src/java/com/example/android/common/util/ |
Pools.java | 34 * <li><b>{@link Pool#acquire()}:</b> Returns an used object if one is 37 * ready to be reallocated in acquire().</li> 53 * MyPooledClass instance = sPool.acquire(); 81 public T acquire(); method in interface:Pools.Pool 85 * and makes it available through a call to {@link #acquire()}. An 132 public T acquire() { method in class:Pools.SimplePool 211 public T acquire() { method in class:Pools.SynchronizedPool 213 return super.acquire();
|
/developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/ |
Pools.java | 28 * 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();
|
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
Pools.java | 28 * 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();
|
/external/chromium_org/third_party/skia/bench/ |
MutexBench.cpp | 24 mu.acquire();
|
/external/llvm/include/llvm/Support/ |
Mutex.h | 32 /// Initializes the lock but doesn't acquire it. if \p recursive is set 34 /// also more likely to deadlock (same thread can't acquire more than 48 /// Attempts to unconditionally acquire the lock. If the lock is held by 49 /// another thread, this method will wait until it can acquire the lock. 51 /// @brief Unconditionally acquire the lock. 52 bool acquire(); 55 /// thread, the lock is released allowing other threads to acquire the 61 /// Attempts to acquire the lock without blocking. If the lock is not 66 /// @brief Try to acquire the lock. 96 bool acquire() { function in class:llvm::sys::SmartMutex [all...] |
MutexGuard.h | 1 //===-- Support/MutexGuard.h - Acquire/Release Mutex In Scope ---*- C++ -*-===// 21 /// Instances of this class acquire a given Mutex Lock when constructed and 32 MutexGuard(sys::Mutex &m) : M(m) { M.acquire(); }
|
/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(); 89 fail("WakeLock.acquire() did not throw SecurityException as expected"); 96 * Verify that PowerManager.WakeLock.acquire(long) requires permissions. 102 // Tset acquire(long) 104 mWakeLock.acquire(1); 105 fail("WakeLock.acquire(long) did not throw SecurityException as expected") [all...] |
/external/chromium_org/third_party/tlslite/tlslite/ |
basedb.py | 57 self.lock.acquire() 71 self.lock.acquire() 83 self.lock.acquire() 105 self.lock.acquire() 124 self.lock.acquire()
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
Lock.js | 30 acquire: function() 40 console.error("WebInspector.Lock acquire/release calls are unbalanced " + new Error().stack);
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
SendToClientBlockingTest.java | 64 mSync.acquire(); 84 mSync.acquire();
|
SendToClient.java | 64 mSync.acquire(); 86 mSync.acquire();
|
/external/chromium_org/third_party/skia/include/core/ |
SkThread.h | 37 /** If sk_atomic_dec does not act as an acquire (L/SL) barrier, 38 * this must act as an acquire (L/SL) memory barrier and as a compiler barrier. 42 /** If sk_atomic_conditional_inc does not act as an acquire (L/SL) barrier, 43 * this must act as an acquire (L/SL) memory barrier and as a compiler barrier. 69 /** Read T*, with at least an acquire barrier. 87 void acquire(); // Block until this thread owns the mutex. 108 mutex.acquire(); 113 mutex->acquire();
|
SkOnce.h | 58 void acquire() { function in class:SkOnceFlag 59 // To act as a mutex, this needs an acquire barrier on success. 87 lock->acquire(); 110 // Also known as a load-load/load-store barrier, this acquire barrier makes
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/ |
SerialBitmapReferenceCounter.java | 31 public void acquire() { method in class:SerialBitmapReferenceCounter.InnerTracker 60 counter.get(bitmap).acquire();
|
/external/compiler-rt/lib/tsan/tests/unit/ |
tsan_clock_test.cc | 41 vector.acquire(&chunked); 59 vector2.acquire(&chunked); 76 thr2.acquire(&sync); 77 thr2.acquire(&sync); 88 vector.acquire(&chunked); 96 vector.acquire(&chunked); 125 vector2.acquire(&chunked); 131 vector1.acquire(&chunked); 187 void acquire(const SimpleSyncClock *src) { function in struct:__tsan::SimpleThreadClock 202 acquire(dst) [all...] |
/external/deqp/framework/delibs/decpp/ |
deSharedPtr.hpp | 136 void acquire (void); 178 void acquire (void); 238 acquire(); 253 acquire(); 297 // Copy from other and acquire reference. 301 acquire(); 323 // Copy from other and acquire reference. 327 acquire(); 465 inline void SharedPtr<T, Deleter, threadSafe>::acquire (void) function in class:de::SharedPtr 543 acquire(); 610 inline void WeakPtr<T, Deleter, threadSafe>::acquire (void) function in class:de::WeakPtr [all...] |
/external/chromium_org/third_party/mesa/src/scons/ |
fixes.py | 12 spawn_lock.acquire()
|
/external/chromium_org/third_party/skia/src/core/ |
SkTObjectPool.h | 16 * acquire one, and there are none left, it makes some more. 41 T* acquire() { function in class:SkTObjectPool
|
/external/chromium_org/third_party/skia/src/ports/ |
SkMutex_win.h | 49 void acquire() { function in struct:SkBaseMutex
|
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/ |
Resource.java | 55 public void acquire(int times) { method in class:Resource 57 throw new IllegalStateException("Cannot acquire a recycled resource"); 60 throw new IllegalArgumentException("Must acquire a number of times >= 0"); 63 throw new IllegalThreadStateException("Must call acquire on the main thread");
|
/external/mesa3d/scons/ |
fixes.py | 12 spawn_lock.acquire()
|