blob: 3f567a4c34f9c01b421b1827314beab325c5cdd3 [file] [log] [blame]
Roshan Pius720f4bd2017-01-18 09:45:46 -08001component_class: HAL_HIDL
2component_type_version: 1.0
3component_name: "IWifi"
4
5package: "android.hardware.wifi"
6
Etan Cohenff7aac52017-02-10 18:11:19 -08007import: "android.hardware.wifi@1.0::IWifiApIface"
Roshan Pius720f4bd2017-01-18 09:45:46 -08008import: "android.hardware.wifi@1.0::IWifiChip"
Etan Cohenff7aac52017-02-10 18:11:19 -08009import: "android.hardware.wifi@1.0::IWifiChipEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -080010import: "android.hardware.wifi@1.0::IWifiEventCallback"
Etan Cohenff7aac52017-02-10 18:11:19 -080011import: "android.hardware.wifi@1.0::IWifiIface"
12import: "android.hardware.wifi@1.0::IWifiNanIface"
13import: "android.hardware.wifi@1.0::IWifiNanIfaceEventCallback"
14import: "android.hardware.wifi@1.0::IWifiP2pIface"
15import: "android.hardware.wifi@1.0::IWifiRttController"
16import: "android.hardware.wifi@1.0::IWifiRttControllerEventCallback"
17import: "android.hardware.wifi@1.0::IWifiStaIface"
18import: "android.hardware.wifi@1.0::IWifiStaIfaceEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -080019import: "android.hardware.wifi@1.0::types"
Etan Cohenff7aac52017-02-10 18:11:19 -080020import: "android.hidl.base@1.0::types"
Roshan Pius720f4bd2017-01-18 09:45:46 -080021
22interface: {
23 api: {
24 name: "registerEventCallback"
25 return_type_hidl: {
26 type: TYPE_STRUCT
27 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
28 }
29 arg: {
30 type: TYPE_HIDL_CALLBACK
Etan Cohenff7aac52017-02-10 18:11:19 -080031 predefined_type: "::android::hardware::wifi::V1_0::IWifiEventCallback"
Roshan Pius720f4bd2017-01-18 09:45:46 -080032 }
33 callflow: {
34 entry: true
35 }
36 callflow: {
37 next: "*"
38 }
39 }
40
41 api: {
42 name: "isStarted"
43 return_type_hidl: {
44 type: TYPE_SCALAR
45 scalar_type: "bool_t"
46 }
47 }
48
49 api: {
50 name: "start"
51 return_type_hidl: {
52 type: TYPE_STRUCT
53 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
54 }
55 callflow: {
56 entry: true
57 }
58 callflow: {
59 next: "registerEventCallback"
60 next: "start"
61 next: "stop"
62 next: "getChip"
63 }
64 }
65
66 api: {
67 name: "stop"
68 return_type_hidl: {
69 type: TYPE_STRUCT
70 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
71 }
72 callflow: {
73 exit: true
74 }
75 callflow: {
76 next: "registerEventCallback"
77 next: "start"
78 next: "stop"
79 }
80 }
81
82 api: {
83 name: "getChipIds"
84 return_type_hidl: {
85 type: TYPE_STRUCT
86 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
87 }
88 return_type_hidl: {
89 type: TYPE_VECTOR
90 vector_value: {
91 type: TYPE_SCALAR
92 scalar_type: "uint32_t"
93 }
94 }
95 callflow: {
96 next: "*"
97 }
98 }
99
100 api: {
101 name: "getChip"
102 return_type_hidl: {
103 type: TYPE_STRUCT
104 predefined_type: "::android::hardware::wifi::V1_0::WifiStatus"
105 }
106 return_type_hidl: {
107 type: TYPE_HIDL_INTERFACE
Etan Cohenff7aac52017-02-10 18:11:19 -0800108 predefined_type: "::android::hardware::wifi::V1_0::IWifiChip"
Roshan Pius720f4bd2017-01-18 09:45:46 -0800109 }
110 arg: {
111 type: TYPE_SCALAR
112 scalar_type: "uint32_t"
113 }
114 callflow: {
115 next: "*"
116 }
117 }
118
119}