/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerFuture.java | 103 * will be thrown rather than the call returning normally. If a timeout is specified then 105 * @param timeout the maximum time to wait 106 * @param unit the time unit of the timeout argument. This must not be null. 115 V getResult(long timeout, TimeUnit unit) argument
|
/frameworks/base/core/java/android/os/ |
H A D | 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) argument 122 if (timeout != 0) { 125 long end = now + timeout;
|
/frameworks/rs/ |
H A D | rsSignal.cpp | 71 bool Signal::wait(uint64_t timeout) { argument 82 if (!timeout) { 86 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
|
/frameworks/av/libvideoeditor/osal/src/ |
H A D | 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) argument 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 [all...] |
H A D | 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) argument 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 [all...] |
/frameworks/av/media/libaah_rtp/ |
H A D | pipe_event.cpp | 63 bool PipeEvent::wait(int timeout) { argument 70 int res = poll(&wait_fd, 1, timeout);
|
/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | HandlerTester.java | 30 public void doTest(long timeout) { argument 35 wait(timeout);
|
H A D | TestHandlerThread.java | 35 public void doTest(long timeout) { argument 40 long endTime = now + timeout;
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | AwaitableCompletionListener.java | 47 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, argument 49 if (mQueue.poll(timeout, unit) == null) {
|
H A D | AwaitableErrorListener.java | 55 public void awaitOneCallback(long timeout, TimeUnit unit) throws InterruptedException, argument 57 if (mQueue.poll(timeout, unit) == null) {
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothServerSocket.java | 96 * timeout 103 * Block until a connection is established, with timeout. 110 * timeout 112 public BluetoothSocket accept(int timeout) throws IOException { argument 113 return mSocket.accept(timeout);
|
/frameworks/base/core/java/android/nfc/tech/ |
H A D | 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) { argument 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 valu [all...] |
H A D | 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) { argument 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 valu [all...] |
H A D | 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) { argument 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 valu [all...] |
H A D | MifareUltralight.java | 227 * Set the {@link #transceive} timeout in milliseconds. 229 * <p>The timeout only applies to {@link #transceive} on this object, 232 * <p>Setting a longer timeout may be useful when performing 238 * @param timeout timeout value in milliseconds 240 public void setTimeout(int timeout) { argument 243 TagTechnology.MIFARE_ULTRALIGHT, timeout); 245 throw new IllegalArgumentException("The supplied timeout is not valid"); 253 * Get the current {@link #transceive} timeout in milliseconds. 257 * @return timeout valu [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipWakeLock.java | 42 synchronized void acquire(long timeout) { argument 48 mTimerWakeLock.acquire(timeout);
|
/frameworks/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/actions/ |
H A D | ScreenshotAction.java | 243 * Always redirects stderr into stdout, has timeout control 256 public int run(long timeout) throws IOException { argument 277 t.join(timeout);
|
/frameworks/base/core/java/android/net/ |
H A D | SntpClient.java | 70 * @param timeout network timeout in milliseconds. 73 public boolean requestTime(String host, int timeout) { argument 77 socket.setSoTimeout(timeout);
|
H A D | 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) argument 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 175 connect(SocketAddress remoteAddr, int timeout) argument 205 connect(int timeout) argument [all...] |
H A D | LocalSocket.java | 241 public void connect(LocalSocketAddress endpoint, int timeout) argument
|
/frameworks/base/core/java/android/util/ |
H A D | NtpTrustedTime.java | 46 private NtpTrustedTime(String server, long timeout) { argument 49 mTimeout = timeout; 64 final long timeout = Settings.Secure.getLong( 68 sSingleton = new NtpTrustedTime(server, timeout);
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderAction.java | 86 * @param timeout the time to wait if another rendering is happening. 93 public Result init(long timeout) { argument 96 Result result = acquireLock(timeout); 133 * The preparation can fail if another rendering took too long and the timeout was elapsed. 141 * @param timeout the time to wait if another rendering is happening. 149 public Result acquire(long timeout) { argument 156 Result result = acquireLock(timeout); 173 * @param timeout the time to wait if another rendering is happening. 179 private Result acquireLock(long timeout) { argument 183 boolean acquired = lock.tryLock(timeout, TimeUni [all...] |
/frameworks/base/core/java/android/net/http/ |
H A D | AndroidHttpClientConnection.java | 194 public void setSocketTimeout(int timeout) { argument 198 this.socket.setSoTimeout(timeout); 439 * that by attempting a read with a very small timeout. Thus this
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | NetInitiatedActivity.java | 52 private int timeout = -1; field in class:NetInitiatedActivity 99 timeout = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_TIMEOUT, default_response_timeout); 101 if (DEBUG) Log.d(TAG, "onCreate() : notificationId: " + notificationId + " timeout: " + timeout + " default_response:" + default_response); 103 mHandler.sendMessageDelayed(mHandler.obtainMessage(GPS_NO_RESPONSE_TIME_OUT), (timeout * 1000));
|
/frameworks/base/core/jni/ |
H A D | android_hardware_UsbDeviceConnection.cpp | 145 jbyteArray buffer, jint length, jint timeout) 163 value, index, bufferBytes, length, timeout); 173 jint endpoint, jbyteArray buffer, jint length, jint timeout) 190 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes, length, timeout); 143 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint length, jint timeout) argument 172 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint length, jint timeout) argument
|