Home
last modified time | relevance | path

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

/frameworks/av/media/bufferpool/2.0/
DAccessorImpl.cpp812 useconds_t sleepUs = 1; in invalidatorThread() local
820 sleepUs = 1; in invalidatorThread()
849 sleepUs < MAX_SLEEP_US) { in invalidatorThread()
850 sleepUs *= 10; in invalidatorThread()
855 ::usleep(sleepUs); in invalidatorThread()
/frameworks/av/services/audioflinger/
DThreads.cpp7188 uint32_t sleepUs = 0; in threadLoop() local
7219 if (sleepUs > 0) { in threadLoop()
7221 mWaitWorkCV.waitRelative(mLock, microseconds((nsecs_t)sleepUs)); in threadLoop()
7223 sleepUs = 0; in threadLoop()
7267 sleepUs = 10000; in threadLoop()
7346 if (sleepUs == 0) { in threadLoop()
7347 sleepUs = kRecordThreadSleepUs; in threadLoop()
7351 sleepUs = 0; in threadLoop()
7456 sleepUs = (sleepFrames * 1000000LL) / mSampleRate; in threadLoop()
7547 sleepUs = kRecordThreadSleepUs; in threadLoop()