/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/gki/ulinux/ |
D | gki_ulinux.c | 73 struct timespec delay; in GKI_delay() local 74 delay.tv_sec = timeout_ms / 1000; in GKI_delay() 75 delay.tv_nsec = 1000 * 1000 * (timeout_ms % 1000); in GKI_delay() 79 err = nanosleep(&delay, &delay); in GKI_delay()
|
/system/extras/tests/bionic/libc/common/ |
D | test_pthread_mutex.c | 83 time_sleep(double delay) in time_sleep() argument 88 ts.tv_sec = (time_t)delay; in time_sleep() 89 ts.tv_nsec = (long)((delay - ts.tv_sec)*1e9); in time_sleep() 319 static void do_test_mutex_3(pthread_mutexattr_t *attr, double delay) in do_test_mutex_3() argument 326 s->waitDelay = delay; in do_test_mutex_3() 327 s->spinDelay = delay/20.; in do_test_mutex_3() 335 time_sleep(delay); in do_test_mutex_3() 343 static void do_test_3(double delay) in do_test_3() argument 347 do_test_mutex_3(NULL, delay); in do_test_3() 354 do_test_mutex_3(attr, delay); in do_test_3() [all …]
|
D | test_pthread_rwlock.c | 82 time_sleep(double delay) in time_sleep() argument 87 ts.tv_sec = (time_t)delay; in time_sleep() 88 ts.tv_nsec = (long)((delay - ts.tv_sec)*1e9); in time_sleep() 296 static void do_test_rwlock_rd3(pthread_rwlockattr_t *attr, double delay) in do_test_rwlock_rd3() argument 303 s->waitDelay = delay; in do_test_rwlock_rd3() 304 s->spinDelay = delay/20.; in do_test_rwlock_rd3() 312 time_sleep(delay); in do_test_rwlock_rd3() 320 static void do_test_3(double delay) in do_test_3() argument 324 do_test_rwlock_rd3(NULL, delay); in do_test_3() 331 do_test_rwlock_rd3(attr, delay); in do_test_3() [all …]
|
/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 | 89 static int max_procs, delay, iterations, threads; variable 116 delay = 3; in top_main() 144 delay = atoi(argv[++i]); in top_main() 186 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/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/bt/stack/include/ |
D | avdt_api.h | 329 UINT16 delay; /* Delay value */ member 625 extern UINT16 AVDT_DelayReport(UINT8 handle, UINT8 seid, UINT16 delay);
|
/system/extras/micro_bench/ |
D | micro_bench.cpp | 374 int delay = cmd_data.args[0]; in benchmarkSleep() local 375 MAINLOOP(cmd_data, sleep(delay), in benchmarkSleep() 377 printf("sleep(%d) took %.06f seconds\n", delay, avg);, in benchmarkSleep() 379 delay, running_avg, computeStdDev(square_avg, running_avg), \ in benchmarkSleep()
|
/system/bt/stack/avdt/ |
D | avdt_api.c | 496 UINT16 AVDT_DelayReport(UINT8 handle, UINT8 seid, UINT16 delay) in AVDT_DelayReport() argument 511 evt.apidelay.delay = delay; in AVDT_DelayReport()
|
D | avdt_msg.c | 487 UINT16_TO_BE_STREAM(*p, p_msg->delay_rpt_cmd.delay); in avdt_msg_bld_delay_rpt() 1178 BE_STREAM_TO_UINT16 (p_msg->delay_rpt_cmd.delay, p); in avdt_msg_prs_delay_rpt() 1179 AVDT_TRACE_DEBUG("avdt_msg_prs_delay_rpt delay: %u", p_msg->delay_rpt_cmd.delay); in avdt_msg_prs_delay_rpt()
|
/system/bt/stack/l2cap/ |
D | l2c_fcr.c | 2274 UINT32 timestamp, delay; in l2c_fcr_collect_ack_delay() local 2306 delay = GKI_get_os_tick_count() - timestamp; in l2c_fcr_collect_ack_delay() 2308 p_ccb->fcrb.ack_delay_avg[index] += delay; in l2c_fcr_collect_ack_delay() 2309 if ( delay > p_ccb->fcrb.ack_delay_max[index] ) in l2c_fcr_collect_ack_delay() 2310 p_ccb->fcrb.ack_delay_max[index] = delay; in l2c_fcr_collect_ack_delay() 2311 if ( delay < p_ccb->fcrb.ack_delay_min[index] ) in l2c_fcr_collect_ack_delay() 2312 p_ccb->fcrb.ack_delay_min[index] = delay; in l2c_fcr_collect_ack_delay()
|
/system/bt/bta/av/ |
D | bta_av_int.h | 180 typedef void (*tBTA_AV_CO_DELAY) (tBTA_AV_HNDL hndl, UINT16 delay); 194 tBTA_AV_CO_DELAY delay; member
|
D | bta_av_aact.c | 913 p_scb->p_cos->delay(p_scb->hndl, p_data->str_msg.msg.delay_rpt_cmd.delay); in bta_av_delay_co()
|
/system/bt/btif/co/ |
D | bta_av_co.c | 1088 void bta_av_co_audio_delay(tBTA_AV_HNDL hndl, UINT16 delay) in bta_av_co_audio_delay() argument 1092 APPL_TRACE_ERROR("bta_av_co_audio_delay handle: x%x, delay:0x%x", hndl, delay); in bta_av_co_audio_delay()
|
/system/extras/tests/mmc_tracepoints/ |
D | mmc_trace_sample_data | 9 # ||| / delay
|