blob: 8b3330fbd9bac981127e7cee88f209776c14b4f3 [file] [log] [blame]
Keun Soo Yim95095c12016-10-10 13:42:31 -07001component_class: HAL_HIDL
2component_type: NFC
3component_type_version: 1.0
4component_name: "INfc"
5
6package: "android.hardware.nfc"
7
8import: "android.hardware.nfc@1.0::INfcClientCallback"
9import: "android.hardware.nfc@1.0::types"
10
11interface: {
12 api: {
13 name: "open"
14 return_type_hidl: {
15 type: TYPE_SCALAR
16 scalar_type: "int32_t"
17 }
18 arg: {
19 type: TYPE_HIDL_CALLBACK
20 predefined_type: "INfcClientCallback"
21 is_callback: true
22 }
23 }
24
25 api: {
26 name: "write"
27 return_type_hidl: {
28 type: TYPE_SCALAR
29 scalar_type: "int32_t"
30 }
31 arg: {
32 type: TYPE_STRUCT
33 predefined_type: "nfc_data_t"
34 }
35 }
36
37 api: {
38 name: "core_initialized"
39 return_type_hidl: {
40 type: TYPE_SCALAR
41 scalar_type: "int32_t"
42 }
43 arg: {
44 type: TYPE_VECTOR
45 vector_value: {
46 type: TYPE_SCALAR
47 scalar_type: "uint8_t"
48 }
49 }
50 }
51
52 api: {
53 name: "pre_discover"
54 return_type_hidl: {
55 type: TYPE_SCALAR
56 scalar_type: "int32_t"
57 }
58 }
59
60 api: {
61 name: "close"
62 return_type_hidl: {
63 type: TYPE_SCALAR
64 scalar_type: "int32_t"
65 }
66 }
67
68 api: {
69 name: "control_granted"
70 return_type_hidl: {
71 type: TYPE_SCALAR
72 scalar_type: "int32_t"
73 }
74 }
75
76 api: {
77 name: "power_cycle"
78 return_type_hidl: {
79 type: TYPE_SCALAR
80 scalar_type: "int32_t"
81 }
82 }
83}