1{
2  "methods": {
3    "acceptRingingCall()": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [],
9      "returnType": "void",
10      "exceptions": [],
11      "name": "acceptRingingCall()"
12    },
13    "addNewIncomingCall(android.telecom.PhoneAccountHandle,android.os.Bundle)": {
14      "isImplementation": true,
15      "modifiers": [
16        "protected"
17      ],
18      "params": [
19        "phoneAccount",
20        "extras"
21      ],
22      "returnType": "void",
23      "exceptions": [],
24      "name": "addNewIncomingCall(android.telecom.PhoneAccountHandle,android.os.Bundle)"
25    },
26    "addNewUnknownCall(android.telecom.PhoneAccountHandle,android.os.Bundle)": {
27      "isImplementation": true,
28      "modifiers": [
29        "public"
30      ],
31      "params": [
32        "phoneAccount",
33        "extras"
34      ],
35      "returnType": "void",
36      "exceptions": [],
37      "name": "addNewUnknownCall(android.telecom.PhoneAccountHandle,android.os.Bundle)"
38    },
39    "cancelMissedCallsNotification()": {
40      "isImplementation": true,
41      "modifiers": [
42        "protected"
43      ],
44      "params": [],
45      "returnType": "void",
46      "exceptions": [],
47      "name": "cancelMissedCallsNotification()"
48    },
49    "clearAccounts()": {
50      "isImplementation": true,
51      "modifiers": [
52        "public"
53      ],
54      "params": [],
55      "returnType": "void",
56      "exceptions": [],
57      "name": "clearAccounts()",
58      "documentation": "@deprecated "
59    },
60    "clearAccountsForPackage(java.lang.String)": {
61      "isImplementation": true,
62      "modifiers": [
63        "public"
64      ],
65      "params": [
66        "packageName"
67      ],
68      "returnType": "void",
69      "exceptions": [],
70      "minSdk": 22,
71      "name": "clearAccountsForPackage(java.lang.String)"
72    },
73    "enablePhoneAccount(android.telecom.PhoneAccountHandle,boolean)": {
74      "isImplementation": true,
75      "modifiers": [
76        "public"
77      ],
78      "params": [
79        "handle",
80        "isEnabled"
81      ],
82      "returnType": "void",
83      "exceptions": [],
84      "minSdk": 23,
85      "name": "enablePhoneAccount(android.telecom.PhoneAccountHandle,boolean)"
86    },
87    "endCall()": {
88      "isImplementation": true,
89      "modifiers": [
90        "public"
91      ],
92      "params": [],
93      "returnType": "boolean",
94      "exceptions": [],
95      "name": "endCall()"
96    },
97    "getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle)": {
98      "isImplementation": true,
99      "modifiers": [
100        "protected"
101      ],
102      "params": [
103        "accountHandle"
104      ],
105      "returnType": "android.net.Uri",
106      "exceptions": [],
107      "minSdk": 22,
108      "name": "getAdnUriForPhoneAccount(android.telecom.PhoneAccountHandle)"
109    },
110    "getAllIncomingCalls()": {
111      "isImplementation": false,
112      "modifiers": [
113        "public"
114      ],
115      "params": [],
116      "returnType": "java.util.List\u003corg.robolectric.shadows.ShadowTelecomManager.CallRecord\u003e",
117      "exceptions": [],
118      "name": "getAllIncomingCalls()"
119    },
120    "getAllPhoneAccountHandles()": {
121      "isImplementation": true,
122      "modifiers": [
123        "public"
124      ],
125      "params": [],
126      "returnType": "java.util.List\u003candroid.telecom.PhoneAccountHandle\u003e",
127      "exceptions": [],
128      "name": "getAllPhoneAccountHandles()"
129    },
130    "getAllPhoneAccounts()": {
131      "isImplementation": true,
132      "modifiers": [
133        "public"
134      ],
135      "params": [],
136      "returnType": "java.util.List\u003candroid.telecom.PhoneAccount\u003e",
137      "exceptions": [],
138      "name": "getAllPhoneAccounts()"
139    },
140    "getAllPhoneAccountsCount()": {
141      "isImplementation": true,
142      "modifiers": [
143        "public"
144      ],
145      "params": [],
146      "returnType": "int",
147      "exceptions": [],
148      "name": "getAllPhoneAccountsCount()"
149    },
150    "getAllUnknownCalls()": {
151      "isImplementation": false,
152      "modifiers": [
153        "public"
154      ],
155      "params": [],
156      "returnType": "java.util.List\u003corg.robolectric.shadows.ShadowTelecomManager.CallRecord\u003e",
157      "exceptions": [],
158      "name": "getAllUnknownCalls()"
159    },
160    "getCallCapablePhoneAccounts()": {
161      "isImplementation": true,
162      "modifiers": [
163        "protected"
164      ],
165      "params": [],
166      "returnType": "java.util.List\u003candroid.telecom.PhoneAccountHandle\u003e",
167      "exceptions": [],
168      "minSdk": 23,
169      "name": "getCallCapablePhoneAccounts()"
170    },
171    "getCallCapablePhoneAccounts(boolean)": {
172      "isImplementation": true,
173      "modifiers": [
174        "public"
175      ],
176      "params": [
177        "includeDisabledAccounts"
178      ],
179      "returnType": "java.util.List\u003candroid.telecom.PhoneAccountHandle\u003e",
180      "exceptions": [],
181      "minSdk": 23,
182      "name": "getCallCapablePhoneAccounts(boolean)"
183    },
184    "getCallState()": {
185      "isImplementation": true,
186      "modifiers": [
187        "public"
188      ],
189      "params": [],
190      "returnType": "int",
191      "exceptions": [],
192      "name": "getCallState()"
193    },
194    "getConnectionManager()": {
195      "isImplementation": true,
196      "modifiers": [
197        "public"
198      ],
199      "params": [],
200      "returnType": "android.telecom.PhoneAccountHandle",
201      "exceptions": [],
202      "name": "getConnectionManager()"
203    },
204    "getCurrentTtyMode()": {
205      "isImplementation": true,
206      "modifiers": [
207        "public"
208      ],
209      "params": [],
210      "returnType": "int",
211      "exceptions": [],
212      "name": "getCurrentTtyMode()"
213    },
214    "getDefaultDialerPackage()": {
215      "isImplementation": true,
216      "modifiers": [
217        "protected"
218      ],
219      "params": [],
220      "returnType": "java.lang.String",
221      "exceptions": [],
222      "minSdk": 23,
223      "name": "getDefaultDialerPackage()"
224    },
225    "getDefaultOutgoingPhoneAccount(java.lang.String)": {
226      "isImplementation": true,
227      "modifiers": [
228        "protected"
229      ],
230      "params": [
231        "uriScheme"
232      ],
233      "returnType": "android.telecom.PhoneAccountHandle",
234      "exceptions": [],
235      "name": "getDefaultOutgoingPhoneAccount(java.lang.String)"
236    },
237    "getDefaultPhoneApp()": {
238      "isImplementation": true,
239      "modifiers": [
240        "public"
241      ],
242      "params": [],
243      "returnType": "android.content.ComponentName",
244      "exceptions": [],
245      "name": "getDefaultPhoneApp()",
246      "documentation": "@deprecated "
247    },
248    "getLine1Number(android.telecom.PhoneAccountHandle)": {
249      "isImplementation": true,
250      "modifiers": [
251        "protected"
252      ],
253      "params": [
254        "accountHandle"
255      ],
256      "returnType": "java.lang.String",
257      "exceptions": [],
258      "minSdk": 22,
259      "name": "getLine1Number(android.telecom.PhoneAccountHandle)"
260    },
261    "getPhoneAccount(android.telecom.PhoneAccountHandle)": {
262      "isImplementation": true,
263      "modifiers": [
264        "protected"
265      ],
266      "params": [
267        "account"
268      ],
269      "returnType": "android.telecom.PhoneAccount",
270      "exceptions": [],
271      "name": "getPhoneAccount(android.telecom.PhoneAccountHandle)"
272    },
273    "getPhoneAccountsForPackage()": {
274      "isImplementation": true,
275      "modifiers": [
276        "public"
277      ],
278      "params": [],
279      "returnType": "java.util.List\u003candroid.telecom.PhoneAccountHandle\u003e",
280      "exceptions": [],
281      "name": "getPhoneAccountsForPackage()"
282    },
283    "getPhoneAccountsSupportingScheme(java.lang.String)": {
284      "isImplementation": true,
285      "modifiers": [
286        "public"
287      ],
288      "params": [
289        "uriScheme"
290      ],
291      "returnType": "java.util.List\u003candroid.telecom.PhoneAccountHandle\u003e",
292      "exceptions": [],
293      "name": "getPhoneAccountsSupportingScheme(java.lang.String)"
294    },
295    "getSimCallManager()": {
296      "isImplementation": true,
297      "modifiers": [
298        "protected"
299      ],
300      "params": [],
301      "returnType": "android.telecom.PhoneAccountHandle",
302      "exceptions": [],
303      "name": "getSimCallManager()"
304    },
305    "getSimCallManager(int)": {
306      "isImplementation": true,
307      "modifiers": [
308        "public"
309      ],
310      "params": [
311        "userId"
312      ],
313      "returnType": "android.telecom.PhoneAccountHandle",
314      "exceptions": [],
315      "minSdk": 23,
316      "name": "getSimCallManager(int)"
317    },
318    "getSystemDialerPackage()": {
319      "isImplementation": true,
320      "modifiers": [
321        "public"
322      ],
323      "params": [],
324      "returnType": "java.lang.String",
325      "exceptions": [],
326      "minSdk": 23,
327      "name": "getSystemDialerPackage()"
328    },
329    "getUserSelectedOutgoingPhoneAccount()": {
330      "isImplementation": true,
331      "modifiers": [
332        "public"
333      ],
334      "params": [],
335      "returnType": "android.telecom.PhoneAccountHandle",
336      "exceptions": [],
337      "name": "getUserSelectedOutgoingPhoneAccount()"
338    },
339    "getVoiceMailNumber(android.telecom.PhoneAccountHandle)": {
340      "isImplementation": true,
341      "modifiers": [
342        "protected"
343      ],
344      "params": [
345        "accountHandle"
346      ],
347      "returnType": "java.lang.String",
348      "exceptions": [],
349      "minSdk": 23,
350      "name": "getVoiceMailNumber(android.telecom.PhoneAccountHandle)"
351    },
352    "handleMmi(java.lang.String)": {
353      "isImplementation": true,
354      "modifiers": [
355        "protected"
356      ],
357      "params": [
358        "dialString"
359      ],
360      "returnType": "boolean",
361      "exceptions": [],
362      "name": "handleMmi(java.lang.String)"
363    },
364    "handleMmi(java.lang.String,android.telecom.PhoneAccountHandle)": {
365      "isImplementation": true,
366      "modifiers": [
367        "protected"
368      ],
369      "params": [
370        "dialString",
371        "accountHandle"
372      ],
373      "returnType": "boolean",
374      "exceptions": [],
375      "minSdk": 23,
376      "name": "handleMmi(java.lang.String,android.telecom.PhoneAccountHandle)"
377    },
378    "isInCall()": {
379      "isImplementation": true,
380      "modifiers": [
381        "protected"
382      ],
383      "params": [],
384      "returnType": "boolean",
385      "exceptions": [],
386      "name": "isInCall()",
387      "documentation": "Overrides behavior of {@link TelecomManager#isInCall} to return pre-set result.\n\n@return Value set by calling {@link ShadowTelecomManager#setIsInCall}. If setIsInCall has not\n    previously been called, will return false.\n"
388    },
389    "isRinging()": {
390      "isImplementation": true,
391      "modifiers": [
392        "public"
393      ],
394      "params": [],
395      "returnType": "boolean",
396      "exceptions": [],
397      "name": "isRinging()"
398    },
399    "isTtySupported()": {
400      "isImplementation": true,
401      "modifiers": [
402        "protected"
403      ],
404      "params": [],
405      "returnType": "boolean",
406      "exceptions": [],
407      "name": "isTtySupported()"
408    },
409    "isVoiceMailNumber(android.telecom.PhoneAccountHandle,java.lang.String)": {
410      "isImplementation": true,
411      "modifiers": [
412        "protected"
413      ],
414      "params": [
415        "accountHandle",
416        "number"
417      ],
418      "returnType": "boolean",
419      "exceptions": [],
420      "minSdk": 22,
421      "name": "isVoiceMailNumber(android.telecom.PhoneAccountHandle,java.lang.String)"
422    },
423    "placeCall(android.net.Uri,android.os.Bundle)": {
424      "isImplementation": true,
425      "modifiers": [
426        "protected"
427      ],
428      "params": [
429        "address",
430        "extras"
431      ],
432      "returnType": "void",
433      "exceptions": [],
434      "minSdk": 23,
435      "name": "placeCall(android.net.Uri,android.os.Bundle)"
436    },
437    "registerPhoneAccount(android.telecom.PhoneAccount)": {
438      "isImplementation": true,
439      "modifiers": [
440        "protected"
441      ],
442      "params": [
443        "account"
444      ],
445      "returnType": "void",
446      "exceptions": [],
447      "name": "registerPhoneAccount(android.telecom.PhoneAccount)"
448    },
449    "setDefaultDialer(java.lang.String)": {
450      "isImplementation": true,
451      "modifiers": [
452        "public"
453      ],
454      "params": [
455        "packageName"
456      ],
457      "returnType": "boolean",
458      "exceptions": [],
459      "minSdk": 23,
460      "name": "setDefaultDialer(java.lang.String)"
461    },
462    "setIsInCall(boolean)": {
463      "isImplementation": false,
464      "modifiers": [
465        "public"
466      ],
467      "params": [
468        "isInCall"
469      ],
470      "returnType": "void",
471      "exceptions": [],
472      "name": "setIsInCall(boolean)",
473      "documentation": "Sets the return value for {@link TelecomManager#isInCall}. "
474    },
475    "setSimCallManager(android.telecom.PhoneAccountHandle)": {
476      "isImplementation": false,
477      "modifiers": [
478        "public"
479      ],
480      "params": [
481        "simCallManager"
482      ],
483      "returnType": "void",
484      "exceptions": [],
485      "name": "setSimCallManager(android.telecom.PhoneAccountHandle)"
486    },
487    "setUserSelectedOutgoingPhoneAccount(android.telecom.PhoneAccountHandle)": {
488      "isImplementation": true,
489      "modifiers": [
490        "public"
491      ],
492      "params": [
493        "accountHandle"
494      ],
495      "returnType": "void",
496      "exceptions": [],
497      "name": "setUserSelectedOutgoingPhoneAccount(android.telecom.PhoneAccountHandle)"
498    },
499    "showInCallScreen(boolean)": {
500      "isImplementation": true,
501      "modifiers": [
502        "protected"
503      ],
504      "params": [
505        "showDialpad"
506      ],
507      "returnType": "void",
508      "exceptions": [],
509      "name": "showInCallScreen(boolean)"
510    },
511    "silenceRinger()": {
512      "isImplementation": true,
513      "modifiers": [
514        "protected"
515      ],
516      "params": [],
517      "returnType": "void",
518      "exceptions": [],
519      "name": "silenceRinger()"
520    },
521    "unregisterPhoneAccount(android.telecom.PhoneAccountHandle)": {
522      "isImplementation": true,
523      "modifiers": [
524        "protected"
525      ],
526      "params": [
527        "accountHandle"
528      ],
529      "returnType": "void",
530      "exceptions": [],
531      "name": "unregisterPhoneAccount(android.telecom.PhoneAccountHandle)"
532    }
533  },
534  "imports": [
535    "android.os.Build.VERSION_CODES.LOLLIPOP",
536    "android.os.Build.VERSION_CODES.LOLLIPOP_MR1",
537    "android.os.Build.VERSION_CODES.M",
538    "android.content.ComponentName",
539    "android.content.Context",
540    "android.net.Uri",
541    "android.os.Bundle",
542    "android.telecom.PhoneAccount",
543    "android.telecom.PhoneAccountHandle",
544    "android.telecom.TelecomManager",
545    "com.google.common.collect.ImmutableList",
546    "java.util.ArrayList",
547    "java.util.HashSet",
548    "java.util.LinkedHashMap",
549    "java.util.List",
550    "java.util.Set",
551    "org.robolectric.annotation.HiddenApi",
552    "org.robolectric.annotation.Implementation",
553    "org.robolectric.annotation.Implements",
554    "org.robolectric.annotation.RealObject",
555    "org.robolectric.util.ReflectionHelpers",
556    "org.robolectric.shadows.ShadowTelecomManager.CallRecord"
557  ],
558  "name": "org.robolectric.shadows.ShadowTelecomManager"
559}