Searched refs:MAX_ACTIVE_LOCKS (Results 1 – 2 of 2) sorted by relevance
151 public static final int MAX_ACTIVE_LOCKS = 50; field in ShadowWifiManager.ShadowWifiLock156 …if (++refCount >= MAX_ACTIVE_LOCKS) throw new UnsupportedOperationException("Exceeded maximum numb… in acquire()
176 for (int i=0; i<ShadowWifiManager.ShadowWifiLock.MAX_ACTIVE_LOCKS; i++) lock.acquire(); in shouldThrowUnsupportedOperationIfLockisOverlocked()