Searched refs:timeout (Results 76 - 100 of 260) sorted by relevance

1234567891011

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCarrierServicesSmsFilterTest.java26 import static org.mockito.Mockito.timeout;
98 verify(mFilterCallback, timeout(100))
111 verify(mFilterCallback, timeout(100))
127 verify(mFilterCallback, timeout(100))
/frameworks/rs/
H A DrsThreadIO.h45 void setTimeoutCallback(void (*)(void *), void *, uint64_t timeout);
/frameworks/support/transition/tests/src/android/support/transition/
H A DSlideEdgeTest.java24 import static org.mockito.Mockito.timeout;
95 verify(listener, timeout(1000)).onTransitionStart(any(Transition.class));
135 verify(listener, timeout(1000)).onTransitionEnd(any(Transition.class));
189 verify(listener, timeout(1000)).onTransitionStart(any(Transition.class));
230 verify(listener, timeout(1000)).onTransitionEnd(any(Transition.class));
/frameworks/native/libs/vr/libbufferhubqueue/
H A Dbuffer_hub_queue_client.cpp121 bool BufferHubQueue::WaitForBuffers(int timeout) { argument
133 count() == 0 ? timeout : 0);
137 "BufferHubQueue::WaitForBuffers: No events before timeout: "
327 int timeout, size_t* slot, void* meta, LocalHandle* fence) {
328 ALOGD_IF(TRACE, "Dequeue: count=%zu, timeout=%d", count(), timeout);
330 if (!WaitForBuffers(timeout))
459 int timeout, size_t* slot, LocalHandle* release_fence) {
467 BufferHubQueue::Dequeue(timeout, slot, nullptr, release_fence);
583 int timeout, size_
326 Dequeue( int timeout, size_t* slot, void* meta, LocalHandle* fence) argument
458 Dequeue( int timeout, size_t* slot, LocalHandle* release_fence) argument
582 Dequeue( int timeout, size_t* slot, void* meta, size_t meta_size, LocalHandle* acquire_fence) argument
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiDevice.java473 * Default wait timeout is 10 seconds
483 * @param timeout in milliseconds
486 public void waitForIdle(long timeout) { argument
487 Tracer.trace(timeout);
488 getAutomatorBridge().waitForIdle(timeout);
785 * @param timeout the timeout for the wait
787 * @return true if a window update occurred, false if timeout has elapsed or if the current
791 public boolean waitForWindowUpdate(final String packageName, long timeout) { argument
792 Tracer.trace(packageName, timeout);
[all...]
H A DInteractionController.java152 * @param timeout
156 AccessibilityEventFilter filter, long timeout) {
160 timeout);
176 * timeout period specified, the call will return anyway with false.
181 * @param timeout
185 final int eventType, long timeout) {
202 return runAndWaitForEvents(command, new WaitForAnyEventPredicate(eventType), timeout)
230 * @param timeout waiting for event
231 * @return true if events are received, else false if timeout.
233 public boolean clickAndSync(final int x, final int y, long timeout) { argument
155 runAndWaitForEvents(Runnable command, AccessibilityEventFilter filter, long timeout) argument
184 sendKeyAndWaitForEvent(final int keyCode, final int metaState, final int eventType, long timeout) argument
252 clickAndWaitForNewWindow(final int x, final int y, long timeout) argument
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.cpp159 bool JpegCompressor::waitForDone(nsecs_t timeout) { argument
164 res = mDone.waitRelative(mBusyMutex, timeout);
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothGattCallback.aidl41 in int timeout, in int status);
H A DIBluetoothGattServerCallback.aidl46 in int timeout, in int status);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DLocalBluetoothAdapter.java134 public void setDiscoverableTimeout(int timeout) { argument
135 mAdapter.setDiscoverableTimeout(timeout);
/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DUiBot.java44 public UiBot(Instrumentation instrumentation, int timeout) { argument
47 mTimeout = timeout;
/frameworks/base/services/core/java/com/android/server/fingerprint/
H A DEnrollClient.java86 final int timeout = (int) (ENROLLMENT_TIMEOUT_MS / MS_PER_SEC);
88 final int result = daemon.enroll(mCryptoToken, getGroupId(), timeout);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DNetworkManagementServiceTest.java32 import static org.mockito.Mockito.timeout;
83 return verify(mock, timeout(100));
/frameworks/native/libs/ui/
H A DFence.cpp54 status_t Fence::wait(int timeout) { argument
59 int err = sync_wait(mFenceFd, timeout);
/frameworks/native/libs/vr/libpdx_uds/
H A Dservice_dispatcher.cpp119 int ServiceDispatcher::ReceiveAndDispatch(int timeout) { argument
126 int count = epoll_wait(epoll_fd_.Get(), events, kMaxEventsPerLoop, timeout);
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp143 status_t MonitoredProducer::setDequeueTimeout(nsecs_t timeout) { argument
144 return mProducer->setDequeueTimeout(timeout);
/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.java248 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/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/ics/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;
250 verify(onCancelListener, timeout(3000)).onCancel(any(DialogInterface.class));
262 verify(callback, timeout(3000)).onStateChanged(any(View.class),
264 verify(callback, timeout(3000)).onStateChanged(any(View.class),

Completed in 896 milliseconds

1234567891011