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

12

/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
H A DFaceView.java145 public void showSuccess(boolean timeout) { argument
152 public void showFail(boolean timeout) { argument
H A DPieRenderer.java698 public void showSuccess(boolean timeout) { argument
701 timeout, mStartAnimationAngle);
708 public void showFail(boolean timeout) { argument
711 timeout, mStartAnimationAngle);
735 private void startAnimation(long duration, boolean timeout, argument
737 startAnimation(duration, timeout, mDialAngle,
741 private void startAnimation(long duration, boolean timeout, argument
747 mAnimation.setAnimationListener(timeout ? mEndAction : null);
/packages/apps/Camera2/src/com/android/camera/ui/
H A DFocusIndicator.java21 public void showSuccess(boolean timeout); argument
22 public void showFail(boolean timeout); argument
H A DFaceView.java151 public void showSuccess(boolean timeout) { argument
158 public void showFail(boolean timeout) { argument
H A DPieRenderer.java993 public void showSuccess(boolean timeout) { argument
996 timeout, mStartAnimationAngle);
1003 public void showFail(boolean timeout) { argument
1006 timeout, mStartAnimationAngle);
1046 private void startAnimation(long duration, boolean timeout, argument
1048 startAnimation(duration, timeout, mDialAngle,
1052 private void startAnimation(long duration, boolean timeout, argument
1058 mAnimation.setAnimationListener(timeout ? mEndAction : null);
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DProcessorBase.java72 public final Object get(long timeout, TimeUnit unit) { argument
/packages/apps/Nfc/nci/jni/
H A DNativeSecureElement.cpp154 int timeout = NfcTag::getInstance ().getTransceiveTimeout (TARGET_TYPE_ISO14443_4); //NFC service expects JNI to use ISO-DEP's timeout local
158 SecureElement::getInstance().transceive(reinterpret_cast<UINT8*>(&bytes[0]), bytes.size(), recvBuffer, recvBufferMaxSize, recvBufferActualSize, timeout); local
H A DNfcTag.cpp1393 ** Description: Get the timeout value for one technology.
1415 ** Description: Set the timeout value for one technology.
1417 ** timeout: timeout value in millisecond.
1422 void setTransceiveTimeout (int techId, int timeout);
1423 void NfcTag::setTransceiveTimeout (int techId, int timeout) argument
1427 mTechnologyTimeoutsTable [techId] = timeout;
H A DNativeNfcManager.cpp1148 ALOGE("%s: Could not configure UICC idle timeout feature", __FUNCTION__);
1718 ** Description: Set timeout value.
1722 ** timeout: Timeout value.
1727 static bool nfcManager_doSetTimeout(JNIEnv*, jobject, jint tech, jint timeout) argument
1729 if (timeout <= 0)
1734 ALOGD ("%s: tech=%d, timeout=%d", __FUNCTION__, tech, timeout);
1735 NfcTag::getInstance().setTransceiveTimeout (tech, timeout);
1744 ** Description: Get timeout value.
1754 int timeout local
[all...]
H A DNativeNfcTag.cpp570 ALOGD ("%s: ndef detection timeout; break", __FUNCTION__);
586 if (sReconnectEvent.wait (1000) == false) //if timeout occurred
588 ALOGE ("%s: timeout waiting for deactivate", __FUNCTION__);
620 if (sReconnectEvent.wait (1000) == false) //if timeout occured
622 ALOGE ("%s: timeout waiting for select", __FUNCTION__);
837 int timeout = NfcTag::getInstance ().getTransceiveTimeout(sCurrentConnectedTargetType); local
838 ALOGD ("%s: enter; raw=%u; timeout = %d", __FUNCTION__, raw, timeout);
898 waitOk = sTransceiveEvent.wait (timeout);
901 if (waitOk == false || sTransceiveRfTimeout) //if timeout occurre
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DDictionaryPool.java82 public DictAndKeyboard poll(final long timeout, final TimeUnit unit) argument
90 final DictAndKeyboard result = super.poll(timeout, unit);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
H A DResearchLog.java140 * Block until the research log has shut down and spooled out all output or {@code timeout}
143 * @param timeout time to wait for close in milliseconds
145 public void blockingClose(final long timeout) { argument
147 awaitTermination(timeout, TimeUnit.MILLISECONDS);
189 * Block until the research log has aborted or {@code timeout} occurs.
191 * @param timeout time to wait for close in milliseconds
193 public void blockingAbort(final long timeout) { argument
195 awaitTermination(timeout, TimeUnit.MILLISECONDS);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DAbstractPublicApiTest.java113 void runUntilStatus(int status, long timeout) throws TimeoutException { argument
116 waitForStatus(status, startMillis, timeout);
123 void waitForStatus(int expected, long afterMillis, long timeout) throws TimeoutException { argument
126 final long elapsedTimeout = SystemClock.elapsedRealtime() + timeout;
137 if (timeout > MINUTE_IN_MILLIS) {
145 if (timeout > MINUTE_IN_MILLIS) {
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDiscoverableEnabler.java53 // Use the same preference key for discoverable timeout as the old ListPreference.
135 int timeout = getDiscoverableTimeout();
136 long endTimestamp = System.currentTimeMillis() + timeout * 1000L;
139 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout);
142 Log.d(TAG, "setEnabled(): enabled = " + enable + "timeout = " + timeout);
144 if (timeout > 0) {
153 private void updateTimerDisplay(int timeout) { argument
157 String textTimeout = formatTimeRemaining(timeout);
163 private static String formatTimeRemaining(int timeout) { argument
[all...]
H A DLocalBluetoothAdapter.java125 void setDiscoverableTimeout(int timeout) { argument
126 mAdapter.setDiscoverableTimeout(timeout);
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
H A DAdapterProperties.java268 boolean setDiscoverableTimeout(int timeout) { argument
272 Utils.intToByteArray(timeout));
511 else /* if timeout == never (0) at startup */
H A DAdapterService.java628 public boolean setDiscoverableTimeout(int timeout) { argument
636 return service.setDiscoverableTimeout(timeout);
1006 boolean setDiscoverableTimeout(int timeout) { argument
1009 return mAdapterProperties.setDiscoverableTimeout(timeout);
/packages/apps/Exchange/src/com/android/exchange/service/
H A DEasServerConnection.java173 private HttpClient getHttpClient(final long timeout) throws CertificateException { argument
177 HttpConnectionParams.setSoTimeout(params, (int)(timeout));
331 * @param timeout The timeout for this POST.
336 final long timeout) throws IOException, CertificateException {
377 return executeHttpUriRequest(method, timeout);
381 final long timeout) throws IOException, CertificateException {
388 return sendHttpClientPost(cmd, entity, timeout);
401 * @param timeout The timeout t
335 sendHttpClientPost(String cmd, final HttpEntity entity, final long timeout) argument
380 sendHttpClientPost(final String cmd, final byte[] bytes, final long timeout) argument
405 executeHttpUriRequest(final HttpUriRequest method, final long timeout) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DGalleryUtils.java190 // For debugging, it will block the caller for timeout millis.
191 public static void fakeBusy(JobContext jc, int timeout) { argument
199 cv.block(timeout);
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java241 private native boolean doSetTimeout(int tech, int timeout); argument
243 public boolean setTimeout(int tech, int timeout) { argument
244 return doSetTimeout(tech, timeout);
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java305 private native boolean doSetTimeout(int tech, int timeout); argument
307 public boolean setTimeout(int tech, int timeout) { argument
308 return doSetTimeout(tech, timeout);
/packages/apps/Exchange/src/com/android/exchange/
H A DEasSyncService.java113 // Command timeout is the the time allowed for reading data from an open connection before an
117 // Connection timeout is the time given to connect to the server before reporting an IOException
251 * socket timeout without having thrown an Exception
947 * TODO: shorter timeout for interactive lookup
1260 private HttpClient getHttpClient(int timeout) { argument
1263 HttpConnectionParams.setSoTimeout(params, timeout);
1281 protected EasResponse executePostWithTimeout(HttpClient client, HttpPost method, int timeout) argument
1283 return executePostWithTimeout(client, method, timeout, false);
1287 * Handle executing an HTTP POST command with proper timeout, watchdog, and ping behavior
1290 * @param timeout th
1295 executePostWithTimeout(HttpClient client, HttpPost method, final int timeout, final boolean isPingCommand) argument
1325 sendHttpClientPost(String cmd, HttpEntity entity, int timeout) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DDeviceHost.java233 public boolean setTimeout(int technology, int timeout); argument
/packages/apps/Camera2/src/com/android/camera/
H A DPhotoUI.java854 public void onFocusSucceeded(boolean timeout) { argument
855 getFocusIndicator().showSuccess(timeout);
859 public void onFocusFailed(boolean timeout) { argument
860 getFocusIndicator().showFail(timeout);

Completed in 808 milliseconds

12