1{
2  "methods": {
3    "currentNetworkTimeMillis()": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected",
7        "static"
8      ],
9      "params": [],
10      "returnType": "long",
11      "exceptions": [],
12      "minSdk": 28,
13      "name": "currentNetworkTimeMillis()"
14    },
15    "currentThreadTimeMicro()": {
16      "isImplementation": true,
17      "modifiers": [
18        "public",
19        "static"
20      ],
21      "params": [],
22      "returnType": "long",
23      "exceptions": [],
24      "name": "currentThreadTimeMicro()"
25    },
26    "currentThreadTimeMillis()": {
27      "isImplementation": true,
28      "modifiers": [
29        "protected",
30        "static"
31      ],
32      "params": [],
33      "returnType": "long",
34      "exceptions": [],
35      "name": "currentThreadTimeMillis()"
36    },
37    "currentTimeMicro()": {
38      "isImplementation": true,
39      "modifiers": [
40        "public",
41        "static"
42      ],
43      "params": [],
44      "returnType": "long",
45      "exceptions": [],
46      "name": "currentTimeMicro()"
47    },
48    "currentTimeMillis()": {
49      "isImplementation": false,
50      "modifiers": [
51        "public",
52        "static"
53      ],
54      "params": [],
55      "returnType": "long",
56      "exceptions": [],
57      "name": "currentTimeMillis()",
58      "documentation": "Implements {@link System#currentTimeMillis} through ShadowWrangler.\n\n@return Current time in millis.\n"
59    },
60    "elapsedRealtime()": {
61      "isImplementation": true,
62      "modifiers": [
63        "protected",
64        "static"
65      ],
66      "params": [],
67      "returnType": "long",
68      "exceptions": [],
69      "name": "elapsedRealtime()"
70    },
71    "elapsedRealtimeNanos()": {
72      "isImplementation": true,
73      "modifiers": [
74        "protected",
75        "static"
76      ],
77      "params": [],
78      "returnType": "long",
79      "exceptions": [],
80      "minSdk": 17,
81      "name": "elapsedRealtimeNanos()"
82    },
83    "nanoTime()": {
84      "isImplementation": false,
85      "modifiers": [
86        "public",
87        "static"
88      ],
89      "params": [],
90      "returnType": "long",
91      "exceptions": [],
92      "name": "nanoTime()",
93      "documentation": "Implements {@link System#nanoTime} through ShadowWrangler.\n\n@return Current time with nanos.\n"
94    },
95    "now()": {
96      "isImplementation": false,
97      "modifiers": [
98        "static"
99      ],
100      "params": [],
101      "returnType": "long",
102      "exceptions": [],
103      "name": "now()"
104    },
105    "reset()": {
106      "isImplementation": false,
107      "modifiers": [
108        "public",
109        "static"
110      ],
111      "params": [],
112      "returnType": "void",
113      "exceptions": [],
114      "name": "reset()"
115    },
116    "setCurrentTimeMillis(long)": {
117      "isImplementation": true,
118      "modifiers": [
119        "protected",
120        "static"
121      ],
122      "params": [
123        "millis"
124      ],
125      "returnType": "boolean",
126      "exceptions": [],
127      "name": "setCurrentTimeMillis(long)"
128    },
129    "setNanoTime(long)": {
130      "isImplementation": false,
131      "modifiers": [
132        "public",
133        "static"
134      ],
135      "params": [
136        "nanoTime"
137      ],
138      "returnType": "void",
139      "exceptions": [],
140      "name": "setNanoTime(long)"
141    },
142    "setNetworkTimeAvailable(boolean)": {
143      "isImplementation": false,
144      "modifiers": [
145        "public",
146        "static"
147      ],
148      "params": [
149        "available"
150      ],
151      "returnType": "void",
152      "exceptions": [],
153      "name": "setNetworkTimeAvailable(boolean)",
154      "documentation": "Sets whether network time is available. "
155    },
156    "sleep(long)": {
157      "isImplementation": true,
158      "modifiers": [
159        "protected",
160        "static"
161      ],
162      "params": [
163        "millis"
164      ],
165      "returnType": "void",
166      "exceptions": [],
167      "name": "sleep(long)"
168    },
169    "uptimeMillis()": {
170      "isImplementation": true,
171      "modifiers": [
172        "protected",
173        "static"
174      ],
175      "params": [],
176      "returnType": "long",
177      "exceptions": [],
178      "name": "uptimeMillis()"
179    }
180  },
181  "imports": [
182    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR1",
183    "android.os.Build.VERSION_CODES.P",
184    "android.os.SystemClock",
185    "java.time.DateTimeException",
186    "org.robolectric.annotation.HiddenApi",
187    "org.robolectric.annotation.Implementation",
188    "org.robolectric.annotation.Implements",
189    "org.robolectric.annotation.Resetter"
190  ],
191  "name": "org.robolectric.shadows.ShadowSystemClock",
192  "documentation": "Robolectric\u0027s concept of current time is base on the current time of the UI Scheduler for\nconsistency with previous implementations. This is not ideal, since both schedulers\n(background and foreground), can see different values for the current time.\n"
193}