Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 78) sorted by relevance

1234

/frameworks/base/core/java/android/os/
DConditionVariable.java117 public boolean block(long timeout) in block() argument
122 if (timeout != 0) { in block()
125 long end = now + timeout; in block()
/frameworks/base/voip/java/android/net/sip/
DISipSession.aidl116 void makeCall(in SipProfile callee, String sessionDescription, int timeout); in makeCall() argument
127 void answerCall(String sessionDescription, int timeout); in answerCall() argument
147 void changeCall(String sessionDescription, int timeout); in changeCall() argument
DSipSession.java387 int timeout) { in makeCall() argument
389 mSession.makeCall(callee, sessionDescription, timeout); in makeCall()
405 public void answerCall(String sessionDescription, int timeout) { in answerCall() argument
407 mSession.answerCall(sessionDescription, timeout); in answerCall()
438 public void changeCall(String sessionDescription, int timeout) { in changeCall() argument
440 mSession.changeCall(sessionDescription, timeout); in changeCall()
DSipAudioCall.java560 int timeout) throws SipException {
572 timeout);
605 public void holdCall(int timeout) throws SipException {
611 mSipSession.changeCall(createHoldOffer().encode(), timeout);
628 public void answerCall(int timeout) throws SipException {
636 mSipSession.answerCall(createAnswer(mPeerSd).encode(), timeout);
655 public void continueCall(int timeout) throws SipException {
658 mSipSession.changeCall(createContinueOffer().encode(), timeout);
DSipManager.java314 SipProfile peerProfile, SipAudioCall.Listener listener, int timeout) in makeAudioCall() argument
322 call.makeCall(peerProfile, s, timeout); in makeAudioCall()
346 String peerProfileUri, SipAudioCall.Listener listener, int timeout) in makeAudioCall() argument
355 timeout); in makeAudioCall()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java86 public Result init(long timeout) { in init() argument
89 Result result = acquireLock(timeout); in init()
137 public Result acquire(long timeout) { in acquire() argument
144 Result result = acquireLock(timeout); in acquire()
167 private Result acquireLock(long timeout) { in acquireLock() argument
171 boolean acquired = lock.tryLock(timeout, TimeUnit.MILLISECONDS); in acquireLock()
/frameworks/base/tests/CoreTests/android/core/
DDatagramTest.java172 int timeout = 5000; in testDatagramSocketSetSOTimeout() local
177 sock.setSoTimeout(timeout); in testDatagramSocketSetSOTimeout()
182 if (Math.abs(delay - timeout) > 1000) { in testDatagramSocketSetSOTimeout()
183 fail("timeout was not accurate. expected: " + timeout in testDatagramSocketSetSOTimeout()
DURLTest.java194 int timeout = 5000; in testHttpConnectionTimeout() local
206 if (Math.abs(timeout - delay) > 1000) { in testHttpConnectionTimeout()
208 " instead of " + timeout + "miliseconds"); in testHttpConnectionTimeout()
/frameworks/base/core/java/android/bluetooth/
DBluetoothServerSocket.java104 public BluetoothSocket accept(int timeout) throws IOException { in accept() argument
105 return mSocket.accept(timeout); in accept()
DBluetoothSocket.java283 /*package*/ BluetoothSocket accept(int timeout) throws IOException { in accept() argument
287 return acceptNative(timeout); in accept()
327 private native BluetoothSocket acceptNative(int timeout) throws IOException; in acceptNative() argument
/frameworks/base/core/tests/coretests/src/android/os/
DHandlerTester.java30 public void doTest(long timeout) { in doTest() argument
35 wait(timeout); in doTest()
DTestHandlerThread.java35 public void doTest(long timeout) { in doTest() argument
40 long endTime = now + timeout; in doTest()
/frameworks/base/services/surfaceflinger/
DMessageQueue.cpp63 sp<MessageBase> MessageQueue::waitMessage(nsecs_t timeout) in waitMessage() argument
69 const nsecs_t timeoutTime = systemTime() + timeout; in waitMessage()
98 if (timeout >= 0) { in waitMessage()
/frameworks/base/core/java/android/nfc/tech/
DIsoDep.java91 public void setTimeout(int timeout) { in setTimeout() argument
93 mTag.getTagService().setIsoDepTimeout(timeout); in setTimeout()
/frameworks/base/voip/java/com/android/server/sip/
DSipWakeLock.java42 synchronized void acquire(long timeout) { in acquire() argument
48 mTimerWakeLock.acquire(timeout); in acquire()
DSipSessionGroup.java406 void start(final int timeout) { in start() argument
409 sleep(timeout); in start()
410 if (mRunning) timeout(); in start()
420 private void timeout() { in timeout() method in SipSessionGroup.SipSessionImpl.SessionTimer
426 private synchronized void sleep(int timeout) { in sleep() argument
428 this.wait(timeout * 1000); in sleep()
524 int timeout) { in makeCall() argument
526 timeout)); in makeCall()
529 public void answerCall(String sessionDescription, int timeout) { in answerCall() argument
534 sessionDescription, timeout)); in answerCall()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DActivityTestsBase.java168 boolean timeout = false; in waitForResult()
173 timeout = true; in waitForResult()
187 if (timeout) { in waitForResult()
/frameworks/base/opengl/include/EGL/
Deglext.h142 …GLAPIENTRY eglClientWaitSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
148 …P PFNEGLCLIENTWAITSYNCKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
206 EGLint eglClientWaitSyncNV (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
213 …EGLint (EGLAPIENTRYP PFNEGLCLIENTWAITSYNCNVPROC) (EGLSyncNV sync, EGLint flags, EGLTimeNV timeout);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestActivity.java361 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) { in waitForNetworkState() argument
364 if ((System.currentTimeMillis() - startTime) > timeout) { in waitForNetworkState()
395 public boolean waitForWifiState(int expectedState, long timeout) { in waitForWifiState() argument
398 if ((System.currentTimeMillis() - startTime) > timeout) { in waitForWifiState()
423 public boolean waitForWifiAPState(int expectedState, long timeout) { in waitForWifiAPState() argument
426 if ((System.currentTimeMillis() - startTime) > timeout) { in waitForWifiAPState()
455 public int waitForTetherStateChange(long timeout) { in waitForTetherStateChange() argument
458 if ((System.currentTimeMillis() - startTime) > timeout) { in waitForTetherStateChange()
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/usbhost/
Dusbhost.h187 unsigned int timeout);
196 unsigned int timeout);
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
DPowerTestActivity.java115 private void navigate(String url, int timeout) { in navigate() argument
128 if(timeout != 0) { in navigate()
131 timeout); in navigate() local
/frameworks/base/libs/usb/tests/AccessoryChat/accessorychat/
Dusbhost.c453 unsigned int timeout) in usb_device_control_transfer() argument
468 ctrl.timeout = timeout; in usb_device_control_transfer()
476 unsigned int timeout) in usb_device_bulk_transfer() argument
484 ctrl.timeout = timeout; in usb_device_bulk_transfer()
/frameworks/base/core/java/android/accounts/
DAccountManager.java1220 private Bundle internalGetResult(Long timeout, TimeUnit unit)
1226 if (timeout == null) {
1229 return get(timeout, unit);
1263 public Bundle getResult(long timeout, TimeUnit unit)
1265 return internalGetResult(timeout, unit);
1388 private T internalGetResult(Long timeout, TimeUnit unit)
1394 if (timeout == null) {
1397 return get(timeout, unit);
1431 public T getResult(long timeout, TimeUnit unit)
1433 return internalGetResult(timeout, unit);
/frameworks/base/core/jni/
Dandroid_net_LocalSocketImpl.cpp345 struct timeval timeout; in socket_setOption() local
346 timeout.tv_sec = intValue / 1000; in socket_setOption()
347 timeout.tv_usec = (intValue % 1000) * 1000; in socket_setOption()
350 (void *)&timeout, sizeof(timeout)); in socket_setOption()
354 (void *)&timeout, sizeof(timeout)); in socket_setOption()
/frameworks/base/core/java/android/net/
DSntpClient.java74 public boolean requestTime(String host, int timeout) { in requestTime() argument
78 socket.setSoTimeout(timeout); in requestTime()

1234