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.java988 public void showSuccess(boolean timeout) { argument
991 timeout, mStartAnimationAngle);
998 public void showFail(boolean timeout) { argument
1001 timeout, mStartAnimationAngle);
1025 private void startAnimation(long duration, boolean timeout, argument
1027 startAnimation(duration, timeout, mDialAngle,
1031 private void startAnimation(long duration, boolean timeout, argument
1037 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.cpp1121 ALOGE("%s: Could not configure UICC idle timeout feature", __FUNCTION__);
1691 ** Description: Set timeout value.
1695 ** timeout: Timeout value.
1700 static bool nfcManager_doSetTimeout(JNIEnv*, jobject, jint tech, jint timeout) argument
1702 if (timeout <= 0)
1707 ALOGD ("%s: tech=%d, timeout=%d", __FUNCTION__, tech, timeout);
1708 NfcTag::getInstance().setTransceiveTimeout (tech, timeout);
1717 ** Description: Get timeout value.
1727 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.java269 boolean setDiscoverableTimeout(int timeout) { argument
273 Utils.intToByteArray(timeout));
512 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.java172 private HttpClient getHttpClient(final long timeout) { argument
176 HttpConnectionParams.setSoTimeout(params, (int)(timeout));
330 * @param timeout The timeout for this POST.
335 final long timeout) throws IOException {
376 return executeHttpUriRequest(method, timeout);
380 final long timeout) throws IOException {
387 return sendHttpClientPost(cmd, entity, timeout);
400 * @param timeout The timeout t
334 sendHttpClientPost(String cmd, final HttpEntity entity, final long timeout) argument
379 sendHttpClientPost(final String cmd, final byte[] bytes, final long timeout) argument
404 executeHttpUriRequest(final HttpUriRequest method, final long timeout) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DGalleryUtils.java189 // For debugging, it will block the caller for timeout millis.
190 public static void fakeBusy(JobContext jc, int timeout) { argument
198 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/Camera2/src/com/android/camera/
H A DPhotoUI.java812 public void onFocusSucceeded(boolean timeout) { argument
813 getFocusIndicator().showSuccess(timeout);
817 public void onFocusFailed(boolean timeout) { argument
818 getFocusIndicator().showFail(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

Completed in 387 milliseconds

12