Searched defs:timeout (Results 1 - 25 of 29) 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/Gallery2/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.java148 public void showSuccess(boolean timeout) { argument
155 public void showFail(boolean timeout) { argument
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
H A DProcessorBase.java72 public final Object get(long timeout, TimeUnit unit) { argument
/packages/apps/DeskClock/src/com/android/deskclock/
H A DAlarmReceiver.java213 private void updateNotification(Context context, Alarm alarm, int timeout) { argument
236 context.getString(R.string.alarm_alert_alert_silenced, timeout),
/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.java130 * Block until the research log has shut down and spooled out all output or {@code timeout}
133 * @param timeout time to wait for close in milliseconds
135 public void blockingClose(final long timeout) { argument
137 awaitTermination(timeout, TimeUnit.MILLISECONDS);
179 * Block until the research log has aborted or {@code timeout} occurs.
181 * @param timeout time to wait for close in milliseconds
183 public void blockingAbort(final long timeout) { argument
185 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/Email/emailcommon/src/com/android/emailcommon/utility/
H A DSSLUtils.java50 * @param timeout the timeout value in milliseconds or {@code 0} for an infinite timeout.
53 boolean insecure, int timeout) {
57 SSLCertificateSocketFactory.getInsecure(timeout, null);
63 SSLCertificateSocketFactory.getDefault(timeout, null);
74 SSLCertificateSocketFactory underlying = getSSLSocketFactory(insecure, 0 /* no timeout */);
52 getSSLSocketFactory( boolean insecure, int timeout) argument
/packages/apps/Gallery2/tests/src/com/android/gallery3d/data/
H A DLocalDataTest.java174 public boolean isOnContentDirtyBeCalled(long timeout) argument
176 return mLatch.await(timeout, TimeUnit.MILLISECONDS);
/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.java626 public boolean setDiscoverableTimeout(int timeout) { argument
634 return service.setDiscoverableTimeout(timeout);
992 boolean setDiscoverableTimeout(int timeout) { argument
995 return mAdapterProperties.setDiscoverableTimeout(timeout);
/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.java225 private native boolean doSetTimeout(int tech, int timeout); argument
227 public boolean setTimeout(int tech, int timeout) { argument
228 return doSetTimeout(tech, timeout);
H A DNativeNfcTag.java100 public synchronized void setTimeout(int timeout) { argument
101 watchdogTimeout = timeout;
102 doCheck = false; // Do it only after we have waited "timeout" ms again
121 // 3) We just set the timeout, wait for this timeout
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/
H A DNativeNfcManager.java275 private native boolean doSetTimeout(int tech, int timeout); argument
277 public boolean setTimeout(int tech, int timeout) { argument
278 return doSetTimeout(tech, timeout);
H A DNativeNfcTag.java99 public synchronized void setTimeout(int timeout) { argument
100 watchdogTimeout = timeout;
101 doCheck = false; // Do it only after we have waited "timeout" ms again
120 // 3) We just set the timeout, wait for this timeout
/packages/apps/Nfc/src/com/android/nfc/
H A DDeviceHost.java217 public boolean setTimeout(int technology, int timeout); argument
/packages/apps/Exchange/exchange2/src/com/android/exchange/
H A DEasSyncService.java109 // Command timeout is the the time allowed for reading data from an open connection before an
113 // Connection timeout is the time given to connect to the server before reporting an IOException
215 * socket timeout without having thrown an Exception
923 * TODO: shorter timeout for interactive lookup
1236 private HttpClient getHttpClient(int timeout) { argument
1239 HttpConnectionParams.setSoTimeout(params, timeout);
1261 protected EasResponse executePostWithTimeout(HttpClient client, HttpPost method, int timeout) argument
1263 return executePostWithTimeout(client, method, timeout, false);
1267 * Handle executing an HTTP POST command with proper timeout, watchdog, and ping behavior
1270 * @param timeout th
1275 executePostWithTimeout(HttpClient client, HttpPost method, int timeout, boolean isPingCommand) argument
1300 sendHttpClientPost(String cmd, HttpEntity entity, int timeout) argument
[all...]
/packages/apps/Gallery2/src/com/android/camera/
H A DPhotoUI.java652 public void onFocusSucceeded(boolean timeout) { argument
653 getFocusIndicator().showSuccess(timeout);
657 public void onFocusFailed(boolean timeout) { argument
658 getFocusIndicator().showFail(timeout);
/packages/apps/Nfc/nci/jni/
H A DNativeNfcManager.cpp989 ALOGE("%s: Could not configure UICC idle timeout feature", __FUNCTION__);
1492 ** Description: Set timeout value.
1495 ** timeout: Timeout value.
1500 static bool nfcManager_doSetTimeout(JNIEnv*, jobject, jint /*tech*/, jint timeout) argument
1502 if (timeout <= 0)
1508 ALOGD ("%s: timeout=%d", __FUNCTION__, timeout);
1509 gGeneralTransceiveTimeout = timeout;
1518 ** Description: Get timeout value.
1528 ALOGD ("%s: timeout
[all...]

Completed in 576 milliseconds

12