Home
last modified time | relevance | path

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

/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp807 useconds_t sleepUs = 1; in invalidatorThread() local
815 sleepUs = 1; in invalidatorThread()
844 sleepUs < MAX_SLEEP_US) { in invalidatorThread()
845 sleepUs *= 10; in invalidatorThread()
850 ::usleep(sleepUs); in invalidatorThread()
/frameworks/av/services/audioflinger/
DThreads.cpp7065 uint32_t sleepUs = 0; in threadLoop() local
7096 if (sleepUs > 0) { in threadLoop()
7098 mWaitWorkCV.waitRelative(mLock, microseconds((nsecs_t)sleepUs)); in threadLoop()
7100 sleepUs = 0; in threadLoop()
7144 sleepUs = 10000; in threadLoop()
7213 if (sleepUs == 0) { in threadLoop()
7214 sleepUs = kRecordThreadSleepUs; in threadLoop()
7218 sleepUs = 0; in threadLoop()
7323 sleepUs = (sleepFrames * 1000000LL) / mSampleRate; in threadLoop()
7412 sleepUs = kRecordThreadSleepUs; in threadLoop()