/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | TransitionDrawableTest.java | 189 private void verifyTransition(int colorFrom, int colorTo, long delay) { in verifyTransition() argument 191 verifyTransitionInProgress(colorFrom, colorTo, delay / 2); in verifyTransition() 192 verifyTransitionEnd(colorTo, delay); in verifyTransition() 201 private void verifyTransitionInProgress(int colorFrom, int colorTo, long delay) { in verifyTransitionInProgress() argument 202 drawAfterDelaySync(delay); in verifyTransitionInProgress() 207 private void verifyTransitionEnd(int colorTo, long delay) { in verifyTransitionEnd() argument 208 drawAfterDelaySync(delay); in verifyTransitionEnd() 228 private void makeReverseTransitionInProgress(int duration, int delay) { in makeReverseTransitionInProgress() argument 234 verifyTransitionInProgress(COLOR1, COLOR0, delay); in makeReverseTransitionInProgress() 237 private void makeTransitionInProgress(int duration, int delay) { in makeTransitionInProgress() argument [all …]
|
/cts/tests/tests/view/jni/ |
D | android_view_cts_ChoreographerNativeTest.cpp | 140 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_cts_ChoreographerNativeTest_testPostCallback64WithDelayEventuallyRunsCallback() local 141 AChoreographer_postFrameCallbackDelayed64(choreographer, frameCallback64, cb1, delay); in android_view_cts_ChoreographerNativeTest_testPostCallback64WithDelayEventuallyRunsCallback() 156 const auto delay = NOMINAL_VSYNC_PERIOD * 3; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() local 159 const auto delayToTest = sizeof(long) == sizeof(int64_t) ? delay : ZERO; in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 163 std::this_thread::sleep_for(delay); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 179 std::this_thread::sleep_for(delay); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 196 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback() local 197 AChoreographer_postFrameCallbackDelayed(choreographer, frameCallback, cb1, delay); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback() 245 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_cts_ChoreographerNativeTest_testPostCallbackMixedWithDelayEventuallyRunsCallback() local 246 AChoreographer_postFrameCallbackDelayed(choreographer, frameCallback, cb1, delay); in android_view_cts_ChoreographerNativeTest_testPostCallbackMixedWithDelayEventuallyRunsCallback() [all …]
|
/cts/suite/audio_quality/test_description/processing/ |
D | check_spectrum.py | 118 delay = 0 123 delay = calc_delay.calc_delay(hostData, dutData) 125 hostData_ = hostData[delay:delay+N] 127 delay = calc_delay.calc_delay(dutData, hostData) 129 dutData_ = dutData[delay:delay+N] 131 print "delay ", delay, "deviceRecording samples ", N
|
D | recording_thd.py | 62 delay = calc_delay.calc_delay(hostRecording, deviceRecording) 64 print "delay ", delay, "deviceRecording samples ", N 65 thdHost = calc_thd(hostRecording[delay:delay+N], signalFrequency, samplingRate, 0.02) * 100
|
D | calc_delay.py | 74 delay = calc_delay(data0, data1) variable 75 print "calc_delay returned", delay, " while expecting ", DELAY
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/ |
D | FakeSensorOperation.java | 40 public FakeSensorOperation(long delay, TimeUnit timeUnit) { in FakeSensorOperation() argument 41 this(false, delay, timeUnit); in FakeSensorOperation() 47 public FakeSensorOperation(boolean fail, long delay, TimeUnit timeUnit) { in FakeSensorOperation() argument 52 mDelay = delay; in FakeSensorOperation()
|
D | DelaySensorOperation.java | 40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) { in DelaySensorOperation() argument 43 mDelay = delay; in DelaySensorOperation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/ |
D | InteractiveVerifierActivity.java | 279 delay(mCurrentTest.delayTime); in run() 281 delay(); in run() 297 delay(mCurrentTest.delayTime); in run() 299 delay(); in run() 307 delay(); in run() 316 delay(); in run() 347 protected void delay() { in delay() method in InteractiveVerifierActivity 348 delay(3000); in delay() 362 protected void delay(long waitTime) { in delay() method in InteractiveVerifierActivity
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | InteractiveVerifierActivity.java | 279 delay(mCurrentTest.delayTime); in run() 281 delay(); in run() 297 delay(mCurrentTest.delayTime); in run() 299 delay(); in run() 307 delay(); in run() 316 delay(); in run() 348 protected void delay() { in delay() method in InteractiveVerifierActivity 349 delay(3000); in delay() 363 protected void delay(long waitTime) { in delay() method in InteractiveVerifierActivity 495 delay(); in tearDown() [all …]
|
D | ConditionProviderVerifierActivity.java | 116 delay(); in tearDown() 155 delay(); in tearDown() 349 delay(); in setUp() 401 delay(); in setUp() 482 delay(); in setUp() 536 delay(); in setUp() 595 delay(); in setUp() 670 delay(); in tearDown() 692 delay(); in setUp()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | TestUtils.java | 103 long delay = deadline - System.currentTimeMillis(); in waitForCountedSignals() local 104 if (delay <= 0) { in waitForCountedSignals() 107 wait(delay); in waitForCountedSignals()
|
/cts/tests/framework/base/windowmanager/backgroundactivity/AppA/src/android/server/wm/backgroundactivity/appa/ |
D | ForegroundActivity.java | 62 final int delay = intent.getIntExtra(START_ACTIVITY_FROM_FG_ACTIVITY_DELAY_MS_EXTRA, 0); in onCreate() local 70 if (delay == 0) { in onCreate() 74 SystemClock.sleep(delay); in onCreate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | TestTaskQueue.java | 73 public synchronized void addTask(final Runnable r, long delay) { in addTask() argument 83 mHandler.postDelayed(task, delay); in addTask()
|
D | BleConnectionPriorityClientBaseActivity.java | 140 private void executeNextTest(long delay) { in executeNextTest() argument 146 }, delay); in executeNextTest()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ActivityTestsBase.java | 171 final long delay = endTime - System.currentTimeMillis(); in waitForResult() local 172 if (delay < 0) { in waitForResult() 178 wait(delay); in waitForResult()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityTestsBase.java | 185 final long delay = endTime - System.currentTimeMillis(); in waitForResult() local 186 if (delay < 0) { in waitForResult() 192 wait(delay); in waitForResult()
|
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | VideoPlayerActivity.java | 62 delay(); in onCreate() 72 private void delay() { in delay() method in VideoPlayerActivity
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | LockTaskHostDrivenTest.java | 127 long delay = 500; in waitForLockTaskModeStateNone() local 132 SystemClock.sleep(delay); in waitForLockTaskModeStateNone() 133 delayed += delay; in waitForLockTaskModeStateNone()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | LayoutAnimationTest.java | 182 long delay = 100l; in testStartDelay() local 184 mLayoutTransition.setStartDelay(transitionType, delay); in testStartDelay() 185 assertEquals(delay, mLayoutTransition.getStartDelay(transitionType)); in testStartDelay()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimationControllerTest.java | 100 float delay = 1.5f; in testAccessDelay() local 102 mController.setRowDelay(delay); in testAccessDelay() 103 assertEquals(delay, mController.getRowDelay(), 0.0f); in testAccessDelay() 112 mController.setColumnDelay(delay); in testAccessDelay() 113 assertEquals(delay, mController.getColumnDelay(), 0.0f); in testAccessDelay()
|
D | LayoutAnimationControllerTest.java | 173 float delay = 1.5f; in testAccessDelay() local 174 mController.setDelay(delay); in testAccessDelay() 175 assertEquals(delay, mController.getDelay(), 0.0f); in testAccessDelay() 176 long maxDuration = (long) (delay * INDEX_OF_CHILD3 * DURATION + DURATION); in testAccessDelay()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/ |
D | CannedAugmentedFillResponse.java | 197 public Builder setDelay(long delay) { in setDelay() argument 198 mDelay = delay; in setDelay()
|
D | CtsAugmentedAutofillService.java | 364 final long delay = response.getDelay(); in handleOnFillRequest() local 365 if (delay > 0) { in handleOnFillRequest()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 1024 delay(2000); in run() 1041 delay(1000); in run() 1046 private void delay(int milli) { in delay() method in RVCVRecordActivity.RecordProcedureController 1078 delay(1000); in recordAxis()
|
/cts/libs/input/src/com/android/cts/input/ |
D | HidDevice.java | 99 public void delay(int milliSeconds) { in delay() method in HidDevice
|