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
190
) sorted by null
1
2
3
4
5
6
7
8
/frameworks/base/core/java/android/util/
Pool.java
23
public abstract T
acquire
();
method in interface:Pool
SynchronizedPool.java
37
public T
acquire
() {
method in class:SynchronizedPool
39
return mPool.
acquire
();
/external/llvm/include/llvm/Support/
Mutex.h
31
/// Initializes the lock but doesn't
acquire
it. if \p recursive is set
33
/// also more likely to deadlock (same thread can't
acquire
more than
47
/// Attempts to unconditionally
acquire
the lock. If the lock is held by
48
/// another thread, this method will wait until it can
acquire
the lock.
50
/// @brief Unconditionally
acquire
the lock.
51
bool
acquire
();
54
/// thread, the lock is released allowing other threads to
acquire
the
60
/// Attempts to
acquire
the lock without blocking. If the lock is not
65
/// @brief Try to
acquire
the lock.
95
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/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
();
/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
...]
/external/chromium/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/skia/include/core/
SkThread_platform.h
35
void
acquire
() { this->lock(); }
function in class:SkMutex
58
void
acquire
();
SkThread.h
33
void
acquire
();
44
mutex.
acquire
();
/external/skia/src/ports/
SkThread_none.cpp
42
void SkMutex::
acquire
()
function in class:SkMutex
SkThread_win.cpp
44
void SkMutex::
acquire
()
function in class:SkMutex
/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 (DEBUG) Log.v(TAG, "
acquire
count=" + mHolders.size());
/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
();
/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/valgrind/main/drd/tests/
qt4_semaphore.cpp
34
s_pSema->
acquire
();
53
S.
acquire
();
55
S.
acquire
();
/external/skia/src/images/
SkImageRef_GlobalPool.cpp
13
this->mutex()->
acquire
();
19
this->mutex()->
acquire
();
44
this->mutex()->
acquire
();
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertWakeLock.java
43
sCpuWakeLock.
acquire
();
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmAlertWakeLock.java
42
sCpuWakeLock.
acquire
();
AlarmInitReceiver.java
37
wl.
acquire
();
/external/skia/src/core/
SkGlobals.cpp
43
bootstrap.fMutex.
acquire
();
76
bootstrap.fMutex.
acquire
();
/external/webkit/Source/WebKit/android/jni/
JavaSharedClient.cpp
103
gFuncPtrQMutex.
acquire
();
123
gFuncPtrQMutex.
acquire
();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
BridgeRenderSession.java
87
mLastResult = mSession.
acquire
(timeout);
104
mLastResult = mSession.
acquire
(RenderParams.DEFAULT_TIMEOUT);
126
mLastResult = mSession.
acquire
(RenderParams.DEFAULT_TIMEOUT);
152
mLastResult = mSession.
acquire
(RenderParams.DEFAULT_TIMEOUT);
173
mLastResult = mSession.
acquire
(RenderParams.DEFAULT_TIMEOUT);
/frameworks/base/include/utils/
FileMap.h
85
FileMap*
acquire
(void) { mRefCount++; return this; }
function in class:android::FileMap
/frameworks/base/opengl/libagl/
TokenManager.cpp
39
*tokens++ = mTokenizer.
acquire
();
Tokenizer.h
36
uint32_t
acquire
();
Completed in 1297 milliseconds
1
2
3
4
5
6
7
8