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

123

/packages/apps/Camera/src/com/android/camera/ui/
H A DFocusIndicator.java21 public void showSuccess(boolean timeout); argument
22 public void showFail(boolean timeout); argument
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DFocusIndicator.java21 public void showSuccess(boolean timeout); argument
22 public void showFail(boolean timeout); argument
/packages/apps/Stk/src/com/android/stk/
H A DStkApp.java39 // UI timeout, 30 seconds - used for menues and input
42 // Tone default timeout - 2 seconds
52 int timeout = 0;
56 timeout = 1000 * 60;
59 timeout = 1000 / 10;
63 timeout = 1000;
66 timeout *= duration.timeInterval;
68 return timeout;
H A DToneDialog.java64 // Message id to signal tone duration timeout.
107 int timeout = StkApp.calculateDurationInMilis(settings.duration);
108 if (timeout == 0) {
109 timeout = StkApp.TONE_DFEAULT_TIMEOUT;
111 mToneStopper.sendEmptyMessageDelayed(MSG_ID_STOP_TONE, timeout);
113 mVibrator.vibrate(timeout);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDiscoverableEnabler.java52 // Use the same preference key for discoverable timeout as the old ListPreference.
137 int timeout = getDiscoverableTimeout();
138 long endTimestamp = System.currentTimeMillis() + timeout * 1000L;
141 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout);
144 Log.d(TAG, "setEnabled(): enabled = " + enable + "timeout = " + timeout);
146 if (timeout > 0) {
158 private void updateTimerDisplay(int timeout) { argument
162 String textTimeout = formatTimeRemaining(timeout);
168 private static String formatTimeRemaining(int timeout) { argument
[all...]
/packages/apps/Camera2/src/com/android/camera/async/
H A DForwardingBufferQueue.java43 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, argument
45 return mDelegate.getNext(timeout, unit);
H A DBufferQueue.java44 * @param timeout The maximum amount of time to wait.
45 * @param unit The unit associated with the timeout.
54 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, argument
H A DCountableBufferQueue.java89 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, argument
91 T result = mBufferQueue.getNext(timeout, unit);
H A DConcurrentBufferQueue.java174 public T getNext(long timeout, TimeUnit unit) throws InterruptedException, TimeoutException, argument
176 Entry<T> nextEntry = mQueue.poll(timeout, unit);
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DProcessorBase.java72 public final Object get(long timeout, TimeUnit unit) { argument
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/imagedistributor/
H A DImageStream.java62 * @param timeout The maximum amount of time to wait.
63 * @param unit The unit associated with the timeout.
73 public ImageProxy getNext(long timeout, TimeUnit unit) throws InterruptedException, argument
/packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
H A DAETriggerResult.java107 public boolean get(long timeout, TimeUnit timeUnit) throws InterruptedException, argument
110 return mFutureResult.get(timeout, timeUnit);
H A DAFTriggerResult.java104 public boolean get(long timeout, TimeUnit timeUnit) throws InterruptedException, argument
107 return mFutureResult.get(timeout, timeUnit);
/packages/apps/Nfc/nci/jni/
H A DNfcTag.h313 ** Description: Is the timeout value for a technology the default value?
315 ** timeout: Check this value against the default value.
317 ** Returns: True if timeout is equal to the default value.
320 bool isDefaultTransceiveTimeout (int techId, int timeout);
327 ** Description: Get the timeout value for one technology.
340 ** Description: Set the timeout value for one technology.
342 ** timeout: timeout value in millisecond.
347 void setTransceiveTimeout (int techId, int timeout);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java120 void runUntilStatus(int status, long timeout) throws TimeoutException { argument
123 waitForStatus(status, startMillis, timeout);
130 void waitForStatus(int expected, long afterMillis, long timeout) throws TimeoutException { argument
133 final long elapsedTimeout = SystemClock.elapsedRealtime() + timeout;
144 if (timeout > MINUTE_IN_MILLIS) {
152 if (timeout > MINUTE_IN_MILLIS) {
/packages/apps/Email/tests/src/com/android/email/
H A DTestUtils.java118 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000;
119 while (System.currentTimeMillis() < timeout) {
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasServerConnection.java171 private HttpClient getHttpClient(final long timeout) throws CertificateException { argument
175 HttpConnectionParams.setSoTimeout(params, (int)(timeout));
337 * @param timeout The timeout for this POST.
342 final long timeout) throws IOException, CertificateException {
384 return executeHttpUriRequest(method, timeout);
388 final long timeout) throws IOException, CertificateException {
395 return sendHttpClientPost(cmd, entity, timeout);
408 * @param timeout The timeout t
341 sendHttpClientPost(String cmd, final HttpEntity entity, final long timeout) argument
387 sendHttpClientPost(final String cmd, final byte[] bytes, final long timeout) argument
412 executeHttpUriRequest(final HttpUriRequest method, final long timeout) argument
[all...]
/packages/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeNfcManager.cpp1439 static void setFelicaTimeout(jint timeout) { argument
1440 // The Felica timeout is configurable in the PN544 upto a maximum of 255 ms.
1441 // It can be set to 0 to disable the timeout altogether, in which case we
1443 if (timeout <= 255) {
1444 phLibNfc_SetFelicaTimeout(timeout);
1446 // Disable hw timeout, use sw watchdog for timeout
1448 phLibNfc_SetHciTimeout(timeout);
1461 // The Iso/Mifare Xchg timeout in PN544 is a non-linear function over X
1462 // spanning 0 - 4.9s: timeout i
1475 setIsoDepTimeout(jint timeout) argument
1497 setNfcATimeout(jint timeout) argument
1509 com_android_nfc_NfcManager_doSetTimeout(JNIEnv*, jobject, jint tech, jint timeout) argument
1545 int timeout = -1; local
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DDictionaryFacilitator.java144 void waitForLoadingMainDictionaries(final long timeout, final TimeUnit unit) argument
148 void waitForLoadingDictionariesForTesting(final long timeout, final TimeUnit unit) argument
/packages/apps/Gallery2/jni/
H A Djni_egl_fence.cpp31 EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DTelecomSystemTest.java28 import static org.mockito.Mockito.timeout;
397 timeout(TEST_TIMEOUT))
402 timeout(TEST_TIMEOUT))
425 timeout(TEST_TIMEOUT))
430 timeout(TEST_TIMEOUT))
675 verify(audioManager, timeout(TEST_TIMEOUT))
677 verify(audioManager, timeout(TEST_TIMEOUT).atLeastOnce())
681 verify(audioManager, timeout(TEST_TIMEOUT))
684 verify(audioManager, timeout(TEST_TIMEOUT))
688 verify(audioManager, timeout(TEST_TIMEOU
[all...]
/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/
H A DDynamicRingBuffer.java136 public ImageProxy getNext(long timeout, TimeUnit unit) throws InterruptedException, argument
138 return mQueue.getNext(timeout, unit);
/packages/apps/Settings/tests/src/com/android/settings/tests/
H A DBluetoothRequestPermissionTest.java39 // Discoverable button alternates between 20 second timeout and no timeout.
109 // Discoverability duration toggles between 20 seconds and no timeout.
110 int timeout = (mDiscoveryWithTimeout ? 20 : 0);
111 i.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, timeout);
/packages/services/Telecomm/src/com/android/server/telecom/
H A DCreateConnectionProcessor.java226 CreateConnectionTimeout timeout = new CreateConnectionTimeout(
228 if (timeout.isTimeoutNeededForCall(getConnectionServices(mAttemptRecords),
230 mTimeout = timeout;
231 timeout.registerTimeout();
382 // If there's a timeout running then don't clear it. The timeout can be triggered
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java206 private native boolean doSetTimeout(int tech, int timeout); argument
208 public boolean setTimeout(int tech, int timeout) { argument
209 return doSetTimeout(tech, timeout);

Completed in 876 milliseconds

123