public interface Clock
DEFAULT
implementation
must be used for all non-test cases.Modifier and Type | Field and Description |
---|---|
static Clock |
DEFAULT
Default
Clock to use for all non-test cases. |
Modifier and Type | Method and Description |
---|---|
long |
elapsedRealtime() |
void |
sleep(long sleepTimeMs) |
long elapsedRealtime()
SystemClock.elapsedRealtime()
void sleep(long sleepTimeMs)
SystemClock.sleep(long)