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: "IWifiApIface" |
| 4 | |
| 5 | package: "android.hardware.wifi" |
| 6 | |
| 7 | import: "android.hardware.wifi@1.0::IWifiIface" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 8 | import: "android.hardware.wifi@1.0::types" |
| 9 | import: "android.hidl.base@1.0::types" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 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 | |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 35 | api: { |
| 36 | name: "setCountryCode" |
| 37 | return_type_hidl: { |
| 38 | type: TYPE_STRUCT |
| 39 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 40 | } |
| 41 | arg: { |
| 42 | type: TYPE_ARRAY |
| 43 | vector_size: 2 |
| 44 | vector_value: { |
| 45 | type: TYPE_SCALAR |
| 46 | scalar_type: "int8_t" |
| 47 | } |
| 48 | } |
| 49 | } |
| 50 | |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 51 | } |