Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowSystemClock.java22 private static final int MILLIS_PER_NANO = 1000000; field in ShadowSystemClock
38 nanoTime = millis * MILLIS_PER_NANO; in sleep()
51 nanoTime = millis * MILLIS_PER_NANO; in setCurrentTimeMillis()
68 return elapsedRealtime() * MILLIS_PER_NANO; in elapsedRealtimeNanos()
95 return nanoTime / MILLIS_PER_NANO; in currentTimeMillis()