Searched refs:sleepTime (Results 1 – 10 of 10) sorted by relevance
38 int64_t sleepTime = minPeriodsToDelay * mBurstPeriod; in nextAbsoluteTime() local41 sleepTime += (int64_t)(random() * mBurstPeriod / RAND_MAX); in nextAbsoluteTime()42 mLastTime += sleepTime; in nextAbsoluteTime()
90 int sleepTime = Integer.parseInt(sleepTimeStr); in onCreate() local91 if (sleepTime > 0) { in onCreate()92 mSleepTime = 1000 * sleepTime; in onCreate()
37 private void doSleepWhileTop(int sleepTime) { in doSleepWhileTop() argument41 SystemClock.sleep(sleepTime); in doSleepWhileTop()
119 long sleepTime = (long)(mNextReleaseTime - getCurSysTime()); in run() local120 mScheduler.schedule(mReleaseThread, sleepTime, TimeUnit.MILLISECONDS); in run()
228 int sleepTime = 33; // normal capture at 33ms / frame in recordVideoFromSurface() local240 sleepTime = 1000 / captureRate; in recordVideoFromSurface()272 Thread.sleep(sleepTime); in recordVideoFromSurface()286 Thread.sleep(sleepTime); in recordVideoFromSurface()
508 const std::chrono::nanoseconds sleepTime = in processTask() local515 static_cast<uint64_t>(sleepTime.count()), maxFps); in processTask()517 std::this_thread::sleep_for(sleepTime); in processTask()
323 const useconds_t sleepTime = gSystemBootCompleted ? 1000 : 100; in getService() local331 usleep(1000*sleepTime); in getService()
1287 long sleepTime = startTime + ICC_SIM_CHALLENGE_TIMEOUT_MILLIS in getIccSimChallengeResponse() local1289 if (sleepTime > 0) rsp.wait(sleepTime); in getIccSimChallengeResponse()
1006 private void mockGoToSleep(long sleepTime, int reason) { in mockGoToSleep() argument1008 new PowerManager.SleepData(sleepTime, reason)); in mockGoToSleep()
924 const nsecs_t sleepTime = 83333 - ns2us(systemTime() - now); in android() local925 if (sleepTime > 0) in android()926 usleep(sleepTime); in android()