Searched refs:elapsedTime (Results 1 – 5 of 5) sorted by relevance
32 public volatile long elapsedTime; field in MockAlarmReceiver45 elapsedTime = SystemClock.elapsedRealtime(); in onReceive()
193 long elapsedTime = 0; in waitForCallback() local195 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() local225 while (elapsedTime < TIMEOUT ) { in waitForNewEvents()233 mEventCache.wait(TIMEOUT - elapsedTime); in waitForNewEvents()234 elapsedTime = android.os.SystemClock.uptimeMillis() - startTime; in waitForNewEvents()
183 private void verifyFormatElapsedTime(String expected, long elapsedTime) { in verifyFormatElapsedTime() argument184 assertEquals(expected, DateUtils.formatElapsedTime(elapsedTime)); in verifyFormatElapsedTime()186 assertEquals(expected, DateUtils.formatElapsedTime(sb, elapsedTime)); in verifyFormatElapsedTime()
95 long elapsedTime = SystemClock.elapsedRealtimeNanos(); in activitySetUp()101 logUserReportedStep(elapsedTime); in activitySetUp()
155 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); in testSetTypes()167 assertEquals(mMockAlarmReceiver.elapsedTime, mWakeupTime, TIME_DELTA); in testSetTypes()