blob: 8d0b5a12425ebbe6413df890b0cfb814e5a4d8b9 [file] [log] [blame]
Roshan Pius720f4bd2017-01-18 09:45:46 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "ISupplicantP2pNetwork"
4
5package: "android.hardware.wifi.supplicant"
6
7import: "android.hardware.wifi.supplicant@1.0::ISupplicantNetwork"
8import: "android.hardware.wifi.supplicant@1.0::ISupplicantP2pNetworkCallback"
9import: "android.hardware.wifi.supplicant@1.0::types"
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080010import: "android.hidl.base@1.0::types"
Roshan Pius720f4bd2017-01-18 09:45:46 -080011
12interface: {
13 api: {
14 name: "getId"
15 return_type_hidl: {
16 type: TYPE_STRUCT
17 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
18 }
19 return_type_hidl: {
20 type: TYPE_SCALAR
21 scalar_type: "uint32_t"
22 }
23 }
24
25 api: {
26 name: "getInterfaceName"
27 return_type_hidl: {
28 type: TYPE_STRUCT
29 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
30 }
31 return_type_hidl: {
32 type: TYPE_STRING
33 }
34 }
35
36 api: {
37 name: "getType"
38 return_type_hidl: {
39 type: TYPE_STRUCT
40 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
41 }
42 return_type_hidl: {
43 type: TYPE_ENUM
44 predefined_type: "::android::hardware::wifi::supplicant::V1_0::IfaceType"
45 }
46 }
47
48 api: {
49 name: "registerCallback"
50 return_type_hidl: {
51 type: TYPE_STRUCT
52 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
53 }
54 arg: {
55 type: TYPE_HIDL_CALLBACK
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080056 predefined_type: "::android::hardware::wifi::supplicant::V1_0::ISupplicantP2pNetworkCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -080057 }
58 }
59
60 api: {
61 name: "getSsid"
62 return_type_hidl: {
63 type: TYPE_STRUCT
64 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
65 }
66 return_type_hidl: {
67 type: TYPE_VECTOR
68 vector_value: {
69 type: TYPE_SCALAR
70 scalar_type: "uint8_t"
71 }
72 }
73 }
74
75 api: {
76 name: "getBssid"
77 return_type_hidl: {
78 type: TYPE_STRUCT
79 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
80 }
81 return_type_hidl: {
82 type: TYPE_ARRAY
Zhuoyao Zhang65c99d72017-01-24 13:33:21 -080083 vector_size: 6
Roshan Pius720f4bd2017-01-18 09:45:46 -080084 vector_value: {
Roshan Pius720f4bd2017-01-18 09:45:46 -080085 type: TYPE_SCALAR
86 scalar_type: "uint8_t"
87 }
88 }
89 }
90
91 api: {
92 name: "isCurrent"
93 return_type_hidl: {
94 type: TYPE_STRUCT
95 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
96 }
97 return_type_hidl: {
98 type: TYPE_SCALAR
99 scalar_type: "bool_t"
100 }
101 }
102
103 api: {
104 name: "isPersistent"
105 return_type_hidl: {
106 type: TYPE_STRUCT
107 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
108 }
109 return_type_hidl: {
110 type: TYPE_SCALAR
111 scalar_type: "bool_t"
112 }
113 }
114
115 api: {
116 name: "isGo"
117 return_type_hidl: {
118 type: TYPE_STRUCT
119 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
120 }
121 return_type_hidl: {
122 type: TYPE_SCALAR
123 scalar_type: "bool_t"
124 }
125 }
126
127}