Home
last modified time | relevance | path

Searched refs:timeoutMillis (Results 1 – 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DHttpUrlConnectionBuilder.java103 public HttpUrlConnectionBuilder setConnectTimeout(int timeoutMillis) { in setConnectTimeout() argument
104 if (timeoutMillis < 0) { in setConnectTimeout()
106 + timeoutMillis); in setConnectTimeout()
108 mConnectTimeoutMillis = timeoutMillis; in setConnectTimeout()
118 public HttpUrlConnectionBuilder setReadTimeout(int timeoutMillis) { in setReadTimeout() argument
119 if (timeoutMillis < 0) { in setReadTimeout()
121 + timeoutMillis); in setReadTimeout()
123 mReadTimeoutMillis = timeoutMillis; in setReadTimeout()
/packages/apps/Dialer/java/com/android/incallui/multisim/
DSwapSimWorker.java63 private final int timeoutMillis; field in SwapSimWorker
84 int timeoutMillis) { in SwapSimWorker() argument
91 this.timeoutMillis = timeoutMillis; in SwapSimWorker()
111 if (!disconnectLatch.await(timeoutMillis, TimeUnit.MILLISECONDS)) { in doInBackground()
124 if (!dialingLatch.await(timeoutMillis, TimeUnit.MILLISECONDS)) { in doInBackground()
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java58 protected final void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() argument
63 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction()
70 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument
75 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DTelecomTestCase.java52 protected static void waitForHandlerAction(Handler h, long timeoutMillis) { in waitForHandlerAction() argument
57 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerAction()
64 protected final void waitForHandlerActionDelayed(Handler h, long timeoutMillis, long delayMs) { in waitForHandlerActionDelayed() argument
69 lock.await(timeoutMillis, TimeUnit.MILLISECONDS); in waitForHandlerActionDelayed()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DJavaNetHttpHelper.java169 public void setConnectTimeout(int timeoutMillis) { in setConnectTimeout() argument
170 mConnectTimeout = timeoutMillis; in setConnectTimeout()
173 public void setReadTimeout(int timeoutMillis) { in setReadTimeout() argument
174 mReadTimeout = timeoutMillis; in setReadTimeout()
DHttpHelper.java39 public void setConnectTimeout(int timeoutMillis); in setConnectTimeout() argument
41 public void setReadTimeout(int timeoutMillis); in setReadTimeout() argument
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DBlockingBroadcastReceiver.java86 public @Nullable Intent awaitForBroadcast(long timeoutMillis) { in awaitForBroadcast() argument
88 return mBlockingQueue.poll(timeoutMillis, TimeUnit.MILLISECONDS); in awaitForBroadcast()
/packages/apps/Dialer/java/com/android/dialer/phonelookup/cp2/
DCp2ExtendedDirectoryPhoneLookup.java100 long timeoutMillis = in lookup() local
107 return timeoutMillis == Long.MAX_VALUE in lookup()
111 cp2InfoFuture, timeoutMillis, TimeUnit.MILLISECONDS, scheduledExecutorService), in lookup()
/packages/services/Telephony/src/com/android/phone/
DNumberVerificationManager.java92 INumberVerificationCallback callback, long timeoutMillis) { in requestVerification() argument
114 }, timeoutMillis); in requestVerification()
DPhoneInterfaceManager.java2525 public void requestNumberVerification(PhoneNumberRange range, long timeoutMillis, in requestNumberVerification() argument
2542 timeoutMillis = Math.min(timeoutMillis, in requestNumberVerification()
2545 NumberVerificationManager.getInstance().requestVerification(range, callback, timeoutMillis); in requestNumberVerification()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
DManagedProfileTest.java105 long timeoutMillis = TIMEOUT_SECONDS * 1000; in removeProfileAndWait() local
106 Intent confirmation = receiver.awaitForBroadcast(timeoutMillis); in removeProfileAndWait()
/packages/services/Car/vehicle-hal-support-lib/src/com/android/car/vehiclehal/test/
DMockedVehicleHal.java79 public boolean waitForSubscriber(int propId, long timeoutMillis) { in waitForSubscriber() argument
84 long waitMillis = startTime - SystemClock.elapsedRealtime() + timeoutMillis; in waitForSubscriber()