Searched refs:timeout (Results 1 - 25 of 42) 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
/packages/apps/Stk/src/com/android/stk/
H A DStkApp.java39 // UI timeout, 30 seconds - used for menues and input
42 // Tone default timeout - 2 seconds
52 int timeout = 0;
56 timeout = 1000 * 60;
59 timeout = 1000 / 10;
63 timeout = 1000;
66 timeout *= duration.timeInterval;
68 return timeout;
H A DToneDialog.java60 // Message id to signal tone duration timeout.
91 int timeout = StkApp.calculateDurationInMilis(settings.duration);
92 if (timeout == 0) {
93 timeout = StkApp.TONE_DFEAULT_TIMEOUT;
95 mToneStopper.sendEmptyMessageDelayed(MSG_ID_STOP_TONE, timeout);
97 mVibrator.vibrate(timeout);
/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/ContactsCommon/src/com/android/contacts/common/vcard/
H A DProcessorBase.java72 public final Object get(long timeout, TimeUnit unit) { argument
/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/tests/src/com/android/email/
H A DTestUtils.java117 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000;
118 while (System.currentTimeMillis() < 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/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.h278 ** Description: Get the timeout value for one technology.
291 ** Description: Set the timeout value for one technology.
293 ** timeout: timeout value in millisecond.
298 void setTransceiveTimeout (int techId, int 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/apps/Gallery2/jni/
H A Djni_egl_fence.cpp31 EGLSyncKHR sync, EGLint flags, EGLTimeKHR timeout);
/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/apps/Nfc/nxp/jni/
H A Dcom_android_nfc_NativeNfcManager.cpp1490 static void setFelicaTimeout(jint timeout) { argument
1491 // The Felica timeout is configurable in the PN544 upto a maximum of 255 ms.
1492 // It can be set to 0 to disable the timeout altogether, in which case we
1494 if (timeout <= 255) {
1495 phLibNfc_SetFelicaTimeout(timeout);
1497 // Disable hw timeout, use sw watchdog for timeout
1499 phLibNfc_SetHciTimeout(timeout);
1512 // The Iso/Mifare Xchg timeout in PN544 is a non-linear function over X
1513 // spanning 0 - 4.9s: timeout i
1526 setIsoDepTimeout(jint timeout) argument
1548 setNfcATimeout(jint timeout) argument
1560 com_android_nfc_NfcManager_doSetTimeout( JNIEnv *e, jobject o, jint tech, jint timeout) argument
1596 int timeout = -1; local
[all...]
/packages/apps/Settings/tests/src/com/android/settings/tests/
H A DBluetoothRequestPermissionTest.java39 // Discoverable button alternates between 20 second timeout and no timeout.
109 // Discoverability duration toggles between 20 seconds and no timeout.
110 int timeout = (mDiscoveryWithTimeout ? 20 : 0);
111 i.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, timeout);
/packages/apps/Settings/src/com/android/settings/
H A DDisplaySettings.java141 long timeout = Long.parseLong(values[i].toString());
142 if (currentTimeout >= timeout) {
166 long timeout = Long.parseLong(values[i].toString());
167 if (timeout <= maxTimeout) {
183 // If the last one happens to be the same as the max timeout, select that
308 Log.e(TAG, "could not persist screen timeout setting", e);
H A DSecuritySettings.java426 // This setting is a slave to display timeout when a device policy is enforced.
441 long timeout = Long.valueOf(values[i].toString());
442 if (currentTimeout >= timeout) {
455 long timeout = Long.valueOf(values[i].toString());
456 if (timeout <= maxTimeout) {
612 int timeout = Integer.parseInt((String) value);
615 Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, timeout);
617 Log.e("SecuritySettings", "could not persist lockAfter timeout setting", e);
/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/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DSkbContainer.java172 * Used to timeout a press if user holds the key for a long time.
559 * When user presses a key for a long time, the timeout interval to
566 * {@link #LONG_PRESS_KEYNUM1} key events, this timeout interval will be
573 * {@link #LONG_PRESS_KEYNUM2} key events, this timeout interval will be
580 * {@link #LONG_PRESS_KEYNUM1} key events, timeout interval
587 * {@link #LONG_PRESS_KEYNUM2} key events, timeout interval
624 long timeout;
626 timeout = LONG_PRESS_TIMEOUT1;
628 timeout = LONG_PRESS_TIMEOUT2;
630 timeout
[all...]
/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/Nfc/src/com/android/nfc/
H A DDeviceHost.java233 public boolean setTimeout(int technology, int timeout); argument

Completed in 7522 milliseconds

12