Searched refs:setNanoTime (Results 1 – 3 of 3) sorted by relevance
47 ShadowSystemClock.setNanoTime(123456); in systemNanoTime_shouldReturnShadowClockTime()54 ShadowSystemClock.setNanoTime(TimeUnit.MILLISECONDS.toNanos(54321)); in systemCurrentTimeMillis_shouldReturnShadowClockTime()
63 ShadowSystemClock.setNanoTime(3141592L); in shouldInterceptSystemTimeCalls()75 ShadowSystemClock.setNanoTime(123456000000L); in currentNetworkTimeMillis_networkTimeAvailable_shouldReturnCurrentTime()
108 public static void setNanoTime(long nanoTime) { in setNanoTime() method in ShadowSystemClock