Searched refs:elapsedTime (Results 1 – 5 of 5) sorted by relevance
32 public volatile long elapsedTime; field in MockAlarmReceiver45 elapsedTime = SystemClock.elapsedRealtime(); in onReceive()
195 long elapsedTime = 0; in waitForCallback() local197 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() local227 while (elapsedTime < TIMEOUT ) { in waitForNewEvents()235 mEventCache.wait(TIMEOUT - elapsedTime); in waitForNewEvents()236 elapsedTime = android.os.SystemClock.uptimeMillis() - startTime; in waitForNewEvents()
184 private void verifyFormatElapsedTime(String expected, long elapsedTime) { in verifyFormatElapsedTime() argument185 assertEquals(expected, DateUtils.formatElapsedTime(elapsedTime)); in verifyFormatElapsedTime()187 assertEquals(expected, DateUtils.formatElapsedTime(sb, elapsedTime)); in verifyFormatElapsedTime()
95 long elapsedTime = SystemClock.elapsedRealtimeNanos(); in activitySetUp()101 logUserReportedStep(elapsedTime); in activitySetUp()
157 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); in testSetTypes()169 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); in testSetTypes()