Searched refs:timeout (Results 26 - 50 of 260) sorted by relevance

1234567891011

/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/native/cmds/dumpstate/
H A DDumpstateUtil.h69 CommandOptionsValues(int64_t timeout);
103 CommandOptionsBuilder(int64_t timeout);
108 /** Gets the command timeout, in seconds. */
119 /** Creates a builder with the requied timeout. */
120 static CommandOptionsBuilder WithTimeout(int64_t timeout);
/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.aidl42 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.java136 * Set the {@link #transceive} timeout in milliseconds.
138 * <p>The timeout only applies to {@link #transceive} on this object,
141 * <p>Setting a longer timeout may be useful when performing
147 * @param timeout timeout value in milliseconds
149 public void setTimeout(int timeout) { argument
151 int err = mTag.getTagService().setTimeout(TagTechnology.NFC_F, timeout);
153 throw new IllegalArgumentException("The supplied timeout is not valid");
161 * Get the current {@link #transceive} timeout in milliseconds.
165 * @return timeout valu
[all...]
H A DMifareUltralight.java227 * 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/core/tests/coretests/src/android/os/
H A DTestHandlerThread.java35 public void doTest(long timeout) { argument
40 long endTime = now + timeout;
/frameworks/base/tools/layoutlib/legacy/src/com/android/layoutlib/bridge/
H A DBridge.java50 public Result render(long timeout, boolean forceMeasure) { argument
55 public Result measure(long timeout) { argument
/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/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/support/v7/appcompat/src/android/support/v7/widget/
H A DTooltipCompatHandler.java165 final long timeout;
167 timeout = LONG_CLICK_HIDE_TIMEOUT_MS;
170 timeout = HOVER_HIDE_TIMEOUT_SHORT_MS - ViewConfiguration.getLongPressTimeout();
172 timeout = HOVER_HIDE_TIMEOUT_MS - ViewConfiguration.getLongPressTimeout();
175 mAnchor.postDelayed(mHideRunnable, 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);
/frameworks/support/transition/tests/src/android/support/transition/
H A DBaseTransitionTest.java21 import static org.mockito.Mockito.timeout;
59 verify(mListener, timeout(3000)).onTransitionStart(any(Transition.class));
63 verify(mListener, timeout(3000)).onTransitionEnd(any(Transition.class));
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothGattCallback.java193 * @param timeout Supervision timeout for this connection, in 10ms unit. Valid range is
199 public void onConnectionUpdated(BluetoothGatt gatt, int interval, int latency, int timeout, argument
H A DBluetoothGattServerCallback.java198 * @param timeout Supervision timeout for this connection, in 10ms unit. Valid range is
204 public void onConnectionUpdated(BluetoothDevice gatt, int interval, int latency, int timeout, argument
/frameworks/base/core/java/com/android/internal/app/
H A DNetInitiatedActivity.java52 private int timeout = -1; field in class:NetInitiatedActivity
98 timeout = intent.getIntExtra(GpsNetInitiatedHandler.NI_INTENT_KEY_TIMEOUT, default_response_timeout);
100 if (DEBUG) Log.d(TAG, "onCreate() : notificationId: " + notificationId + " timeout: " + timeout + " default_response:" + default_response);
102 mHandler.sendMessageDelayed(mHandler.obtainMessage(GPS_NO_RESPONSE_TIME_OUT), (timeout * 1000));
/frameworks/native/libs/vr/libdvr/
H A Ddvr_buffer_queue.cpp109 int dvrWriteBufferQueueDequeue(DvrWriteBufferQueue* write_queue, int timeout, argument
120 write_queue->producer_queue->Dequeue(timeout, &slot, &release_fence);
172 int dvrReadBufferQueueDequeue(DvrReadBufferQueue* read_queue, int timeout, argument
191 timeout, &slot, out_meta, meta_size_bytes, &acquire_fence);
/frameworks/native/libs/vr/libpdx_uds/
H A Dclient_channel_factory.cpp80 int64_t timeout = -1; local
83 timeout = duration_cast<std::chrono::milliseconds>(remaining).count();
84 if (timeout < 0)
92 status = WaitForEndpoint(endpoint_path_, timeout);
/frameworks/rs/tests/lldb/
H A Dconfig.py106 def timeout(self): member in class:Config
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_android.py60 def adb(self, args, async=False, device=True, timeout=None):
69 timeout: it specifies the number of seconds to wait for
75 - when both the combination async=True and timeout are
77 - when a timeout <= 0 is specified.
81 specified timeout, a string which is the output (standard out and
93 if timeout is None:
101 'with timeout specified')
104 timeout)
115 def adb_retry(self, args, max_num_attempts, timeout):
119 completion up to 'timeout' second
[all...]
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp52 FdBuffer::read(int fd, int64_t timeout) argument
77 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis();
/frameworks/base/core/java/android/service/gatekeeper/
H A DGateKeeperResponse.java50 private static GateKeeperResponse createRetryResponse(int timeout) { argument
52 response.mTimeout = timeout;

Completed in 1030 milliseconds

1234567891011