/cts/tests/mediapc/requirements/ |
D | requirements.pb.go | 257 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/ |
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 | 85 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/ |
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 | 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 | 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 | 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 | InstrumentedFieldClassificationService.java | 97 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()
|
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 | 150 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()
|
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 | 287 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/ |
D | AudioColdStartBaseActivity.java | 69 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/ |
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 | 57 syncRunOnUiThread(action, Timeouts.UI_TIMEOUT.ms()); in syncRunOnUiThread() 140 if (!mDestroyedLatch.await(timeout.ms(), TimeUnit.MILLISECONDS)) { in waitUntilDestroyed()
|
D | WebViewMultiScreenLoginActivity.java | 110 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/ |
D | RetryRule.java | 93 long before = timeout.ms(); in apply() 96 + " to " + timeout.ms() + "ms"); in apply()
|
/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/telephony/current/src/android/telephony/ims/cts/ |
D | ImsUtils.java | 248 public static void waitInCurrentState(long ms) { in waitInCurrentState() argument 250 TimeUnit.MILLISECONDS.sleep(ms); in waitInCurrentState()
|