Home
last modified time | relevance | path

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

12

/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/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/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.java149 private void executeNextTest(long delay) { in executeNextTest() argument
155 }, delay); in executeNextTest()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DInteractiveVerifierActivity.java279 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 …]
DConditionProviderVerifierActivity.java111 delay(); in tearDown()
150 delay(); in tearDown()
298 delay(); in setUp()
348 delay(); in setUp()
397 delay(); in setUp()
442 delay(); in setUp()
512 delay(); in tearDown()
534 delay(); in setUp()
DShortcutThrottlingResetActivity.java170 delay(); in test()
DNotificationListenerVerifierActivity.java1022 delay(); in setUp()
1075 delay(); in tearDown()
1104 delay(); in setUp()
1235 delay(); in tearDown()
1262 delay(); in tearDown()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DVideoPlayerActivity.java62 delay(); in onCreate()
72 private void delay() { in delay() method in VideoPlayerActivity
/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/media/src/android/media/cts/
DTestUtils.java198 long delay = deadline - System.currentTimeMillis(); in waitForCountedSignals() local
199 if (delay <= 0) { in waitForCountedSignals()
202 wait(delay); in waitForCountedSignals()
/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/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/sensors/
DRVCVRecordActivity.java1012 delay(2000); in run()
1029 delay(1000); in run()
1034 private void delay(int milli) { in delay() method in RVCVRecordActivity.RecordProcedureController
1066 delay(1000); in recordAxis()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp381 int64_t delay = (*startTimeNano + presentationTimeUs * 1000) - in drainDecoder() local
383 if (delay > 0) { in drainDecoder()
384 usleep(delay / 1000); in drainDecoder()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java564 long delay = 1; in selectPrinter() local
576 Thread.sleep(delay); in selectPrinter()
596 if (delay <= OPERATION_TIMEOUT_MILLIS) { in selectPrinter()
598 delay *= 2; in selectPrinter()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java571 String delay = delayPath.substring(0, delayPath.indexOf('/')); in getResponse() local
572 path = delayPath.substring(delay.length()); in getResponse()
574 Thread.sleep(Integer.valueOf(delay)); in getResponse()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DRingerModeActivity.java222 delay(); in tearDown()
244 delay(); in tearDown()
266 delay(); in tearDown()

12