/packages/modules/StatsD/tests/src/android/cts/statsd/atom/ |
D | DeviceAtomTestCase.java | 245 long waitTime) throws Exception { in runActivity() argument 247 Thread.sleep(waitTime); in runActivity() 313 protected boolean waitForStatsServiceStart(final long waitTime) throws Exception { in waitForStatsServiceStart() argument 314 LogUtil.CLog.i("Waiting %d ms for stats service to start", waitTime); in waitForStatsServiceStart() 317 while ((System.currentTimeMillis() - startTime) < waitTime) { in waitForStatsServiceStart() 324 LogUtil.CLog.w("Stats service did not start after %d ms", waitTime); in waitForStatsServiceStart()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/scheduling/ |
D | TaskQueue.java | 126 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/ |
D | Threshold.java | 40 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/ |
D | SettingsStorageService.java | 196 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/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsSender.java | 228 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/modules/Connectivity/nearby/tests/integration/untrusted/src/androidx/test/uiautomator/ |
D | LogcatWaitMixin.java | 48 @NonNull String specificLog, @NonNull Date startTime, @NonNull Duration waitTime) { in waitForSpecificLog() argument 49 return wait(createWaitCondition(specificLog, startTime), waitTime.toMillis()); in waitForSpecificLog()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastSettingsTest.java | 280 long waitTime = 0; in waitUntilDialogOpens() local 281 while (waitTime < maxWaitMs) { in waitUntilDialogOpens() 287 waitTime += 100; in waitUntilDialogOpens()
|
D | CellBroadcastAlertDialogTest.java | 221 long waitTime = 0; in waitUntilAssertPasses() local 222 while (waitTime < maxWaitMs) { in waitUntilAssertPasses() 228 waitTime += 100; in waitUntilAssertPasses()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | SQLiteQueryBuilderTest.java | 390 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() local 391 if (waitTime > 150 * 1000000L) { in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() 450 final long waitTime = System.nanoTime() - startTime; in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() local 451 if (waitTime > 150 * 1000000L && waitTime < 600 * 1000000L) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_system_libfmq_eventflag.cc | 91 struct timespec* waitTime) { in addNanosecondsToCurrentTime() argument
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | TestDatabaseBackupAndRecovery.java | 77 protected FuseDaemon getFuseDaemonForFileWithWait(File fuseFilePath, long waitTime) in getFuseDaemonForFileWithWait() argument
|
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/ |
D | CellularQualityMonitorTest.java | 504 int waitTime = 4000; in testBackhaulTimerUpdate() local 505 mTh1[0].setWaitTime(waitTime); in testBackhaulTimerUpdate() 512 Assert.assertEquals(waitTime, stInfo.getHysteresisMs()); in testBackhaulTimerUpdate()
|
D | AccessNetworkSelectionPolicyBuilderTest.java | 742 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/ |
D | BluetoothPeripheralHandover.java | 704 void sendRetryMessage(int waitTime) { in sendRetryMessage() argument 706 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_RETRY), waitTime); in sendRetryMessage() local
|
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/ |
D | LauncherInstrumentation.java | 717 final int waitTime = waitForCorrectState ? WAIT_TIME_MS : 0; in getNavigationModeMismatchError() local 721 if (!mDevice.wait(Until.hasObject(By.res(resPackage, "recent_apps")), waitTime)) { in getNavigationModeMismatchError() 725 if (!mDevice.wait(Until.gone(By.res(resPackage, "recent_apps")), waitTime)) { in getNavigationModeMismatchError() 731 if (!mDevice.wait(Until.gone(By.res(resPackage, "home")), waitTime)) { in getNavigationModeMismatchError() 735 if (!mDevice.wait(Until.hasObject(By.res(resPackage, "home")), waitTime)) { in getNavigationModeMismatchError()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkAgent.java | 617 long waitTime = mLastBwRefreshTime + BW_REFRESH_MIN_WIN_MS in handleMessage() local 620 CMD_REQUEST_BANDWIDTH_UPDATE, waitTime); in handleMessage()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | DatabaseBackupAndRecovery.java | 808 protected FuseDaemon getFuseDaemonForFileWithWait(File fuseFilePath, long waitTime) in getFuseDaemonForFileWithWait() argument 810 return MediaProvider.getFuseDaemonForFileWithWait(fuseFilePath, mVolumeCache, waitTime); in getFuseDaemonForFileWithWait()
|
/packages/modules/AdServices/adservices/tests/cts/src/android/adservices/debuggablects/ |
D | FledgeCtsDebuggableTest.java | 2257 private String insertJsWait(long waitTime) { in insertJsWait() argument 2265 + String.format(" wait(\"%d\");\n", waitTime); in insertJsWait()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/adselection/ |
D | AdSelectionE2ETest.java | 5879 private String insertJsWait(long waitTime) { in insertJsWait() argument 5887 + String.format(Locale.ENGLISH, " wait(\"%d\");\n", waitTime); in insertJsWait()
|
D | AdSelectionServiceImplTest.java | 7564 private String insertJsWait(long waitTime) { in insertJsWait() argument 7572 + String.format(Locale.ENGLISH, " wait(\"%d\");\n", waitTime); in insertJsWait()
|