Home
last modified time | relevance | path

Searched refs:delay (Results 1 – 25 of 29) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationListenerVerifierActivity.java185 delay(); in setUp()
192 delay(); in tearDown()
211 delay(); // in case the catcher never returns in test()
226 delay(); in setUp()
293 delay(); // in case the catcher never returns in test()
300 delay(); in tearDown()
315 delay(); in setUp()
341 delay(); in test()
349 delay(); in tearDown()
364 delay(); in setUp()
[all …]
DConditionProviderVerifierActivity.java104 delay(); in tearDown()
125 delay(); in test()
130 delay(); // in case the catcher never returns in test()
136 delay(); in tearDown()
170 delay(); in tearDown()
187 delay(); in setUp()
218 delay(); in tearDown()
237 delay(); in setUp()
264 delay(); // in case the catcher never returns in test()
274 delay(); in tearDown()
[all …]
DAttentionManagementVerifierActivity.java143 delay(); in setUp()
160 delay(); in test()
223 delay(); in tearDown()
239 delay(); in setUp()
284 delay(); // in case the catcher never returns in test()
292 delay(); in tearDown()
333 delay(); in setUp()
377 delay(); // in case the catcher never returns in test()
385 delay(); in tearDown()
425 delay(); in setUp()
[all …]
DInteractiveVerifierActivity.java310 protected void delay() { in delay() method in InteractiveVerifierActivity
311 delay(3000); in delay()
325 protected void delay(long waitTime) { in delay() method in InteractiveVerifierActivity
457 delay(); in tearDown()
479 delay(); in test()
483 delay(); // in case the catcher never returns in test()
489 delay(); in tearDown()
DShortcutThrottlingResetActivity.java170 delay(); in test()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DTransitionDrawableTest.java188 private void verifyTransition(int colorFrom, int colorTo, long delay) { in verifyTransition() argument
190 verifyTransitionInProgress(colorFrom, colorTo, delay / 2); in verifyTransition()
191 verifyTransitionEnd(colorTo, delay); in verifyTransition()
200 private void verifyTransitionInProgress(int colorFrom, int colorTo, long delay) { in verifyTransitionInProgress() argument
201 drawAfterDelaySync(delay); in verifyTransitionInProgress()
206 private void verifyTransitionEnd(int colorTo, long delay) { in verifyTransitionEnd() argument
207 drawAfterDelaySync(delay); in verifyTransitionEnd()
227 private void makeReverseTransitionInProgress(int duration, int delay) { in makeReverseTransitionInProgress() argument
233 verifyTransitionInProgress(COLOR1, COLOR0, delay); in makeReverseTransitionInProgress()
236 private void makeTransitionInProgress(int duration, int delay) { in makeTransitionInProgress() argument
[all …]
/cts/tests/sensor/src/android/hardware/cts/helpers/sensoroperations/
DFakeSensorOperation.java40 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()
DDelaySensorOperation.java40 public DelaySensorOperation(SensorOperation operation, long delay, TimeUnit timeUnit) { in DelaySensorOperation() argument
43 mDelay = delay; in DelaySensorOperation()
/cts/suite/audio_quality/test_description/processing/
Drecording_thd.py62 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
Dcheck_spectrum.py118 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
Dcalc_delay.py74 delay = calc_delay(data0, data1) variable
75 print "calc_delay returned", delay, " while expecting ", DELAY
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
DTestTaskQueue.java73 public synchronized void addTask(final Runnable r, long delay) { in addTask() argument
83 mHandler.postDelayed(task, delay); in addTask()
DBleConnectionPriorityClientBaseActivity.java151 private void executeNextTest(long delay) { in executeNextTest() argument
157 }, delay); in executeNextTest()
/cts/tests/app/app/src/android/app/stubs/
DActivityTestsBase.java171 final long delay = endTime - System.currentTimeMillis(); in waitForResult() local
172 if (delay < 0) { in waitForResult()
178 wait(delay); in waitForResult()
/cts/tests/tests/os/src/android/os/cts/
DActivityTestsBase.java171 final long delay = endTime - System.currentTimeMillis(); in waitForResult() local
172 if (delay < 0) { in waitForResult()
178 wait(delay); in waitForResult()
/cts/tests/tests/view/jni/
Dandroid_view_cts_ChoreographerNativeTest.cpp129 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback() local
130 AChoreographer_postFrameCallbackDelayed(choreographer, frameCallback, cb1, delay); in android_view_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationTest.java181 long delay = 100l; in testStartDelay() local
183 mLayoutTransition.setStartDelay(transitionType, delay); in testStartDelay()
184 assertEquals(delay, mLayoutTransition.getStartDelay(transitionType)); in testStartDelay()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTestBase.java81 long delay = deadline - System.currentTimeMillis(); in waitForCountedSignals() local
82 if (delay <= 0) { in waitForCountedSignals()
85 wait(delay); in waitForCountedSignals()
/cts/tests/tests/view/src/android/view/animation/cts/
DGridLayoutAnimationControllerTest.java99 float delay = 1.5f; in testAccessDelay() local
101 mController.setRowDelay(delay); in testAccessDelay()
102 assertEquals(delay, mController.getRowDelay(), 0.0f); in testAccessDelay()
111 mController.setColumnDelay(delay); in testAccessDelay()
112 assertEquals(delay, mController.getColumnDelay(), 0.0f); in testAccessDelay()
DLayoutAnimationControllerTest.java172 float delay = 1.5f; in testAccessDelay() local
173 mController.setDelay(delay); in testAccessDelay()
174 assertEquals(delay, mController.getDelay(), 0.0f); in testAccessDelay()
175 long maxDuration = (long) (delay * INDEX_OF_CHILD3 * DURATION + DURATION); in testAccessDelay()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
DLocationModeTestActivity.java204 protected void delay() { in delay() method in LocationModeTestActivity
234 delay(); in testIsExpectedMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java959 delay(2000); in run()
976 delay(1000); in run()
981 private void delay(int milli) { in delay() method in RVCVRecordActivity.RecordProcedureController
1013 delay(1000); in recordAxis()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp382 int64_t delay = (*startTimeNano + presentationTimeUs * 1000) - in drainDecoder() local
384 if (delay > 0) { in drainDecoder()
385 usleep(delay / 1000); in drainDecoder()
/cts/tests/tests/print/src/android/print/cts/
DBasePrintTest.java506 long delay = 1; in selectPrinter() local
517 Thread.sleep(delay); in selectPrinter()
537 if (delay <= OPERATION_TIMEOUT_MILLIS) { in selectPrinter()
539 delay *= 2; in selectPrinter()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java570 String delay = delayPath.substring(0, delayPath.indexOf('/')); in getResponse() local
571 path = delayPath.substring(delay.length()); in getResponse()
573 Thread.sleep(Integer.valueOf(delay)); in getResponse()

12