Searched refs:mExpected (Results 1 – 3 of 3) sorted by relevance
58 private final Queue<T> mExpected; field in ContiguousFIFOAggregator77 mExpected = new ArrayDeque<T>(); in ContiguousFIFOAggregator()102 mExpected.remove(key); in expect()105 final boolean isFirst = mExpected.isEmpty(); in expect()106 mExpected.offer(key); in expect()136 final boolean removedFirst = key.equals(mExpected.peek()); in forget()137 mExpected.remove(key); in forget()144 if (removedFirst && (second = mExpected.peek()) != null) { in forget()193 while (!mExpected.isEmpty()) { in maybeExecuteNow()195 first = mExpected.peek(); in maybeExecuteNow()[all …]
122 private int mExpected; field in VersionInfo.InvalidVersionException133 mExpected = expected; in InvalidVersionException()142 return mExpected; in getExpectedVersion()
1368 explicit Latch(int expected) : mExpected(expected) {} in Latch()1374 mExpected--; in CountDown()1375 if (mExpected <= 0) { in CountDown()1382 mCV.wait(lock, [&] { return mExpected == 0; }); in Wait()1386 int mExpected; member in android::Latch