Home
last modified time | relevance | path

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

/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp788 useconds_t sleepUs = 1; in invalidatorThread() local
796 sleepUs = 1; in invalidatorThread()
825 sleepUs < MAX_SLEEP_US) { in invalidatorThread()
826 sleepUs *= 10; in invalidatorThread()
831 ::usleep(sleepUs); in invalidatorThread()
/frameworks/av/services/audioflinger/
DThreads.cpp6910 uint32_t sleepUs = 0; in threadLoop() local
6939 if (sleepUs > 0) { in threadLoop()
6941 mWaitWorkCV.waitRelative(mLock, microseconds((nsecs_t)sleepUs)); in threadLoop()
6943 sleepUs = 0; in threadLoop()
6987 sleepUs = 10000; in threadLoop()
7034 if (sleepUs == 0) { in threadLoop()
7035 sleepUs = kRecordThreadSleepUs; in threadLoop()
7039 sleepUs = 0; in threadLoop()
7140 sleepUs = (sleepFrames * 1000000LL) / mSampleRate; in threadLoop()
7227 sleepUs = kRecordThreadSleepUs; in threadLoop()