/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | UnresponsiveActivity.java | 34 final int delay = getIntent().getIntExtra(EXTRA_ON_CREATE_DELAY_MS, 0); in onCreate() local 35 SystemClock.sleep(delay); in onCreate() 40 final int delay = getIntent().getIntExtra(EXTRA_ON_KEYDOWN_DELAY_MS, 0); in onKeyDown() local 41 SystemClock.sleep(delay); in onKeyDown() 47 final int delay = getIntent().getIntExtra(EXTRA_ON_MOTIONEVENT_DELAY_MS, 0); in onTouchEvent() local 48 SystemClock.sleep(delay); in onTouchEvent()
|
/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/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/CameraITS/utils/ |
D | lighting_control_utils.py | 49 def set_light_brightness(ch, brightness, serial_port, delay=0): argument 69 time.sleep(delay) 119 set_light_brightness(lighting_ch, level, arduino_serial_port, delay=1)
|
D | gen2_rig_controller_utils.py | 206 def set_light_brightness(serial_port, channel, brightness_level, delay=0): argument 223 time.sleep(delay) 242 delay=_WAIT_FOR_CMD_COMPLETION)
|
/cts/tests/appfunctions/testutils/src/android/app/appfunctions/testutils/ |
D | CtsTestUtil.kt | 20 import kotlinx.coroutines.delay 45 delay(RETRY_CHECK_INTERVAL_MILLIS) in retryAssert()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/ |
D | InteractiveVerifierActivity.java | 290 delay(mCurrentTest.delayTime); in run() 292 delay(); in run() 308 delay(mCurrentTest.delayTime); in run() 310 delay(); in run() 318 delay(); in run() 327 delay(); in run() 358 protected void delay() { in delay() method in InteractiveVerifierActivity 359 delay(3000); in delay() 373 protected void delay(long waitTime) { in delay() method in InteractiveVerifierActivity
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_offload.cpp | 76 const int32_t delay = 8; in TEST_P() local 108 AAudioStream_setOffloadDelayPadding(stream, delay, padding)); in TEST_P() 109 EXPECT_EQ(isCompressedFormat(format) ? delay : AAUDIO_ERROR_UNIMPLEMENTED, in TEST_P()
|
/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 | 147 private void executeNextTest(long delay) { in executeNextTest() argument 155 delay); in executeNextTest()
|
/cts/tests/surfacecontrol/jni/ |
D | android_view_surfacecontrol_cts_ChoreographerNativeTest.cpp | 286 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallback64WithDelayEventuallyRunsCallback() local 287 AChoreographer_postFrameCallbackDelayed64(choreographer, frameCallback64, &cb1, delay); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallback64WithDelayEventuallyRunsCallback() 302 const auto delay = NOMINAL_VSYNC_PERIOD * 3; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() local 305 const auto delayToTest = sizeof(long) == sizeof(int64_t) ? delay : ZERO; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 309 std::this_thread::sleep_for(delay); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 325 std::this_thread::sleep_for(delay); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithoutDelayEventuallyRunsCallback() 342 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback() local 343 AChoreographer_postFrameCallbackDelayed(choreographer, frameCallback, &cb1, delay); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback() 391 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackMixedWithDelayEventuallyRunsCallback() local 392 AChoreographer_postFrameCallbackDelayed(choreographer, frameCallback, &cb1, delay); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackMixedWithDelayEventuallyRunsCallback() [all …]
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | VideoPlayerActivity.java | 62 delay(); in onCreate() 72 private void delay() { in delay() method in VideoPlayerActivity
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | InteractiveVerifierActivity.java | 358 delay(mCurrentTest.delayTime); in run() 360 delay(); in run() 384 delay(mCurrentTest.delayTime); in run() 386 delay(); in run() 394 delay(); in run() 403 delay(); in run() 435 protected void delay() { in delay() method in InteractiveVerifierActivity 436 delay(3000); in delay() 450 protected void delay(long waitTime) { in delay() method in InteractiveVerifierActivity 605 delay(); in tearDown() [all …]
|
D | ConditionProviderVerifierActivity.java | 126 delay(); in tearDown() 331 delay(); in setUp() 383 delay(); in setUp() 465 delay(); in setUp() 519 delay(); in setUp() 579 delay(); in setUp() 643 delay(); in tearDown() 941 delay(); in tearDown() 963 delay(); in setUp()
|
D | NotificationPrivacyVerifierActivity.java | 400 delay(); in tearDown() 444 delay(); in tearDown() 506 delay(); in tearDown()
|
/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/tests/tests/media/misc/src/android/media/misc/cts/ |
D | NativeDecoderTest.java | 252 delay(); in createSessionOutputBuffer() 258 delay(); in createSessionOutputBuffer() 264 delay(); in createSessionOutputBuffer() 268 private void delay() throws IOException { in createSessionOutputBuffer() method in NativeDecoderTest.SlowHttpServerConnection
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | TestUtils.java | 363 long delay = deadline - System.currentTimeMillis(); in waitForCountedSignals() local 364 if (delay <= 0) { in waitForCountedSignals() 367 wait(delay); in waitForCountedSignals()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | GridLayoutAnimationControllerTest.java | 111 float delay = 1.5f; in testAccessDelay() local 113 mController.setRowDelay(delay); in testAccessDelay() 114 assertEquals(delay, mController.getRowDelay(), 0.0f); in testAccessDelay() 123 mController.setColumnDelay(delay); in testAccessDelay() 124 assertEquals(delay, mController.getColumnDelay(), 0.0f); in testAccessDelay()
|
D | LayoutAnimationControllerTest.java | 184 float delay = 1.5f; in testAccessDelay() local 185 mController.setDelay(delay); in testAccessDelay() 186 assertEquals(delay, mController.getDelay(), 0.0f); in testAccessDelay() 187 long maxDuration = (long) (delay * INDEX_OF_CHILD3 * DURATION + DURATION); in testAccessDelay()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | LayoutAnimationTest.java | 203 long delay = 100l; in testStartDelay() local 205 mLayoutTransition.setStartDelay(transitionType, delay); in testStartDelay() 206 assertEquals(delay, mLayoutTransition.getStartDelay(transitionType)); in testStartDelay()
|
/cts/tests/DropBoxManager/src/android/dropboxmanager/cts/ |
D | DropBoxTests.java | 155 final long delay = nextTime - SystemClock.elapsedRealtime(); in sendExcessiveDropBoxEntries() local 156 if (delay > 0) Thread.sleep(delay); in sendExcessiveDropBoxEntries()
|
/cts/tests/input/src/android/input/cts/ |
D | MotionEventIsResampledTest.kt | 95 touchScreen.delay(3) in testIsResampled()
|