1{
2  "methods": {
3    "\u003cT\u003estart(T)": {
4      "isImplementation": false,
5      "modifiers": [
6        "private"
7      ],
8      "params": [
9        "future"
10      ],
11      "returnType": "T",
12      "exceptions": [],
13      "name": "\u003cT\u003estart(T)"
14    },
15    "__constructor__(android.content.Context,android.accounts.IAccountManager)": {
16      "isImplementation": true,
17      "modifiers": [
18        "protected"
19      ],
20      "params": [
21        "context",
22        "service"
23      ],
24      "returnType": "void",
25      "exceptions": [],
26      "name": "__constructor__(android.content.Context,android.accounts.IAccountManager)"
27    },
28    "addAccount(android.accounts.Account)": {
29      "isImplementation": false,
30      "modifiers": [
31        "public"
32      ],
33      "params": [
34        "account"
35      ],
36      "returnType": "void",
37      "exceptions": [],
38      "name": "addAccount(android.accounts.Account)",
39      "documentation": "@param account User account.\n"
40    },
41    "addAccount(android.accounts.Account,java.lang.String...)": {
42      "isImplementation": false,
43      "modifiers": [
44        "public"
45      ],
46      "params": [
47        "account",
48        "visibileToPackages"
49      ],
50      "returnType": "void",
51      "exceptions": [],
52      "name": "addAccount(android.accounts.Account,java.lang.String...)",
53      "documentation": "Adds an account to the AccountManager but when {@link AccountManager#getAccountsByTypeForPackage(String, String)}\nis called will be included if is in one of the #visibileToPackages\n\n@param account User account.\n"
54    },
55    "addAccount(java.lang.String,java.lang.String,java.lang.String[],android.os.Bundle,android.app.Activity,android.accounts.AccountManagerCallback\u003candroid.os.Bundle\u003e,android.os.Handler)": {
56      "isImplementation": true,
57      "modifiers": [
58        "protected"
59      ],
60      "params": [
61        "accountType",
62        "authTokenType",
63        "requiredFeatures",
64        "addAccountOptions",
65        "activity",
66        "callback",
67        "handler"
68      ],
69      "returnType": "android.accounts.AccountManagerFuture\u003candroid.os.Bundle\u003e",
70      "exceptions": [],
71      "name": "addAccount(java.lang.String,java.lang.String,java.lang.String[],android.os.Bundle,android.app.Activity,android.accounts.AccountManagerCallback\u003candroid.os.Bundle\u003e,android.os.Handler)"
72    },
73    "addAccountExplicitly(android.accounts.Account,java.lang.String,android.os.Bundle)": {
74      "isImplementation": true,
75      "modifiers": [
76        "protected"
77      ],
78      "params": [
79        "account",
80        "password",
81        "userdata"
82      ],
83      "returnType": "boolean",
84      "exceptions": [],
85      "name": "addAccountExplicitly(android.accounts.Account,java.lang.String,android.os.Bundle)"
86    },
87    "addAuthenticator(android.accounts.AuthenticatorDescription)": {
88      "isImplementation": false,
89      "modifiers": [
90        "public"
91      ],
92      "params": [
93        "authenticator"
94      ],
95      "returnType": "void",
96      "exceptions": [],
97      "name": "addAuthenticator(android.accounts.AuthenticatorDescription)",
98      "documentation": "@param authenticator System authenticator.\n"
99    },
100    "addAuthenticator(java.lang.String)": {
101      "isImplementation": false,
102      "modifiers": [
103        "public"
104      ],
105      "params": [
106        "type"
107      ],
108      "returnType": "void",
109      "exceptions": [],
110      "name": "addAuthenticator(java.lang.String)"
111    },
112    "addOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener,android.os.Handler,boolean)": {
113      "isImplementation": true,
114      "modifiers": [
115        "protected"
116      ],
117      "params": [
118        "listener",
119        "handler",
120        "updateImmediately"
121      ],
122      "returnType": "void",
123      "exceptions": [],
124      "name": "addOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener,android.os.Handler,boolean)"
125    },
126    "blockingGetAuthToken(android.accounts.Account,java.lang.String,boolean)": {
127      "isImplementation": true,
128      "modifiers": [
129        "protected"
130      ],
131      "params": [
132        "account",
133        "authTokenType",
134        "notifyAuthFailure"
135      ],
136      "returnType": "java.lang.String",
137      "exceptions": [],
138      "name": "blockingGetAuthToken(android.accounts.Account,java.lang.String,boolean)"
139    },
140    "get(android.content.Context)": {
141      "isImplementation": true,
142      "modifiers": [
143        "protected",
144        "static"
145      ],
146      "params": [
147        "context"
148      ],
149      "returnType": "android.accounts.AccountManager",
150      "exceptions": [],
151      "name": "get(android.content.Context)",
152      "documentation": "@deprecated This method will be removed in Robolectric 3.4 Use {@link\n    AccountManager#get(Context)} instead.\n"
153    },
154    "getAccounts()": {
155      "isImplementation": true,
156      "modifiers": [
157        "protected"
158      ],
159      "params": [],
160      "returnType": "android.accounts.Account[]",
161      "exceptions": [],
162      "name": "getAccounts()"
163    },
164    "getAccountsByType(java.lang.String)": {
165      "isImplementation": true,
166      "modifiers": [
167        "protected"
168      ],
169      "params": [
170        "type"
171      ],
172      "returnType": "android.accounts.Account[]",
173      "exceptions": [],
174      "name": "getAccountsByType(java.lang.String)"
175    },
176    "getAccountsByTypeAndFeatures(java.lang.String,java.lang.String[],android.accounts.AccountManagerCallback\u003candroid.accounts.Account[]\u003e,android.os.Handler)": {
177      "isImplementation": true,
178      "modifiers": [
179        "protected"
180      ],
181      "params": [
182        "type",
183        "features",
184        "callback",
185        "handler"
186      ],
187      "returnType": "android.accounts.AccountManagerFuture\u003candroid.accounts.Account[]\u003e",
188      "exceptions": [],
189      "name": "getAccountsByTypeAndFeatures(java.lang.String,java.lang.String[],android.accounts.AccountManagerCallback\u003candroid.accounts.Account[]\u003e,android.os.Handler)"
190    },
191    "getAccountsByTypeForPackage(java.lang.String,java.lang.String)": {
192      "isImplementation": true,
193      "modifiers": [
194        "protected"
195      ],
196      "params": [
197        "type",
198        "packageName"
199      ],
200      "returnType": "android.accounts.Account[]",
201      "exceptions": [],
202      "minSdk": 18,
203      "name": "getAccountsByTypeForPackage(java.lang.String,java.lang.String)"
204    },
205    "getAuthToken(android.accounts.Account,java.lang.String)": {
206      "isImplementation": false,
207      "modifiers": [
208        "private"
209      ],
210      "params": [
211        "account",
212        "authTokenType"
213      ],
214      "returnType": "android.os.Bundle",
215      "exceptions": [
216        "android.accounts.OperationCanceledException",
217        "java.io.IOException",
218        "android.accounts.AuthenticatorException"
219      ],
220      "name": "getAuthToken(android.accounts.Account,java.lang.String)"
221    },
222    "getAuthToken(android.accounts.Account,java.lang.String,android.os.Bundle,android.app.Activity,android.accounts.AccountManagerCallback\u003candroid.os.Bundle\u003e,android.os.Handler)": {
223      "isImplementation": true,
224      "modifiers": [
225        "protected"
226      ],
227      "params": [
228        "account",
229        "authTokenType",
230        "options",
231        "activity",
232        "callback",
233        "handler"
234      ],
235      "returnType": "android.accounts.AccountManagerFuture\u003candroid.os.Bundle\u003e",
236      "exceptions": [],
237      "name": "getAuthToken(android.accounts.Account,java.lang.String,android.os.Bundle,android.app.Activity,android.accounts.AccountManagerCallback\u003candroid.os.Bundle\u003e,android.os.Handler)"
238    },
239    "getAuthToken(android.accounts.Account,java.lang.String,android.os.Bundle,boolean,android.accounts.AccountManagerCallback\u003candroid.os.Bundle\u003e,android.os.Handler)": {
240      "isImplementation": true,
241      "modifiers": [
242        "protected"
243      ],
244      "params": [
245        "account",
246        "authTokenType",
247        "options",
248        "notifyAuthFailure",
249        "callback",
250        "handler"
251      ],
252      "returnType": "android.accounts.AccountManagerFuture\u003candroid.os.Bundle\u003e",
253      "exceptions": [],
254      "name": "getAuthToken(android.accounts.Account,java.lang.String,android.os.Bundle,boolean,android.accounts.AccountManagerCallback\u003candroid.os.Bundle\u003e,android.os.Handler)"
255    },
256    "getAuthenticatorTypes()": {
257      "isImplementation": true,
258      "modifiers": [
259        "protected"
260      ],
261      "params": [],
262      "returnType": "android.accounts.AuthenticatorDescription[]",
263      "exceptions": [],
264      "name": "getAuthenticatorTypes()"
265    },
266    "getNextAddAccountOptions()": {
267      "isImplementation": false,
268      "modifiers": [
269        "public"
270      ],
271      "params": [],
272      "returnType": "android.os.Bundle",
273      "exceptions": [],
274      "name": "getNextAddAccountOptions()",
275      "documentation": "Consumes and returns the next {@code addAccountOptions} passed to {@link #addAccount}.\n\n@return the next {@code addAccountOptions}\n"
276    },
277    "getPassword(android.accounts.Account)": {
278      "isImplementation": true,
279      "modifiers": [
280        "protected"
281      ],
282      "params": [
283        "account"
284      ],
285      "returnType": "java.lang.String",
286      "exceptions": [],
287      "name": "getPassword(android.accounts.Account)"
288    },
289    "getPreviousName(android.accounts.Account)": {
290      "isImplementation": true,
291      "modifiers": [
292        "protected"
293      ],
294      "params": [
295        "account"
296      ],
297      "returnType": "java.lang.String",
298      "exceptions": [],
299      "minSdk": 21,
300      "name": "getPreviousName(android.accounts.Account)",
301      "documentation": "@see #setPreviousAccountName(Account, String) "
302    },
303    "getUserData(android.accounts.Account,java.lang.String)": {
304      "isImplementation": true,
305      "modifiers": [
306        "protected"
307      ],
308      "params": [
309        "account",
310        "key"
311      ],
312      "returnType": "java.lang.String",
313      "exceptions": [],
314      "name": "getUserData(android.accounts.Account,java.lang.String)"
315    },
316    "hasFeatures(android.accounts.Account,java.lang.String[],android.accounts.AccountManagerCallback\u003cjava.lang.Boolean\u003e,android.os.Handler)": {
317      "isImplementation": true,
318      "modifiers": [
319        "protected"
320      ],
321      "params": [
322        "account",
323        "features",
324        "callback",
325        "handler"
326      ],
327      "returnType": "android.accounts.AccountManagerFuture\u003cjava.lang.Boolean\u003e",
328      "exceptions": [],
329      "name": "hasFeatures(android.accounts.Account,java.lang.String[],android.accounts.AccountManagerCallback\u003cjava.lang.Boolean\u003e,android.os.Handler)"
330    },
331    "invalidateAuthToken(java.lang.String,java.lang.String)": {
332      "isImplementation": true,
333      "modifiers": [
334        "protected"
335      ],
336      "params": [
337        "accountType",
338        "authToken"
339      ],
340      "returnType": "void",
341      "exceptions": [],
342      "name": "invalidateAuthToken(java.lang.String,java.lang.String)"
343    },
344    "notifyListeners()": {
345      "isImplementation": false,
346      "modifiers": [
347        "private"
348      ],
349      "params": [],
350      "returnType": "void",
351      "exceptions": [],
352      "name": "notifyListeners()"
353    },
354    "peekAuthToken(android.accounts.Account,java.lang.String)": {
355      "isImplementation": true,
356      "modifiers": [
357        "protected"
358      ],
359      "params": [
360        "account",
361        "tokenType"
362      ],
363      "returnType": "java.lang.String",
364      "exceptions": [],
365      "name": "peekAuthToken(android.accounts.Account,java.lang.String)"
366    },
367    "peekNextAddAccountOptions()": {
368      "isImplementation": false,
369      "modifiers": [
370        "public"
371      ],
372      "params": [],
373      "returnType": "android.os.Bundle",
374      "exceptions": [],
375      "name": "peekNextAddAccountOptions()",
376      "documentation": "Returns the next {@code addAccountOptions} passed to {@link #addAccount} without consuming it.\n\n@return the next {@code addAccountOptions}\n"
377    },
378    "removeAccount(android.accounts.Account,android.accounts.AccountManagerCallback\u003cjava.lang.Boolean\u003e,android.os.Handler)": {
379      "isImplementation": true,
380      "modifiers": [
381        "protected"
382      ],
383      "params": [
384        "account",
385        "callback",
386        "handler"
387      ],
388      "returnType": "android.accounts.AccountManagerFuture\u003cjava.lang.Boolean\u003e",
389      "exceptions": [],
390      "name": "removeAccount(android.accounts.Account,android.accounts.AccountManagerCallback\u003cjava.lang.Boolean\u003e,android.os.Handler)",
391      "documentation": "The remove operation is posted to the given {@code handler}, and will be executed according to\nthe {@link IdleState} of the corresponding {@link org.robolectric.util.Scheduler}.\n"
392    },
393    "removeAccountExplicitly(android.accounts.Account)": {
394      "isImplementation": true,
395      "modifiers": [
396        "protected"
397      ],
398      "params": [
399        "account"
400      ],
401      "returnType": "boolean",
402      "exceptions": [],
403      "minSdk": 22,
404      "name": "removeAccountExplicitly(android.accounts.Account)"
405    },
406    "removeAllAccounts()": {
407      "isImplementation": false,
408      "modifiers": [
409        "public"
410      ],
411      "params": [],
412      "returnType": "void",
413      "exceptions": [],
414      "name": "removeAllAccounts()",
415      "documentation": "Removes all accounts that have been added.\n"
416    },
417    "removeOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener)": {
418      "isImplementation": true,
419      "modifiers": [
420        "protected"
421      ],
422      "params": [
423        "listener"
424      ],
425      "returnType": "void",
426      "exceptions": [],
427      "name": "removeOnAccountsUpdatedListener(android.accounts.OnAccountsUpdateListener)"
428    },
429    "setAuthToken(android.accounts.Account,java.lang.String,java.lang.String)": {
430      "isImplementation": true,
431      "modifiers": [
432        "protected",
433        "synchronized"
434      ],
435      "params": [
436        "account",
437        "tokenType",
438        "authToken"
439      ],
440      "returnType": "void",
441      "exceptions": [],
442      "name": "setAuthToken(android.accounts.Account,java.lang.String,java.lang.String)"
443    },
444    "setAuthenticationErrorOnNextResponse(boolean)": {
445      "isImplementation": false,
446      "modifiers": [
447        "public"
448      ],
449      "params": [
450        "authenticationErrorOnNextResponse"
451      ],
452      "returnType": "void",
453      "exceptions": [],
454      "name": "setAuthenticationErrorOnNextResponse(boolean)",
455      "documentation": "Sets authenticator exception, which will be thrown by {@link #getAccountsByTypeAndFeatures}.\n\n@param authenticationErrorOnNextResponse to set flag that exception will be thrown on next\n    response.\n"
456    },
457    "setFeatures(android.accounts.Account,java.lang.String[])": {
458      "isImplementation": false,
459      "modifiers": [
460        "public"
461      ],
462      "params": [
463        "account",
464        "accountFeatures"
465      ],
466      "returnType": "void",
467      "exceptions": [],
468      "name": "setFeatures(android.accounts.Account,java.lang.String[])"
469    },
470    "setPassword(android.accounts.Account,java.lang.String)": {
471      "isImplementation": true,
472      "modifiers": [
473        "protected"
474      ],
475      "params": [
476        "account",
477        "password"
478      ],
479      "returnType": "void",
480      "exceptions": [],
481      "name": "setPassword(android.accounts.Account,java.lang.String)"
482    },
483    "setPreviousAccountName(android.accounts.Account,java.lang.String)": {
484      "isImplementation": false,
485      "modifiers": [
486        "public"
487      ],
488      "params": [
489        "account",
490        "previousName"
491      ],
492      "returnType": "void",
493      "exceptions": [],
494      "name": "setPreviousAccountName(android.accounts.Account,java.lang.String)",
495      "documentation": "Sets the previous name for an account, which will be returned by {@link AccountManager#getPreviousName(Account)}.\n\n@param account User account.\n@param previousName Previous account name.\n"
496    },
497    "setUserData(android.accounts.Account,java.lang.String,java.lang.String)": {
498      "isImplementation": true,
499      "modifiers": [
500        "protected"
501      ],
502      "params": [
503        "account",
504        "key",
505        "value"
506      ],
507      "returnType": "void",
508      "exceptions": [],
509      "name": "setUserData(android.accounts.Account,java.lang.String,java.lang.String)"
510    }
511  },
512  "imports": [
513    "android.os.Build.VERSION_CODES.JELLY_BEAN_MR2",
514    "android.os.Build.VERSION_CODES.LOLLIPOP",
515    "android.os.Build.VERSION_CODES.LOLLIPOP_MR1",
516    "android.accounts.Account",
517    "android.accounts.AccountManager",
518    "android.accounts.AccountManagerCallback",
519    "android.accounts.AccountManagerFuture",
520    "android.accounts.AuthenticatorDescription",
521    "android.accounts.AuthenticatorException",
522    "android.accounts.IAccountManager",
523    "android.accounts.OnAccountsUpdateListener",
524    "android.accounts.OperationCanceledException",
525    "android.app.Activity",
526    "android.content.Context",
527    "android.content.Intent",
528    "android.os.Bundle",
529    "android.os.Handler",
530    "java.io.IOException",
531    "java.util.ArrayList",
532    "java.util.Arrays",
533    "java.util.Collections",
534    "java.util.HashMap",
535    "java.util.HashSet",
536    "java.util.Iterator",
537    "java.util.LinkedHashMap",
538    "java.util.List",
539    "java.util.Map",
540    "java.util.Map.Entry",
541    "java.util.Set",
542    "java.util.concurrent.TimeUnit",
543    "org.robolectric.annotation.Implementation",
544    "org.robolectric.annotation.Implements",
545    "org.robolectric.util.Scheduler.IdleState",
546    "org.robolectric.shadows.ShadowAccountManager.RoboAccountManagerFuture",
547    "org.robolectric.shadows.ShadowAccountManager.BaseRoboAccountManagerFuture"
548  ],
549  "name": "org.robolectric.shadows.ShadowAccountManager"
550}