Home
last modified time | relevance | path

Searched refs:waitTime (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/
DTaskQueue.java126 long waitTime = task.getReadyInMilliSeconds(); in getNextTask() local
127 if (waitTime < readyToleranceMillis) { in getNextTask()
130 if (minimalWaitTime == null || waitTime < minimalWaitTime) { in getNextTask()
131 minimalWaitTime = waitTime; in getNextTask()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DThreshold.java40 Threshold(int accessNetwork, int measurementType, int threshold, int matchType, int waitTime) { in Threshold() argument
47 this.mWaitTime = waitTime; in Threshold()
126 void setWaitTime(int waitTime) { in setWaitTime() argument
127 mWaitTime = waitTime; in setWaitTime()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DSettingsStorageService.java196 long waitTime = minTime - System.currentTimeMillis(); in unmount() local
197 while (waitTime > 0) { in unmount()
199 Thread.sleep(waitTime); in unmount()
203 waitTime = minTime - System.currentTimeMillis(); in unmount()
/packages/modules/Connectivity/nearby/tests/integration/untrusted/src/androidx/test/uiautomator/
DLogcatWaitMixin.java48 @NonNull String specificLog, @NonNull Date startTime, @NonNull Duration waitTime) { in waitForSpecificLog() argument
49 return wait(createWaitCondition(specificLog, startTime), waitTime.toMillis()); in waitForSpecificLog()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsSender.java228 long waitTime = smsSendTimeoutInMillis; in sendMessage() local
232 while (pendingResult.hasPending() && waitTime > 0) { in sendMessage()
234 pendingResult.wait(waitTime); in sendMessage()
238 waitTime = smsSendTimeoutInMillis - (SystemClock.elapsedRealtime() - beginTime); in sendMessage()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DSQLiteQueryBuilderTest.java428 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local
429 if (waitTime > 150 * 1000000L) { in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows()
488 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local
489 if (waitTime > 150 * 1000000L && waitTime < 600 * 1000000L) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastSettingsTest.java306 long waitTime = 0; in waitUntilDialogOpens() local
307 while (waitTime < maxWaitMs) { in waitUntilDialogOpens()
313 waitTime += 100; in waitUntilDialogOpens()
DCellBroadcastAlertDialogTest.java222 long waitTime = 0; in waitUntilAssertPasses() local
223 while (waitTime < maxWaitMs) { in waitUntilAssertPasses()
229 waitTime += 100; in waitUntilAssertPasses()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DCellularQualityMonitorTest.java504 int waitTime = 4000; in testBackhaulTimerUpdate() local
505 mTh1[0].setWaitTime(waitTime); in testBackhaulTimerUpdate()
512 Assert.assertEquals(waitTime, stInfo.getHysteresisMs()); in testBackhaulTimerUpdate()
DAccessNetworkSelectionPolicyBuilderTest.java742 private void verifyUnavailableThreshold(Threshold threshold, int waitTime) { in verifyUnavailableThreshold() argument
746 assertEquals(waitTime, threshold.getWaitTime()); in verifyUnavailableThreshold()
/packages/apps/Nfc/src/com/android/nfc/handover/
DBluetoothPeripheralHandover.java704 void sendRetryMessage(int waitTime) { in sendRetryMessage() argument
706 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_RETRY), waitTime); in sendRetryMessage() local
/packages/modules/Connectivity/framework/src/android/net/
DNetworkAgent.java653 long waitTime = mLastBwRefreshTime + BW_REFRESH_MIN_WIN_MS in handleMessage() local
656 CMD_REQUEST_BANDWIDTH_UPDATE, waitTime); in handleMessage()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DLauncherInstrumentation.java845 final int waitTime = waitForCorrectState ? WAIT_TIME_MS : 0; in getNavigationModeMismatchError() local
849 if (!mDevice.wait(Until.hasObject(By.res(resPackage, "recent_apps")), waitTime)) { in getNavigationModeMismatchError()
853 if (!mDevice.wait(Until.gone(By.res(resPackage, "recent_apps")), waitTime)) { in getNavigationModeMismatchError()
859 if (!mDevice.wait(Until.gone(By.res(resPackage, "home")), waitTime)) { in getNavigationModeMismatchError()
863 if (!mDevice.wait(Until.hasObject(By.res(resPackage, "home")), waitTime)) { in getNavigationModeMismatchError()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/
DAdSelectionE2ETest.java8067 private String insertJsWait(long waitTime) { in insertJsWait() argument
8075 + String.format(Locale.ENGLISH, " wait(\"%d\");\n", waitTime); in insertJsWait()
DAdSelectionServiceImplTest.java11286 private String insertJsWait(long waitTime) { in insertJsWait() argument
11294 + String.format(Locale.ENGLISH, " wait(\"%d\");\n", waitTime); in insertJsWait()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpcore-4.4.13.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...