/frameworks/base/core/java/android/os/ |
D | ConditionVariable.java | 117 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/ |
D | ISipSession.aidl | 116 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
|
D | SipSession.java | 387 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()
|
D | SipAudioCall.java | 560 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);
|
D | SipManager.java | 314 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/ |
D | RenderAction.java | 86 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/ |
D | DatagramTest.java | 172 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()
|
D | URLTest.java | 194 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/ |
D | BluetoothServerSocket.java | 104 public BluetoothSocket accept(int timeout) throws IOException { in accept() argument 105 return mSocket.accept(timeout); in accept()
|
D | BluetoothSocket.java | 283 /*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/ |
D | HandlerTester.java | 30 public void doTest(long timeout) { in doTest() argument 35 wait(timeout); in doTest()
|
D | TestHandlerThread.java | 35 public void doTest(long timeout) { in doTest() argument 40 long endTime = now + timeout; in doTest()
|
/frameworks/base/services/surfaceflinger/ |
D | MessageQueue.cpp | 63 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/ |
D | IsoDep.java | 91 public void setTimeout(int timeout) { in setTimeout() argument 93 mTag.getTagService().setIsoDepTimeout(timeout); in setTimeout()
|
/frameworks/base/voip/java/com/android/server/sip/ |
D | SipWakeLock.java | 42 synchronized void acquire(long timeout) { in acquire() argument 48 mTimerWakeLock.acquire(timeout); in acquire()
|
D | SipSessionGroup.java | 406 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/ |
D | ActivityTestsBase.java | 168 boolean timeout = false; in waitForResult() 173 timeout = true; in waitForResult() 187 if (timeout) { in waitForResult()
|
/frameworks/base/opengl/include/EGL/ |
D | eglext.h | 142 …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/ |
D | ConnectivityManagerTestActivity.java | 361 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/ |
D | usbhost.h | 187 unsigned int timeout); 196 unsigned int timeout);
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
D | PowerTestActivity.java | 115 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/ |
D | usbhost.c | 453 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/ |
D | AccountManager.java | 1220 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/ |
D | android_net_LocalSocketImpl.cpp | 345 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/ |
D | SntpClient.java | 74 public boolean requestTime(String host, int timeout) { in requestTime() argument 78 socket.setSoTimeout(timeout); in requestTime()
|