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
281
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/services/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
/external/skia/include/core/
SkThread.h
28
void
acquire
();
38
mutex.
acquire
();
43
mutex->
acquire
();
/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);
/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/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
/developers/samples/android/common/src/com/example/android/common/
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/BasicMultitouch/src/main/java/com/example/android/common/
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/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/legacy/include/core/
SkThread.h
26
void
acquire
();
37
mutex.
acquire
();
/external/skia/legacy/src/ports/
SkThread_none.cpp
28
void SkMutex::
acquire
() {}
function in class:SkMutex
SkThread_win.cpp
39
void SkMutex::
acquire
() {
function in class:SkMutex
/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());
/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
();
/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
();
/external/compiler-rt/lib/tsan/tests/unit/
tsan_clock_test.cc
42
vector.
acquire
(&chunked);
61
vector2.
acquire
(&chunked);
77
vector.
acquire
(&chunked);
81
vector.
acquire
(&chunked);
111
vector2.
acquire
(&chunked);
117
vector1.
acquire
(&chunked);
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmAlertWakeLock.java
42
sCpuWakeLock.
acquire
();
52
sCpuWakeLock.
acquire
();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
PowerManagerTest.java
44
lock.
acquire
();
46
lock.
acquire
();
62
lock.
acquire
();
64
lock.
acquire
();
/external/skia/bench/
MutexBench.cpp
28
mu.
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
();
89
fail("WakeLock.
acquire
() did not throw SecurityException as expected");
96
* Verify that PowerManager.WakeLock.
acquire
(long) requires permissions.
102
// Tset
acquire
(long)
104
mWakeLock.
acquire
(1);
105
fail("WakeLock.
acquire
(long) did not throw SecurityException as expected")
[
all
...]
/external/skia/legacy/src/images/
SkImageRef_GlobalPool.cpp
31
this->mutex()->
acquire
();
37
this->mutex()->
acquire
();
69
this->mutex()->
acquire
();
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
PowerTest.java
72
mProx.
acquire
();
87
mProx.
acquire
();
98
mProx.
acquire
();
Completed in 6683 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>