Searched refs:sleepMillis (Results 1 – 3 of 3) sorted by relevance
99 public void advanceTime(long awakeMillis, long sleepMillis) { in advanceTime() argument100 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()
41 int32_t sleepMillis) { in checkFullQueue() argument92 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()
28 public static int get(int from, int to, int sleepMillis) throws ClassNotFoundException, in get() argument38 Thread.sleep(sleepMillis); in get()