Home
last modified time | relevance | path

Searched refs:refCounted (Results 1 – 2 of 2) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowPowerManager.java32 private boolean refCounted = true; field in ShadowPowerManager.ShadowWakeLock
44 if (refCounted) { in acquire()
53 if (refCounted) { in release()
62 return refCounted ? refCount > 0 : locked; in isHeld()
67 refCounted = value; in setReferenceCounted()
DShadowWifiManager.java149 private boolean refCounted = true; field in ShadowWifiManager.ShadowWifiLock
155 if (refCounted) { in acquire()
164 if (refCounted) { in release()
173 return refCounted ? refCount > 0 : locked; in isHeld()
177 public void setReferenceCounted(boolean refCounted) { in setReferenceCounted() argument
178 this.refCounted = refCounted; in setReferenceCounted()