/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/ |
pcm_ioplug.h | 189 * get the delay for the running PCM; optional 191 int (*delay)(snd_pcm_ioplug_t *io, snd_pcm_sframes_t *delayp); member in struct:snd_pcm_ioplug_callback
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
cciss_ioctl.h | 21 __u32 delay; member in struct:_cciss_coalint_struct
|
/system/extras/cpustats/ |
cpustats.c | 53 static int cpu_count, delay, iterations; variable 74 delay = 3; 95 delay = atoi(argv[++i]); 150 sleep(delay); 433 fprintf(stderr, "Usage %s [ -n iterations ] [ -d delay ] [ -c cpu ] [ -m ] [ -h ]\n"
|
/system/extras/latencytop/ |
latencytop.c | 69 int delay, iterations; local 74 delay = 1; 84 delay = atoi(argv[++i]); 141 sleep(delay); 410 fprintf(stderr, "Usage: %s [ -d delay ] [ -n iterations ] [ -p pid [ -t tid ] ] [ -h ]\n" 411 " -d delay Time to sleep between updates.\n"
|
/developers/build/prebuilts/gradle/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/ |
BatchStepSensorFragment.java | 78 For illustration we keep track of the last few events and show their delay from when the 102 // When a listener is registered, the batch sensor delay in microseconds 158 * selected delay, dismisses cards and unregisters the listener 217 * Register a {@link android.hardware.SensorEventListener} for the sensor and max batch delay. 218 * The maximum batch delay specifies the maximum duration in microseconds for which subsequent 220 * registered SensorEventListener. A larger delay allows the system to handle sensor events more 222 * capturing events. Once the max delay is reached, all stored events are delivered to the 223 * registered listener. Note that this value only specifies the maximum delay, the listener may 224 * receive events quicker. A delay of 0 disables batch mode and registers the listener in 226 * The optimium batch delay depends on the application. For example, a delay of 5 seconds o 407 final float delay = mEventDelays[index] \/ 1000f; \/\/ convert delay from ms into s local [all...] |
/developers/build/prebuilts/gradle/JobScheduler/Application/src/main/java/com/example/android/jobscheduler/ |
MainActivity.java | 126 String delay = mDelayEditText.getText().toString(); local 127 if (!TextUtils.isEmpty(delay)) { 128 builder.setMinimumLatency(Long.valueOf(delay) * 1000);
|
/developers/samples/android/background/JobScheduler/Application/src/main/java/com/example/android/jobscheduler/ |
MainActivity.java | 126 String delay = mDelayEditText.getText().toString(); local 127 if (!TextUtils.isEmpty(delay)) { 128 builder.setMinimumLatency(Long.valueOf(delay) * 1000);
|
/developers/samples/android/sensors/BatchStepSensor/Application/src/main/java/com/example/android/batchstepsensor/ |
BatchStepSensorFragment.java | 78 For illustration we keep track of the last few events and show their delay from when the 102 // When a listener is registered, the batch sensor delay in microseconds 158 * selected delay, dismisses cards and unregisters the listener 217 * Register a {@link android.hardware.SensorEventListener} for the sensor and max batch delay. 218 * The maximum batch delay specifies the maximum duration in microseconds for which subsequent 220 * registered SensorEventListener. A larger delay allows the system to handle sensor events more 222 * capturing events. Once the max delay is reached, all stored events are delivered to the 223 * registered listener. Note that this value only specifies the maximum delay, the listener may 224 * receive events quicker. A delay of 0 disables batch mode and registers the listener in 226 * The optimium batch delay depends on the application. For example, a delay of 5 seconds o 407 final float delay = mEventDelays[index] \/ 1000f; \/\/ convert delay from ms into s local [all...] |
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/ |
BatchStepSensorFragment.java | 78 For illustration we keep track of the last few events and show their delay from when the 102 // When a listener is registered, the batch sensor delay in microseconds 158 * selected delay, dismisses cards and unregisters the listener 217 * Register a {@link android.hardware.SensorEventListener} for the sensor and max batch delay. 218 * The maximum batch delay specifies the maximum duration in microseconds for which subsequent 220 * registered SensorEventListener. A larger delay allows the system to handle sensor events more 222 * capturing events. Once the max delay is reached, all stored events are delivered to the 223 * registered listener. Note that this value only specifies the maximum delay, the listener may 224 * receive events quicker. A delay of 0 disables batch mode and registers the listener in 226 * The optimium batch delay depends on the application. For example, a delay of 5 seconds o 407 final float delay = mEventDelays[index] \/ 1000f; \/\/ convert delay from ms into s local [all...] |
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/ |
MainActivity.java | 126 String delay = mDelayEditText.getText().toString(); local 127 if (!TextUtils.isEmpty(delay)) { 128 builder.setMinimumLatency(Long.valueOf(delay) * 1000);
|
/external/adhd/cras/src/tests/ |
cras_dsp_pipeline_unittest.cc | 87 /* If the module title is "mN", then use N as the delay. */ 88 int delay = 0; local 89 sscanf(data->title, "m%d", &delay); 90 return delay;
|
/external/f2fs-tools/tools/ |
f2fstat.c | 52 int delay; member in struct:options 186 " -d delay (secs)\n" 200 opt->delay = atoi(optarg); 283 .delay = 1, 307 sleep(opt.delay);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
ICUServiceThreadTest.java | 123 private final long delay; field in class:ICUServiceThreadTest.TestThread 125 public TestThread(String name, ICUService service, long delay) { 128 this.delay = delay; 141 if (delay > 0) { 142 Thread.sleep(delay); 197 RegisterFactoryThread(String name, ICUService service, long delay) { 198 super("REG " + name, service, delay); 213 UnregisterFactoryThread(String name, ICUService service, long delay) { 214 super("UNREG " + name, service, delay); [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
ICUServiceThreadTest.java | 120 private final long delay; field in class:ICUServiceThreadTest.TestThread 122 public TestThread(String name, ICUService service, long delay) { 125 this.delay = delay; 138 if (delay > 0) { 139 Thread.sleep(delay); 194 RegisterFactoryThread(String name, ICUService service, long delay) { 195 super("REG " + name, service, delay); 210 UnregisterFactoryThread(String name, ICUService service, long delay) { 211 super("UNREG " + name, service, delay); [all...] |
/external/libchrome/base/timer/ |
timer_unittest.cc | 65 const TimeDelta& delay = TimeDelta::FromMilliseconds(10)) 66 : did_run_(did_run), delay_(delay) {} 78 TimeDelta delay() const { return delay_; } function in class:base::__anon24399::OneShotTimerTesterBase 105 const TimeDelta& delay = TimeDelta::FromMilliseconds(10)) 106 : OneShotTimerTesterBase(did_run, delay), 127 EXPECT_GE(TimeTicks::Now() - started_time(), delay()); 157 explicit RepeatingTimerTester(WaitableEvent* did_run, const TimeDelta& delay) 161 delay_(delay) {} 249 const TimeDelta& delay) { 252 RepeatingTimerTester f(nullptr, delay); [all...] |
/external/libevent/test/ |
regress_thread.c | 262 struct timeval delay; member in struct:alerted_record 274 if (rec->delay.tv_sec || rec->delay.tv_usec) { 276 &rec->delay); 319 memcpy(&alerted[5].delay, &tv_timeout, sizeof(tv_timeout)); 320 memcpy(&alerted[6].delay, &tv_timeout, sizeof(tv_timeout));
|
/external/mesa3d/src/gallium/drivers/vc4/ |
vc4_qir_schedule.c | 55 uint32_t delay; member in struct:schedule_node 527 if (n->delay > chosen->delay) { 530 } else if (n->delay < chosen->delay) { 582 /* There are two QPU delay slots before we can 597 /** Recursive computation of the delay member of a node. */ 609 n->delay = 1000; 611 n->delay = 1; 614 if (!n->children[i]->delay) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_schedule_instructions.cpp | 85 * This is the sum of the instruction's latency plus the maximum delay of 88 int delay; member in class:schedule_node 801 this->delay = 0; 828 /** Computation of the delay member of each node. */ 834 n->delay = issue_time(n->inst); 837 assert(n->children[i]->delay); 838 n->delay = MAX2(n->delay, n->latency + n->children[i]->delay); [all...] |
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
aecm_core_c.c | 316 int delay; local 387 // Get the delay 388 // Save far-end history and estimate delay 396 delay = WebRtc_DelayEstimatorProcessFix(aecm->delay_estimator, 400 if (delay == -1) 404 else if (delay == -2) 406 // If the delay is unknown, we assume zero. 408 delay = 0; 413 // Use fixed delay 414 delay = aecm->fixedDelay [all...] |
/external/webrtc/webrtc/sound/ |
alsasoundsystem.cc | 143 snd_pcm_sframes_t delay; local 144 int err = symbol_table()->snd_pcm_delay()(handle_, &delay); 148 // We'd rather continue playout/capture with an incorrect delay than stop 152 // The delay is in frames. Convert to microseconds. 153 return delay * rtc::kNumMicrosecsPerSec / freq_; 317 // Check for more data with no delay, after any pending messages are
|
/frameworks/base/core/java/android/os/ |
Handler.java | 52 * to do so, or specify a delay before it gets processed or absolute time for 402 * Time spent in deep sleep will add an additional delay to execution. 425 * Time spent in deep sleep will add an additional delay to execution. 454 * Time spent in deep sleep will add an additional delay to execution. 457 * @param delayMillis The delay (in milliseconds) until the Runnable 478 * Time spent in deep sleep will add an additional delay to execution. 483 * @param delayMillis The delay (in milliseconds) until the Runnable 674 * Time spent in deep sleep will add an additional delay to execution. 911 long delay = expirationTime - SystemClock.uptimeMillis(); local [all...] |
/frameworks/base/services/core/java/com/android/server/connectivity/ |
PacManager.java | 274 long delay = getDownloadDelay(delayIndex); local 275 long timeTillTrigger = 1000 * delay + SystemClock.elapsedRealtime();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
LocaleTracker.java | 70 /** The minimum delay to get cell info from the modem */ 74 /** The maximum delay to get cell info from the modem */ 78 /** The delay for periodically getting cell info from the modem */ 302 * Get the delay time to get cell info from modem. The delay time grows exponentially to prevent 306 * @return The delay time for next get cell info 309 // Exponentially grow the delay time 310 long delay = CELL_INFO_MIN_DELAY_MS * (long) Math.pow(2, failCount - 1); local 311 if (delay < CELL_INFO_MIN_DELAY_MS) { 312 delay = CELL_INFO_MIN_DELAY_MS 350 long delay = getCellInfoDelayTime(++mFailCellInfoCount); local 353 sendMessageDelayed(obtainMessage(EVENT_GET_CELL_INFO), delay); local [all...] |
RetryManager.java | 43 * of delay times. The units of of these delay times is unspecified. 58 * for delay times which have no supplied randomizationTime. If 61 * The other parameters define The series of delay times and each 63 * delay time by a colon. 71 * the 4..10 retries all using 3000 as the delay: 101 * The default value (in milliseconds) for delay between APN trying (mInterApnDelay) 107 * The default value (in milliseconds) for delay between APN trying (mFailFastInterApnDelay) 123 * The value indicating modem did not suggest any retry delay 128 * If the modem suggests a retry delay in the data call setup response, we will retr 566 long delay; local [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
ImsServiceControllerTest.java | 449 long delay = mTestImsServiceController.getRebindDelay(); local 450 waitForHandlerActionDelayed(mHandler, delay, 2 * delay); 490 long delay = mTestImsServiceController.getRebindDelay(); local 491 waitForHandlerActionDelayed(mHandler, delay, 2 * delay); 513 long delay = mTestImsServiceController.getRebindDelay(); local 514 waitForHandlerActionDelayed(mHandler, delay, 2 * delay);
|