HomeSort by relevance Sort by last modified time
    Searched refs:timeout (Results 451 - 475 of 2264) sorted by null

<<11121314151617181920>>

  /external/mesa3d/src/mesa/main/
syncobj.h 72 _mesa_ClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
75 _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
  /external/qemu/android/
sync-utils.c 54 syncsocket_connect(int fd, SockAddress* sockaddr, int timeout)
74 connect_status = iolooper_wait(looper, timeout);
199 syncsocket_read(SyncSocket* ssocket, void* buf, size_t size, int timeout)
201 return syncsocket_read_absolute(ssocket, buf, size, iolooper_now() + timeout);
223 // Timeout.
252 syncsocket_write(SyncSocket* ssocket, const void* buf, size_t size, int timeout)
254 return syncsocket_write_absolute(ssocket, buf, size, iolooper_now() + timeout);
283 syncsocket_read_line(SyncSocket* ssocket, char* buffer, size_t size, int timeout)
286 iolooper_now() + timeout);
  /external/smack/src/org/jivesoftware/smack/
PacketCollector.java 127 * until a packet is available or the <tt>timeout</tt> has elapased. If the
128 * timeout elapses without a result, <tt>null</tt> will be returned.
130 * @param timeout the amount of time to wait for the next packet (in milleseconds).
133 public Packet nextResult(long timeout) {
135 return resultQueue.poll(timeout, TimeUnit.MILLISECONDS);
  /external/smack/src/org/jivesoftware/smack/util/
SyncPacketSend.java 35 static public Packet getReply(Connection connection, Packet packet, long timeout)
44 Packet result = response.nextResult(timeout);
  /external/smack/src/org/jivesoftware/smackx/pubsub/packet/
SyncPacketSend.java 35 static public Packet getReply(Connection connection, Packet packet, long timeout)
44 Packet result = response.nextResult(timeout);
  /frameworks/base/core/java/android/bluetooth/
BluetoothServerSocket.java 114 * timeout
121 * Block until a connection is established, with timeout.
128 * timeout
130 public BluetoothSocket accept(int timeout) throws IOException {
131 return mSocket.accept(timeout);
  /frameworks/base/core/java/android/nfc/
INfcTag.aidl 43 int setTimeout(int technology, int timeout);
  /frameworks/base/core/java/android/nfc/tech/
IsoDep.java 81 * Set the timeout of {@link #transceive} in milliseconds.
82 * <p>The timeout only applies to ISO-DEP {@link #transceive}, and is
84 * <p>Setting a longer timeout may be useful when performing
90 * @param timeout timeout value in milliseconds
92 public void setTimeout(int timeout) {
94 int err = mTag.getTagService().setTimeout(TagTechnology.ISO_DEP, timeout);
96 throw new IllegalArgumentException("The supplied timeout is not valid");
104 * Get the current timeout for {@link #transceive} in milliseconds.
108 * @return timeout value in millisecond
    [all...]
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...]
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...]
  /frameworks/base/core/tests/coretests/src/android/os/
TestHandlerThread.java 35 public void doTest(long timeout) {
40 long endTime = now + timeout;
  /frameworks/native/services/sensorservice/
SensorDevice.h 48 BatchParams(int flag, nsecs_t delay, nsecs_t timeout): flags(flag), batchDelay(delay),
49 batchTimeout(timeout) { }
56 // Store batch parameters in the KeyedVector and the optimal batch_rate and timeout in
58 // vector. A continuous mode request is batch(... timeout=0 ..) followed by activate(). A batch
59 // mode request is batch(... timeout > 0 ...) followed by activate().
90 // Call batch with timeout zero instead of calling setDelay() for newer devices.
  /frameworks/opt/net/voip/src/java/com/android/server/sip/
SipWakeLock.java 42 synchronized void acquire(long timeout) {
48 mTimerWakeLock.acquire(timeout);
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
Queue.py 107 def put(self, item, block=True, timeout=None):
110 If optional args 'block' is true and 'timeout' is None (the default),
111 block if necessary until a free slot is available. If 'timeout' is
112 a positive number, it blocks at most 'timeout' seconds and raises
115 is immediately available, else raise the Full exception ('timeout'
124 elif timeout is None:
127 elif timeout < 0:
128 raise ValueError("'timeout' must be a positive number")
130 endtime = _time() + timeout
150 def get(self, block=True, timeout=None)
    [all...]
SocketServer.py 192 - timeout
204 timeout = None variable in class:BaseServer
225 self.timeout. If you need to do periodic tasks, do them in
267 Respects self.timeout.
270 # handle_request before self.timeout was available.
271 timeout = self.socket.gettimeout()
272 if timeout is None:
273 timeout = self.timeout
274 elif self.timeout is not None
510 timeout = 300 variable in class:ForkingMixIn
686 timeout = None variable in class:StreamRequestHandler
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
Queue.py 107 def put(self, item, block=True, timeout=None):
110 If optional args 'block' is true and 'timeout' is None (the default),
111 block if necessary until a free slot is available. If 'timeout' is
112 a positive number, it blocks at most 'timeout' seconds and raises
115 is immediately available, else raise the Full exception ('timeout'
124 elif timeout is None:
127 elif timeout < 0:
128 raise ValueError("'timeout' must be a positive number")
130 endtime = _time() + timeout
150 def get(self, block=True, timeout=None)
    [all...]
SocketServer.py 192 - timeout
204 timeout = None variable in class:BaseServer
225 self.timeout. If you need to do periodic tasks, do them in
267 Respects self.timeout.
270 # handle_request before self.timeout was available.
271 timeout = self.socket.gettimeout()
272 if timeout is None:
273 timeout = self.timeout
274 elif self.timeout is not None
510 timeout = 300 variable in class:ForkingMixIn
686 timeout = None variable in class:StreamRequestHandler
    [all...]
  /external/jmdns/src/javax/jmdns/impl/
JmmDNSImpl.java 180 public ServiceInfo[] getServiceInfos(String type, String name, long timeout) {
181 return this.getServiceInfos(type, name, false, timeout);
198 public ServiceInfo[] getServiceInfos(final String type, final String name, final boolean persistent, final long timeout) {
199 // We need to run this in parallel to respect the timeout.
209 result.add(mDNS.getServiceInfo(type, name, persistent, timeout));
215 executor.awaitTermination(timeout, TimeUnit.MILLISECONDS);
245 public void requestServiceInfo(String type, String name, long timeout) {
246 this.requestServiceInfo(type, name, false, timeout);
254 public void requestServiceInfo(final String type, final String name, final boolean persistent, final long timeout) {
255 // We need to run this in parallel to respect the timeout
    [all...]
  /external/chromium_org/build/android/pylib/gtest/
test_package_apk.py 60 def _WatchFifo(self, adb, timeout, logfile=None):
71 return pexpect.spawn('adb', args, timeout=timeout, logfile=logfile)
105 p = self._WatchFifo(adb, timeout=30 * self.tool.GetTimeoutScale())
123 return self._WatchFifo(adb, timeout=10, logfile=logfile)
  /external/chromium_org/chrome/test/base/
tracing.cc 54 bool WaitForWatchEvent(base::TimeDelta timeout) {
59 if (timeout != base::TimeDelta()) {
60 timer_.Start(FROM_HERE, timeout, this,
61 &InProcessTraceController::Timeout);
139 void Timeout() {
171 bool WaitForWatchEvent(base::TimeDelta timeout) {
172 return InProcessTraceController::GetInstance()->WaitForWatchEvent(timeout);
  /external/chromium_org/chrome/test/chromedriver/net/
sync_websocket_impl.cc 35 std::string* message, const base::TimeDelta& timeout) {
36 return core_->ReceiveNextMessage(message, timeout);
77 const base::TimeDelta& timeout) {
79 base::TimeTicks deadline = base::TimeTicks::Now() + timeout;
80 base::TimeDelta next_wait = timeout;
  /external/chromium_org/chrome/test/pyautolib/
pyautolib.cc 109 int timeout) {
123 timeout)) {
125 base::TimeDelta::FromMilliseconds(timeout),
149 const base::TimeDelta& timeout,
151 // TODO(craigdh): Determine timeout directly from IPC's Send().
152 if (duration >= timeout) {
  /external/chromium_org/content/browser/renderer_host/media/
audio_sync_reader.cc 128 base::TimeDelta timeout = maximum_wait_time_; local
130 const base::TimeTicks finish_time = start_time + timeout;
147 while (timeout.InMicroseconds() > 0) {
149 &renderer_buffer_index, sizeof(renderer_buffer_index), timeout);
157 // Reduce the timeout value as receives succeed, but aren't the right index.
158 timeout = finish_time - base::TimeTicks::Now();
161 // Receive timed out or another error occurred. Receive can timeout if the
  /external/chromium_org/third_party/jinja2/
bccache.py 261 .. method:: set(key, value[, timeout])
264 `timeout` the timeout of the key. If timeout is not provided
265 a default timeout or no timeout should be assumed, if it's
275 is added before the actual cache key and the timeout for the bytecode in
276 the cache system. We recommend a high (or no) timeout.
286 def __init__(self, client, prefix='jinja2/bytecode/', timeout=None,
290 self.timeout = timeou
    [all...]
  /external/chromium_org/tools/site_compare/scrapers/firefox/
firefox2.py 76 def Scrape(urls, outdir, size, pos, timeout=20, **kwargs):
84 timeout: amount of time to wait for page to load
122 load_time = windowing.WaitForThrobber(wnd, (10, 96, 26, 112), timeout)
149 return "timeout"
152 def Time(urls, size, timeout, **kwargs):
158 timeout: amount of time to wait for page to load
162 A list of tuples (url, time). "time" can be "crashed" or "timeout"
198 load_time = windowing.WaitForThrobber(wnd, (10, 96, 26, 112), timeout)
202 load_time = "timeout"

Completed in 228 milliseconds

<<11121314151617181920>>