/frameworks/volley/src/com/android/volley/ |
DefaultRetryPolicy.java | 23 /** The current timeout in milliseconds. */ 35 /** The default socket timeout in milliseconds */ 53 * @param initialTimeoutMs The initial timeout for the policy. 64 * Returns the current timeout. 80 * Prepares for the next retry by applying a backoff to the timeout.
|
/development/host/windows/usb/winusb/ |
adb_winusb_endpoint_object.h | 89 @param[in] time_out A timeout (in milliseconds) required for this I/O to
91 timeout set for this I/O.
108 @param[in] time_out A timeout (in milliseconds) required for this I/O to
110 timeout set for this I/O.
125 /** \brief Sets read / write operation timeout.
127 @param[in] timeout Timeout value in milliseconds to use for current read
129 not timeout at all. Note that timeout that is set with this method is
134 WinUsb framework will accept a timeout parameter in WinUsb_Read/Write [all...] |
/external/chromium_org/chrome/test/pyautolib/chromeos/ |
power_strip.py | 22 TIMEOUT = 10 81 tn.open(self._host, timeout=PowerStrip.TIMEOUT) 82 resp = tn.read_until('Username:', timeout=PowerStrip.TIMEOUT) 86 resp = tn.read_until('Password:', timeout=PowerStrip.TIMEOUT) 90 resp = tn.read_until('Switched CDU:', timeout=PowerStrip.TIMEOUT) 99 resp = tn.read_until('Switched CDU:', timeout=PowerStrip.TIMEOUT [all...] |
/external/chromium_org/tools/site_compare/scrapers/ie/ |
ie7.py | 67 def Scrape(urls, outdir, size, pos, timeout=20, **kwargs): 75 timeout: amount of time to wait for page to load 105 tab_window, (6, 8, 22, 24), timeout) 127 return "timeout" 130 def Time(urls, size, timeout, **kwargs): 136 timeout: amount of time to wait for page to load 140 A list of tuples (url, time). "time" can be "crashed" or "timeout" 166 tab_window, (6, 8, 22, 24), timeout) 170 load_time = "timeout" 175 if not windowing.WaitForProcessExit(proc, timeout) [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
Uninterruptibles.java | 34 * continues to block until the result is available or the timeout elapses, 43 // Implementation Note: As of 3-7-11, the logic for each blocking/timeout 71 * await(timeout, unit)} uninterruptibly. 74 long timeout, TimeUnit unit) { 77 long remainingNanos = unit.toNanos(timeout); 146 * {@code future.}{@link Future#get(long, TimeUnit) get(timeout, unit)} 154 Future<V> future, long timeout, TimeUnit unit) 158 long remainingNanos = unit.toNanos(timeout); 180 * timedJoin(toJoin, timeout)} uninterruptibly. 183 long timeout, TimeUnit unit) [all...] |
/external/iptables/iptables/ |
iptables-apply | 13 TIMEOUT=10 52 -t | --timeout Specify the timeout in seconds (default: $TIMEOUT) 59 LONGOPTS="timeout:,version,help"; 68 eval TIMEOUT=$opt 69 case "$TIMEOUT" in 72 echo "E: non-numeric timeout value." >&2 84 (-t|--timeout) OPT_STATE=SET_TIMEOUT;; 150 read -n1 -t "${TIMEOUT:-15}" ret 2>&1 || [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
ServReqMultiClientTestCase03.java | 47 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 57 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 67 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 100 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { 109 Timeout t = new Timeout(TIMEOUT);
|
/external/chromium_org/base/test/ |
test_timeouts.cc | 38 int timeout; local 39 base::StringToInt(string_value, &timeout); 40 *value = std::max(*value, timeout); 60 // The timeout values should increase in the order they appear in this block. 98 // Test launcher timeout is independent from anything above action timeout. 102 // The timeout values should be increasing in the right order.
|
/external/iptables/libipq/ |
ipq_read.3 | 27 .BI "ssize_t ipq_read(const struct ipq_handle *" h ", unsigned char *" buf ", size_t " len ", int " timeout ");" 50 .I timeout 51 parameter may be used to set a timeout for the operation, specified in microseconds. 55 with no timeout. A negative value causes the function to return immediately. 67 On success, a non-zero positive value is returned when no timeout 70 On success with a timeout value specified, zero is returned if no data 99 Joost Remijn implemented the timeout feature, which appeared in the 1.2.4 release of iptables.
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/ |
Connection.h | 83 * @param timeout Timeout in milliseconds 86 * @return -2 if no data available, i.e. timeout 88 virtual size_t readData(void *buffer, uint32_t len, int32_t timeout); 112 * @param timeout Timeout in milliseconds 116 virtual int waitData(int32_t timeout);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
taskrunner.cc | 59 // the task we just started could be about to timeout -- 60 // make sure our "next timeout task" is correct 130 // for any timeout changes (but don't call this 165 // the next timeout-able task hasn't changed. The logic in this function 179 // if the relevant task has a timeout, then 181 // "about to timeout" task 188 // otherwise, if the task doesn't have a timeout, 189 // and it used to be our "about to timeout" task, 191 // "about to timeout" task 208 // it has the closest timeout tim [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
taskrunner.cc | 59 // the task we just started could be about to timeout -- 60 // make sure our "next timeout task" is correct 130 // for any timeout changes (but don't call this 165 // the next timeout-able task hasn't changed. The logic in this function 179 // if the relevant task has a timeout, then 181 // "about to timeout" task 188 // otherwise, if the task doesn't have a timeout, 189 // and it used to be our "about to timeout" task, 191 // "about to timeout" task 208 // it has the closest timeout tim [all...] |
/external/v8/test/mjsunit/ |
mjsunit.status | 56 array-constructor: PASS || TIMEOUT 59 unicode-case-overoptimization: PASS, TIMEOUT if ($arch == arm || $arch == mips) 61 # Skip long running test in debug and allow it to timeout in release mode. 62 regress/regress-524: (PASS || TIMEOUT), SKIP if $mode == debug 90 compiler/regress-stacktrace-methods: PASS, PASS || TIMEOUT if $mode == release 91 array-splice: PASS || TIMEOUT 94 mirror-object: PASS || TIMEOUT 95 string-indexof-2: PASS || TIMEOUT 98 # tests. Skipping because having them timeout takes too long on the 139 compiler/regress-stacktrace-methods: PASS, PASS || TIMEOUT if $mode == releas [all...] |
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
dbus_common.c | 160 DBusTimeout *timeout = sock_ctx; local 161 dbus_timeout_handle(timeout); 165 static dbus_bool_t add_timeout(DBusTimeout *timeout, void *data) 168 if (!dbus_timeout_get_enabled(timeout)) 171 eloop_register_timeout(0, dbus_timeout_get_interval(timeout) * 1000, 172 process_timeout, priv, timeout); 174 dbus_timeout_set_data(timeout, priv, NULL); 180 static void remove_timeout(DBusTimeout *timeout, void *data) 183 eloop_cancel_timeout(process_timeout, priv, timeout); 184 dbus_timeout_set_data(timeout, NULL, NULL) [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
UsbDeviceConnection.java | 123 * @param timeout in milliseconds 128 int index, byte[] buffer, int length, int timeout) { 129 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout); 148 * @param timeout in milliseconds 153 byte[] buffer, int offset, int length, int timeout) { 156 buffer, offset, length, timeout); 171 * @param timeout in milliseconds 176 byte[] buffer, int length, int timeout) { 177 return bulkTransfer(endpoint, buffer, 0, length, timeout); 188 * @param timeout in millisecond [all...] |
/external/chromium_org/net/dns/ |
dns_session.cc | 25 // Never exceed max timeout. 27 // Set min timeout, in case we are talking to a local DNS proxy. 32 // Target percentile in the RTT histogram used for retransmission timeout. 41 // Seed histogram with 2 samples at |rtt_estimate| timeout. 48 // Last time when server returned failure or timeout. 94 server_stats_.push_back(new ServerStats(config_.timeout, 214 // Respect config timeout if it exceeds |kMaxTimeoutMs|. 215 if (config_.timeout.InMilliseconds() >= kMaxTimeoutMs) 216 return config_.timeout; 255 base::TimeDelta timeout = server_stats_[server_index]->rtt_estimate local 286 base::TimeDelta timeout = local [all...] |
dns_session_unittest.cc | 227 // Expect default calculated timeout to be within 10ms of in DnsConfig. 230 base::TimeDelta timeoutDelta = session_->NextTimeout(0, 0) - config_.timeout; 234 // Expect short calculated timeout to be within 10ms of in DnsConfig. 236 config_.timeout = base::TimeDelta::FromMilliseconds(15); 238 base::TimeDelta timeoutDelta = session_->NextTimeout(0, 0) - config_.timeout; 242 // Expect long calculated timeout to be equal to one in DnsConfig. 244 config_.timeout = base::TimeDelta::FromSeconds(15); 246 base::TimeDelta timeout = session_->NextTimeout(0, 0); local 247 EXPECT_EQ(config_.timeout.InMilliseconds(), timeout.InMilliseconds()) [all...] |
/external/jmdns/src/javax/jmdns/ |
JmDNS.java | 188 * Get service information. If the information is not cached, the method will block for the given timeout until updated information is received. 190 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive. 196 * @param timeout 197 * timeout in milliseconds. Typical timeout should be 5s. 200 public abstract ServiceInfo getServiceInfo(String type, String name, long timeout); 218 * Get service information. If the information is not cached, the method will block for the given timeout until updated information is received. 220 * Usage note: If you call this method from the AWT event dispatcher thread, use a small timeout, or you will make the user interface unresponsive. 226 * @param timeout 227 * timeout in milliseconds. Typical timeout should be 5s [all...] |
/frameworks/base/core/java/android/net/ |
LinkSocket.java | 137 * @param timeout the timeout value in milliseconds or 0 for infinite timeout 141 * @throws SocketTimeoutException if the timeout fires 143 public void connect(String dstName, int dstPort, int timeout) 145 if (DBG) log("connect(dstName, dstPort, timeout) EX"); 159 if (DBG) log("connect(dstName, dstPort, timeout) EX"); 164 * by the SocketAddress with the specified timeout. 165 * @deprecated Use {@code connect(String dstName, int dstPort, int timeout)} 171 * @throws SocketTimeoutException if the timeout expire [all...] |
/cts/tests/tests/database/src/android/database/cts/ |
ContentObserverTest.java | 52 final long timeout = 1000L; local 58 assertTrue(contentObserver.hasChanged(timeout)); 66 assertTrue(contentObserver.hasChanged(timeout)); 96 final long timeout = 1000L; local 102 assertTrue(contentObserver.hasChanged(timeout)); 111 assertTrue(contentObserver.hasChanged(timeout)); 141 protected synchronized boolean hasChanged(long timeout) throws InterruptedException { 143 wait(timeout); 186 protected synchronized boolean hasChanged(long timeout) throws InterruptedException { 188 wait(timeout); [all...] |
/external/apache-http/src/org/apache/http/params/ |
CoreConnectionPNames.java | 45 * Defines the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the 46 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite 47 * timeout. This value is used when no socket timeout is set in the 54 public static final String SO_TIMEOUT = "http.socket.timeout"; 79 * Sets SO_LINGER with the specified linger time in seconds. The maximum timeout 91 * Determines the timeout until a connection is etablished. A value of zero 92 * means the timeout is not used. The default value is zero. 97 public static final String CONNECTION_TIMEOUT = "http.connection.timeout"; [all...] |
/external/chromium_org/base/ |
sync_socket_posix.cc | 123 TimeDelta timeout) { 132 // return a timeout error (0) if not. See http://crbug.com/314364. 137 DCHECK_GT(timeout.InMicroseconds(), 0); 138 DCHECK_LT(timeout.InMicroseconds(), 141 // Track the start time so we can reduce the timeout as data is read. 143 const TimeTicks finish_time = start_time + timeout; 148 bytes_read_total < length && timeout.InMicroseconds() > 0; 149 timeout = finish_time - base::TimeTicks::Now()) { 155 { 0, static_cast<suseconds_t>(timeout.InMicroseconds()) }; 158 // Handle EINTR manually since we need to update the timeout value [all...] |
/frameworks/av/libvideoeditor/osal/src/ |
M4OSA_Mutex.c | 119 * "timeout" is reached. This is a blocking call. 121 * @param timeout:(IN) Time out in milliseconds 129 M4OSA_ERR M4OSA_mutexLock(M4OSA_Context context, M4OSA_UInt32 timeout) 138 context, timeout); 154 if ( M4OSA_WAIT_FOREVER == timeout) 165 while ( ( EBUSY == result ) && ( 0 < timeout ) ) 168 if (1 <= timeout) 171 timeout -= 1; 175 ts.tv_nsec = timeout * 1000000; 176 timeout = 0 [all...] |
M4OSA_Semaphore.c | 118 * @note If "timeout" value is M4OSA_WAIT_FOREVER, the calling thread 121 * @param timeout:(IN) Time out in milliseconds 129 M4OSA_ERR M4OSA_semaphoreWait(M4OSA_Context context, M4OSA_Int32 timeout) 137 context, timeout); 145 if ( (M4OSA_Int32)M4OSA_WAIT_FOREVER == timeout) 158 while ( ((EBUSY == result) || (EAGAIN == result)) && ( 0 < timeout ) ) 161 if (1 <= timeout) 164 timeout -= 1; 168 ts.tv_nsec = timeout * 1000000; 169 timeout = 0 [all...] |
/frameworks/base/core/java/android/nfc/tech/ |
NfcA.java | 132 * Set the {@link #transceive} timeout in milliseconds. 134 * <p>The timeout only applies to {@link #transceive} on this object, 137 * <p>Setting a longer timeout may be useful when performing 143 * @param timeout timeout value in milliseconds 145 public void setTimeout(int timeout) { 147 int err = mTag.getTagService().setTimeout(TagTechnology.NFC_A, timeout); 149 throw new IllegalArgumentException("The supplied timeout is not valid"); 157 * Get the current {@link #transceive} timeout in milliseconds. 161 * @return timeout value in millisecond [all...] |