Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DTransitionDrawableTest.java173 private void assertTransition(int colorFrom, int colorTo, long delay) { in assertTransition() argument
175 assertTransitionInProgress(colorFrom, colorTo, delay / 2); in assertTransition()
176 assertTransitionEnd(colorTo, delay); in assertTransition()
185 private void assertTransitionInProgress(int colorFrom, int colorTo, long delay) { in assertTransitionInProgress() argument
186 drawAfterDelaySync(delay); in assertTransitionInProgress()
191 private void assertTransitionEnd(int colorTo, long delay) { in assertTransitionEnd() argument
192 drawAfterDelaySync(delay); in assertTransitionEnd()
212 private void makeReverseTransitionInProgress(int duration, int delay) { in makeReverseTransitionInProgress() argument
218 assertTransitionInProgress(COLOR1, COLOR0, delay); in makeReverseTransitionInProgress()
221 private void makeTransitionInProgress(int duration, int delay) { in makeTransitionInProgress() argument
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
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()
189 delay(); in setUp()
216 delay(); // in case the catcher never returns in test()
226 delay(); in tearDown()
245 delay(); in setUp()
270 delay(); in tearDown()
[all …]
DNotificationListenerVerifierActivity.java161 delay(); in setUp()
179 delay(); // in case the catcher never returns in test()
253 delay(); // in case the catcher never returns in test()
260 delay(); in tearDown()
274 delay(); in setUp()
300 delay(); in test()
307 delay(); in tearDown()
321 delay(); in setUp()
347 delay(); // in case the catcher never returns in test()
354 delay(); in tearDown()
[all …]
DAttentionManagementVerifierActivity.java124 delay(); in setUp()
141 delay(); in test()
204 delay(); in tearDown()
219 delay(); in setUp()
264 delay(); // in case the catcher never returns in test()
271 delay(); in tearDown()
311 delay(); in setUp()
355 delay(); // in case the catcher never returns in test()
362 delay(); in tearDown()
401 delay(); in setUp()
[all …]
DPackagePriorityVerifierActivity.java116 delay(); in tearDown()
142 delay(); in tearDown()
161 delay(); in setUp()
181 delay(); // in case the catcher never returns in test()
188 delay(); in tearDown()
206 delay(); in setUp()
226 delay(); // in case the catcher never returns in test()
233 delay(); in tearDown()
DInteractiveVerifierActivity.java301 protected void delay() { in delay() method in InteractiveVerifierActivity
302 delay(3000); in delay()
308 protected void delay(long waitTime) { in delay() method in InteractiveVerifierActivity
408 delay(); in tearDown()
430 delay(); in test()
434 delay(); // in case the catcher never returns in test()
440 delay(); in tearDown()
/cts/tests/tests/hardware/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/security/
DCAInstallNotificationVerifierActivity.java206 private void delay() { in delay() method in CAInstallNotificationVerifierActivity
289 delay(); in testInstalledCert()
298 delay(); in testCheckedSettings()
307 delay(); in testRemovedScreenLock()
316 delay(); in testCheckedNotification()
325 delay(); in testNotificationDismissed()
/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/
DMediaPlayerTestBase.java74 long delay = deadline - System.currentTimeMillis(); in waitForCountedSignals() local
75 if (delay <= 0) { in waitForCountedSignals()
78 wait(delay); in waitForCountedSignals()
/cts/tests/tests/animation/src/android/animation/cts/
DLayoutAnimationTest.java159 long delay = 100l; in testStartDelay() local
161 mLayoutTransition.setStartDelay(transitionType, delay); in testStartDelay()
162 assertEquals(delay, mLayoutTransition.getStartDelay(transitionType)); in testStartDelay()
/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/view/src/android/view/animation/cts/
DGridLayoutAnimationControllerTest.java89 float delay = 1.5f; in testAccessDelay() local
91 mController.setRowDelay(delay); in testAccessDelay()
92 assertEquals(delay, mController.getRowDelay()); in testAccessDelay()
101 mController.setColumnDelay(delay); in testAccessDelay()
102 assertEquals(delay, mController.getColumnDelay()); in testAccessDelay()
DLayoutAnimationControllerTest.java164 float delay = 1.5f; in testAccessDelay() local
165 mController.setDelay(delay); in testAccessDelay()
166 assertEquals(delay, mController.getDelay()); in testAccessDelay()
167 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/tests/tests/print/src/android/print/cts/
DBasePrintTest.java398 long delay = 100; in selectPrinter() local
408 Thread.sleep(delay); in selectPrinter()
425 if (delay <= OPERATION_TIMEOUT_MILLIS) { in selectPrinter()
427 delay *= 2; in selectPrinter()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DRVCVRecordActivity.java935 delay(2000); in run()
952 delay(1000); in run()
957 private void delay(int milli) { in delay() method in RVCVRecordActivity.RecordProcedureController
989 delay(1000); in recordAxis()
/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()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1887 final long delay = 500L; in testRemoveCallbacks() local
1890 assertTrue(view.postDelayed(runner, delay)); in testRemoveCallbacks()
1894 Thread.sleep(delay * 2); in testRemoveCallbacks()
1898 assertTrue(view.postDelayed(runner, delay)); in testRemoveCallbacks()
1899 Thread.sleep(delay * 2); in testRemoveCallbacks()
/cts/tools/dex-tools/dex/
Dclasses.out.dex448 public static final int delay
20955 long delay
88197 long delay
109694 public static final int delay
135594 private void delay()