/cts/tests/tests/text/src/android/text/method/cts/ |
D | ScrollingMovementMethodTest.java | 108 final long now = SystemClock.uptimeMillis(); in testOnTouchEventHorizontalMotion() local 113 MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 0, 0, 0)); in testOnTouchEventHorizontalMotion() 123 MotionEvent.obtain(now, now, MotionEvent.ACTION_MOVE, tinyDist, 0, 0)); in testOnTouchEventHorizontalMotion() 132 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, tinyDist, 0, 0)); in testOnTouchEventHorizontalMotion() 140 MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 0, 0, 0)); in testOnTouchEventHorizontalMotion() 150 MotionEvent.obtain(now, now, MotionEvent.ACTION_MOVE, distFar, 0, 0)); in testOnTouchEventHorizontalMotion() 162 MotionEvent.obtain(now, now, MotionEvent.ACTION_MOVE, distTooFar, 0, 0)); in testOnTouchEventHorizontalMotion() 173 MotionEvent.obtain(now, now, MotionEvent.ACTION_MOVE, 0, 0, 0)); in testOnTouchEventHorizontalMotion() 183 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 0, 0, 0)); in testOnTouchEventHorizontalMotion() 211 final long now = SystemClock.uptimeMillis(); [all …]
|
D | LinkMovementMethodTest.java | 192 long now = SystemClock.uptimeMillis(); in testOnKeyDown() local 193 KeyEvent event = new KeyEvent(now, now, KeyEvent.ACTION_DOWN, in testOnKeyDown() 272 long now = SystemClock.uptimeMillis(); in testOnTouchEvent() local 276 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 5, y, 0)); in testOnTouchEvent() 284 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 5, y, 0)); in testOnTouchEvent() 472 long now = SystemClock.uptimeMillis(); in performMotionOnLine() local 475 MotionEvent.obtain(now, now, action, x, y, 0)); in performMotionOnLine()
|
D | ArrowKeyMovementMethodTest.java | 603 long now = SystemClock.currentThreadTimeMillis(); in testOnTouchEvent() local 606 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 1, 1, 0))); in testOnTouchEvent() 610 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 1, 1, in testOnTouchEvent() 621 long now = SystemClock.currentThreadTimeMillis(); in testOnTouchEventWithNullLayout() local 623 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 1, 1, 0))); in testOnTouchEventWithNullLayout() 628 long now = SystemClock.currentThreadTimeMillis(); in testOnTouchEventWithoutFocus() local 631 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 1, 1, 0))); in testOnTouchEventWithoutFocus() 1144 final long now = System.currentTimeMillis(); in pressCtrlChord() local 1146 now, now, KeyEvent.ACTION_DOWN, keyCode, 0, KeyEvent.META_CTRL_LEFT_ON); in pressCtrlChord()
|
/cts/tests/tests/text/src/android/text/format/cts/ |
D | DateUtilsTest.java | 207 long now = System.currentTimeMillis(); in test_bug_7548161() local 208 long today = now; in test_bug_7548161() 209 long tomorrow = now + DateUtils.DAY_IN_MILLIS; in test_bug_7548161() 210 long yesterday = now - DateUtils.DAY_IN_MILLIS; in test_bug_7548161() 211 assertEquals("Tomorrow", DateUtils.getRelativeTimeSpanString(tomorrow, now, in test_bug_7548161() 213 assertEquals("Yesterday", DateUtils.getRelativeTimeSpanString(yesterday, now, in test_bug_7548161() 215 assertEquals("Today", DateUtils.getRelativeTimeSpanString(today, now, in test_bug_7548161()
|
/cts/tests/tests/transition/src/android/transition/cts/ |
D | BaseTransitionTest.java | 65 long now = SystemClock.uptimeMillis(); in waitForStart() local 66 long waitTime = endTime - now; in waitForStart() 84 long now = SystemClock.uptimeMillis(); in waitForEnd() local 85 long waitTime = endTime - now; in waitForEnd()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 177 long now = SystemClock.uptimeMillis() + 200; in testMessageOrder() 180 mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1); in testMessageOrder() 181 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2); in testMessageOrder() 182 mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2); in testMessageOrder() 183 mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0); in testMessageOrder() 184 mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0); in testMessageOrder() 201 long now = SystemClock.uptimeMillis() + 200; in testAtFrontOfQueue() 203 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now); in testAtFrontOfQueue() 864 long now = System.currentTimeMillis(); in doTest() local 865 long endTime = now + timeout; in doTest() [all …]
|
D | MessengerTest.java | 256 long now = System.currentTimeMillis(); in doTest() local 257 long endTime = now + timeout; in doTest() 259 while (!mDone && now < endTime) { in doTest() 261 now = System.currentTimeMillis(); in doTest()
|
/cts/tests/tests/tv/src/android/media/tv/cts/ |
D | TvInputServiceTest.java | 315 long now = SystemClock.uptimeMillis(); in verifyCommandDispatchTouchEvent() local 316 MotionEvent event = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1.0f, 1.0f, in verifyCommandDispatchTouchEvent() 332 long now = SystemClock.uptimeMillis(); in verifyCommandDispatchTrackballEvent() local 333 MotionEvent event = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1.0f, 1.0f, in verifyCommandDispatchTrackballEvent() 349 long now = SystemClock.uptimeMillis(); in verifyCommandDispatchGenericMotionEvent() local 350 MotionEvent event = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 1.0f, 1.0f, in verifyCommandDispatchGenericMotionEvent()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | AlarmManagerTest.java | 185 final long now = System.currentTimeMillis(); in testExactAlarmBatching() local 186 final long windowStart = now + TEST_ALARM_FUTURITY; in testExactAlarmBatching() 196 new PollingCheck(TEST_WINDOW_LENGTH + (windowStart - now) + 500) { in testExactAlarmBatching()
|
D | InstrumentationTest.java | 173 long now = SystemClock.uptimeMillis(); in testSendTrackballEventSync() local 174 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, in testSendTrackballEventSync() 321 long now = SystemClock.uptimeMillis(); in testSendPointerSync() local 322 MotionEvent orig = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, in testSendPointerSync()
|
D | DialogTest.java | 378 long now = SystemClock.uptimeMillis(); in testTouchEvent() local 379 MotionEvent touchMotionEvent = MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, in testTouchEvent() 402 touchMotionEvent = MotionEvent.obtain(now, now + 1, MotionEvent.ACTION_DOWN, in testTouchEvent()
|
/cts/tools/utils/ |
D | monsoon.py | 395 now = time.time() 396 if now - last_flush >= 0.99: # flush every second 398 last_flush = now
|
/cts/tests/tests/display/src/android/display/cts/ |
D | VirtualDisplayTest.java | 337 long now = SystemClock.uptimeMillis(); in waitForColor() local 338 if (now >= timeoutTime) { in waitForColor() 342 wait(timeoutTime - now); in waitForColor()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsProvider2_AccountRemovalTest.java | 235 long now = System.currentTimeMillis(); in assertWithinTimeoutLimit() local 236 long elapsed = now - start; in assertWithinTimeoutLimit()
|
D | ContactsTest.java | 117 long now = new Date().getTime(); in testPeopleTable() local 120 value.put(PeopleColumns.LAST_TIME_CONTACTED, (int) now); in testPeopleTable() 128 assertEquals((int) now, cursor.getInt(LAST_TIME_CONTACTED_INDEX)); in testPeopleTable() 489 int now = (int) new Date().getTime(); in testCallsTable() local 492 value.put(Calls.DATE, now); in testCallsTable() 513 assertEquals(now, cursor.getInt(DATE_INDEX)); in testCallsTable()
|
D | CalendarTest.java | 1496 long now = System.currentTimeMillis(); in testRemindersAlarm() local 1498 eventValues.put(Events.DTSTART, now - DateUtils.MINUTE_IN_MILLIS * 15); in testRemindersAlarm() 1499 eventValues.put(Events.DTEND, now + DateUtils.HOUR_IN_MILLIS); in testRemindersAlarm()
|
/cts/apps/CtsVerifier/assets/scripts/ |
D | execute_power_tests.py | 896 now = time.time() 897 if now - last_flush >= 0.99: # flush every second 899 last_flush = now
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 1019 Date now = new Date(); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() local 1022 Date expectedAfter = new Date(now.getTime() - SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() 1023 Date expectedBefore = new Date(now.getTime() + SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_PrivateKeyEntry_Unencrypted_Success() 1035 Date now = new Date(); in testKeyStore_GetCreationDate_CAEntry_Unencrypted_Success() local 1039 Date expectedAfter = new Date(now.getTime() - SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_CAEntry_Unencrypted_Success() 1040 Date expectedBefore = new Date(now.getTime() + SLOP_TIME_MILLIS); in testKeyStore_GetCreationDate_CAEntry_Unencrypted_Success() 1910 Date now = cal.getTime(); in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local 1920 .setStartDate(now) in testKeyStore_Encrypting_RSA_NONE_NOPADDING()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaScannerTest.java | 239 long now = System.currentTimeMillis(); in testWildcardPaths() local 240 String dir1 = mFileDir + "/test-" + now; in testWildcardPaths() 242 String dir2 = mFileDir + "/test_" + now; in testWildcardPaths()
|
D | MediaPlayerTest.java | 449 long now = SystemClock.elapsedRealtime(); 450 if ((now - startTime) > 25000) {
|
/cts/suite/cts/deviceTests/browserbench/assets/octane/js/ |
D | jquery.js | 838 now: function() { 3445 this.timeStamp = src && src.timeStamp || jQuery.now(); 7494 var ts = jQuery.now(), 7818 var jsc = jQuery.now(), 8522 return ( fxNow = jQuery.now() ); 8614 this.options.step.call( this.elem, this.now, this ); 8641 this.now = this.start = from; 8702 this.now = this.end; 8755 this.now = t; 8762 this.now = this.start + ( (this.end - this.start) * this.pos ); [all …]
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 124 long now = System.currentTimeMillis(); in setUp() local 125 mRandom = new Random(now); in setUp()
|
/cts/tools/dex-tools/dex/ |
D | classes0.out.dex | 52993 final long now()
|