/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/ |
D | ConsumerIrTest.java | 89 long currentTime = SystemClock.elapsedRealtimeNanos(); in test_timing() local 93 totalXmitTimeNanos, newTime - currentTime); in test_timing() 94 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); in test_timing() 95 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); in test_timing() 98 currentTime = SystemClock.elapsedRealtimeNanos(); in test_timing() 102 totalXmitTimeNanos, newTime - currentTime); in test_timing() 103 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); in test_timing() 104 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); in test_timing()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LongPressBackTest.java | 67 long currentTime = SystemClock.uptimeMillis(); in testAppIsNotDismissed() local 68 automation.injectInputEvent(new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_DOWN, in testAppIsNotDismissed() 82 currentTime = SystemClock.uptimeMillis(); in testAppIsNotDismissed() 84 automation.injectInputEvent(new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_UP, in testAppIsNotDismissed()
|
D | ViewGroupTest.java | 1397 public boolean getTransformation(long currentTime, Transformation outTransformation) { in getTransformation() argument 1398 super.getTransformation(currentTime, outTransformation); in getTransformation()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0837/ |
D | poc.cpp | 39 time_t currentTime = start_timer(); in acquireSoundTriggerSessionThread() local 40 while (timer_active(currentTime)) { in acquireSoundTriggerSessionThread() 59 time_t currentTime = start_timer(); in releaseSoundTriggerSessionThread() local 60 while (timer_active(currentTime)) { in releaseSoundTriggerSessionThread()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0243/ |
D | poc.cpp | 31 time_t currentTime = start_timer(); in thread_getParameter() local 32 while (timer_active(currentTime)) { in thread_getParameter() 78 time_t currentTime = start_timer(); in main() local 79 while (timer_active(currentTime)) { in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2019-9347/ |
D | poc.cpp | 93 time_t currentTime = time(NULL); in main() local 95 time_t endTime = currentTime + waitTimeInSeconds; in main() 96 while (currentTime < endTime) { in main() 101 currentTime = time(NULL); in main()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TimerProgressBar.java | 71 long currentTime = SystemClock.elapsedRealtime(); 72 int progress = (int) ((currentTime - mStartTime) / mStepSize); 76 if (mStartTime + mDuration > currentTime) {
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0840/ |
D | poc.cpp | 97 time_t currentTime = time(NULL); in main() local 99 time_t endTime = currentTime + waitTimeInSeconds; in main() 100 while (currentTime < endTime) { in main() 105 currentTime = time(NULL); in main()
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 155 long currentTime = System.currentTimeMillis(); in onDrawFrame() local 157 mLastRenderingTime = currentTime; in onDrawFrame() 159 float angle = 0.090f * ((int) (currentTime % 4000L)); in onDrawFrame() 233 long currentTime = System.currentTimeMillis(); in onEglSwapBuffers() local 235 mRenderingStartTime = currentTime; in onEglSwapBuffers() 238 mFrameInterval[mFrameCount] = (int)(currentTime - mLastRenderingTime); in onEglSwapBuffers() 242 long timePassed = currentTime - mRenderingStartTime; in onEglSwapBuffers() 248 mRenderingStartTime + " finish time " + currentTime); in onEglSwapBuffers() 435 long currentTime = System.currentTimeMillis(); in measureTime() local 436 float timePassedInSecs = (float) (currentTime - mMeasurementStartTime) / 1000f; in measureTime()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2021-0330/ |
D | poc.cpp | 59 time_t currentTime = start_timer(); in main() local 60 while (timer_active(currentTime)) { in main()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-13241/ |
D | poc.cpp | 110 time_t currentTime = time(NULL); in main() local 112 time_t endTime = currentTime + waitTimeInSeconds; in main() 113 while (currentTime < endTime) { in main() 118 currentTime = time(NULL); in main()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | KeyListenerTestCase.java | 109 long currentTime = System.currentTimeMillis(); in getKey() local 110 return new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_DOWN, keycode, in getKey()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2485/ |
D | poc.cpp | 152 time_t currentTime = time(NULL); in main() local 153 time_t endTime = currentTime + EMPTY_BUFFER_DONE_CALLBACK_TIMEOUT_IN_SEC; in main() 154 while (currentTime < endTime) { in main() 159 currentTime = time(NULL); in main()
|
/cts/tests/location/location_gnss/src/android/location/cts/gnss/suplClient/ |
D | SuplRrlpMessagesGenerator.java | 216 Calendar currentTime = GregorianCalendar.getInstance(TimeZone.getTimeZone("UTC")); in generateSuplPositionInitLocalLocationMessage() local 217 utcTime.setYear(currentTime.get(Calendar.YEAR)); in generateSuplPositionInitLocalLocationMessage() 218 utcTime.setMonth(currentTime.get(Calendar.MONTH) + 1); // Calendar's MONTH starts from 0. in generateSuplPositionInitLocalLocationMessage() 219 utcTime.setDay(currentTime.get(Calendar.DAY_OF_MONTH)); in generateSuplPositionInitLocalLocationMessage() 220 utcTime.setHour(currentTime.get(Calendar.HOUR_OF_DAY)); in generateSuplPositionInitLocalLocationMessage() 221 utcTime.setMinute(currentTime.get(Calendar.MINUTE)); in generateSuplPositionInitLocalLocationMessage() 222 utcTime.setSecond(currentTime.get(Calendar.SECOND)); in generateSuplPositionInitLocalLocationMessage()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0817/ |
D | poc.cpp | 132 time_t currentTime = start_timer(); in main() local 133 while(timer_active(currentTime)) { in main()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DevicePolicyManagerParentSupportTest.java | 89 final long currentTime = System.currentTimeMillis(); in testGetPasswordExpiration_onParent() local 96 assertThat(actualPasswordExpiration).isAtLeast(passwordExpirationTimeout + currentTime); in testGetPasswordExpiration_onParent()
|
/cts/tests/tests/view/src/android/view/animation/cts/ |
D | AnimationTest.java | 392 long currentTime = AnimationUtils.currentAnimationTimeMillis(); in testRunAccelerateAlpha() local 393 animation.setStartTime(currentTime); in testRunAccelerateAlpha() 394 assertEquals(currentTime, animation.getStartTime()); in testRunAccelerateAlpha() 616 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 618 assertEquals(currentTime, animation.getStartTime(), 100); 748 public boolean getTransformation(long currentTime, Transformation outTransformation) { in getTransformation() argument 750 return super.getTransformation(currentTime, outTransformation); in getTransformation()
|
D | AnimationSetTest.java | 329 final long currentTime, final boolean result) { in assertGetTransformation() argument 334 assertEquals(result, animationSet.getTransformation(currentTime, transformation)); in assertGetTransformation() 338 children.get(i).getTransformation(currentTime, tempTransformation); in assertGetTransformation()
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
D | MbmsDownloadFlowTest.java | 169 long currentTime = System.currentTimeMillis(); in checkDownloadResultAck() local 170 while (System.currentTimeMillis() < currentTime + ASYNC_TIMEOUT) { in checkDownloadResultAck()
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | SystemBluetoothTest.java | 157 long currentTime = System.currentTimeMillis(); in testDiscoveryEndMillis() local 158 assertTrue(discoveryEndTime > currentTime); in testDiscoveryEndMillis() 159 assertTrue(discoveryEndTime - currentTime < DEFAULT_DISCOVERY_TIMEOUT_MS); in testDiscoveryEndMillis()
|
/cts/tests/tests/view/jni/ |
D | android_view_cts_ASurfaceControlTest.cpp | 488 int64_t currentTime = ((int64_t) t.tv_sec)*1000000000LL + t.tv_nsec; in SurfaceTransaction_setDesiredPresentTime() local 490 int64_t desiredPresentTime = currentTime + desiredPresentTimeOffset; in SurfaceTransaction_setDesiredPresentTime()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallDetailsTest.java | 992 long currentTime = mConnection.getConnectTimeMillis(); in testResetConnectionTime() local 996 assertCallConnectTimeChanged(mCall, currentTime); in testResetConnectionTime()
|