Home
last modified time | relevance | path

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

/cts/tests/tests/wifi/src/android/net/wifi/cts/
DNsdManagerTest.java195 long elapsedTime = 0; in waitForCallback() local
197 while (elapsedTime < TIMEOUT ) { in waitForCallback()
208 mEventCache.wait(TIMEOUT - elapsedTime); in waitForCallback()
209 elapsedTime = android.os.SystemClock.uptimeMillis() - startTime; in waitForCallback()
224 long elapsedTime = 0; in waitForNewEvents() local
227 while (elapsedTime < TIMEOUT ) { in waitForNewEvents()
235 mEventCache.wait(TIMEOUT - elapsedTime); in waitForNewEvents()
236 elapsedTime = android.os.SystemClock.uptimeMillis() - startTime; in waitForNewEvents()
/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/text/src/android/text/format/cts/
DDateUtilsTest.java184 private void verifyFormatElapsedTime(String expected, long elapsedTime) { in verifyFormatElapsedTime() argument
185 assertEquals(expected, DateUtils.formatElapsedTime(elapsedTime)); in verifyFormatElapsedTime()
187 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.java157 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); in testSetTypes()
169 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); in testSetTypes()