Home
last modified time | relevance | path

Searched refs:sleep_time (Results 1 – 6 of 6) 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/vendor_libs/test_vendor_lib/scripts/
Dtest_channel.py241 sleep_time = float(args.split()[0])
242 time.sleep(sleep_time)
Dhci_socket.py389 sleep_time = float(args.split()[0])
390 time.sleep(sleep_time)
/system/bt/audio_bluetooth_hw/
Dstream_apis.cc477 int64_t sleep_time = bytes * 1000000LL / in out_write() local
481 if (sleep_time > 0) { in out_write()
482 LOG(VERBOSE) << __func__ << ": sleep " << (sleep_time / 1000) in out_write()
485 usleep(sleep_time); in out_write()
490 sleep_time = 0; in out_write()
492 out->last_write_time_us_ = now + sleep_time; in out_write()
/system/core/logd/
Dlogd_test.cpp731 static const unsigned sleep_time = sndtimeo + 3; in TEST() local
732 static const unsigned alarm_time = sleep_time + 5; in TEST()
760 sleep(sleep_time); in TEST()