Searched refs:mFutures (Results 1 – 2 of 2) sorted by relevance
44 private final List<MockScheduledFuture<?>> mFutures = new ArrayList<>(); field in MockScheduledExecutorService52 ImmutableList<MockScheduledFuture<?>> futuresCopy = ImmutableList.copyOf(mFutures); in fastForwardTime()53 mFutures.clear(); in fastForwardTime()61 mFutures.add(future); in fastForwardTime()72 return mFutures; in getFutures()87 mFutures.add(future); in schedule()234 return mFutures.remove(this); in cancel()244 return !mFutures.contains(this); in isDone()
173 std::string, std::future<status_t>>> mFutures; // GUARDED_BY(mLock) member in android::AudioFileHandler::ThreadPool367 if (mFutures.size() >= mThreadPoolSize) { in launch()368 for (auto it = mFutures.begin(); it != mFutures.end();) { in launch()374 it = mFutures.erase(it); in launch()381 if (mFutures.size() < mThreadPoolSize) { in launch()383 mFutures.emplace_back(name, std::async(std::launch::async, func)); in launch()