HomeSort by relevance Sort by last modified time
    Searched full:timeout (Results 176 - 200 of 5099) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/base/core/java/android/nfc/tech/
NfcF.java 131 * Set the {@link #transceive} timeout in milliseconds.
133 * <p>The timeout only applies to {@link #transceive} on this object,
136 * <p>Setting a longer timeout may be useful when performing
142 * @param timeout timeout value in milliseconds
144 public void setTimeout(int timeout) {
146 int err = mTag.getTagService().setTimeout(TagTechnology.NFC_F, timeout);
148 throw new IllegalArgumentException("The supplied timeout is not valid");
156 * Get the current {@link #transceive} timeout in milliseconds.
160 * @return timeout value in millisecond
    [all...]
  /external/chromium_org/build/android/pylib/gtest/
test_runner.py 47 timeout = test_options.timeout
48 if timeout == 0:
49 timeout = 60
50 # On a VM (e.g. chromium buildbots), this timeout is way too small.
52 timeout = timeout * 2
54 self._timeout = timeout * self.tool.GetTimeoutScale()
110 timeout=self._timeout)
117 found = p.expect([re_ok, re_fail, re_crash], timeout=self._timeout
    [all...]
  /external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
CallbackHelper.java 86 * // can throw an exception if the callback doesn't arrive within the timeout.
164 * @param timeout timeout value. We will wait the specified amount of time for a single
166 * <code>numberOfCallsToWaitFor * timeout</code> units.
167 * @param unit timeout unit.
171 public void waitForCallback(int currentCallCount, int numberOfCallsToWaitFor, long timeout,
179 mLock.wait(unit.toMillis(timeout));
201 * @param timeout timeout value.
202 * @param unit timeout unit
    [all...]
  /system/netd/
IdletimerController.cpp 44 * iptables -t raw -A idletimer_PREROUTING -i rmnet0 -j IDLETIMER --timeout 5 --label test-chain --send_nl_msg 1
45 * iptables -t mangle -A idletimer_POSTROUTING -o rmnet0 -j IDLETIMER --timeout 5 --label test-chain --send_nl_msg 1
55 * ndc idletimer add <iface> <timeout> <class label>
56 * ndc idletimer remove <iface> <timeout> <class label>
62 * Remember that the timeout value has to be same at the time of the
174 uint32_t timeout,
179 snprintf(timeout_str, sizeof(timeout_str), "%u", timeout);
191 "--timeout",
213 "--timeout",
226 uint32_t timeout,
    [all...]
  /external/jmdns/src/javax/jmdns/
JmmDNS.java 164 * 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.
170 * @param timeout
171 * timeout in milliseconds. Typical timeout should be 5s.
175 public abstract ServiceInfo[] getServiceInfos(String type, String name, long timeout);
180 * 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 * 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.
202 * @param timeout
203 * timeout in milliseconds. Typical timeout should be 5s
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
ListenerTest.java 58 * the specified timeout.
61 * @param msec timeout.
73 * within the specified timeout.
76 * @param msec timeout.
163 Timeout t = new Timeout(msec);
ServReqMultiClientTestCase01.java 52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
102 Timeout t = new Timeout(TIMEOUT);
ServReqMultiClientTestCase02.java 52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
102 Timeout t = new Timeout(TIMEOUT);
  /external/chromium_org/native_client_sdk/src/tools/tests/
httpd_test.py 48 def _Run(self, args=None, timeout=None):
60 thread.join(timeout)
84 _, stdout, _ = self._Run(args, timeout=20)
91 returncode, stdout, _ = self._Run(args, timeout=10)
97 returncode, stdout, _ = self._Run(args, timeout=20)
104 returncode, stdout, _ = self._Run(args, timeout=20)
  /external/guava/guava/src/com/google/common/util/concurrent/
ForwardingExecutorService.java 48 public boolean awaitTermination(long timeout, TimeUnit unit)
50 return delegate().awaitTermination(timeout, unit);
61 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
63 return delegate().invokeAll(tasks, timeout, unit);
74 Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
76 return delegate().invokeAny(tasks, timeout, unit);
  /external/junit/src/org/junit/internal/runners/
MethodRoadie.java 45 long timeout= fTestMethod.getTimeout(); local
46 if (timeout > 0)
47 runWithTimeout(timeout);
55 private void runWithTimeout(final long timeout) {
69 boolean terminated= service.awaitTermination(timeout,
75 addFailure(new Exception(String.format("test timed out after %d milliseconds", timeout)));
  /external/qemu/distrib/sdl-1.2.15/src/thread/riscos/
SDL_syssem.c 53 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout)
145 int SDL_SemWaitTimeout(SDL_sem *sem, Uint32 timeout)
155 if ( timeout == 0 ) {
158 if ( timeout == SDL_MUTEX_MAXWAIT ) {
163 timeout += SDL_GetTicks();
170 } while ( SDL_GetTicks() < timeout );
  /external/qemu/
iolooper-select.c 196 // Indicates timeout
234 int64_t timeout = deadline - iolooper_now(); local
236 /* If the deadline has passed, set the timeout to 0, this allows us
238 if (timeout < 0)
239 timeout = 0;
241 return iolooper_wait(iol, timeout);
  /external/valgrind/main/coregrind/m_mach/
mach_msg.c 56 mach_msg_timeout_t timeout,
60 mach_msg(msg, option, send_size, rcv_size, rcv_name, timeout, notify)
66 mach_msg_timeout_t timeout;
85 timeout, notify);
94 timeout, notify);
101 timeout, notify);
  /frameworks/base/core/java/android/os/
ConditionVariable.java 107 * timeout milliseconds have passed.
112 * @param timeout the minimum time to wait in milliseconds.
115 * because of the timeout.
117 public boolean block(long timeout)
122 if (timeout != 0) {
125 long end = now + timeout;
  /frameworks/base/core/java/com/android/server/
ResettableTimeout.java 24 * Utility class that you can call on with a timeout, and get called back
25 * after a given time, dealing correctly with restarting the timeout.
49 * <p>3. At the timeout, calls off()<p>
50 * <p>If you call this again, the timeout is reset to the new one</p>
73 // poke the thread so it gets the new timeout.
81 * Cancel the timeout and call off now.
  /packages/apps/Stk/src/com/android/stk/
ToneDialog.java 60 // Message id to signal tone duration timeout.
91 int timeout = StkApp.calculateDurationInMilis(settings.duration); local
92 if (timeout == 0) {
93 timeout = StkApp.TONE_DFEAULT_TIMEOUT;
95 mToneStopper.sendEmptyMessageDelayed(MSG_ID_STOP_TONE, timeout);
97 mVibrator.vibrate(timeout);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DictionaryPool.java 34 * As a deadlock-detecting device, if waiting for more than TIMEOUT = 3 seconds, we
43 private final static int TIMEOUT = 3;
82 public DictAndKeyboard poll(final long timeout, final TimeUnit unit)
88 // Our pool is already full. Wait until some dictionary is ready, or TIMEOUT
90 final DictAndKeyboard result = super.poll(timeout, unit);
109 return poll(TIMEOUT, TimeUnit.SECONDS);
  /bionic/libc/private/
bionic_futex.h 36 extern int __futex_wait(volatile void *ftx, int val, const struct timespec *timeout);
40 extern int __futex_syscall4(volatile void *ftx, int op, int val, const struct timespec *timeout);
58 extern int __futex_wait_ex(volatile void *ftx, int pshared, int val, const struct timespec *timeout);
  /cts/tools/tradefed-host/tests/src/com/android/cts/tradefed/result/
TestSummaryXmlTest.java 33 "<Summary failed=\"1\" notExecuted=\"2\" pass=\"3\" timeout=\"4\"/>" +
38 "<Foo failed=\"1\" notExecuted=\"2\" pass=\"3\" timeout=\"4\"/>" +
53 // expect failed and timeout to be summed
  /development/host/windows/usb/api/
adb_endpoint_object.h 69 @param[in] time_out A timeout (in milliseconds) required for this I/O to
71 timeout set for this I/O.
88 @param[in] time_out A timeout (in milliseconds) required for this I/O to
90 timeout set for this I/O.
121 @param[in] time_out A timeout (in milliseconds) required for this I/O to
123 timeout set for this I/O.
141 @param[in] time_out A timeout (in milliseconds) required for this I/O to
143 timeout set for this I/O.
158 @param[in] time_out A timeout (in milliseconds) required for this I/O to
160 timeout set for this I/O.
    [all...]
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
JavascriptEventObserver.java 32 * Wait for the javascript event happen for specific time, there is no timeout parameter,
46 * Wait for the javascript event happen, there is no timeout parameter, you usually
47 * should depend on unit test's timeout.
  /external/chromium_org/chrome/browser/extensions/token_cache/
token_cache_service.h 27 // when the user logs out or after the specified timeout interval, or when
36 // the name given here, and we will expire the token after the timeout. For a
37 // timeout of 0, we never expire the token. After time_to_live expires, the
  /external/chromium_org/chrome/test/chromedriver/chrome/
devtools_client.h 48 // If the condition is not met within |timeout|, kTimeout status
49 // is returned eventually. If |timeout| is 0, this function will not block.
51 const base::TimeDelta& timeout) = 0;
  /external/chromium_org/chrome/test/remoting/
waiter.h 22 explicit TimeoutWaiter(base::TimeDelta timeout);
49 ConditionalTimeoutWaiter(base::TimeDelta timeout,
54 // Returns true if |callback_| returned true and false in case of timeout.

Completed in 749 milliseconds

1 2 3 4 5 6 78 91011>>