Searched refs:delay (Results 1 - 25 of 32) sorted by last modified time

12

/system/weaved/buffet/
H A Dmanager.cc171 base::TimeDelta delay) override {
172 brillo::MessageLoop::current()->PostDelayedTask(from_here, task, delay);
/system/media/audio_utils/
H A Dresampler.c41 int32_t speex_delay_ns; // delay introduced by speex resampler in ns
65 int32_t delay = (int32_t)((1000000000 * (int64_t)rsmp->frames_in) / rsmp->in_sample_rate); local
66 delay += rsmp->speex_delay_ns;
68 return delay;
/system/netd/tests/
H A Dnetd_test.cpp706 unsigned delay = arc4random_uniform(1*1000*1000); // <= 1s
707 usleep(delay);
/system/extras/micro_bench/
H A Dmicro_bench.cpp382 int delay = cmd_data.args[0]; local
383 MAINLOOP(cmd_data, sleep(delay),
385 printf("sleep(%d) took %.06f seconds\n", delay, avg);,
387 delay, running_avg, computeStdDev(square_avg, running_avg), \
/system/extras/tests/cpueater/
H A Ddaemonize.c34 unsigned int delay = 0; local
40 printf("Usage: %s [-f logfile] [-a] [-d delay] <program>\n", argv[0]);
59 delay = atoi(*argv);
61 delay = atoi(*++argv);
99 if(delay) {
108 if(delay) {
109 sleep(delay);
116 if(delay) {
/system/extras/tests/suspend_stress/
H A Dsuspend_stress.cpp100 struct itimerspec delay = itimerspec(); local
101 delay.it_value.tv_sec = alarm_time;
123 ret = timerfd_settime(fd, 0, &delay, NULL);
/system/extras/cpustats/
H A Dcpustats.c53 static int cpu_count, delay, iterations; variable
74 delay = 3;
95 delay = atoi(argv[++i]);
147 sleep(delay);
430 fprintf(stderr, "Usage %s [ -n iterations ] [ -d delay ] [ -c cpu ] [ -m ] [ -h ]\n"
/system/extras/iotop/
H A Diotop.cpp43 "Usage: %s [-h] [-P] [-d <delay>] [-n <cycles>] [-s <column>]\n"
45 " -d Set the delay between refreshes in seconds.\n"
51 " pid, read, write, total, io, swap, sched, mem or delay.\n",
90 {"delay", make_sorter(&TaskStatistics::delay_total, true)},
103 int delay = 1; local
114 {"delay", required_argument, 0, 'd'},
131 delay = atoi(optarg);
188 // hold delay accounting data across all threads, including
241 const int delay_div = accumulated ? 1 : delay;
262 TimeToTgidPercent(statistics.delay_io(), delay, statistic
[all...]
/system/extras/latencytop/
H A Dlatencytop.c71 int delay, iterations; local
76 delay = 1;
86 delay = atoi(argv[++i]);
143 sleep(delay);
421 fprintf(stderr, "Usage: %s [ -d delay ] [ -n iterations ] [ -p pid [ -t tid ] ] [ -h ]\n"
422 " -d delay Time to sleep between updates.\n"
/system/core/crash_reporter/
H A Dperiodic_scheduler47 local delay="$1"
53 [ -z "${delay}" ] && exit 1
70 if [ ${time_diff} -gt ${delay} ]; then
/system/core/init/
H A Dbuiltins.cpp674 unsigned int delay = 0; local
676 if (android::base::ParseUint(timeout.c_str(), &delay) && delay > 0) {
682 while (t.duration() < delay) {
/system/core/toolbox/
H A Diftop.c223 fprintf(stderr, "usage: %s [ -r repeats] [ -d delay ]\n", cmd);
229 int count = 0, header_interval = 22, delay = 1, i; local
238 delay = atoi(argv[i++]);
239 if (!delay)
240 delay = 1;
267 sleep(delay);
H A Dtop.c90 static int max_procs, delay, iterations, threads; variable
117 delay = 3;
145 delay = atoi(argv[++i]);
191 if (iterations != 0) sleep(delay);
581 fprintf(stderr, "Usage: %s [ -m max_procs ] [ -n iterations ] [ -d delay ] [ -s sort_column ] [ -t ] [ -h ]\n"
/system/connectivity/shill/
H A Dconnectivity_trial_unittest.cc129 bool StartTrialWithDelay(const string& url_string, int delay) { argument
130 bool ret = connectivity_trial_->Start(url_string, delay);
172 void ExpectTrialRetry(const ConnectivityTrial::Result& result, int delay) { argument
179 EXPECT_CALL(dispatcher(), PostDelayedTask(_, delay));
H A Ddevice.cc643 int64_t delay = static_cast<int64_t>(lifetime_seconds) * 1000; local
647 delay);
/system/bt/bta/av/
H A Dbta_av_aact.c50 /* the delay time in milliseconds to start service discovery on AVRCP */
896 ** Description Call the delay call-out function to report the delay report
904 p_scb->p_cos->delay(p_scb->hndl, p_data->str_msg.msg.delay_rpt_cmd.delay);
2399 * HAL layer gets blocked. And if there is delay in Get Capability response as
3059 /* AVRC channel is not connected. delay a little bit */
H A Dbta_av_int.h182 typedef void (*tBTA_AV_CO_DELAY) (tBTA_AV_HNDL hndl, UINT16 delay);
196 tBTA_AV_CO_DELAY delay; member in struct:__anon36
489 alarm_t *avrc_ct_timer; /* delay timer for AVRC CT */
/system/bt/bta/include/
H A Dbta_av_co.h370 ** needs to send the initial delay report to the connected SRC.
376 extern void bta_av_co_audio_delay(tBTA_AV_HNDL hndl, UINT16 delay);
383 ** needs to send the initial delay report to the connected SRC.
389 extern void bta_av_co_video_delay(tBTA_AV_HNDL hndl, UINT16 delay);
/system/bt/btif/co/
H A Dbta_av_co.c1083 ** needs to send the initial delay report to the connected SRC.
1089 void bta_av_co_audio_delay(tBTA_AV_HNDL hndl, UINT16 delay) argument
1093 APPL_TRACE_ERROR("bta_av_co_audio_delay handle: x%x, delay:0x%x", hndl, delay);
/system/bt/btif/src/
H A Dbtif_rc.c758 * The reason for the delay could be sniff mode exit or some AVDTP procedure etc.
1179 /* delay sending to app, else there is a timing issue in the framework,
4237 struct timespec delay; local
4238 delay.tv_sec = timeout_ms / 1000;
4239 delay.tv_nsec = 1000 * 1000 * (timeout_ms % 1000);
4241 OSI_NO_INTR(nanosleep(&delay, &delay));
/system/bt/osi/test/
H A Dtime_test.cpp63 struct timespec delay; local
65 delay.tv_sec = TEST_TIME_SLEEP_MS / 1000;
66 delay.tv_nsec = 1000 * 1000 * (TEST_TIME_SLEEP_MS % 1000);
70 int err = nanosleep(&delay, &delay);
/system/bt/service/common/bluetooth/
H A Dscan_settings.h136 // Returns the report delay value in milliseconds.
138 void set_report_delay(const base::TimeDelta& delay) { argument
139 report_delay_ms_ = delay;
/system/bt/stack/avdt/
H A Davdt_api.c476 UINT16 AVDT_DelayReport(UINT8 handle, UINT8 seid, UINT16 delay) argument
491 evt.apidelay.delay = delay;
H A Davdt_msg.c105 AVDT_LEN_DELAY_RPT_MIN /* delay report */
118 AVDT_LEN_DELAY_RPT_MAX /* delay report */
131 AVDT_ERR_SERVICE /* delay report ?? */
156 avdt_msg_bld_delay_rpt /* delay report */
173 avdt_msg_bld_none /* delay report */
190 avdt_msg_prs_delay_rpt /* delay report */
207 avdt_msg_prs_none /* delay report */
224 AVDT_SCB_MSG_DELAY_RPT_CMD_EVT /* delay report */
241 AVDT_SCB_MSG_DELAY_RPT_RSP_EVT /* delay report */
258 0 /* delay repor
[all...]
/system/bt/stack/include/
H A Davdt_api.h222 UINT32 dlsr; /* delay since last SR */
324 UINT16 delay; /* Delay value */ member in struct:__anon942
620 extern UINT16 AVDT_DelayReport(UINT8 handle, UINT8 seid, UINT16 delay);

Completed in 548 milliseconds

12