Home
last modified time | relevance | path

Searched refs:mFutures (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DMockScheduledExecutorService.java44 private final List<MockScheduledFuture<?>> mFutures = new ArrayList<>(); field in MockScheduledExecutorService
52 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()
/frameworks/av/services/audioflinger/
DNBAIO_Tee.cpp173 std::string, std::future<status_t>>> mFutures; // GUARDED_BY(mLock) member in android::AudioFileHandler::ThreadPool
367 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()