/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/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/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/autofillservice/src/android/autofillservice/cts/testcore/ |
D | OneTimeRadioGroupListener.java | 51 final boolean set = latch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 52 assertWithMessage("Timeout (%s ms) on RadioGroup %s", FILL_TIMEOUT.ms(), name) in assertAutoFilled()
|
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 | 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 | OneTimeDateListener.java | 55 final boolean set = latch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled() 56 assertWithMessage("Timeout (%s ms) on DatePicker %s", FILL_TIMEOUT.ms(), name) in assertAutoFilled()
|
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 | 149 SystemClock.sleep(FILL_EVENTS_TIMEOUT.ms()); in getFillEventHistory() 180 SystemClock.sleep(FILL_EVENTS_TIMEOUT.ms()); in assertNoFillEventHistory() 528 request = mFillRequests.poll(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextFillRequest() 587 request = mSaveRequests.poll(SAVE_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextSaveRequest() 643 response = mResponses.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in onFillRequest() 715 flags, inlineRequest), CONNECTION_TIMEOUT.ms()); in onFillRequest() 725 callback, flags, inlineRequest), CONNECTION_TIMEOUT.ms()); in onFillRequest() 741 CONNECTION_TIMEOUT.ms()); in onSaveRequest()
|
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()
|
D | MyDrawable.java | 59 if (!sLatch.await(Timeouts.FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in getAutofilledBounds()
|
D | CtsAugmentedAutofillService.java | 314 request = mFillRequests.poll(AUGMENTED_FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextFillRequest() 368 Helper.offer(mFillRequests, myRequest, AUGMENTED_CONNECTION_TIMEOUT.ms()); in handleOnFillRequest() 372 response = mResponses.poll(AUGMENTED_CONNECTION_TIMEOUT.ms(), in handleOnFillRequest()
|
D | AugmentedHelper.java | 208 final boolean called = latch.await(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in await() 211 + " in " + CONNECTION_TIMEOUT.ms() + "ms"); in await()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | AudioColdStartBaseActivity.java | 82 protected long msToNanos(double ms) { in msToNanos() argument 83 return (long) (ms * 1000000.0); in msToNanos() 91 protected String makeMSString(double ms) { in makeMSString() argument 92 return String.format(msFormat, ms); in makeMSString()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/ |
D | FragmentContainerActivity.java | 92 return mResumed.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilResumed() 96 return mStopped.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilStopped()
|
D | AbstractAutoFillActivity.java | 55 syncRunOnUiThread(action, Timeouts.UI_TIMEOUT.ms()); in syncRunOnUiThread() 138 if (!mDestroyedLatch.await(timeout.ms(), TimeUnit.MILLISECONDS)) { in waitUntilDestroyed()
|
D | WebViewMultiScreenLoginActivity.java | 109 if (!mLatches.get(FAKE_USERNAME_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in loadWebView() 134 if (!mLatches.get(FAKE_PASSWORD_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in waitForPasswordScreen()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | RetryRule.java | 93 long before = timeout.ms(); in apply() 96 + " to " + timeout.ms() + "ms"); in apply()
|
D | Timeout.java | 85 public long ms() { in ms() method in Timeout
|
/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/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/tests/telecom/src/android/telecom/cts/ |
D | CallScreeningServiceTest.java | 262 private void sleep(long ms) { 264 Thread.sleep(ms);
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | CarHostJUnit4TestCase.java | 477 protected void sleep(long ms) throws InterruptedException { in sleep() argument 478 CLog.v("Sleeping for %dms", ms); in sleep() 479 Thread.sleep(ms); in sleep()
|