/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | GetAllocationTest.java | 32 ScriptC_get_allocation ms = in testGetAllocation() local 39 ms.bind_pointer(mTemp); in testGetAllocation() 40 ms.set_alloc_out(mOut); in testGetAllocation() 41 ms.invoke_start(); in testGetAllocation() 53 ms.destroy(); in testGetAllocation()
|
/cts/tests/tests/security/jni/ |
D | android_security_cts_EncryptionTest.cpp | 86 unsigned long ms = (unsigned long)(t / 1000000); in android_security_cts_EncryptionTest_aesIsFast() local 88 (double)(TEST_ITERATIONS * TEST_BUFSIZE / (1024 * 1024)) * 1000.0 / ms; in android_security_cts_EncryptionTest_aesIsFast() 91 "(threshold %u ms)", TEST_ITERATIONS, ms, speed, TEST_THRESHOLD); in android_security_cts_EncryptionTest_aesIsFast() 93 return ms < TEST_THRESHOLD; in android_security_cts_EncryptionTest_aesIsFast()
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
D | TimeoutTest.java | 69 assertThat(timeout.ms()).isEqualTo(1); in testGetters() 80 assertThat(timeout.ms()).isEqualTo(2); in testIncrease() 82 assertThat(timeout.ms()).isEqualTo(4); in testIncrease() 85 assertThat(timeout.ms()).isEqualTo(5); in testIncrease() 87 assertThat(timeout.ms()).isEqualTo(5); in testIncrease()
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | TimeoutTest.java | 69 assertThat(timeout.ms()).isEqualTo(1); in testGetters() 80 assertThat(timeout.ms()).isEqualTo(2); in testIncrease() 82 assertThat(timeout.ms()).isEqualTo(4); in testIncrease() 85 assertThat(timeout.ms()).isEqualTo(5); in testIncrease() 87 assertThat(timeout.ms()).isEqualTo(5); in testIncrease()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | ZenModeBroadcastReceiver.java | 48 public void waitFor(int count, int ms) throws IllegalStateException { in waitFor() argument 55 while (ms > 0 && mCount < count) { in waitFor() 56 ms -= delayMs; in waitFor()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | OneTimeCompoundButtonListener.java | 51 final boolean set = latch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 52 assertWithMessage("Timeout (%s ms) on CompoundButton %s", FILL_TIMEOUT.ms(), name) in assertAutoFilled()
|
D | OneTimeRadioGroupListener.java | 50 final boolean set = latch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 51 assertWithMessage("Timeout (%s ms) on RadioGroup %s", FILL_TIMEOUT.ms(), name) in assertAutoFilled()
|
D | MultipleTimesRadioGroupListener.java | 52 final boolean set = mLatch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 53 assertWithMessage("Timeout (%s ms) on RadioGroup %s", FILL_TIMEOUT.ms(), mName) in assertAutoFilled()
|
D | MultipleTimesTimeListener.java | 53 final boolean set = latch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 54 assertWithMessage("Timeout (%s ms) on TimePicker %s", FILL_TIMEOUT.ms(), name) in assertAutoFilled()
|
D | OneTimeSpinnerListener.java | 47 final boolean set = latch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 48 assertWithMessage("Timeout (%s ms) on Spinner %s", FILL_TIMEOUT.ms(), name) in assertAutoFilled()
|
D | OneTimeDateListener.java | 54 final boolean set = latch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 55 assertWithMessage("Timeout (%s ms) on DatePicker %s", FILL_TIMEOUT.ms(), name) in assertAutoFilled()
|
D | FragmentContainerActivity.java | 90 return mResumed.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilResumed() 94 return mStopped.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilStopped()
|
D | MultipleTimesTextWatcher.java | 67 final boolean set = mLatch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 70 FILL_TIMEOUT.ms(), mName); in assertAutoFilled()
|
D | InstrumentedAutoFillService.java | 141 SystemClock.sleep(FILL_EVENTS_TIMEOUT.ms()); in getFillEventHistory() 172 SystemClock.sleep(FILL_EVENTS_TIMEOUT.ms()); in assertNoFillEventHistory() 499 request = mFillRequests.poll(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextFillRequest() 558 request = mSaveRequests.poll(SAVE_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextSaveRequest() 609 response = mResponses.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in onFillRequest() 679 callback, flags), CONNECTION_TIMEOUT.ms()); in onFillRequest() 695 CONNECTION_TIMEOUT.ms()); in onSaveRequest()
|
D | AbstractAutoFillActivity.java | 52 syncRunOnUiThread(action, Timeouts.UI_TIMEOUT.ms()); in syncRunOnUiThread() 135 if (!mDestroyedLatch.await(timeout.ms(), TimeUnit.MILLISECONDS)) { in waintUntilDestroyed()
|
D | WebViewMultiScreenLoginActivity.java | 107 if (!mLatches.get(FAKE_USERNAME_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in loadWebView() 132 if (!mLatches.get(FAKE_PASSWORD_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in waitForPasswordScreen()
|
D | MyAutofillCallback.java | 74 Helper.offer(mEvents, event, MY_TIMEOUT.ms()); in offer() 81 final MyEvent event = mEvents.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getEvent()
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
D | TimestampClockSourceVerificationTest.java | 45 long ms = SystemClock.uptimeMillis(); in getInvalidTimestamp() local 47 ms -= MIN_DELTA_BETWEEN_CLOCKS_MS; in getInvalidTimestamp() 49 return (ms * 1000000); in getInvalidTimestamp()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | RetryRule.java | 75 long before = timeout.ms(); in apply() 78 + " to " + timeout.ms() + "ms"); in apply()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RetryRule.java | 92 long before = timeout.ms(); in apply() 95 + " to " + timeout.ms() + "ms"); in apply()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | CallLogTest.java | 93 private void sleep(long ms) { in sleep() argument 95 Thread.sleep(ms); in sleep()
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | CallBlockingTest.java | 172 private void sleep(long ms) { in sleep() argument 174 Thread.sleep(ms); in sleep()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | CtsAugmentedAutofillService.java | 291 request = mFillRequests.poll(AUGMENTED_FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextFillRequest() 345 Helper.offer(mFillRequests, myRequest, AUGMENTED_CONNECTION_TIMEOUT.ms()); in handleOnFillRequest() 349 response = mResponses.poll(AUGMENTED_CONNECTION_TIMEOUT.ms(), in handleOnFillRequest()
|
D | AugmentedHelper.java | 183 final boolean called = latch.await(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in await() 186 + " in " + CONNECTION_TIMEOUT.ms() + "ms"); in await()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallScreeningServiceTest.java | 262 private void sleep(long ms) { 264 Thread.sleep(ms);
|