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

/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.java187 private void updateNotification(Context context, Alarm alarm, int timeout) { argument
210 context.getString(R.string.alarm_alert_alert_silenced, timeout),
/packages/experimental/UiAutomation/library/src/com/android/testing/uiautomation/
H A DUiTestHelper.java39 public boolean waitForWindow(String title, long timeout) { argument
42 while (SystemClock.uptimeMillis() - startMills < 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/Settings/src/com/android/settings/bluetooth/
H A DBluetoothDiscoverableEnabler.java48 // Use the same preference key for discoverable timeout as the old ListPreference.
130 int timeout = getDiscoverableTimeout();
131 mLocalAdapter.setDiscoverableTimeout(timeout);
133 long endTimestamp = System.currentTimeMillis() + timeout * 1000L;
136 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout);
143 private void updateTimerDisplay(int timeout) { argument
147 String textTimeout = formatTimeRemaining(timeout);
153 private static String formatTimeRemaining(int timeout) { argument
155 int min = timeout / 60;
157 int sec = timeout
[all...]
H A DLocalBluetoothAdapter.java125 void setDiscoverableTimeout(int timeout) { argument
126 mAdapter.setDiscoverableTimeout(timeout);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DGalleryUtils.java163 // For debugging, it will block the caller for timeout millis.
164 public static void fakeBusy(JobContext jc, int timeout) { argument
171 cv.block(timeout);
/packages/apps/Nfc/src/com/android/nfc/nxp/
H A DNativeNfcManager.java203 private native boolean doSetTimeout(int tech, int timeout); argument
205 public boolean setTimeout(int tech, int timeout) { argument
206 return doSetTimeout(tech, timeout);
H A DNativeNfcTag.java98 public synchronized void setTimeout(int timeout) { argument
99 watchdogTimeout = timeout;
100 doCheck = false; // Do it only after we have waited "timeout" ms again
119 // 3) We just set the timeout, wait for this timeout
/packages/apps/Nfc/src/com/android/nfc/
H A DDeviceHost.java190 public boolean setTimeout(int technology, int timeout); argument
H A DNfcService.java1108 public int setTimeout(int tech, int timeout) throws RemoteException { argument
1110 boolean success = mDeviceHost.setTimeout(tech, timeout);
/packages/apps/Exchange/src/com/android/exchange/
H A DEasSyncService.java128 // Command timeout is the the time allowed for reading data from an open connection before an
132 // Connection timeout is the time given to connect to the server before reporting an IOException
157 * We start with an 8 minute timeout, and increase/decrease by 3 minutes at a time. There's
158 * no point having a timeout shorter than 5 minutes, I think; at that point, we can just let
163 * If we ever have to drop the ping timeout, we'll never increase it again. There's no point
164 * going into hysteresis; the NAT timeout isn't going to change without a change in connection,
268 * socket timeout without having thrown an Exception
934 * TODO: shorter timeout for interactive lookup
1250 private HttpClient getHttpClient(int timeout) { argument
1253 HttpConnectionParams.setSoTimeout(params, timeout);
1278 executePostWithTimeout(HttpClient client, HttpPost method, int timeout) argument
1292 executePostWithTimeout(HttpClient client, HttpPost method, int timeout, boolean isPingCommand) argument
1317 sendHttpClientPost(String cmd, HttpEntity entity, int timeout) argument
[all...]
/packages/apps/Nfc/jni/
H A Dcom_android_nfc_NativeNfcManager.cpp1546 static void setFelicaTimeout(jint timeout) { argument
1547 // The Felica timeout is configurable in the PN544 upto a maximum of 255 ms.
1548 // It can be set to 0 to disable the timeout altogether, in which case we
1550 if (timeout <= 255) {
1551 phLibNfc_SetFelicaTimeout(timeout);
1553 // Disable hw timeout, use sw watchdog for timeout
1555 phLibNfc_SetHciTimeout(timeout);
1568 // The Iso/Mifare Xchg timeout in PN544 is a non-linear function over X
1569 // spanning 0 - 4.9s: timeout i
1582 setIsoDepTimeout(jint timeout) argument
1604 setNfcATimeout(jint timeout) argument
1616 com_android_nfc_NfcManager_doSetTimeout( JNIEnv *e, jobject o, jint tech, jint timeout) argument
1652 int timeout = -1; local
[all...]
/packages/apps/Phone/src/com/android/phone/
H A DInCallScreen.java4174 /* package */ void requestCloseOtaFailureNotice(long timeout) { argument
4175 if (DBG) log("requestCloseOtaFailureNotice() with timeout: " + timeout);
4176 mHandler.sendEmptyMessageDelayed(REQUEST_CLOSE_OTA_FAILURE_NOTICE, timeout);
4191 /* package */ void requestCloseSpcErrorNotice(long timeout) { argument
4192 if (DBG) log("requestCloseSpcErrorNotice() with timeout: " + timeout);
4193 mHandler.sendEmptyMessageDelayed(REQUEST_CLOSE_SPC_ERROR_NOTICE, timeout);

Completed in 312 milliseconds