Searched refs:timeout (Results 1 - 25 of 168) sorted by relevance

1234567

/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DConfigurator.java35 // This short timeout to make sure we get the very last in cases where the above isn't true.
62 * Sets the timeout for waiting for the user interface to go into an idle
68 * timeout elapses (whichever occurs first), the object will start to wait
72 * @param timeout Timeout value in milliseconds
76 public Configurator setWaitForIdleTimeout(long timeout) { argument
77 mWaitForIdleTimeout = timeout;
82 * Gets the current timeout used for waiting for the user interface to go
88 * timeout elapses (whichever occurs first), the object will start to wait
92 * @return Current timeout value in milliseconds
100 * Sets the timeout fo
112 setWaitForSelectorTimeout(long timeout) argument
146 setScrollAcknowledgmentTimeout(long timeout) argument
180 setActionAcknowledgmentTimeout(long timeout) argument
[all...]
/frameworks/base/core/java/android/os/
H A DConditionVariable.java107 * timeout milliseconds have passed.
112 * @param timeout the maximum 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/opt/net/voip/src/java/android/net/sip/
H A DISipSession.aidl112 * @param timeout the session will be timed out if the call is not
113 * established within {@code timeout} seconds
116 void makeCall(in SipProfile callee, String sessionDescription, int timeout);
124 * @param timeout the session will be timed out if the call is not
125 * established within {@code timeout} seconds
127 void answerCall(String sessionDescription, int timeout);
144 * @param timeout the session will be timed out if the call is not
145 * established within {@code timeout} seconds
147 void changeCall(String sessionDescription, int timeout);
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java142 * @param timeout in milliseconds
147 int index, byte[] buffer, int length, int timeout) {
148 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
167 * @param timeout in milliseconds
172 byte[] buffer, int offset, int length, int timeout) {
175 buffer, offset, length, timeout);
190 * @param timeout in milliseconds
195 byte[] buffer, int length, int timeout) {
196 return bulkTransfer(endpoint, buffer, 0, length, timeout);
207 * @param timeout i
146 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument
171 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument
194 bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int length, int timeout) argument
211 bulkTransfer(UsbEndpoint endpoint, byte[] buffer, int offset, int length, int timeout) argument
260 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int offset, int length, int timeout) argument
262 native_bulk_request(int endpoint, byte[] buffer, int offset, int length, int timeout) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DVerifyCredentialResponse.java77 public VerifyCredentialResponse(int timeout) { argument
78 mTimeout = timeout;
83 private VerifyCredentialResponse(int responseCode, int timeout, byte[] payload) { argument
85 mTimeout = timeout;
119 private void setTimeout(int timeout) { argument
120 mTimeout = timeout;
/frameworks/base/core/java/com/android/internal/util/
H A DDumpUtils.java35 * trying to acquire, we use a short timeout to avoid deadlocks. The process
39 final String prefix, long timeout) {
48 }, timeout)) {
38 dumpAsync(Handler handler, final Dump dump, PrintWriter pw, final String prefix, long timeout) argument
/frameworks/base/core/java/android/accounts/
H A DAccountManagerFuture.java101 * will be thrown rather than the call returning normally. If a timeout is specified then
103 * @param timeout the maximum time to wait
104 * @param unit the time unit of the timeout argument. This must not be null.
113 V getResult(long timeout, TimeUnit unit) argument
/frameworks/rs/
H A DrsSignal.h36 // false for timeout
37 bool wait(uint64_t timeout = 0);
H A DrsSignal.cpp72 bool Signal::wait(uint64_t timeout) { argument
83 if (!timeout) {
87 status = pthread_cond_timeout_np(&mCondition, &mMutex, timeout / 1000000);
/frameworks/base/core/java/android/hardware/fingerprint/
H A DIFingerprintDaemon.aidl28 int enroll(in byte [] token, int groupId, int timeout);
/frameworks/base/core/tests/coretests/src/android/os/
H A DHandlerTester.java30 public void doTest(long timeout) { argument
35 wait(timeout);
H A DTestHandlerThread.java35 public void doTest(long timeout) { argument
40 long endTime = now + timeout;
/frameworks/base/core/java/org/apache/http/params/
H A DHttpConnectionParams.java61 * Returns the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the
62 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite
63 * timeout. This value is used when no socket timeout is set in the
66 * @return timeout in milliseconds
76 * Sets the default socket timeout (<tt>SO_TIMEOUT</tt>) in milliseconds which is the
77 * timeout for waiting for data. A timeout value of zero is interpreted as an infinite
78 * timeout
83 setSoTimeout(final HttpParams params, int timeout) argument
187 setConnectionTimeout(final HttpParams params, int timeout) argument
[all...]
/frameworks/base/core/java/android/service/gatekeeper/
H A DGateKeeperResponse.java42 private GateKeeperResponse(int responseCode, int timeout) { argument
108 private void setTimeout(int timeout) { argument
109 mTimeout = timeout;
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java159 protected boolean waitForNetworkState(int networkType, State expectedState, long timeout) { argument
167 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
168 logv("waitForNetworkState timeout: %s", ni);
178 protected boolean waitForWifiState(int expectedState, long timeout) { argument
186 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
187 logv("waitForWifiState timeout: expected=%d, actual=%d", expectedState, state);
197 protected boolean waitForWifiApState(int expectedState, long timeout) { argument
205 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
206 logv(String.format("waitForWifiAPState timeout: expected=%d, actual=%d",
218 * @param timeout i
222 waitForTetherStateChange(long timeout) argument
420 waitForActiveNetworkConnection(long timeout) argument
436 waitUntilNoActiveNetworkConnection(long timeout) argument
[all...]
/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java52 private NtpTrustedTime(String server, long timeout) { argument
55 mTimeout = timeout;
70 final long timeout = Settings.Global.getLong(
74 sSingleton = new NtpTrustedTime(server, timeout);
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
H A DGestureUtils.java27 int timeout, int distance, int actionIndex) {
28 if (isTimedOut(first, second, timeout)) {
43 public static boolean isTimedOut(MotionEvent firstUp, MotionEvent secondUp, int timeout) { argument
45 return (deltaTime >= timeout);
26 eventsWithinTimeAndDistanceSlop(MotionEvent first, MotionEvent second, int timeout, int distance, int actionIndex) argument
/frameworks/base/core/java/android/nfc/
H A DINfcTag.aidl43 int setTimeout(int technology, int timeout);
/frameworks/base/core/java/android/nfc/tech/
H A DIsoDep.java81 * 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 DNfcA.java132 * 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 DNfcF.java131 * 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...]
/frameworks/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeLock.java42 synchronized void acquire(long timeout) { argument
48 mTimerWakeLock.acquire(timeout);
/frameworks/volley/src/test/java/com/android/volley/
H A DRequestQueueIntegrationTest.java94 verify(listener, timeout(100)).onRequestFinished(higherPriorityReq);
96 verify(listener, timeout(10)).onRequestFinished(lowerPriorityReq);
131 verify(listener, timeout(100)).onRequestFinished(req1);
132 verify(listener, timeout(10)).onRequestFinished(req2);
160 verify(listener, timeout(100)).onRequestFinished(request);
181 verify(listener, timeout(100)).onRequestFinished(request);
182 verify(listener2, timeout(100)).onRequestFinished(request);
203 verify(listener, timeout(100)).onRequestFinished(request);
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
H A DBlockingStateCallback.java149 * @param timeout how long to wait in milliseconds
151 * @throws TimeoutRuntimeException if the desired state is not observed before timeout.
153 public void waitForState(int state, long timeout) { argument
156 waitForAnyOfStates(Arrays.asList(stateArray), timeout);
166 * @param timeout how long to wait in milliseconds
169 * @throws TimeoutRuntimeException if none of the states is observed before timeout.
172 public int waitForAnyOfStates(Collection<Integer> states, final long timeout) { argument
186 long timeoutLeft = timeout;
209 s.append(timeout);
/frameworks/base/tests/utils/SleepUtils/SleepHelper/src/com/android/testing/sleephelper/
H A DSetAlarm.java74 long timeout = -1;
76 timeout = Long.parseLong(paramString);
80 callSetAndWait(timeout);

Completed in 655 milliseconds

1234567