Searched refs:timeout (Results 1 - 25 of 33) sorted by path

12

/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.java626 public boolean setDiscoverableTimeout(int timeout) { argument
634 return service.setDiscoverableTimeout(timeout);
981 boolean setDiscoverableTimeout(int timeout) { argument
984 return mAdapterProperties.setDiscoverableTimeout(timeout);
/packages/apps/Camera/src/com/android/camera/ui/
H A DFaceView.java145 public void showSuccess(boolean timeout) { argument
152 public void showFail(boolean timeout) { argument
H A DFocusIndicator.java21 public void showSuccess(boolean timeout); argument
22 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/Contacts/src/com/android/contacts/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/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/Email/src/org/apache/commons/io/
H A DFileUtils.java1057 * Waits for NFS to propagate a file creation, imposing a timeout.
1068 int timeout = 0;
1073 if (timeout++ > seconds) {
/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/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/jni/
H A Djni_egl_fence.cpp31 EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DPhotoView.java1387 boolean timeout = (mUndoBarState & UNDO_BAR_TIMEOUT) != 0;
1391 if ((timeout && deleteLast) || fullCamera || touched) {
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DGalleryUtils.java196 // For debugging, it will block the caller for timeout millis.
197 public static void fakeBusy(JobContext jc, int timeout) { argument
205 cv.block(timeout);
/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/Nfc/nci/jni/
H A DNativeNfcManager.cpp1440 ** Description: Set timeout value.
1443 ** timeout: Timeout value.
1448 static bool nfcManager_doSetTimeout(JNIEnv *e, jobject o, jint tech, jint timeout) argument
1450 if (timeout <= 0)
1456 ALOGD ("%s: timeout=%d", __FUNCTION__, timeout);
1457 gGeneralTransceiveTimeout = timeout;
1466 ** Description: Get timeout value.
1476 ALOGD ("%s: timeout=%d", __FUNCTION__, gGeneralTransceiveTimeout);
1727 // 00 87 93 03 == > These 4 bytes form a 4 byte value which decides the idle timeout(i
[all...]
/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.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/nxp/jni/
H A Dcom_android_nfc_NativeNfcManager.cpp1471 static void setFelicaTimeout(jint timeout) { argument
1472 // The Felica timeout is configurable in the PN544 upto a maximum of 255 ms.
1473 // It can be set to 0 to disable the timeout altogether, in which case we
1475 if (timeout <= 255) {
1476 phLibNfc_SetFelicaTimeout(timeout);
1478 // Disable hw timeout, use sw watchdog for timeout
1480 phLibNfc_SetHciTimeout(timeout);
1493 // The Iso/Mifare Xchg timeout in PN544 is a non-linear function over X
1494 // spanning 0 - 4.9s: timeout i
1507 setIsoDepTimeout(jint timeout) argument
1529 setNfcATimeout(jint timeout) argument
1541 com_android_nfc_NfcManager_doSetTimeout( JNIEnv *e, jobject o, jint tech, jint timeout) argument
1577 int timeout = -1; local
[all...]
/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.java215 public boolean setTimeout(int technology, int timeout); argument
H A DNfcService.java1225 public int setTimeout(int tech, int timeout) throws RemoteException { argument
1227 boolean success = mDeviceHost.setTimeout(tech, timeout);
1478 public WatchDogThread(String threadName, int timeout) { argument
1480 mTimeout = timeout;
1496 getId() + " timeout=" + mTimeout);
/packages/apps/Phone/src/com/android/phone/
H A DInCallScreen.java4245 /* package */ void requestCloseOtaFailureNotice(long timeout) { argument
4246 if (DBG) log("requestCloseOtaFailureNotice() with timeout: " + timeout);
4247 mHandler.sendEmptyMessageDelayed(REQUEST_CLOSE_OTA_FAILURE_NOTICE, timeout);
4262 /* package */ void requestCloseSpcErrorNotice(long timeout) { argument
4263 if (DBG) log("requestCloseSpcErrorNotice() with timeout: " + timeout);
4264 mHandler.sendEmptyMessageDelayed(REQUEST_CLOSE_SPC_ERROR_NOTICE, timeout);
/packages/apps/Settings/src/com/android/settings/
H A DDisplaySettings.java162 long timeout = Long.parseLong(values[i].toString());
163 if (currentTimeout >= timeout) {
187 long timeout = Long.parseLong(values[i].toString());
188 if (timeout <= maxTimeout) {
351 Log.e(TAG, "could not persist screen timeout setting", e);

Completed in 9866 milliseconds

12