Searched refs:refCounted (Results 1 – 2 of 2) sorted by relevance
32 private boolean refCounted = true; field in ShadowPowerManager.ShadowWakeLock44 if (refCounted) { in acquire()53 if (refCounted) { in release()62 return refCounted ? refCount > 0 : locked; in isHeld()67 refCounted = value; in setReferenceCounted()
149 private boolean refCounted = true; field in ShadowWifiManager.ShadowWifiLock155 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() argument178 this.refCounted = refCounted; in setReferenceCounted()