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: "IWifiRttController" |
| 4 | |
| 5 | package: "android.hardware.wifi" |
| 6 | |
| 7 | import: "android.hardware.wifi@1.0::IWifiIface" |
| 8 | import: "android.hardware.wifi@1.0::IWifiRttControllerEventCallback" |
| 9 | import: "android.hardware.wifi@1.0::types" |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 10 | import: "android.hidl.base@1.0::types" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 11 | |
| 12 | interface: { |
| 13 | api: { |
| 14 | name: "getBoundIface" |
| 15 | return_type_hidl: { |
| 16 | type: TYPE_STRUCT |
| 17 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 18 | } |
| 19 | return_type_hidl: { |
| 20 | type: TYPE_HIDL_INTERFACE |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 21 | predefined_type: "::android::hardware::wifi::V1_0::IWifiIface" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 22 | } |
| 23 | } |
| 24 | |
| 25 | api: { |
| 26 | name: "registerEventCallback" |
| 27 | return_type_hidl: { |
| 28 | type: TYPE_STRUCT |
| 29 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 30 | } |
| 31 | arg: { |
| 32 | type: TYPE_HIDL_CALLBACK |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 33 | predefined_type: "::android::hardware::wifi::V1_0::IWifiRttControllerEventCallback" |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 34 | } |
| 35 | } |
| 36 | |
| 37 | api: { |
| 38 | name: "rangeRequest" |
| 39 | return_type_hidl: { |
| 40 | type: TYPE_STRUCT |
| 41 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 42 | } |
| 43 | arg: { |
| 44 | type: TYPE_SCALAR |
| 45 | scalar_type: "uint32_t" |
| 46 | } |
| 47 | arg: { |
| 48 | type: TYPE_VECTOR |
| 49 | vector_value: { |
| 50 | type: TYPE_STRUCT |
| 51 | predefined_type: "::android::hardware::wifi::V1_0::RttConfig" |
| 52 | } |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | api: { |
| 57 | name: "rangeCancel" |
| 58 | return_type_hidl: { |
| 59 | type: TYPE_STRUCT |
| 60 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 61 | } |
| 62 | arg: { |
| 63 | type: TYPE_SCALAR |
| 64 | scalar_type: "uint32_t" |
| 65 | } |
| 66 | arg: { |
| 67 | type: TYPE_VECTOR |
| 68 | vector_value: { |
| 69 | type: TYPE_ARRAY |
Etan Cohen | ff7aac5 | 2017-02-10 18:11:19 -0800 | [diff] [blame] | 70 | vector_size: 6 |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 71 | vector_value: { |
Roshan Pius | 720f4bd | 2017-01-18 09:45:46 -0800 | [diff] [blame] | 72 | type: TYPE_SCALAR |
| 73 | scalar_type: "uint8_t" |
| 74 | } |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | api: { |
| 80 | name: "getCapabilities" |
| 81 | return_type_hidl: { |
| 82 | type: TYPE_STRUCT |
| 83 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 84 | } |
| 85 | return_type_hidl: { |
| 86 | type: TYPE_STRUCT |
| 87 | predefined_type: "::android::hardware::wifi::V1_0::RttCapabilities" |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | api: { |
| 92 | name: "setLci" |
| 93 | return_type_hidl: { |
| 94 | type: TYPE_STRUCT |
| 95 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 96 | } |
| 97 | arg: { |
| 98 | type: TYPE_SCALAR |
| 99 | scalar_type: "uint32_t" |
| 100 | } |
| 101 | arg: { |
| 102 | type: TYPE_STRUCT |
| 103 | predefined_type: "::android::hardware::wifi::V1_0::RttLciInformation" |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | api: { |
| 108 | name: "setLcr" |
| 109 | return_type_hidl: { |
| 110 | type: TYPE_STRUCT |
| 111 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 112 | } |
| 113 | arg: { |
| 114 | type: TYPE_SCALAR |
| 115 | scalar_type: "uint32_t" |
| 116 | } |
| 117 | arg: { |
| 118 | type: TYPE_STRUCT |
| 119 | predefined_type: "::android::hardware::wifi::V1_0::RttLcrInformation" |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | api: { |
| 124 | name: "getResponderInfo" |
| 125 | return_type_hidl: { |
| 126 | type: TYPE_STRUCT |
| 127 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 128 | } |
| 129 | return_type_hidl: { |
| 130 | type: TYPE_STRUCT |
| 131 | predefined_type: "::android::hardware::wifi::V1_0::RttResponder" |
| 132 | } |
| 133 | } |
| 134 | |
| 135 | api: { |
| 136 | name: "enableResponder" |
| 137 | return_type_hidl: { |
| 138 | type: TYPE_STRUCT |
| 139 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 140 | } |
| 141 | arg: { |
| 142 | type: TYPE_SCALAR |
| 143 | scalar_type: "uint32_t" |
| 144 | } |
| 145 | arg: { |
| 146 | type: TYPE_STRUCT |
| 147 | predefined_type: "::android::hardware::wifi::V1_0::WifiChannelInfo" |
| 148 | } |
| 149 | arg: { |
| 150 | type: TYPE_SCALAR |
| 151 | scalar_type: "uint32_t" |
| 152 | } |
| 153 | arg: { |
| 154 | type: TYPE_STRUCT |
| 155 | predefined_type: "::android::hardware::wifi::V1_0::RttResponder" |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | api: { |
| 160 | name: "disableResponder" |
| 161 | return_type_hidl: { |
| 162 | type: TYPE_STRUCT |
| 163 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 164 | } |
| 165 | arg: { |
| 166 | type: TYPE_SCALAR |
| 167 | scalar_type: "uint32_t" |
| 168 | } |
| 169 | } |
| 170 | |
| 171 | } |