/system/extras/tests/cpueater/ |
D | daemonize.c | 34 unsigned int delay = 0; in main() local 59 delay = atoi(*argv); in main() 61 delay = atoi(*++argv); in main() 99 if(delay) { in main() 108 if(delay) { in main() 109 sleep(delay); in main() 116 if(delay) { in main()
|
/system/bt/osi/test/ |
D | time_test.cpp | 63 struct timespec delay; in TEST_F() local 65 delay.tv_sec = TEST_TIME_SLEEP_MS / 1000; in TEST_F() 66 delay.tv_nsec = 1000 * 1000 * (TEST_TIME_SLEEP_MS % 1000); in TEST_F() 70 int err = nanosleep(&delay, &delay); in TEST_F()
|
/system/extras/iotop/ |
D | iotop.cpp | 103 int delay = 1; in main() local 131 delay = atoi(optarg); in main() 241 const int delay_div = accumulated ? 1 : delay; in main() 262 TimeToTgidPercent(statistics.delay_io(), delay, statistics), in main() 263 TimeToTgidPercent(statistics.delay_swap(), delay, statistics), in main() 264 TimeToTgidPercent(statistics.delay_sched(), delay, statistics), in main() 265 TimeToTgidPercent(statistics.delay_mem(), delay, statistics), in main() 266 TimeToTgidPercent(statistics.delay_total(), delay, statistics)); in main() 278 sleep(delay); in main()
|
/system/core/crash_reporter/ |
D | periodic_scheduler | 47 local delay="$1" 53 [ -z "${delay}" ] && exit 1 70 if [ ${time_diff} -gt ${delay} ]; then
|
/system/bt/vendor_libs/test_vendor_lib/src/ |
D | hci_transport.cc | 135 base::TimeDelta delay) { in PostDelayedEventResponse() argument 152 delay.InMilliseconds()); in PostDelayedEventResponse() 155 std::make_unique<TimeStampedEvent>(std::move(event), delay)); in PostDelayedEventResponse() 159 std::unique_ptr<EventPacket> event, base::TimeDelta delay) in TimeStampedEvent() argument 160 : event_(std::move(event)), time_stamp_(base::TimeTicks::Now() + delay) {} in TimeStampedEvent()
|
D | vendor_manager.cc | 129 base::TimeDelta delay) { in PostDelayedTask() argument 130 return thread_.task_runner()->PostDelayedTask(FROM_HERE, task, delay); in PostDelayedTask()
|
D | dual_mode_controller.cc | 237 void DualModeController::SetEventDelay(int64_t delay) { in SetEventDelay() argument 238 if (delay < 0) in SetEventDelay() 239 delay = 0; in SetEventDelay() 241 base::TimeDelta::FromMilliseconds(delay)); in SetEventDelay()
|
/system/core/toolbox/ |
D | iftop.c | 229 int count = 0, header_interval = 22, delay = 1, i; in iftop_main() local 238 delay = atoi(argv[i++]); in iftop_main() 239 if (!delay) in iftop_main() 240 delay = 1; in iftop_main() 267 sleep(delay); in iftop_main()
|
D | top.c | 90 static int max_procs, delay, iterations, threads; variable 117 delay = 3; in top_main() 145 delay = atoi(argv[++i]); in top_main() 191 if (iterations != 0) sleep(delay); in top_main()
|
/system/extras/tests/suspend_stress/ |
D | suspend_stress.cpp | 100 struct itimerspec delay = itimerspec(); in main() local 101 delay.it_value.tv_sec = alarm_time; in main() 123 ret = timerfd_settime(fd, 0, &delay, NULL); in main()
|
/system/bt/vendor_libs/test_vendor_lib/include/ |
D | hci_transport.h | 70 base::TimeDelta delay); 77 TimeStampedEvent(std::unique_ptr<EventPacket> event, base::TimeDelta delay);
|
D | vendor_manager.h | 76 bool PostDelayedTask(const base::Closure& task, base::TimeDelta delay);
|
D | dual_mode_controller.h | 334 void SetEventDelay(int64_t delay);
|
/system/bt/service/common/bluetooth/ |
D | scan_settings.h | 138 void set_report_delay(const base::TimeDelta& delay) { in set_report_delay() argument 139 report_delay_ms_ = delay; in set_report_delay()
|
/system/bt/bta/include/ |
D | bta_av_co.h | 376 extern void bta_av_co_audio_delay(tBTA_AV_HNDL hndl, UINT16 delay); 389 extern void bta_av_co_video_delay(tBTA_AV_HNDL hndl, UINT16 delay);
|
/system/media/audio_utils/ |
D | resampler.c | 65 int32_t delay = (int32_t)((1000000000 * (int64_t)rsmp->frames_in) / rsmp->in_sample_rate); in resampler_delay_ns() local 66 delay += rsmp->speex_delay_ns; in resampler_delay_ns() 68 return delay; in resampler_delay_ns()
|
/system/extras/latencytop/ |
D | latencytop.c | 71 int delay, iterations; in main() local 76 delay = 1; in main() 86 delay = atoi(argv[++i]); in main() 143 sleep(delay); in main()
|
/system/extras/cpustats/ |
D | cpustats.c | 53 static int cpu_count, delay, iterations; variable 74 delay = 3; in main() 95 delay = atoi(argv[++i]); in main() 147 sleep(delay); in main()
|
/system/connectivity/shill/ |
D | connectivity_trial_unittest.cc | 129 bool StartTrialWithDelay(const string& url_string, int delay) { in StartTrialWithDelay() argument 130 bool ret = connectivity_trial_->Start(url_string, delay); in StartTrialWithDelay() 172 void ExpectTrialRetry(const ConnectivityTrial::Result& result, int delay) { in ExpectTrialRetry() argument 179 EXPECT_CALL(dispatcher(), PostDelayedTask(_, delay)); in ExpectTrialRetry()
|
/system/bt/stack/include/ |
D | avdt_api.h | 324 UINT16 delay; /* Delay value */ member 620 extern UINT16 AVDT_DelayReport(UINT8 handle, UINT8 seid, UINT16 delay);
|
/system/core/init/ |
D | builtins.cpp | 674 unsigned int delay = 0; in do_powerctl() local 676 if (android::base::ParseUint(timeout.c_str(), &delay) && delay > 0) { in do_powerctl() 682 while (t.duration() < delay) { in do_powerctl()
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 382 int delay = cmd_data.args[0]; in benchmarkSleep() local 383 MAINLOOP(cmd_data, sleep(delay), in benchmarkSleep() 385 printf("sleep(%d) took %.06f seconds\n", delay, avg);, in benchmarkSleep() 387 delay, running_avg, computeStdDev(square_avg, running_avg), \ in benchmarkSleep()
|
/system/bt/stack/avdt/ |
D | avdt_api.c | 476 UINT16 AVDT_DelayReport(UINT8 handle, UINT8 seid, UINT16 delay) in AVDT_DelayReport() argument 491 evt.apidelay.delay = delay; in AVDT_DelayReport()
|
/system/bt/stack/l2cap/ |
D | l2c_fcr.c | 2434 UINT32 timestamp, delay; in l2c_fcr_collect_ack_delay() local 2472 delay = time_get_os_boottime_ms() - timestamp; in l2c_fcr_collect_ack_delay() 2474 p_ccb->fcrb.ack_delay_avg[index] += delay; in l2c_fcr_collect_ack_delay() 2475 if ( delay > p_ccb->fcrb.ack_delay_max[index] ) in l2c_fcr_collect_ack_delay() 2476 p_ccb->fcrb.ack_delay_max[index] = delay; in l2c_fcr_collect_ack_delay() 2477 if ( delay < p_ccb->fcrb.ack_delay_min[index] ) in l2c_fcr_collect_ack_delay() 2478 p_ccb->fcrb.ack_delay_min[index] = delay; in l2c_fcr_collect_ack_delay()
|
/system/weaved/buffet/ |
D | manager.cc | 171 base::TimeDelta delay) override { in PostDelayedTask() argument 172 brillo::MessageLoop::current()->PostDelayedTask(from_here, task, delay); in PostDelayedTask()
|