Searched defs:timeout (Results 1 - 25 of 120) sorted by relevance

12345

/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/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/rs/
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/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/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/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...]
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/opt/net/voip/src/java/com/android/server/sip/
H A DSipWakeLock.java42 synchronized void acquire(long timeout) { argument
48 mTimerWakeLock.acquire(timeout);
/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...]
H A DUiAutomatorBridge.java94 public void waitForIdle(long timeout) { argument
96 mUiAutomation.waitForIdle(QUIET_TIME_TO_BE_CONSIDERD_IDLE_STATE, timeout);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothServerSocket.java141 * timeout
148 * Block until a connection is established, with timeout.
155 * timeout
157 public BluetoothSocket accept(int timeout) throws IOException { argument
158 return mSocket.accept(timeout);
/frameworks/base/core/java/android/net/
H A DSntpClient.java69 * @param timeout network timeout in milliseconds.
72 public boolean requestTime(String host, int timeout) { argument
76 socket.setSoTimeout(timeout);
/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/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/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/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/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java90 * @param timeout the time to wait if another rendering is happening.
97 public Result init(long timeout) { argument
100 Result result = acquireLock(timeout);
141 * The preparation can fail if another rendering took too long and the timeout was elapsed.
149 * @param timeout the time to wait if another rendering is happening.
157 public Result acquire(long timeout) { argument
164 Result result = acquireLock(timeout);
181 * @param timeout the time to wait if another rendering is happening.
187 private Result acquireLock(long timeout) { argument
191 boolean acquired = lock.tryLock(timeout, TimeUni
[all...]
/frameworks/native/services/sensorservice/
H A DSensorDevice.h49 BatchParams(int flag, nsecs_t delay, nsecs_t timeout): flags(flag), batchDelay(delay), argument
50 batchTimeout(timeout) { }
57 // Store batch parameters in the KeyedVector and the optimal batch_rate and timeout in
59 // vector. A continuous mode request is batch(... timeout=0 ..) followed by activate(). A batch
60 // mode request is batch(... timeout > 0 ...) followed by activate().
98 // Call batch with timeout zero instead of calling setDelay() for newer devices.
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DRequestFuture.java95 public T get(long timeout, TimeUnit unit) argument
97 return doGet(TimeUnit.MILLISECONDS.convert(timeout, unit));
/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/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/base/core/java/com/android/internal/os/
H A DTransferPipe.java79 String prefix, String[] args, long timeout) throws IOException, RemoteException {
92 tp.go(out, timeout);
104 String[] args, long timeout) throws IOException, RemoteException {
117 tp.go(out, timeout);
127 public void go(FileDescriptor out, long timeout) throws IOException { argument
131 mEndTime = SystemClock.uptimeMillis() + timeout;
78 go(Caller caller, IInterface iface, FileDescriptor out, String prefix, String[] args, long timeout) argument
103 goDump(IBinder binder, FileDescriptor out, String[] args, long timeout) argument

Completed in 870 milliseconds

12345