/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDiscoverableEnabler.java | 138 int timeout = getDiscoverableTimeout(); in setEnabled() local 139 long endTimestamp = System.currentTimeMillis() + timeout * 1000L; in setEnabled() 142 mLocalAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_CONNECTABLE_DISCOVERABLE, timeout); in setEnabled() 145 Log.d(TAG, "setEnabled(): enabled = " + enable + "timeout = " + timeout); in setEnabled() 147 if (timeout > 0) { in setEnabled() 159 private void updateTimerDisplay(int timeout) { in updateTimerDisplay() argument 163 String textTimeout = formatTimeRemaining(timeout); in updateTimerDisplay() 169 private static String formatTimeRemaining(int timeout) { in formatTimeRemaining() argument 171 int min = timeout / 60; in formatTimeRemaining() 173 int sec = timeout - (min * 60); in formatTimeRemaining() [all …]
|
D | LocalBluetoothAdapter.java | 125 void setDiscoverableTimeout(int timeout) { in setDiscoverableTimeout() argument 126 mAdapter.setDiscoverableTimeout(timeout); in setDiscoverableTimeout()
|
/packages/apps/Nfc/nxp/jni/ |
D | com_android_nfc_NativeNfcManager.cpp | 1439 static void setFelicaTimeout(jint timeout) { in setFelicaTimeout() argument 1443 if (timeout <= 255) { in setFelicaTimeout() 1444 phLibNfc_SetFelicaTimeout(timeout); in setFelicaTimeout() 1448 phLibNfc_SetHciTimeout(timeout); in setFelicaTimeout() 1475 static void setIsoDepTimeout(jint timeout) { in setIsoDepTimeout() argument 1476 if (timeout <= 4900) { in setIsoDepTimeout() 1477 int value = calcTimeout(timeout); in setIsoDepTimeout() 1493 phLibNfc_SetHciTimeout(timeout); in setIsoDepTimeout() 1497 static void setNfcATimeout(jint timeout) { in setNfcATimeout() argument 1498 if (timeout <= 4900) { in setNfcATimeout() [all …]
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkApp.java | 52 int timeout = 0; in calculateDurationInMilis() local 56 timeout = 1000 * 60; in calculateDurationInMilis() 59 timeout = 1000 / 10; in calculateDurationInMilis() 63 timeout = 1000; in calculateDurationInMilis() 66 timeout *= duration.timeInterval; in calculateDurationInMilis() 68 return timeout; in calculateDurationInMilis()
|
D | ToneDialog.java | 107 int timeout = StkApp.calculateDurationInMilis(settings.duration); in onCreate() local 108 if (timeout == 0) { in onCreate() 109 timeout = StkApp.TONE_DFEAULT_TIMEOUT; in onCreate() 111 mToneStopper.sendEmptyMessageDelayed(MSG_ID_STOP_TONE, timeout); in onCreate() 113 mVibrator.vibrate(timeout); in onCreate()
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
D | EasServerConnection.java | 171 private HttpClient getHttpClient(final long timeout) throws CertificateException { in getHttpClient() argument 175 HttpConnectionParams.setSoTimeout(params, (int)(timeout)); in getHttpClient() 342 final long timeout) throws IOException, CertificateException { in sendHttpClientPost() argument 384 return executeHttpUriRequest(method, timeout); in sendHttpClientPost() 388 final long timeout) throws IOException, CertificateException { in sendHttpClientPost() argument 395 return sendHttpClientPost(cmd, entity, timeout); in sendHttpClientPost() 412 public EasResponse executeHttpUriRequest(final HttpUriRequest method, final long timeout) in executeHttpUriRequest() argument 431 getHttpClient(timeout), method); in executeHttpUriRequest()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractPublicApiTest.java | 120 void runUntilStatus(int status, long timeout) throws TimeoutException { in runUntilStatus() argument 123 waitForStatus(status, startMillis, timeout); in runUntilStatus() 130 void waitForStatus(int expected, long afterMillis, long timeout) throws TimeoutException { in waitForStatus() argument 133 final long elapsedTimeout = SystemClock.elapsedRealtime() + timeout; in waitForStatus() 144 if (timeout > MINUTE_IN_MILLIS) { in waitForStatus() 152 if (timeout > MINUTE_IN_MILLIS) { in waitForStatus()
|
D | DownloadProviderFunctionalTest.java | 121 final long timeout = SystemClock.elapsedRealtime() + (15 * SECOND_IN_MILLIS); in runUntilStatus() local 122 while (SystemClock.elapsedRealtime() < timeout) { in runUntilStatus()
|
/packages/apps/Camera/src/com/android/camera/ui/ |
D | PieRenderer.java | 698 public void showSuccess(boolean timeout) { in showSuccess() argument 701 timeout, mStartAnimationAngle); in showSuccess() 708 public void showFail(boolean timeout) { in showFail() argument 711 timeout, mStartAnimationAngle); in showFail() 735 private void startAnimation(long duration, boolean timeout, in startAnimation() argument 737 startAnimation(duration, timeout, mDialAngle, in startAnimation() 741 private void startAnimation(long duration, boolean timeout, in startAnimation() argument 747 mAnimation.setAnimationListener(timeout ? mEndAction : null); in startAnimation()
|
D | FocusIndicator.java | 21 public void showSuccess(boolean timeout); in showSuccess() argument 22 public void showFail(boolean timeout); in showFail() argument
|
/packages/apps/Nfc/nci/jni/ |
D | NativeNfcManager.cpp | 1479 static bool nfcManager_doSetTimeout(JNIEnv*, jobject, jint tech, jint timeout) in nfcManager_doSetTimeout() argument 1481 if (timeout <= 0) in nfcManager_doSetTimeout() 1486 ALOGD ("%s: tech=%d, timeout=%d", __FUNCTION__, tech, timeout); in nfcManager_doSetTimeout() 1487 NfcTag::getInstance().setTransceiveTimeout (tech, timeout); in nfcManager_doSetTimeout() 1506 int timeout = NfcTag::getInstance().getTransceiveTimeout (tech); in nfcManager_doGetTimeout() local 1507 ALOGD ("%s: tech=%d, timeout=%d", __FUNCTION__, tech, timeout); in nfcManager_doGetTimeout() 1508 return timeout; in nfcManager_doGetTimeout()
|
D | NfcTag.h | 308 bool isDefaultTransceiveTimeout (int techId, int timeout); 335 void setTransceiveTimeout (int techId, int timeout);
|
/packages/apps/Settings/src/com/android/settings/ |
D | SecuritySettings.java | 504 long timeout = Long.valueOf(values[i].toString()); in updateLockAfterPreferenceSummary() local 505 if (currentTimeout >= timeout) { in updateLockAfterPreferenceSummary() 525 long timeout = Long.valueOf(values[i].toString()); in disableUnusableTimeouts() local 526 if (timeout <= maxTimeout) { in disableUnusableTimeouts() 654 int timeout = Integer.parseInt((String) value); in onPreferenceChange() local 657 Settings.Secure.LOCK_SCREEN_LOCK_AFTER_TIMEOUT, timeout); in onPreferenceChange() local
|
D | DisplaySettings.java | 207 long timeout = Long.parseLong(values[i].toString()); in updateTimeoutPreferenceDescription() local 208 if (currentTimeout >= timeout) { in updateTimeoutPreferenceDescription() 232 long timeout = Long.parseLong(values[i].toString()); in disableUnusableTimeouts() local 233 if (timeout <= maxTimeout) { in disableUnusableTimeouts()
|
D | ConfirmLockPassword.java | 265 private void showError(int msg, long timeout) { in showError() argument 270 if (timeout != 0) { in showError() 271 mHandler.postDelayed(mResetErrorRunnable, timeout); in showError()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CreateConnectionProcessor.java | 226 CreateConnectionTimeout timeout = new CreateConnectionTimeout( in setTimeoutIfNeeded() local 228 if (timeout.isTimeoutNeededForCall(getConnectionServices(mAttemptRecords), in setTimeoutIfNeeded() 230 mTimeout = timeout; in setTimeoutIfNeeded() 231 timeout.registerTimeout(); in setTimeoutIfNeeded()
|
/packages/apps/Nfc/nci/src/com/android/nfc/dhimpl/ |
D | NativeNfcManager.java | 206 private native boolean doSetTimeout(int tech, int timeout); in doSetTimeout() argument 208 public boolean setTimeout(int tech, int timeout) { in setTimeout() argument 209 return doSetTimeout(tech, timeout); in setTimeout()
|
/packages/apps/Nfc/nxp/src/com/android/nfc/dhimpl/ |
D | NativeNfcManager.java | 264 private native boolean doSetTimeout(int tech, int timeout); in doSetTimeout() argument 266 public boolean setTimeout(int tech, int timeout) { in setTimeout() argument 267 return doSetTimeout(tech, timeout); in setTimeout()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | DictionaryFacilitator.java | 380 public void waitForLoadingMainDictionary(final long timeout, final TimeUnit unit) in waitForLoadingMainDictionary() argument 382 mLatchForWaitingLoadingMainDictionary.await(timeout, unit); in waitForLoadingMainDictionary() 386 public void waitForLoadingDictionariesForTesting(final long timeout, final TimeUnit unit) in waitForLoadingDictionariesForTesting() argument 388 waitForLoadingMainDictionary(timeout, unit); in waitForLoadingDictionariesForTesting()
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | FocusIndicator.java | 21 public void showSuccess(boolean timeout); in showSuccess() argument 22 public void showFail(boolean timeout); in showFail() argument
|
D | FaceView.java | 141 public void showSuccess(boolean timeout) { in showSuccess() argument 147 public void showFail(boolean timeout) { in showFail() argument
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmStateManager.java | 367 Calendar timeout = instance.getTimeout(context); in setFiredState() local 368 if (timeout != null) { in setFiredState() 369 scheduleInstanceStateChange(context, timeout, instance, AlarmInstance.MISSED_STATE); in setFiredState()
|
/packages/apps/Email/tests/src/com/android/email/ |
D | TestUtils.java | 118 final long timeout = System.currentTimeMillis() + timeoutSeconds * 1000; in waitUntil() local 119 while (System.currentTimeMillis() < timeout) { in waitUntil()
|
/packages/apps/Settings/tests/src/com/android/settings/tests/ |
D | BluetoothRequestPermissionTest.java | 110 int timeout = (mDiscoveryWithTimeout ? 20 : 0); in requestPermission() local 111 i.putExtra(BluetoothAdapter.EXTRA_DISCOVERABLE_DURATION, timeout); in requestPermission()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanManager.java | 817 int timeout = getOnfoundLostTimeout(client); in configureFilterParamter() local 821 timeout, timeout, ONFOUND_SIGHTINGS); in configureFilterParamter()
|