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

1 2

  /external/llvm/include/llvm/Support/
Mutex.h 63 /// the lock is available, it is acquired.
91 unsigned acquired; member in class:llvm::sys::SmartMutex
95 impl(rec), acquired(0), recursive(rec) { }
104 assert((recursive || acquired == 0) && "Lock already acquired!!");
105 ++acquired;
117 assert(((recursive && acquired) || (acquired == 1)) &&
118 "Lock not acquired before release!");
119 --acquired;
    [all...]
  /external/glide/library/src/main/java/com/bumptech/glide/load/engine/
EngineResource.java 18 private int acquired; field in class:EngineResource
54 if (acquired > 0) {
55 throw new IllegalStateException("Cannot recycle a resource while it is still acquired");
80 ++acquired;
93 if (acquired <= 0) {
94 throw new IllegalStateException("Cannot release a recycled or not yet acquired resource");
99 if (--acquired == 0) {
  /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/compiler-rt/lib/tsan/rtl/
tsan_clock.cc 68 // last_acquire_ - current thread time when it acquired something from
73 // the remaining bits hold "acquired" flag (the actual value is thread's
76 // acquired this clock (except possibly dirty_tids_).
78 // need to acquire regardless of "acquired" flag value;
118 // Check if we've already acquired src after the last release operation on src
119 bool acquired = false; local
130 acquired = true;
134 if (acquired) {
149 acquired = true;
153 // Remember that this thread has acquired this clock
193 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();
  /frameworks/base/services/core/java/com/android/server/wm/
KeyguardDisableHandler.java 111 public void acquired() { method in class:KeyguardDisableHandler.KeyguardTokenWatcher
  /hardware/libhardware/include/hardware/
fingerprint.h 104 fingerprint_acquired_t acquired; member in union:fingerprint_msg::__anon24775
  /frameworks/av/services/camera/libcameraservice/device3/
Camera3Stream.h 432 bool acquired, bool output);
Camera3Stream.cpp 389 // and are waiting to be acquired by the consumer and buffers that are currently
390 // acquired will be freed once they are released by the consumer.
450 fireBufferListenersLocked(*buffer, /*acquired*/true, /*output*/true);
471 fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/true);
506 fireBufferListenersLocked(*buffer, /*acquired*/true, /*output*/false);
518 fireBufferListenersLocked(buffer, /*acquired*/false, /*output*/false);
532 const camera3_stream_buffer& /*buffer*/, bool acquired, bool output) {
548 if (acquired) {
  /frameworks/base/services/core/java/com/android/server/
UpdateLockService.java 50 public void acquired() { method in class:UpdateLockService.LockWatcher
  /system/core/fingerprintd/
FingerprintDaemonProxy.cpp 58 ALOGD("onAcquired(%d)", msg->data.acquired.acquired_info);
59 callback->onAcquired(device, msg->data.acquired.acquired_info);
  /libcore/jsr166-tests/src/test/java/jsr166/
AbstractQueuedLongSynchronizerTest.java 552 * getState is true when acquired and false when not
561 final BooleanLatch acquired = new BooleanLatch(); local
566 assertTrue(acquired.releaseShared(0));
571 acquired.acquireShared(0);
675 final BooleanLatch acquired = new BooleanLatch();
679 assertTrue(acquired.releaseShared(0));
684 acquired.acquireShared(0);
815 final BooleanLatch acquired = new BooleanLatch();
821 assertTrue(acquired.releaseShared(0));
826 acquired.acquireShared(0)
    [all...]
AbstractQueuedSynchronizerTest.java 555 * getState is true when acquired and false when not
564 final BooleanLatch acquired = new BooleanLatch(); local
569 assertTrue(acquired.releaseShared(0));
574 acquired.acquireShared(0);
678 final BooleanLatch acquired = new BooleanLatch();
682 assertTrue(acquired.releaseShared(0));
687 acquired.acquireShared(0);
818 final BooleanLatch acquired = new BooleanLatch();
824 assertTrue(acquired.releaseShared(0));
829 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
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java 98 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
162 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
177 * This returns null if the lock was just acquired, otherwise it returns
191 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS);
193 if (!acquired) {
318 throw new IllegalStateException("scene must be acquired first. see #acquire(long)");
321 throw new IllegalStateException("Thread acquired a scene but is rendering a different one");
  /external/valgrind/helgrind/tests/
tc09_bad_unlock.stderr.exp 79 Lock was previously acquired
  /external/nist-sip/java/gov/nist/javax/sip/stack/
SIPServerTransaction.java     [all...]
SIPTransactionStack.java     [all...]
SIPDialog.java     [all...]
  /hardware/intel/common/libmix/videodecoder/
VideoDecoderBase.cpp 598 bool acquired = false; local
600 while (acquired == false) {
608 acquired = true;
618 acquired = false;
623 if (acquired) {
635 if (acquired == false) {
721 // frame is not decoded to the acquired buffer, current surface is invalid, and can't be output.
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_fingerprint_FingerprintService.cpp 98 arg1 = msg.data.acquired.acquired_info;
  /device/generic/goldfish/fingerprint/
fingerprint.c 135 message.data.acquired.acquired_info = FINGERPRINT_ACQUIRED_GOOD;
  /external/linux-tools-perf/src/tools/perf/
builtin-lock.c 73 * it can be acquired, contended or release.
92 * 1) acquire -> acquired -> release
93 * 2) acquire -> contended -> acquired -> release
230 * e.g. nr_acquired -> acquired, wait_time_total -> wait_total
236 static const char *sort_key = "acquired";
245 DEF_KEY_LOCK(acquired, nr_acquired),
689 { "acquire", "acquired", "contended", "release" };
707 pr_info("%10s ", "acquired");
936 OPT_STRING('k', "key", &sort_key, "acquired",
937 "key for sorting (acquired / contended / wait_total / wait_max / wait_min)")
    [all...]
  /external/clang/lib/Frontend/
ASTUnit.cpp 2821 bool acquired = static_cast<llvm::sys::MutexImpl *>(Mutex)->tryacquire(); local
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.core.jobs_3.5.1.R36x_v20100824.jar 

Completed in 1154 milliseconds

1 2