HomeSort by relevance Sort by last modified time
    Searched full:acquire (Results 1 - 25 of 467) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clearsilver/man/man3/
fLock.3 14 fLock - acquire file lock.
25 lock - Lock to acquire.
  /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...]
  /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();
  /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="
  /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...]
AbstractQueuedLongSynchronizerTest.java 25 * AbstractQueuedLongSynchronizer javadoc. Exclusive acquire tests
107 rl.acquire(1);
131 sync.acquire(1);
168 sync.acquire(1);
197 sync.acquire(1);
224 sync.acquire(1);
249 sync.acquire(1);
277 sync.acquire(1);
305 sync.acquire(1);
328 sync.acquire(1)
    [all...]
AbstractQueuedSynchronizerTest.java 25 * AbstractQueuedSynchronizer javadoc. Exclusive acquire tests
104 rl.acquire(1);
128 sync.acquire(1);
165 sync.acquire(1);
194 sync.acquire(1);
221 sync.acquire(1);
246 sync.acquire(1);
274 sync.acquire(1);
302 sync.acquire(1);
325 sync.acquire(1)
    [all...]
  /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);
  /external/chromium/base/
lock.h 16 void Acquire() { lock_.Lock(); }
43 lock_.Acquire();
57 // constructor, and re-Acquire() it in the destructor.
67 lock_.Acquire();
  /external/skia/src/images/
SkImageRef_GlobalPool.cpp 13 this->mutex()->acquire();
19 this->mutex()->acquire();
44 this->mutex()->acquire();
  /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();
  /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...]
  /external/webkit/WebCore/manual-tests/
drop-text-acquires-style.html 6 <p>This test ensures the plain text dropped into a styled text region will acquire the appropriate style</p>
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
RenderAction.java 43 * {@link #init(long)} and {@link #acquire(long)} to start a rendering and {@link #release()}
53 * The current context being rendered. This is set through {@link #acquire(long)} and
66 * call to {@link RenderAction#acquire(long)}
83 * @see #acquire(long)
87 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
137 public Result acquire(long timeout) { method in class:RenderAction
142 // acquire the lock. if the result is null, lock was just acquired, otherwise, return
155 * Acquire the lock so that the scene can be acted upon.
162 * @return null if the lock was just acquire or another result depending on the state.
272 * the scene, or if {@link #acquire(long)} was not called
    [all...]
  /development/simulator/app/
Semaphore.h 43 * Acquire or release the semaphore.
45 void acquire(void);
  /external/dbus/test/
test-names.c 26 _dbus_verbose ("*** Failed to acquire name '%s': %s\n", name,
38 _dbus_verbose ("*** Managed to acquire name '%s'\n", name);
  /external/skia/include/core/
SkThread.h 33 void acquire();
44 mutex.acquire();
SkThread_platform.h 35 void acquire() { this->lock(); } function in class:SkMutex
58 void acquire();
  /frameworks/base/core/java/android/util/
SynchronizedPool.java 37 public T acquire() { method in class:SynchronizedPool
39 return mPool.acquire();
Pool.java 23 public abstract T acquire(); method in interface:Pool
  /system/core/include/cutils/
atomic.h 31 * The "acquire" and "release" terms can be defined intuitively in terms
38 * In very crude terms, the initial (acquire) barrier prevents any of the
45 * legal for instructions that occur before an "acquire" barrier to be
51 * The only difference between acquire and release is in whether they
55 * acquire/release protection is provided.
75 * Perform an atomic load with "acquire" or "release" ordering.
84 * Perform an atomic store with "acquire" or "release" ordering.
100 * Compare-and-set operation with "acquire" or "release" ordering.
  /dalvik/docs/opcodes/
opcode-1d-monitor-enter.html 17 Acquire the monitor for the indicated object.
54 An attempt is made for the current thread to acquire the monitor of the
70 new attempt to acquire the monitor is made, as described here. There is
  /libcore/luni/src/main/java/java/util/concurrent/locks/
AbstractQueuedLongSynchronizer.java 64 * granted locks etc though. A thread may try to acquire if it is
153 * cancels. To avoid races, acquire methods must
155 * then retry the atomic acquire, and then,
191 * head only as a result of successful acquire. A
224 * re-acquire. And because conditions can only be exclusive,
372 * acquire methods. Also nulls out unused fields for sake of GC
483 // Utilities for various versions of acquire
486 * Cancels an ongoing attempt to acquire.
535 * Checks and updates status for a node that failed to acquire.
537 * control in all acquire loops. Requires that pred == node.pre
946 public final void acquire(long arg) { method in class:AbstractQueuedLongSynchronizer
    [all...]
  /external/skia/src/ports/
SkThread_none.cpp 42 void SkMutex::acquire() function in class:SkMutex
  /frameworks/base/core/java/android/nfc/
package.html 11 acquire an instance using {@link android.content.Context#getSystemService}.</dd>
14 operations. You can acquire an instance with {@link android.nfc.NfcManager#getDefaultAdapter}, or

Completed in 1000 milliseconds

1 2 3 4 5 6 7 8 91011>>