HomeSort by relevance Sort by last modified time
    Searched refs:acquired (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
Resource.java 15 private volatile int acquired; field in class:Resource
45 if (acquired > 0) {
46 throw new IllegalStateException("Cannot recycle a resource while it is still acquired");
65 acquired += times;
69 if (acquired <= 0) {
70 throw new IllegalStateException("Cannot release a recycled or not yet acquired resource");
75 if (--acquired == 0) {
  /external/llvm/include/llvm/Support/
Mutex.h 63 /// the lock is available, it is acquired.
90 unsigned acquired; member in class:llvm::sys::SmartMutex
94 MutexImpl(rec), acquired(0), recursive(rec) { }
103 assert((recursive || acquired == 0) && "Lock already acquired!!");
104 ++acquired;
116 assert(((recursive && acquired) || (acquired == 1)) &&
117 "Lock not acquired before release!");
118 --acquired;
    [all...]
  /external/chromium_org/base/synchronization/
lock_unittest.cc 42 int acquired() const { return acquired_; } function in class:base::BasicLockTestThread
58 int acquired = 0; local
61 acquired++;
66 acquired++;
72 acquired++;
79 acquired++;
86 EXPECT_GE(acquired, 20);
87 EXPECT_GE(thread.acquired(), 20);
  /external/chromium_org/third_party/sfntly/cpp/src/test/
lock_test.cc 52 int acquired() const { return acquired_; } function in class:sfntly::BasicLockTestThread
68 int acquired = 0; local
71 acquired++;
76 acquired++;
82 acquired++;
89 acquired++;
96 EXPECT_GE(acquired, 20);
97 EXPECT_GE(thread.acquired(), 20);
  /external/sfntly/cpp/src/test/
lock_test.cc 52 int acquired() const { return acquired_; } function in class:sfntly::BasicLockTestThread
68 int acquired = 0; local
71 acquired++;
76 acquired++;
82 acquired++;
89 acquired++;
96 EXPECT_GE(acquired, 20);
97 EXPECT_GE(thread.acquired(), 20);
  /external/chromium_org/ui/wm/core/
window_util_unittest.cc 19 // already been acquired.
30 scoped_ptr<ui::Layer> acquired(window11->AcquireLayer());
31 EXPECT_TRUE(acquired.get());
32 EXPECT_EQ(acquired.get(), window11->layer());
49 // Delete the window before the acquired layer is deleted.
  /external/compiler-rt/lib/tsan/rtl/
tsan_clock.cc 67 // last_acquire_ - current thread time when it acquired something from
72 // the remaining bits hold "acquired" flag (the actual value is thread's
75 // acquired this clock (except possibly dirty_tids_).
77 // need to acquire regardless of "acquired" flag value;
117 // Check if we've already acquired src after the last release operation on src
118 bool acquired = false; local
129 acquired = true;
133 if (acquired) {
148 acquired = true;
152 // Remember that this thread has acquired this clock
194 bool acquired = IsAlreadyAcquired(dst); local
    [all...]
  /frameworks/base/core/java/android/os/
TokenWatcher.java 36 * @param h A handler to call {@link #acquired} and {@link #released}
51 public abstract void acquired(); method in class:TokenWatcher
59 * Record that this token has been acquired. When acquire is called, and
60 * the current count is 0, the acquired method is called on the given
63 * @param token An IBinder object. If this token has already been acquired,
156 acquired();
  /hardware/libhardware/include/hardware/
fingerprint.h 89 fingerprint_acquired_t acquired; member in union:fingerprint_msg::__anon41324
  /frameworks/base/services/core/java/com/android/server/wm/
KeyguardDisableHandler.java 111 public void acquired() { method in class:KeyguardDisableHandler.KeyguardTokenWatcher
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
WorkerTargetManager.js 25 var acquired = WebInspector.profilingLock().isAcquired();
26 this._mainTarget.workerAgent().setAutoconnectToWorkers(!acquired);
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3Stream.h 324 bool acquired, bool output);
Camera3Stream.cpp 268 fireBufferListenersLocked(*buffer, /*acquired*/true, /*output*/true);
289 fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/true);
324 fireBufferListenersLocked(*buffer, /*acquired*/true, /*output*/false);
336 fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/false);
343 const camera3_stream_buffer& /*buffer*/, bool acquired, bool output) {
359 if (acquired) {
  /frameworks/base/services/core/java/com/android/server/
UpdateLockService.java 50 public void acquired() { method in class:UpdateLockService.LockWatcher
  /external/chromium_org/third_party/skia/src/gpu/
GrDrawTarget.cpp 153 bool acquired = false; local
159 acquired = this->onReserveVertexSpace(vertexSize,
163 if (acquired) {
170 return acquired;
176 bool acquired = false; local
182 acquired = this->onReserveIndexSpace(indexCount, indices);
184 if (acquired) {
190 return acquired;
    [all...]
  /external/skia/src/gpu/
GrDrawTarget.cpp 152 bool acquired = false; local
158 acquired = this->onReserveVertexSpace(vertexSize,
162 if (acquired) {
169 return acquired;
175 bool acquired = false; local
181 acquired = this->onReserveIndexSpace(indexCount, indices);
183 if (acquired) {
189 return acquired;
    [all...]
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java 96 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
160 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
175 * This returns null if the lock was just acquired, otherwise it returns
189 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS);
191 if (acquired == false) {
312 throw new IllegalStateException("scene must be acquired first. see #acquire(long)");
315 throw new IllegalStateException("Thread acquired a scene but is rendering a different one");
  /libcore/jsr166-tests/src/test/java/jsr166/
AbstractQueuedLongSynchronizerTest.java 534 * getState is true when acquired and false when not
543 final BooleanLatch acquired = new BooleanLatch(); local
548 assertTrue(acquired.releaseShared(0));
553 acquired.acquireShared(0);
657 final BooleanLatch acquired = new BooleanLatch();
661 assertTrue(acquired.releaseShared(0));
666 acquired.acquireShared(0);
797 final BooleanLatch acquired = new BooleanLatch();
803 assertTrue(acquired.releaseShared(0));
808 acquired.acquireShared(0)
    [all...]
AbstractQueuedSynchronizerTest.java 537 * getState is true when acquired and false when not
546 final BooleanLatch acquired = new BooleanLatch(); local
551 assertTrue(acquired.releaseShared(0));
556 acquired.acquireShared(0);
660 final BooleanLatch acquired = new BooleanLatch();
664 assertTrue(acquired.releaseShared(0));
669 acquired.acquireShared(0);
800 final BooleanLatch acquired = new BooleanLatch();
806 assertTrue(acquired.releaseShared(0));
811 acquired.acquireShared(0)
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
TokenWatcherTest.java 120 // test acquire() and acquired()
124 // this time acquired() will not be called
194 public void acquired() { method in class:TokenWatcherTest.MockTokenWatcher
  /device/lge/mako/camera/mm-camera-interface/
mm_camera_channel.c 188 if(my_obj->ch[ch_type].acquired) {
225 if(!my_obj->ch[ch_type].acquired) my_obj->ch[ch_type].acquired = TRUE;
238 if(!my_obj->ch[ch_type].acquired) return MM_CAMERA_OK;
349 if(my_obj->ch[ch_type].acquired== 0) {
350 CDBG_ERROR("%s Channel %d not yet acquired ", __func__, ch_type);
mm_camera_notify.c 398 if (!my_obj->ch[MM_CAMERA_CH_PREVIEW].acquired) {
399 ALOGV("Preview channel is not in acquired state \n");
574 if (!my_obj->ch[MM_CAMERA_CH_SNAPSHOT].acquired) {
575 ALOGV("Snapshot channel is not in acquired state \n");
607 if (!my_obj->ch[MM_CAMERA_CH_SNAPSHOT].acquired) {
608 ALOGV("Snapshot channel is not in acquired state \n");
636 if (!my_obj->ch[MM_CAMERA_CH_VIDEO].acquired) {
637 ALOGV("Snapshot channel is not in acquired state \n");
    [all...]
  /hardware/intel/common/libmix/videodecoder/
VideoDecoderBase.cpp 572 bool acquired = false; local
574 while (acquired == false) {
582 acquired = true;
592 acquired = false;
597 if (acquired) {
609 if (acquired == false) {
695 // frame is not decoded to the acquired buffer, current surface is invalid, and can't be output.
    [all...]
  /external/chromium_org/third_party/cython/src/Cython/Includes/cpython/
pystate.pxd 74 # Release any resources previously acquired. After this call, Python's
  /external/valgrind/main/helgrind/tests/
tc09_bad_unlock.stderr.exp 70 Lock was previously acquired

Completed in 1025 milliseconds

1 2 3