Home
last modified time | relevance | path

Searched refs:elapsedTime (Results 1 – 5 of 5) sorted by relevance

/cts/tests/app/app/src/android/app/stubs/
DMockAlarmReceiver.java32 public volatile long elapsedTime; field in MockAlarmReceiver
45 elapsedTime = SystemClock.elapsedRealtime(); in onReceive()
/cts/tests/tests/net/src/android/net/wifi/cts/
DNsdManagerTest.java193 long elapsedTime = 0; in waitForCallback() local
195 while (elapsedTime < TIMEOUT ) { in waitForCallback()
206 mEventCache.wait(TIMEOUT - elapsedTime); in waitForCallback()
207 elapsedTime = android.os.SystemClock.uptimeMillis() - startTime; in waitForCallback()
222 long elapsedTime = 0; in waitForNewEvents() local
225 while (elapsedTime < TIMEOUT ) { in waitForNewEvents()
233 mEventCache.wait(TIMEOUT - elapsedTime); in waitForNewEvents()
234 elapsedTime = android.os.SystemClock.uptimeMillis() - startTime; in waitForNewEvents()
/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java183 private void verifyFormatElapsedTime(String expected, long elapsedTime) { in verifyFormatElapsedTime() argument
184 assertEquals(expected, DateUtils.formatElapsedTime(elapsedTime)); in verifyFormatElapsedTime()
186 assertEquals(expected, DateUtils.formatElapsedTime(sb, elapsedTime)); in verifyFormatElapsedTime()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DStepCounterTestActivity.java95 long elapsedTime = SystemClock.elapsedRealtimeNanos(); in activitySetUp()
101 logUserReportedStep(elapsedTime); in activitySetUp()
/cts/tests/app/src/android/app/cts/
DAlarmManagerTest.java155 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); in testSetTypes()
167 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); in testSetTypes()