blob: fddcca3e9da587c4bd22afff0a77b6d22eca1785 [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"
10
11interface: {
12 api: {
13 name: "getId"
14 return_type_hidl: {
15 type: TYPE_STRUCT
16 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
17 }
18 return_type_hidl: {
19 type: TYPE_SCALAR
20 scalar_type: "uint32_t"
21 }
22 }
23
24 api: {
25 name: "getInterfaceName"
26 return_type_hidl: {
27 type: TYPE_STRUCT
28 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
29 }
30 return_type_hidl: {
31 type: TYPE_STRING
32 }
33 }
34
35 api: {
36 name: "getType"
37 return_type_hidl: {
38 type: TYPE_STRUCT
39 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
40 }
41 return_type_hidl: {
42 type: TYPE_ENUM
43 predefined_type: "::android::hardware::wifi::supplicant::V1_0::IfaceType"
44 }
45 }
46
47 api: {
48 name: "registerCallback"
49 return_type_hidl: {
50 type: TYPE_STRUCT
51 predefined_type: "::android::hardware::wifi::supplicant::V1_0::SupplicantStatus"
52 }
53 arg: {
54 type: TYPE_HIDL_CALLBACK
55 predefined_type: "ISupplicantP2pNetworkCallback"
56 is_callback: true
57 }
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
83 vector_value: {
84 vector_size: 6
85 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}