OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:acquire
(Results
1 - 25
of
465
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/services/core/java/com/android/server/power/
ScreenOnBlocker.java
28
* Calls to
acquire
() nest and must be matched by the same number
31
void
acquire
();
method in interface:ScreenOnBlocker
SuspendBlocker.java
30
* Calls to
acquire
() nest and must be matched by the same number
33
void
acquire
();
method in interface:SuspendBlocker
/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);
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
lock_tests.py
77
lock.
acquire
()
82
lock.
acquire
()
88
self.assertTrue(lock.
acquire
(False))
93
lock.
acquire
()
96
result.append(lock.
acquire
(False))
103
lock.
acquire
()
106
lock.
acquire
()
120
lock.
acquire
()
138
lock.
acquire
()
157
lock.
acquire
()
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
lock_tests.py
77
lock.
acquire
()
82
lock.
acquire
()
88
self.assertTrue(lock.
acquire
(False))
93
lock.
acquire
()
96
result.append(lock.
acquire
(False))
103
lock.
acquire
()
106
lock.
acquire
()
120
lock.
acquire
()
138
lock.
acquire
()
157
lock.
acquire
()
[
all
...]
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/
synchronize.py
85
self.
acquire
= self._semlock.
acquire
221
self.
acquire
= self._lock.
acquire
234
'must
acquire
() condition before using wait()'
246
self._wait_semaphore.
acquire
(True, timeout)
253
self._lock.
acquire
()
257
assert not self._wait_semaphore.
acquire
(False)
261
while self._woken_count.
acquire
(False):
262
res = self._sleeping_count.
acquire
(False
[
all
...]
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/
synchronize.py
85
self.
acquire
= self._semlock.
acquire
221
self.
acquire
= self._lock.
acquire
234
'must
acquire
() condition before using wait()'
246
self._wait_semaphore.
acquire
(True, timeout)
253
self._lock.
acquire
()
257
assert not self._wait_semaphore.
acquire
(False)
261
while self._woken_count.
acquire
(False):
262
res = self._sleeping_count.
acquire
(False
[
all
...]
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPowerManager.java
37
public void
acquire
() {
method in class:ShadowPowerManager.ShadowWakeLock
38
acquire
(0);
43
public synchronized void
acquire
(long timeout) {
method in class:ShadowPowerManager.ShadowWakeLock
/external/chromium_org/third_party/libjingle/source/talk/base/
linked_ptr.h
65
{
acquire
(r);}
70
acquire
(r);
78
{
acquire
(r);}
83
acquire
(r);
99
void
acquire
(const linked_ptr& r) throw()
function in class:talk_base::linked_ptr
113
template <class Y> void
acquire
(const linked_ptr<Y>& r) throw()
function in class:talk_base::linked_ptr
/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
(); }
/external/skia/bench/
MutexBench.cpp
24
mu.
acquire
();
/frameworks/base/core/java/android/util/
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
();
/frameworks/opt/net/voip/src/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 (DBG) log("
acquire
count=" + mHolders.size());
/frameworks/support/v4/java/android/support/v4/util/
Pools.java
30
* MyPooledClass instance = sPool.
acquire
();
56
public T
acquire
();
method in interface:Pools.Pool
99
public T
acquire
() {
method in class:Pools.SimplePool
153
public T
acquire
() {
method in class:Pools.SynchronizedPool
155
return super.
acquire
();
/packages/apps/Camera2/src/android/util/
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
();
/packages/apps/Gallery2/src/android/util/
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
();
/packages/apps/Launcher3/WallpaperPicker/src/android/util/
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
();
Completed in 2574 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>