/external/ipsec-tools/src/racoon/ |
schedule.c | 106 static struct timeval timeout; local 125 timersub(&p->xtime, &now, &timeout); 127 return &timeout; 282 struct timeval *timeout; local 295 timeout = schedular(); 297 error = select(nfds, &rfds, (fd_set *)0, (fd_set *)0, timeout);
|
/external/libnfc-nxp/inc/ |
nfc_custom_config.h | 172 /* Macro to Enable the Host Side Link Timeout Configuration 174 * 0x01 ----> Update only the Host Link Guard Timeout Configuration; 175 * 0x03 ----> Update Both the Host Link Guard Timeout 176 and ACK Timeout Configuration; 187 /* Macro to Enable the Interface Character Timeout Configuration 189 * 0x01 ----> Update the IFC Timeout Default Configuration;
|
/external/webkit/Source/WebCore/page/ |
DOMTimer.cpp | 88 int DOMTimer::install(ScriptExecutionContext* context, PassOwnPtr<ScheduledAction> action, int timeout, bool singleShot) 93 DOMTimer* timer = new DOMTimer(context, action, timeout, singleShot); 95 InspectorInstrumentation::didInstallTimer(context, timer->m_timeoutId, timeout, singleShot); 102 // timeout IDs have to be positive, and 0 and -1 are unsafe to 187 double DOMTimer::intervalClampedToMinimum(int timeout, double minimumTimerInterval) const 189 double intervalMilliseconds = max(oneMillisecond, timeout * oneMillisecond);
|
/frameworks/base/libs/rs/ |
rsLocklessFifo.cpp | 140 void LocklessCommandFifo::setTimoutCallback(void (*cbk)(void *), void *data, uint64_t timeout) { 143 mTimeoutWait = timeout; 146 bool LocklessCommandFifo::wait(uint64_t timeout) { 149 return mSignalToWorker.wait(timeout); 154 const void * LocklessCommandFifo::get(uint32_t *command, uint32_t *bytesData, uint64_t timeout) { 157 wait(timeout);
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
PowerTestActivity.java | 38 public static final String PARAM_TIMEOUT = "Timeout"; 115 private void navigate(String url, int timeout) { 128 if(timeout != 0) { 129 //set a timer with specified timeout (in ms) 131 timeout); local 159 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress);
|
/libcore/luni/src/test/java/libcore/java/net/ |
OldAndroidDatagramTest.java | 165 // Regression test for issue 1018003: DatagramSocket ignored a set timeout. 168 int timeout = 5000; local 173 sock.setSoTimeout(timeout); 178 if (Math.abs(delay - timeout) > 1000) { 179 fail("timeout was not accurate. expected: " + timeout
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/pulse/ |
mainloop.h | 54 * that need to be monitored and calculate the next timeout. 88 on error or exit request. timeout specifies a maximum timeout for the subsequent 90 int pa_mainloop_prepare(pa_mainloop *m, int timeout); 95 /** Dispatch timeout, io and deferred events from the previously executed poll. Returns 123 typedef int (*pa_poll_func)(struct pollfd *ufds, unsigned long nfds, int timeout, void*userdata);
|
/frameworks/base/voip/java/android/net/sip/ |
SipSession.java | 395 * @param timeout the session will be timed out if the call is not 396 * established within {@code timeout} seconds. Default value (defined 397 * by SIP protocol) is used if {@code timeout} is zero or negative. 401 int timeout) { 403 mSession.makeCall(callee, sessionDescription, timeout); 415 * @param timeout the session will be timed out if the call is not 416 * established within {@code timeout} seconds. Default value (defined 417 * by SIP protocol) is used if {@code timeout} is zero or negative. 419 public void answerCall(String sessionDescription, int timeout) { 421 mSession.answerCall(sessionDescription, timeout); [all...] |
/external/grub/netboot/ |
main.c | 274 long timeout; local 277 timeout = rfc2131_sleep_interval (TIMEOUT, retry); 279 if (await_reply (AWAIT_ARP, arpentry, arpreq.tipaddr, timeout)) 330 long timeout; local 333 timeout = rfc2131_sleep_interval (block ? TFTP_REXMT : TIMEOUT, retry); 335 timeout = rfc2131_sleep_interval (TIMEOUT, retry); 338 if (! await_reply (AWAIT_TFTP, iport, NULL, timeout)) 507 long timeout; local 586 long timeout; local [all...] |
/external/dhcpcd/ |
client.c | 135 struct timeval timeout; member in struct:if_state 438 * We just set the timeout to 1 second. */ 485 timerclear(&state->timeout); 581 if (options->timeout > 0 && 585 state->stop.tv_sec = options->timeout; 589 state->exit.tv_sec = options->timeout; 652 timeval_to_double(&state->timeout)); 687 timerclear(&state->timeout); 688 /* We need to set a timeout so we fall through gracefully */ 724 if (timerisset(&state->timeout)) { [all...] |
/cts/tests/config_demo/data/result_rep/ |
cts_result.xsl | 30 .timeout {background-color : #febf00} 178 <TD class="timeout">timeout</TD> 180 <xsl:value-of select="TestResult/Summary/@timeout"/> 242 <xsl:if test="@result='timeout'"> 243 <TD class="timeout"> 246 <TD class="timeout"> 309 <xsl:if test="@result='timeout'"> 310 <TD class="timeout"> 313 <TD class="timeout"> [all...] |
/external/wpa_supplicant_8/src/utils/ |
eloop.h | 59 * eloop_timeout_handler - eloop timeout event callback type 174 * eloop_register_timeout - Register timeout 175 * @secs: Number of seconds to the timeout 176 * @usecs: Number of microseconds to the timeout 177 * @handler: Callback function to be called when timeout occurs 182 * Register a timeout that will cause the handler function to be called after 204 * eloop_is_timeout_registered - Check if a timeout is already registered 208 * Returns: 1 if the timeout is registered, 0 if the timeout is not registered 210 * Determine if a matching <handler,eloop_data,user_data> timeout is registere [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
MifareUltralight.java | 227 * Set the {@link #transceive} timeout in milliseconds. 229 * <p>The timeout only applies to {@link #transceive} on this object, 232 * <p>Setting a longer timeout may be useful when performing 238 * @param timeout timeout value in milliseconds 240 public void setTimeout(int timeout) { 243 TagTechnology.MIFARE_ULTRALIGHT, timeout); 245 throw new IllegalArgumentException("The supplied timeout is not valid"); 253 * Get the current {@link #transceive} timeout in milliseconds. 257 * @return timeout value in millisecond [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
RenderAction.java | 86 * @param timeout the time to wait if another rendering is happening. 93 public Result init(long timeout) { 96 Result result = acquireLock(timeout); 133 * The preparation can fail if another rendering took too long and the timeout was elapsed. 141 * @param timeout the time to wait if another rendering is happening. 149 public Result acquire(long timeout) { 156 Result result = acquireLock(timeout); 173 * @param timeout the time to wait if another rendering is happening. 179 private Result acquireLock(long timeout) { 183 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS) [all...] |
/external/chromium/chrome/browser/sync/engine/ |
syncer_thread2_unittest.cc | 88 TimeDelta timeout() { function in class:browser_sync::SyncerThread2Test 115 done->TimedWait(timeout()); 139 done->TimedWait(timeout()); 215 done.TimedWait(timeout()); 232 done.TimedWait(timeout()); 256 done.TimedWait(timeout()); 285 done.TimedWait(timeout()); 322 done1.TimedWait(timeout()); 324 done.TimedWait(timeout()); 360 done1.TimedWait(timeout()); [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ExecutorService.java | 161 * request, or the timeout occurs, or the current thread is 164 * @param timeout the maximum time to wait 165 * @param unit the time unit of the timeout argument 167 * <tt>false</tt> if the timeout elapsed before termination 170 boolean awaitTermination(long timeout, TimeUnit unit) 252 * when all complete or the timeout expires, whichever happens first. 262 * @param timeout the maximum time to wait 263 * @param unit the time unit of the timeout argument 277 long timeout, TimeUnit unit) 304 * an exception), if any do before the given timeout elapses [all...] |
/packages/apps/Nfc/jni/ |
com_android_nfc_NativeNfcManager.cpp | 94 // Polling Loop - Card Emulation Timeout 1729 int timeout = -1; local [all...] |
/external/kernel-headers/original/linux/sunrpc/ |
xprt.h | 44 * This describes a timeout strategy 47 unsigned long to_initval, /* initial timeout */ 48 to_maxval, /* max timeout */ 89 unsigned long rq_majortimeo; /* major timeout alarm */ 90 unsigned long rq_timeout; /* Current timeout value */ 126 struct rpc_timeout timeout; /* timeout parms */ member in struct:rpc_xprt
|
/frameworks/base/tests/CoreTests/android/core/ |
SocketTest.java | 162 // Regression for 916701, a wrong exception was thrown after timeout of 181 // Regression test for issue 1018016, connecting ignored a set timeout. 191 // int timeout = 5000; 194 // sock.connect(new InetSocketAddress(NON_EXISTING_ADDRESS, 80), timeout); 198 // if (Math.abs(delay - timeout) > 1000) { 199 // fail("timeout was not accurate. expected: " + timeout
|
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/ |
ReliabilityTestActivity.java | 43 public static final String PARAM_TIMEOUT = "Timeout"; 119 private void navigate(String url, int timeout) { 132 if(timeout != 0) { 133 //set a timer with specified timeout (in ms) 135 timeout); local 163 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress); 268 Log.v(LOGTAG, "JavaScript timeout, count=" + timeoutCounter);
|
/device/google/accessory/arduino/USB_Host_Shield/ |
Usb.cpp | 154 fe USB xfer timeout */
238 unsigned long timeout = millis() + USB_XFER_TIMEOUT;
local 255 while( rcode && ( timeout > millis())) {
266 return( rcode ); //return TIMEOUT
289 /* If nak_limit == 0, do not count NAKs, exit after timeout */
290 /* If bus timeout, re-sends up to USB_RETRY_LIMIT times */
291 /* return codes 0x00-0x0f are HRSLT( 0x00 being success ), 0xff means timeout */
294 unsigned long timeout = millis() + USB_XFER_TIMEOUT;
local 300 while( timeout > millis() ) {
303 while( millis() < timeout ) { //wait for transfer completion [all...] |
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
AbstractConnPool.java | 145 * Obtains a pool entry with a connection within the given timeout. 148 * @param timeout the timeout, 0 or negative for no timeout 149 * @param tunit the unit for the <code>timeout</code>, 150 * may be <code>null</code> only if there is no timeout 155 * if the timeout expired 163 long timeout, 166 return requestPoolEntry(route, state).getPoolEntry(timeout, tunit);
|
/external/llvm/tools/bugpoint/ |
ToolRunner.cpp | 138 unsigned Timeout = 0, 154 ErrorFilename, Timeout, MemoryLimit); 192 unsigned Timeout = 0, 204 unsigned Timeout, 234 Timeout, MemoryLimit, Error); 269 unsigned Timeout = 0, 281 unsigned Timeout = 0, 291 unsigned Timeout, 308 Timeout, MemoryLimit, Error)) 310 Timeout, MemoryLimit) [all...] |
/hardware/broadcom/wlan/bcm4329/wpa_supplicant_8_lib/ |
driver_cmd_wext.c | 35 * wpa_driver_wext_set_scan_timeout - Set scan timeout to report scan completion 38 * This function can be used to set registered timeout when starting a scan to 44 int timeout = 10; /* In case scan A and B bands it can be long */ local 47 * read results after a timeout. */ 51 * when scan is complete, so use longer timeout to avoid race 54 timeout = 30; 56 wpa_printf(MSG_DEBUG, "Scan requested - scan timeout %d seconds", 57 timeout); 59 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, drv,
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_wext.c | 36 * wpa_driver_wext_set_scan_timeout - Set scan timeout to report scan completion 39 * This function can be used to set registered timeout when starting a scan to 45 int timeout = 10; /* In case scan A and B bands it can be long */ local 48 * read results after a timeout. */ 52 * when scan is complete, so use longer timeout to avoid race 55 timeout = 30; 57 wpa_printf(MSG_DEBUG, "Scan requested - scan timeout %d seconds", 58 timeout); 60 eloop_register_timeout(timeout, 0, wpa_driver_wext_scan_timeout, drv,
|