Home
last modified time | relevance | path

Searched refs:sleep_time (Results 1 – 4 of 4) sorted by relevance

/system/core/libsuspend/
Dautosuspend_wakeup_count.cpp51 static int sleep_time = BASE_SLEEP_TIME; variable
58 sleep_time = BASE_SLEEP_TIME; in update_sleep_time()
62 sleep_time = MIN(sleep_time * 2, MAX_SLEEP_TIME); in update_sleep_time()
70 usleep(sleep_time); in suspend_thread_func()
/system/extras/libperfmgr/tests/
DRequestGroupTest.cc45 auto sleep_time = 200ms; in TEST() local
46 std::this_thread::sleep_for(sleep_time); in TEST()
49 EXPECT_NEAR((duration - sleep_time).count(), expire_time.count(), in TEST()
/system/bt/audio_bluetooth_hw/
Dstream_apis.cc400 int64_t sleep_time = bytes * 1000000LL / in out_write() local
404 if (sleep_time > 0) { in out_write()
405 LOG(VERBOSE) << __func__ << ": sleep " << (sleep_time / 1000) in out_write()
408 usleep(sleep_time); in out_write()
413 sleep_time = 0; in out_write()
415 out->last_write_time_us_ = now + sleep_time; in out_write()
/system/core/logd/tests/
Dlogd_test.cpp834 static const unsigned sleep_time = sndtimeo + 3; in TEST() local
835 static const unsigned alarm_time = sleep_time + 5; in TEST()
863 sleep(sleep_time); in TEST()