/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 | 53 def set_light_brightness(ch, brightness, serial_port, delay=0): argument 72 time.sleep(delay) 122 set_light_brightness(lighting_ch, level, arduino_serial_port, delay=1)
|
/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/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() 333 delay(); in setUp() 385 delay(); in setUp() 467 delay(); in setUp() 521 delay(); in setUp() 581 delay(); in setUp() 645 delay(); in tearDown() 943 delay(); in tearDown() 965 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/common/src/android/media/cts/ |
D | TestUtils.java | 350 long delay = deadline - System.currentTimeMillis(); in waitForCountedSignals() local 351 if (delay <= 0) { in waitForCountedSignals() 354 wait(delay); in waitForCountedSignals()
|
/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/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 | 96 touchScreen.delay(3) in testIsResampled()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | CtsAugmentedAutofillService.java | 360 final long delay = response.getDelay(); in handleOnFillRequest() local 361 if (delay > 0) { in handleOnFillRequest()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioTrackOffloadTest.java | 406 AudioFormat audioFormat, int delay, int padding, int durationMs) throws Exception { in testGaplessAudioTrackOffload() argument 431 (int) Math.ceil(significantSampleNumber / ((float) delay + padding)) + 1; in testGaplessAudioTrackOffload() 435 offloadTrack.setOffloadDelayPadding(delay, padding); in testGaplessAudioTrackOffload()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 1038 delay(2000); in run() 1055 delay(1000); in run() 1060 private void delay(int milli) { in delay() method in RVCVRecordActivity.RecordProcedureController 1092 delay(1000); in recordAxis()
|