blob: 0581da0b2f6f1e6eae0fa6fdfd8b42f64b472d01 [file] [log] [blame]
Nick Desaulniers20105c82017-02-06 15:13:36 -08001component_class: HAL_HIDL
2component_type_version: 2.1
3component_name: "IBiometricsFingerprint"
4
5package: "android.hardware.biometrics.fingerprint"
6
7import: "android.hardware.biometrics.fingerprint@2.1::IBiometricsFingerprintClientCallback"
8import: "android.hardware.biometrics.fingerprint@2.1::types"
9import: "android.hidl.base@1.0::types"
10
11interface: {
Nick Desaulniers20105c82017-02-06 15:13:36 -080012 api: {
13 name: "setNotify"
14 return_type_hidl: {
15 type: TYPE_SCALAR
16 scalar_type: "uint64_t"
17 }
18 arg: {
19 type: TYPE_HIDL_CALLBACK
20 predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::IBiometricsFingerprintClientCallback"
21 }
22 callflow: {
23 next: "setActiveGroup"
24 }
25 callflow: {
26 entry: true
27 }
28 }
29
30 api: {
31 name: "preEnroll"
32 return_type_hidl: {
33 type: TYPE_SCALAR
34 scalar_type: "uint64_t"
35 }
36 callflow: {
37 next: "enroll"
38 next: "postEnroll"
39 }
40 }
41
42 api: {
43 name: "enroll"
44 return_type_hidl: {
45 type: TYPE_ENUM
46 predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
47 }
48 arg: {
49 type: TYPE_ARRAY
50 vector_size: 69
51 vector_value: {
52 type: TYPE_SCALAR
53 scalar_type: "uint8_t"
54 }
55 }
56 arg: {
57 type: TYPE_SCALAR
58 scalar_type: "uint32_t"
59 }
60 arg: {
61 type: TYPE_SCALAR
62 scalar_type: "uint32_t"
63 }
64 callflow: {
65 next: "cancel"
66 next: "enroll"
67 next: "postEnroll"
68 next: "remove"
69 }
70 }
71
72 api: {
73 name: "postEnroll"
74 return_type_hidl: {
75 type: TYPE_ENUM
76 predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
77 }
78 callflow: {
79 next: "authenticate"
80 next: "setActiveGroup"
81 next: "enumerate"
82 next: "remove"
83 }
84 }
85
86 api: {
87 name: "getAuthenticatorId"
88 return_type_hidl: {
89 type: TYPE_SCALAR
90 scalar_type: "uint64_t"
91 }
92 callflow: {
93 next: "authenticate"
94 }
95 }
96
97 api: {
98 name: "cancel"
99 return_type_hidl: {
100 type: TYPE_ENUM
101 predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
102 }
103 callflow: {
104 next: "authenticate"
105 next: "enroll"
106 next: "enumerate"
107 next: "remove"
108 next: "setActiveGroup"
109 }
110 }
111
112 api: {
113 name: "enumerate"
114 return_type_hidl: {
115 type: TYPE_ENUM
116 predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
117 }
118 callflow: {
119 next: "remove"
120 next: "enroll"
121 next: "authenticate"
122 next: "setActiveGroup"
123 }
124 }
125
126 api: {
127 name: "remove"
128 return_type_hidl: {
129 type: TYPE_ENUM
130 predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
131 }
132 arg: {
133 type: TYPE_SCALAR
134 scalar_type: "uint32_t"
135 }
136 arg: {
137 type: TYPE_SCALAR
138 scalar_type: "uint32_t"
139 }
140 callflow: {
141 next: "enumerate"
142 next: "authenticate"
143 next: "cancel"
144 next: "getAuthenticatorId"
145 next: "setActiveGroup"
146 }
147 }
148
149 api: {
150 name: "setActiveGroup"
151 return_type_hidl: {
152 type: TYPE_ENUM
153 predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
154 }
155 arg: {
156 type: TYPE_SCALAR
157 scalar_type: "uint32_t"
158 }
159 arg: {
160 type: TYPE_STRING
161 }
162 callflow: {
163 next: "authenticate"
164 next: "preEnroll"
165 next: "enumerate"
166 next: "remove"
167 }
168 }
169
170 api: {
171 name: "authenticate"
172 return_type_hidl: {
173 type: TYPE_ENUM
174 predefined_type: "::android::hardware::biometrics::fingerprint::V2_1::RequestStatus"
175 }
176 arg: {
177 type: TYPE_SCALAR
178 scalar_type: "uint64_t"
179 }
180 arg: {
181 type: TYPE_SCALAR
182 scalar_type: "uint32_t"
183 }
184 callflow: {
185 next: "cancel"
186 next: "preEnroll"
187 next: "remove"
188 }
189 }
190
191}