1{
2  "methods": {
3    "authenticate(android.hardware.fingerprint.FingerprintManager.CryptoObject,android.os.CancellationSignal,int,android.hardware.fingerprint.FingerprintManager.AuthenticationCallback,android.os.Handler)": {
4      "isImplementation": true,
5      "modifiers": [
6        "protected"
7      ],
8      "params": [
9        "crypto",
10        "cancel",
11        "flags",
12        "callback",
13        "handler"
14      ],
15      "returnType": "void",
16      "exceptions": [],
17      "minSdk": 23,
18      "name": "authenticate(android.hardware.fingerprint.FingerprintManager.CryptoObject,android.os.CancellationSignal,int,android.hardware.fingerprint.FingerprintManager.AuthenticationCallback,android.os.Handler)",
19      "documentation": "Success or failure can be simulated with a subsequent call to {@link #authenticationSucceeds()}\nor {@link #authenticationFails()}.\n"
20    },
21    "authenticationFails()": {
22      "isImplementation": false,
23      "modifiers": [
24        "public"
25      ],
26      "params": [],
27      "returnType": "void",
28      "exceptions": [],
29      "name": "authenticationFails()",
30      "documentation": "Simulates a failed fingerprint authentication. An authentication request must have been\nissued with {@link FingerprintManager#authenticate(CryptoObject, CancellationSignal, int, AuthenticationCallback, Handler)} and not cancelled.\n"
31    },
32    "authenticationSucceeds()": {
33      "isImplementation": false,
34      "modifiers": [
35        "public"
36      ],
37      "params": [],
38      "returnType": "void",
39      "exceptions": [],
40      "name": "authenticationSucceeds()",
41      "documentation": "Simulates a successful fingerprint authentication. An authentication request must have been\nissued with {@link FingerprintManager#authenticate(CryptoObject, CancellationSignal, int, AuthenticationCallback, Handler)} and not cancelled.\n"
42    },
43    "getEnrolledFingerprints()": {
44      "isImplementation": true,
45      "modifiers": [
46        "protected"
47      ],
48      "params": [],
49      "returnType": "java.util.List\u003candroid.hardware.fingerprint.Fingerprint\u003e",
50      "exceptions": [],
51      "minSdk": 23,
52      "name": "getEnrolledFingerprints()",
53      "documentation": "@return lists of current fingerprint items, the list be set via {@link #setDefaultFingerprints}\n"
54    },
55    "getFingerprintId(int)": {
56      "isImplementation": false,
57      "modifiers": [
58        "public"
59      ],
60      "params": [
61        "index"
62      ],
63      "returnType": "int",
64      "exceptions": [],
65      "name": "getFingerprintId(int)",
66      "documentation": "@return Returns the finger ID for the given index.\n"
67    },
68    "hasEnrolledFingerprints()": {
69      "isImplementation": true,
70      "modifiers": [
71        "protected"
72      ],
73      "params": [],
74      "returnType": "boolean",
75      "exceptions": [],
76      "minSdk": 23,
77      "name": "hasEnrolledFingerprints()",
78      "documentation": "Returns {@code false} by default, or the value specified via\n{@link #setHasEnrolledFingerprints(boolean)}.\n"
79    },
80    "isHardwareDetected()": {
81      "isImplementation": true,
82      "modifiers": [
83        "protected"
84      ],
85      "params": [],
86      "returnType": "boolean",
87      "exceptions": [],
88      "minSdk": 23,
89      "name": "isHardwareDetected()",
90      "documentation": "@return `false` by default, or the value specified via {@link #setIsHardwareDetected(boolean)}\n"
91    },
92    "setDefaultFingerprints(int)": {
93      "isImplementation": false,
94      "modifiers": [
95        "public"
96      ],
97      "params": [
98        "num"
99      ],
100      "returnType": "void",
101      "exceptions": [],
102      "name": "setDefaultFingerprints(int)",
103      "documentation": "Enrolls the given number of fingerprints, which will be returned in {@link\n#getEnrolledFingerprints}.\n\n@param num the quantity of fingerprint item.\n"
104    },
105    "setEnrolledFingerprints(android.hardware.fingerprint.Fingerprint...)": {
106      "isImplementation": false,
107      "modifiers": [
108        "private"
109      ],
110      "params": [
111        "fingerprints"
112      ],
113      "returnType": "void",
114      "exceptions": [],
115      "name": "setEnrolledFingerprints(android.hardware.fingerprint.Fingerprint...)"
116    },
117    "setHasEnrolledFingerprints(boolean)": {
118      "isImplementation": false,
119      "modifiers": [
120        "public"
121      ],
122      "params": [
123        "hasEnrolledFingerprints"
124      ],
125      "returnType": "void",
126      "exceptions": [],
127      "name": "setHasEnrolledFingerprints(boolean)",
128      "documentation": "Sets the return value of {@link FingerprintManager#hasEnrolledFingerprints()}.\n\n@deprecated use {@link #setDefaultFingerprints} instead.\n"
129    },
130    "setIsHardwareDetected(boolean)": {
131      "isImplementation": false,
132      "modifiers": [
133        "public"
134      ],
135      "params": [
136        "isHardwareDetected"
137      ],
138      "returnType": "void",
139      "exceptions": [],
140      "name": "setIsHardwareDetected(boolean)",
141      "documentation": "Sets the return value of {@link FingerprintManager#isHardwareDetected()}.\n"
142    }
143  },
144  "imports": [
145    "android.os.Build.VERSION_CODES.M",
146    "android.os.Build.VERSION_CODES.N_MR1",
147    "android.os.Build.VERSION_CODES.P",
148    "android.hardware.fingerprint.Fingerprint",
149    "android.hardware.fingerprint.FingerprintManager",
150    "android.hardware.fingerprint.FingerprintManager.AuthenticationCallback",
151    "android.hardware.fingerprint.FingerprintManager.AuthenticationResult",
152    "android.hardware.fingerprint.FingerprintManager.CryptoObject",
153    "android.os.CancellationSignal",
154    "android.os.Handler",
155    "android.util.Log",
156    "java.util.ArrayList",
157    "java.util.Arrays",
158    "java.util.Collections",
159    "java.util.List",
160    "java.util.stream.IntStream",
161    "org.robolectric.RuntimeEnvironment",
162    "org.robolectric.annotation.HiddenApi",
163    "org.robolectric.annotation.Implementation",
164    "org.robolectric.annotation.Implements",
165    "org.robolectric.util.ReflectionHelpers",
166    "org.robolectric.util.ReflectionHelpers.ClassParameter"
167  ],
168  "name": "org.robolectric.shadows.ShadowFingerprintManager",
169  "documentation": "Provides testing APIs for {@link FingerprintManager} "
170}