Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 1 | component_class: HAL_HIDL |
| 2 | component_type_version: 1.0 |
| 3 | component_name: "IWifiNanIface" |
| 4 | |
| 5 | package: "android.hardware.wifi" |
| 6 | |
| 7 | import: "android.hardware.wifi@1.0::IWifiIface" |
| 8 | import: "android.hardware.wifi@1.0::IWifiNanIfaceEventCallback" |
| 9 | import: "android.hardware.wifi@1.0::types" |
| 10 | |
| 11 | interface: { |
| 12 | api: { |
| 13 | name: "getType" |
| 14 | return_type_hidl: { |
| 15 | type: TYPE_STRUCT |
| 16 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 17 | } |
| 18 | return_type_hidl: { |
| 19 | type: TYPE_ENUM |
| 20 | predefined_type: "::android::hardware::wifi::V1_0::IfaceType" |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | api: { |
| 25 | name: "getName" |
| 26 | return_type_hidl: { |
| 27 | type: TYPE_STRUCT |
| 28 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 29 | } |
| 30 | return_type_hidl: { |
| 31 | type: TYPE_STRING |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | api: { |
| 36 | name: "registerEventCallback" |
| 37 | return_type_hidl: { |
| 38 | type: TYPE_STRUCT |
| 39 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 40 | } |
| 41 | arg: { |
| 42 | type: TYPE_HIDL_CALLBACK |
| 43 | predefined_type: "IWifiNanIfaceEventCallback" |
| 44 | is_callback: true |
| 45 | } |
| 46 | } |
| 47 | |
| 48 | api: { |
| 49 | name: "getCapabilitiesRequest" |
| 50 | return_type_hidl: { |
| 51 | type: TYPE_STRUCT |
| 52 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 53 | } |
| 54 | arg: { |
| 55 | type: TYPE_SCALAR |
| 56 | scalar_type: "uint16_t" |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | api: { |
| 61 | name: "enableRequest" |
| 62 | return_type_hidl: { |
| 63 | type: TYPE_STRUCT |
| 64 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 65 | } |
| 66 | arg: { |
| 67 | type: TYPE_SCALAR |
| 68 | scalar_type: "uint16_t" |
| 69 | } |
| 70 | arg: { |
| 71 | type: TYPE_STRUCT |
| 72 | predefined_type: "::android::hardware::wifi::V1_0::NanEnableRequest" |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | api: { |
| 77 | name: "configRequest" |
| 78 | return_type_hidl: { |
| 79 | type: TYPE_STRUCT |
| 80 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 81 | } |
| 82 | arg: { |
| 83 | type: TYPE_SCALAR |
| 84 | scalar_type: "uint16_t" |
| 85 | } |
| 86 | arg: { |
| 87 | type: TYPE_STRUCT |
| 88 | predefined_type: "::android::hardware::wifi::V1_0::NanConfigRequest" |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | api: { |
| 93 | name: "disableRequest" |
| 94 | return_type_hidl: { |
| 95 | type: TYPE_STRUCT |
| 96 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 97 | } |
| 98 | arg: { |
| 99 | type: TYPE_SCALAR |
| 100 | scalar_type: "uint16_t" |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | api: { |
| 105 | name: "startPublishRequest" |
| 106 | return_type_hidl: { |
| 107 | type: TYPE_STRUCT |
| 108 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 109 | } |
| 110 | arg: { |
| 111 | type: TYPE_SCALAR |
| 112 | scalar_type: "uint16_t" |
| 113 | } |
| 114 | arg: { |
| 115 | type: TYPE_STRUCT |
| 116 | predefined_type: "::android::hardware::wifi::V1_0::NanPublishRequest" |
| 117 | } |
| 118 | } |
| 119 | |
| 120 | api: { |
| 121 | name: "stopPublishRequest" |
| 122 | return_type_hidl: { |
| 123 | type: TYPE_STRUCT |
| 124 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 125 | } |
| 126 | arg: { |
| 127 | type: TYPE_SCALAR |
| 128 | scalar_type: "uint16_t" |
| 129 | } |
| 130 | arg: { |
| 131 | type: TYPE_SCALAR |
| 132 | scalar_type: "uint16_t" |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | api: { |
| 137 | name: "startSubscribeRequest" |
| 138 | return_type_hidl: { |
| 139 | type: TYPE_STRUCT |
| 140 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 141 | } |
| 142 | arg: { |
| 143 | type: TYPE_SCALAR |
| 144 | scalar_type: "uint16_t" |
| 145 | } |
| 146 | arg: { |
| 147 | type: TYPE_STRUCT |
| 148 | predefined_type: "::android::hardware::wifi::V1_0::NanSubscribeRequest" |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | api: { |
| 153 | name: "stopSubscribeRequest" |
| 154 | return_type_hidl: { |
| 155 | type: TYPE_STRUCT |
| 156 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 157 | } |
| 158 | arg: { |
| 159 | type: TYPE_SCALAR |
| 160 | scalar_type: "uint16_t" |
| 161 | } |
| 162 | arg: { |
| 163 | type: TYPE_SCALAR |
| 164 | scalar_type: "uint16_t" |
| 165 | } |
| 166 | } |
| 167 | |
| 168 | api: { |
| 169 | name: "transmitFollowupRequest" |
| 170 | return_type_hidl: { |
| 171 | type: TYPE_STRUCT |
| 172 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 173 | } |
| 174 | arg: { |
| 175 | type: TYPE_SCALAR |
| 176 | scalar_type: "uint16_t" |
| 177 | } |
| 178 | arg: { |
| 179 | type: TYPE_STRUCT |
| 180 | predefined_type: "::android::hardware::wifi::V1_0::NanTransmitFollowupRequest" |
| 181 | } |
| 182 | } |
| 183 | |
| 184 | api: { |
| 185 | name: "createDataInterfaceRequest" |
| 186 | return_type_hidl: { |
| 187 | type: TYPE_STRUCT |
| 188 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 189 | } |
| 190 | arg: { |
| 191 | type: TYPE_SCALAR |
| 192 | scalar_type: "uint16_t" |
| 193 | } |
| 194 | arg: { |
| 195 | type: TYPE_STRING |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | api: { |
| 200 | name: "deleteDataInterfaceRequest" |
| 201 | return_type_hidl: { |
| 202 | type: TYPE_STRUCT |
| 203 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 204 | } |
| 205 | arg: { |
| 206 | type: TYPE_SCALAR |
| 207 | scalar_type: "uint16_t" |
| 208 | } |
| 209 | arg: { |
| 210 | type: TYPE_STRING |
| 211 | } |
| 212 | } |
| 213 | |
| 214 | api: { |
| 215 | name: "initiateDataPathRequest" |
| 216 | return_type_hidl: { |
| 217 | type: TYPE_STRUCT |
| 218 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 219 | } |
| 220 | arg: { |
| 221 | type: TYPE_SCALAR |
| 222 | scalar_type: "uint16_t" |
| 223 | } |
| 224 | arg: { |
| 225 | type: TYPE_STRUCT |
| 226 | predefined_type: "::android::hardware::wifi::V1_0::NanInitiateDataPathRequest" |
| 227 | } |
| 228 | } |
| 229 | |
| 230 | api: { |
| 231 | name: "respondToDataPathIndicationRequest" |
| 232 | return_type_hidl: { |
| 233 | type: TYPE_STRUCT |
| 234 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 235 | } |
| 236 | arg: { |
| 237 | type: TYPE_SCALAR |
| 238 | scalar_type: "uint16_t" |
| 239 | } |
| 240 | arg: { |
| 241 | type: TYPE_STRUCT |
| 242 | predefined_type: "::android::hardware::wifi::V1_0::NanRespondToDataPathIndicationRequest" |
| 243 | } |
| 244 | } |
| 245 | |
| 246 | api: { |
| 247 | name: "terminateDataPathRequest" |
| 248 | return_type_hidl: { |
| 249 | type: TYPE_STRUCT |
| 250 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 251 | } |
| 252 | arg: { |
| 253 | type: TYPE_SCALAR |
| 254 | scalar_type: "uint16_t" |
| 255 | } |
| 256 | arg: { |
| 257 | type: TYPE_SCALAR |
| 258 | scalar_type: "uint32_t" |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | api: { |
| 263 | name: "beaconSdfPayloadRequest" |
| 264 | return_type_hidl: { |
| 265 | type: TYPE_STRUCT |
| 266 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 267 | } |
| 268 | arg: { |
| 269 | type: TYPE_SCALAR |
| 270 | scalar_type: "uint16_t" |
| 271 | } |
| 272 | arg: { |
| 273 | type: TYPE_STRUCT |
| 274 | predefined_type: "::android::hardware::wifi::V1_0::NanBeaconSdfPayloadRequest" |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | } |