Home
last modified time | relevance | path

Searched refs:sleepMillis (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/time/
DFakeSystemClock.java99 public void advanceTime(long awakeMillis, long sleepMillis) { in advanceTime() argument
100 if (awakeMillis < 0 || sleepMillis < 0) { in advanceTime()
104 if (awakeMillis > 0 || sleepMillis > 0) { in advanceTime()
106 mElapsedRealtime += awakeMillis + sleepMillis; in advanceTime()
107 mCurrentTimeMillis += awakeMillis + sleepMillis; in advanceTime()
/frameworks/av/media/libaaudio/tests/
Dtest_full_queue.cpp41 int32_t sleepMillis) { in checkFullQueue() argument
92 ALOGD("%s() start sleeping %d millis", __func__, sleepMillis); in checkFullQueue()
93 usleep(sleepMillis * kMicrosPerMillisecond); in checkFullQueue()
103 int countDown = 2 * sleepMillis * sampleRate / (kNumFrames * 1000); in checkFullQueue()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DReflectIntermediateClass.java28 public static int get(int from, int to, int sleepMillis) throws ClassNotFoundException, in get() argument
38 Thread.sleep(sleepMillis); in get()