Searched refs:timeout (Results 101 - 125 of 281) sorted by relevance

1234567891011>>

/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp143 status_t MonitoredProducer::setDequeueTimeout(nsecs_t timeout) { argument
144 return mProducer->setDequeueTimeout(timeout);
H A DMonitoredProducer.h63 virtual status_t setDequeueTimeout(nsecs_t timeout) override;
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
H A DGuidedStepFragmentTestBase.java19 import static org.mockito.Mockito.timeout;
79 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy();
H A DGuidedStepSupportFragmentTestBase.java22 import static org.mockito.Mockito.timeout;
82 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy();
/frameworks/base/core/java/android/view/
H A DWindowManagerInternal.java250 public abstract void waitForAllWindowsDrawn(Runnable callback, long timeout); argument
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp175 jbyteArray buffer, jint start, jint length, jint timeout)
189 value, index, bufferBytes + start, length, timeout);
200 jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout)
213 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes + start, length, timeout);
173 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint start, jint length, jint timeout) argument
199 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) argument
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
H A DLocationBasedCountryDetectorTest.java265 long timeout = 1000;
266 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout) {
325 long timeout = 1000;
326 TestCountryDetector detector = new TestCountryDetector(country, provider, timeout);
/frameworks/native/include/ui/
H A DFence.h70 // wait waits for up to timeout milliseconds for the fence to signal. If
71 // the fence signals then NO_ERROR is returned. If the timeout expires
72 // before the fence signals then -ETIME is returned. A timeout of
75 status_t wait(int timeout);
80 // than a warning timeout.
/frameworks/native/libs/ui/include/ui/
H A DFence.h70 // wait waits for up to timeout milliseconds for the fence to signal. If
71 // the fence signals then NO_ERROR is returned. If the timeout expires
72 // before the fence signals then -ETIME is returned. A timeout of
75 status_t wait(int timeout);
80 // than a warning timeout.
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipManager.java331 * out if the call is not established within {@code timeout} seconds and
339 * @param timeout the timeout value in seconds. Default value (defined by
340 * SIP protocol) is used if {@code timeout} is zero or negative.
348 SipProfile peerProfile, SipAudioCall.Listener listener, int timeout)
356 call.makeCall(peerProfile, s, timeout);
362 * timed out if the call is not established within {@code timeout} seconds
371 * @param timeout the timeout value in seconds. Default value (defined by
372 * SIP protocol) is used if {@code timeout} i
347 makeAudioCall(SipProfile localProfile, SipProfile peerProfile, SipAudioCall.Listener listener, int timeout) argument
379 makeAudioCall(String localProfileUri, String peerProfileUri, SipAudioCall.Listener listener, int timeout) argument
[all...]
/frameworks/support/compat/java/android/support/v4/net/
H A DDatagramSocketWrapper.java96 protected void connect(SocketAddress remoteAddr, int timeout) throws IOException { argument
/frameworks/support/design/tests/src/android/support/design/widget/
H A DBottomSheetDialogTest.java28 import static org.mockito.Mockito.timeout;
251 verify(onCancelListener, timeout(3000)).onCancel(any(DialogInterface.class));
263 verify(callback, timeout(3000)).onStateChanged(any(View.class),
265 verify(callback, timeout(3000)).onStateChanged(any(View.class),
/frameworks/base/core/java/android/text/method/
H A DMultiTapKeyListener.java218 // Set up the callback so we can remove the timeout if the
246 Timeout[] timeout = buf.getSpans(0, buf.length(), Timeout.class);
248 for (int i = 0; i < timeout.length; i++) {
249 Timeout t = timeout[i];
/frameworks/base/services/core/java/com/android/server/am/
H A DNativeCrashListener.java50 // Use a short timeout on socket operations and abandon the connection
184 return -1; // premature EOF or timeout
199 StructTimeval timeout = StructTimeval.fromMillis(SOCKET_TIMEOUT_MILLIS);
200 Os.setsockoptTimeval(fd, SOL_SOCKET, SO_RCVTIMEO, timeout);
201 Os.setsockoptTimeval(fd, SOL_SOCKET, SO_SNDTIMEO, timeout);
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerTestActivity.java116 private void navigate(String url, int timeout) { argument
129 if(timeout != 0) {
130 //set a timer with specified timeout (in ms)
132 timeout);
160 Log.v(LOGTAG, "Page timeout triggered, progress = " + progress);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingSessionCallback.java291 public CameraCaptureSession get(long timeout, TimeUnit unit) throws TimeoutException { argument
292 long timeoutMs = unit.convert(timeout, TimeUnit.MILLISECONDS);
295 "Failed to receive session after " + timeout + " " + unit);
/frameworks/support/transition/tests/src/android/support/transition/
H A DTransitionManagerTest.java26 import static org.mockito.Mockito.timeout;
154 verify(listener, timeout(3000)).onTransitionStart(any(Transition.class));
161 verify(listener, timeout(3000)).onTransitionEnd(any(Transition.class));
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java358 * @param timeout to wait for download to finish
361 public boolean startDownloadAndWait(String targetUrl, long timeout) { argument
371 if ((System.currentTimeMillis() - startTime) > timeout) {
373 " within " + timeout);
431 * @param timeout in milliseconds
434 public boolean waitForNetworkState(int networkType, State expectedState, long timeout) { argument
437 if ((System.currentTimeMillis() - startTime) > timeout) {
480 * Wait for a given wifi state to occur within a given timeout.
482 * @param timeout for the state to be set in milliseconds.
483 * @return true if the state was achieved within the timeout, fals
485 waitForWifiState(int expectedState, long timeout) argument
[all...]
/frameworks/av/media/libaudioclient/
H A DAudioRecord.cpp812 struct timespec timeout; local
819 timeout.tv_sec = ms / 1000;
820 timeout.tv_nsec = (int) (ms % 1000) * 1000000;
821 requested = &timeout;
881 // FIXME starts the requested timeout and elapsed over from scratch
1107 struct timespec timeout; local
1110 timeout.tv_sec = ns / 1000000000LL;
1111 timeout.tv_nsec = ns % 1000000000LL;
1112 ALOGV("timeout %ld.%03d", timeout
[all...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipSessionGroup.java141 // of timeout values
562 void start(final int timeout) { argument
566 sleep(timeout);
567 if (mRunning) timeout();
577 private void timeout() { method in class:SipSessionGroup.SipSessionImpl.SessionTimer
583 private synchronized void sleep(int timeout) { argument
585 this.wait(timeout * 1000);
699 int timeout) {
701 timeout));
705 public void answerCall(String sessionDescription, int timeout) { argument
698 makeCall(SipProfile peerProfile, String sessionDescription, int timeout) argument
719 changeCall(String sessionDescription, int timeout) argument
1353 startSessionTimer(int timeout) argument
1785 MakeCallCommand(SipProfile peerProfile, String sessionDescription, int timeout) argument
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp133 static jint nativeEnroll(JNIEnv* env, jobject clazz, jbyteArray token, jint groupId, jint timeout) { argument
134 ALOG(LOG_VERBOSE, LOG_TAG, "nativeEnroll(gid=%d, timeout=%d)\n", groupId, timeout);
142 reinterpret_cast<const hw_auth_token_t*>(tokenData), groupId, timeout);
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
H A DGenericSoundModelTest.java23 import static org.mockito.Mockito.timeout;
172 verify(spyCallback, timeout(100)).onGenericSoundTriggerDetected(any());
248 verify(spyCallback, timeout(100)).onGenericSoundTriggerDetected(any());
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.h150 void setEOSTimeout(bool audio, int64_t timeout);
/frameworks/ml/nn/runtime/
H A DCallbacks.h49 * and be blocked until it has completed or a timeout condition has been
87 * before the time duration expired, std::cv_status::timeout
97 * return std::cv_status::timeout before CallbackBase::notify is called for
323 if (status != std::cv_status::timeout) {
/frameworks/native/libs/vr/libdvr/include/dvr/
H A Ddvr_api.h187 int timeout,
191 DvrWriteBufferQueue* write_queue, int timeout,
207 int timeout,
212 DvrReadBufferQueue* read_queue, int timeout,

Completed in 709 milliseconds

1234567891011>>