Home
last modified time | relevance | path

Searched refs:ms (Results 1 – 25 of 116) sorted by relevance

12345

/cts/tests/tests/renderscript/src/android/renderscript/cts/
DGetAllocationTest.java32 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/
Dandroid_security_cts_EncryptionTest.cpp86 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/
DTimeoutTest.java69 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/
DTimeoutTest.java69 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/
DZenModeBroadcastReceiver.java48 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/
DOneTimeCompoundButtonListener.java51 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()
DOneTimeRadioGroupListener.java50 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()
DMultipleTimesRadioGroupListener.java52 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()
DMultipleTimesTimeListener.java53 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()
DOneTimeSpinnerListener.java47 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()
DOneTimeDateListener.java54 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()
DFragmentContainerActivity.java90 return mResumed.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilResumed()
94 return mStopped.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilStopped()
DMultipleTimesTextWatcher.java67 final boolean set = mLatch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled()
70 FILL_TIMEOUT.ms(), mName); in assertAutoFilled()
DInstrumentedAutoFillService.java141 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()
DAbstractAutoFillActivity.java52 syncRunOnUiThread(action, Timeouts.UI_TIMEOUT.ms()); in syncRunOnUiThread()
135 if (!mDestroyedLatch.await(timeout.ms(), TimeUnit.MILLISECONDS)) { in waintUntilDestroyed()
DWebViewMultiScreenLoginActivity.java107 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()
DMyAutofillCallback.java74 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/
DTimestampClockSourceVerificationTest.java45 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/
DRetryRule.java75 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/
DRetryRule.java92 long before = timeout.ms(); in apply()
95 + " to " + timeout.ms() + "ms"); in apply()
/cts/tests/tests/provider/src/android/provider/cts/
DCallLogTest.java93 private void sleep(long ms) { in sleep() argument
95 Thread.sleep(ms); in sleep()
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DCallBlockingTest.java172 private void sleep(long ms) { in sleep() argument
174 Thread.sleep(ms); in sleep()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DCtsAugmentedAutofillService.java291 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()
DAugmentedHelper.java183 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/
DCallScreeningServiceTest.java262 private void sleep(long ms) {
264 Thread.sleep(ms);

12345