OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:acquire
(Results
1 - 25
of
336
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/llvm/lib/Support/
Mutex.cpp
28
bool MutexImpl::
acquire
() { return true; }
function in class:llvm::MutexImpl
84
MutexImpl::
acquire
()
/external/skia/include/core/
SkSpinlock.h
19
void
acquire
() {
function in struct:SkPODSpinlock
20
// To act as a mutex, we need an
acquire
barrier.
SkOnce.h
57
void
acquire
() { fSpinlock.
acquire
(); }
function in class:SkOnceFlag
74
lock->
acquire
();
95
// Also known as a load-load/load-store barrier, this
acquire
barrier makes
110
// Then lock
acquire
() will give us at least an
acquire
memory barrier to get the same
111
// effect as the
acquire
load in the *done == true fast case. We'll see *done is true,
/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
/packages/apps/Camera2/src/com/android/camera/processing/memory/
LruResourcePool.java
33
public Resource<TValue>
acquire
(TKey key);
method in interface:LruResourcePool
/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
...]
/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/Messaging/src/com/android/messaging/util/
WakeLockHelper.java
49
*
Acquire
the wakelock
51
public void
acquire
(final Context context, final Intent intent, final int opcode) {
method in class:WakeLockHelper
65
mWakeLock.
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);
/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/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/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/skia/include/ports/
SkMutex_pthread.h
18
// - a double
acquire
() from the same thread fails immediately instead of deadlocking;
30
void
acquire
() {
function in struct:SkBaseMutex
SkMutex_win.h
49
void
acquire
() {
function in struct:SkBaseMutex
/frameworks/av/media/libstagefright/foundation/
AWakeLock.cpp
45
bool AWakeLock::
acquire
() {
function in class:android::AWakeLock
/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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
InvalidateAllTest.java
19
semaphore.
acquire
();
/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/Camera2/src/com/android/camera/one/v2/sharedimagereader/ticketpool/
TicketPool.java
44
* Implementations must be fair w.r.t. other calls to
acquire
.
47
public Collection<Ticket>
acquire
(int tickets) throws InterruptedException,
method in interface:TicketPool
58
* Attempts to
acquire
and return a ticket. The caller owns the resulting
61
* Implementations must be fair w.r.t. {@link #
acquire
}.
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertWakeLock.java
41
sCpuWakeLock.
acquire
();
/packages/apps/DeskClock/src/com/android/deskclock/
AlarmAlertWakeLock.java
40
sCpuWakeLock.
acquire
();
50
sCpuWakeLock.
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
();
Completed in 1952 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>