OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isHeld
(Results
1 - 25
of
131
) sorted by null
1
2
3
4
5
6
/cts/tests/tests/net/src/android/net/wifi/cts/
WifiManager_WifiLockTest.java
37
assertFalse(wl.
isHeld
());
39
assertTrue(wl.
isHeld
());
41
assertFalse(wl.
isHeld
());
44
assertTrue(wl.
isHeld
());
46
assertTrue(wl.
isHeld
());
48
assertFalse(wl.
isHeld
());
60
assertFalse(wl.
isHeld
());
62
assertTrue(wl.
isHeld
());
64
assertFalse(wl.
isHeld
());
67
assertTrue(wl.
isHeld
());
[
all
...]
/cts/tests/tests/os/src/android/os/cts/
PowerManager_WakeLockTest.java
40
assertTrue(wl.
isHeld
());
42
assertFalse(wl.
isHeld
());
47
assertTrue(wl.
isHeld
());
49
assertTrue(wl.
isHeld
());
51
assertTrue(wl.
isHeld
());
53
assertFalse(wl.
isHeld
());
58
assertTrue(wl.
isHeld
());
60
assertTrue(wl.
isHeld
());
62
assertFalse(wl.
isHeld
());
66
assertTrue(wl.
isHeld
());
[
all
...]
PowerManagerTest.java
41
assertTrue(wl.
isHeld
());
43
assertFalse(wl.
isHeld
());
/packages/apps/Dialer/java/com/android/incallui/answerproximitysensor/
AnswerProximityWakeLock.java
34
boolean
isHeld
();
PseudoProximityWakeLock.java
38
private boolean
isHeld
;
50
isHeld
= true;
58
isHeld
= false;
64
public boolean
isHeld
() {
65
return
isHeld
;
SystemProximityWakeLock.java
58
public boolean
isHeld
() {
59
return wakeLock.
isHeld
();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/wakelock/
SettableWakeLockTest.java
49
assertTrue(mFake.
isHeld
());
50
assertEquals(mFake.
isHeld
(), mSettable.isAcquired());
57
assertFalse(mFake.
isHeld
());
58
assertEquals(mFake.
isHeld
(), mSettable.isAcquired());
67
assertFalse(mFake.
isHeld
());
68
assertEquals(mFake.
isHeld
(), mSettable.isAcquired());
76
assertFalse(mFake.
isHeld
());
77
assertEquals(mFake.
isHeld
(), mSettable.isAcquired());
86
assertTrue(mFake.
isHeld
());
87
assertEquals(mFake.
isHeld
(), mSettable.isAcquired())
[
all
...]
WakeLockTest.java
56
assertFalse(mInner.
isHeld
());
62
assertTrue(mInner.
isHeld
());
69
assertFalse(mInner.
isHeld
());
77
assertTrue(mInner.
isHeld
());
88
assertTrue(mInner.
isHeld
());
94
assertFalse(mInner.
isHeld
());
WakeLockFake.java
48
public boolean
isHeld
() {
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
PowerManagerTest.java
43
assertFalse(lock.
isHeld
());
45
assertTrue(lock.
isHeld
());
48
assertTrue(lock.
isHeld
());
51
assertTrue(lock.
isHeld
());
53
assertFalse(lock.
isHeld
());
61
assertFalse(lock.
isHeld
());
63
assertTrue(lock.
isHeld
());
65
assertTrue(lock.
isHeld
());
69
assertFalse(lock.
isHeld
());
WifiManagerTest.java
148
assertTrue(lock.
isHeld
());
150
assertTrue(lock.
isHeld
());
152
assertFalse(lock.
isHeld
());
160
assertTrue(lock.
isHeld
());
162
assertTrue(lock.
isHeld
());
164
assertFalse(lock.
isHeld
());
/frameworks/base/core/tests/coretests/src/android/os/
PowerManagerTest.java
98
assertTrue(wl.
isHeld
());
100
assertFalse(wl.
isHeld
());
105
assertTrue(wl.
isHeld
());
107
assertTrue(wl.
isHeld
());
109
assertTrue(wl.
isHeld
());
111
assertFalse(wl.
isHeld
());
116
assertTrue(wl.
isHeld
());
118
assertTrue(wl.
isHeld
());
120
assertFalse(wl.
isHeld
());
/packages/services/Telecomm/src/com/android/server/telecom/
TelecomWakeLock.java
40
public boolean
isHeld
() {
41
return mWakeLock.
isHeld
();
87
public boolean
isHeld
() {
88
return mWakeLock != null && mWakeLock.
isHeld
();
97
if (!
isHeld
()) {
111
if (
isHeld
()) {
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
CellBroadcastAlertWakeLock.java
51
if (!sPartialWakeLock.
isHeld
()) {
58
if (sPartialWakeLock != null && sPartialWakeLock.
isHeld
()) {
78
if (!sScreenBrightWakeLock.
isHeld
()) {
85
if (sScreenBrightWakeLock != null && sScreenBrightWakeLock.
isHeld
()) {
/packages/apps/Messaging/src/com/android/messaging/util/
WakeLockHelper.java
72
public boolean
isHeld
(final Intent intent) {
74
return (respectWakeLock && mWakeLock.
isHeld
());
89
final boolean
isHeld
= (respectWakeLock &&
isHeld
(intent));
90
if (!
isHeld
) {
92
+ " opcode: " + opcode + " sWakeLock: " + mWakeLock + "
isHeld
: "
93
+ ((mWakeLock == null) ? "(null)" : mWakeLock.
isHeld
()));
114
+ "
isHeld
: " + ((mWakeLock == null) ? "(null)" : mWakeLock.
isHeld
()));
/packages/services/Car/service/src/com/android/car/
SystemInterface.java
122
if (!mPartialWakeLock.
isHeld
()) {
125
if (mFullWakeLock.
isHeld
()) {
132
if (!mFullWakeLock.
isHeld
()) {
135
if (mPartialWakeLock.
isHeld
()) {
142
if (mPartialWakeLock.
isHeld
()) {
145
if (mFullWakeLock.
isHeld
()) {
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
InCallWakeLockControllerTest.java
61
when(mWakeLockAdapter.
isHeld
()).thenReturn(false);
71
when(mWakeLockAdapter.
isHeld
()).thenReturn(false);
81
when(mWakeLockAdapter.
isHeld
()).thenReturn(false);
91
when(mWakeLockAdapter.
isHeld
()).thenReturn(false);
101
when(mWakeLockAdapter.
isHeld
()).thenReturn(true);
111
when(mWakeLockAdapter.
isHeld
()).thenReturn(true);
ProximitySensorManagerTest.java
64
when(mWakeLockAdapter.
isHeld
()).thenReturn(false);
74
when(mWakeLockAdapter.
isHeld
()).thenReturn(false);
84
when(mWakeLockAdapter.
isHeld
()).thenReturn(true);
96
when(mWakeLockAdapter.
isHeld
()).thenReturn(true);
106
when(mWakeLockAdapter.
isHeld
()).thenReturn(true);
/frameworks/opt/net/voip/src/java/com/android/server/sip/
SipWakeLock.java
57
if (!mWakeLock.
isHeld
()) mWakeLock.acquire();
64
&& mWakeLock.
isHeld
()) {
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPowerManager.java
61
public synchronized boolean
isHeld
() {
/frameworks/base/tests/BatteryWaster/src/com/android/batterywaster/
BatteryWaster.java
88
if (mPartialWakeLock.
isHeld
()) {
150
if (!mPartialWakeLock.
isHeld
()) {
154
if (mPartialWakeLock.
isHeld
()) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
WakeLockStateMachine.java
94
while (mWakeLock.
isHeld
()) {
163
if (mWakeLock.
isHeld
()) {
198
if (!mWakeLock.
isHeld
()) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DozeMachineTest.java
156
assertTrue(mWakeLockFake.
isHeld
());
168
assertTrue(mWakeLockFake.
isHeld
());
171
assertTrue(mWakeLockFake.
isHeld
());
179
assertFalse(mWakeLockFake.
isHeld
());
182
assertFalse(mWakeLockFake.
isHeld
());
194
assertFalse(mWakeLockFake.
isHeld
());
/frameworks/base/core/java/android/os/
UpdateLock.java
93
public boolean
isHeld
() {
/frameworks/base/services/core/java/com/android/server/hdmi/
HdmiCecLocalDevicePlayback.java
217
public boolean
isHeld
() { return false; }
227
return !getWakeLock().
isHeld
();
397
boolean
isHeld
();
420
public boolean
isHeld
() {
421
return mWakeLock.
isHeld
();
Completed in 2098 milliseconds
1
2
3
4
5
6