HomeSort by relevance Sort by last modified time
    Searched full:counterval (Results 1 - 1 of 1) sorted by null

  /frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/contrib/
CountingIdlingResource.java 149 int counterVal = counter.getAndIncrement();
150 if (0 == counterVal) {
155 Log.i(TAG, "Resource: " + resourceName + " in-use-count incremented to: " + (counterVal + 1));
167 int counterVal = counter.decrementAndGet();
169 if (counterVal == 0) {
178 if (counterVal == 0) {
182 Log.i(TAG, "Resource: " + resourceName + " in-use-count decremented to: " + counterVal);
185 checkState(counterVal > -1, "Counter has been corrupted!");

Completed in 693 milliseconds