Home
last modified time | relevance | path

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

123

/cts/tests/mediapc/requirements/
Drequirements.pb.go257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
258 ms.StoreMessageInfo(mi)
271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
272 if ms.LoadMessageInfo() == nil {
273 ms.StoreMessageInfo(mi)
275 return ms
326 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
327 ms.StoreMessageInfo(mi)
340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
341 if ms.LoadMessageInfo() == nil {
[all …]
/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.cpp85 unsigned long ms = (unsigned long)(t / 1000000); in android_security_cts_EncryptionTest_aesIsFast() local
87 (double)(TEST_ITERATIONS * TEST_BUFSIZE / (1024 * 1024)) * 1000.0 / ms; in android_security_cts_EncryptionTest_aesIsFast()
90 "(threshold %u ms)", TEST_ITERATIONS, ms, speed, TEST_THRESHOLD); in android_security_cts_EncryptionTest_aesIsFast()
92 return ms < TEST_THRESHOLD; in android_security_cts_EncryptionTest_aesIsFast()
/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/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/autofillservice/src/android/autofillservice/cts/testcore/
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.java51 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()
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()
DInstrumentedFieldClassificationService.java97 final boolean called = latch.await(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in await()
100 + " in " + CONNECTION_TIMEOUT.ms() + "ms"); in await()
214 response = mResponses.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in onClassificationRequest()
229 CONNECTION_TIMEOUT.ms()); in onClassificationRequest()
240 mFieldClassificationRequests.poll(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextFieldClassificationRequest()
DOneTimeDateListener.java55 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()
DMultipleTimesTextWatcher.java67 final boolean set = mLatch.await(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in assertAutoFilled()
70 FILL_TIMEOUT.ms(), mName); in assertAutoFilled()
DInstrumentedAutoFillService.java150 SystemClock.sleep(FILL_EVENTS_TIMEOUT.ms()); in getFillEventHistory()
181 SystemClock.sleep(FILL_EVENTS_TIMEOUT.ms()); in assertNoFillEventHistory()
569 request = mFillRequests.poll(FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextFillRequest()
628 request = mSaveRequests.poll(SAVE_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextSaveRequest()
703 response = mResponses.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in onFillRequest()
782 CONNECTION_TIMEOUT.ms()); in onFillRequest()
795 CONNECTION_TIMEOUT.ms()); in onFillRequest()
812 CONNECTION_TIMEOUT.ms()); in onSaveRequest()
DMyAutofillCallback.java74 Helper.offer(mEvents, event, MY_TIMEOUT.ms()); in offer()
81 final MyEvent event = mEvents.poll(CONNECTION_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getEvent()
DMyDrawable.java59 if (!sLatch.await(Timeouts.FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in getAutofilledBounds()
DCtsAugmentedAutofillService.java287 request = mFillRequests.poll(AUGMENTED_FILL_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in getNextFillRequest()
341 Helper.offer(mFillRequests, myRequest, AUGMENTED_CONNECTION_TIMEOUT.ms()); in handleOnFillRequest()
345 response = mResponses.poll(AUGMENTED_CONNECTION_TIMEOUT.ms(), in handleOnFillRequest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioColdStartBaseActivity.java69 protected long msToNanos(double ms) { in msToNanos() argument
70 return (long) (ms * 1000000.0); in msToNanos()
78 protected String makeMSString(double ms) { in makeMSString() argument
79 return String.format(msFormat, ms); in makeMSString()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DFragmentContainerActivity.java92 return mResumed.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilResumed()
96 return mStopped.await(Timeouts.UI_TIMEOUT.ms(), TimeUnit.MILLISECONDS); in waitUntilStopped()
DAbstractAutoFillActivity.java57 syncRunOnUiThread(action, Timeouts.UI_TIMEOUT.ms()); in syncRunOnUiThread()
140 if (!mDestroyedLatch.await(timeout.ms(), TimeUnit.MILLISECONDS)) { in waitUntilDestroyed()
DWebViewMultiScreenLoginActivity.java110 if (!mLatches.get(FAKE_USERNAME_URL).await(WEBVIEW_TIMEOUT.ms(), TimeUnit.MILLISECONDS)) { in loadWebView()
135 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/
DRetryRule.java93 long before = timeout.ms(); in apply()
96 + " to " + timeout.ms() + "ms"); in apply()
/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/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/tests/telephony/current/src/android/telephony/ims/cts/
DImsUtils.java248 public static void waitInCurrentState(long ms) { in waitInCurrentState() argument
250 TimeUnit.MILLISECONDS.sleep(ms); in waitInCurrentState()

123