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" |
| 10 | |
| 11 | interface: { |
| 12 | api: { |
| 13 | name: "getBoundIface" |
| 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_HIDL_INTERFACE |
| 20 | predefined_type: "IWifiIface" |
| 21 | is_callback: false |
| 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 |
| 33 | predefined_type: "IWifiRttControllerEventCallback" |
| 34 | is_callback: true |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | api: { |
| 39 | name: "rangeRequest" |
| 40 | return_type_hidl: { |
| 41 | type: TYPE_STRUCT |
| 42 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 43 | } |
| 44 | arg: { |
| 45 | type: TYPE_SCALAR |
| 46 | scalar_type: "uint32_t" |
| 47 | } |
| 48 | arg: { |
| 49 | type: TYPE_VECTOR |
| 50 | vector_value: { |
| 51 | type: TYPE_STRUCT |
| 52 | predefined_type: "::android::hardware::wifi::V1_0::RttConfig" |
| 53 | } |
| 54 | } |
| 55 | } |
| 56 | |
| 57 | api: { |
| 58 | name: "rangeCancel" |
| 59 | return_type_hidl: { |
| 60 | type: TYPE_STRUCT |
| 61 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 62 | } |
| 63 | arg: { |
| 64 | type: TYPE_SCALAR |
| 65 | scalar_type: "uint32_t" |
| 66 | } |
| 67 | arg: { |
| 68 | type: TYPE_VECTOR |
| 69 | vector_value: { |
| 70 | type: TYPE_ARRAY |
| 71 | vector_value: { |
| 72 | vector_size: 6 |
| 73 | type: TYPE_SCALAR |
| 74 | scalar_type: "uint8_t" |
| 75 | } |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | |
| 80 | api: { |
| 81 | name: "getCapabilities" |
| 82 | return_type_hidl: { |
| 83 | type: TYPE_STRUCT |
| 84 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 85 | } |
| 86 | return_type_hidl: { |
| 87 | type: TYPE_STRUCT |
| 88 | predefined_type: "::android::hardware::wifi::V1_0::RttCapabilities" |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | api: { |
| 93 | name: "setLci" |
| 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: "uint32_t" |
| 101 | } |
| 102 | arg: { |
| 103 | type: TYPE_STRUCT |
| 104 | predefined_type: "::android::hardware::wifi::V1_0::RttLciInformation" |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | api: { |
| 109 | name: "setLcr" |
| 110 | return_type_hidl: { |
| 111 | type: TYPE_STRUCT |
| 112 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 113 | } |
| 114 | arg: { |
| 115 | type: TYPE_SCALAR |
| 116 | scalar_type: "uint32_t" |
| 117 | } |
| 118 | arg: { |
| 119 | type: TYPE_STRUCT |
| 120 | predefined_type: "::android::hardware::wifi::V1_0::RttLcrInformation" |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | api: { |
| 125 | name: "getResponderInfo" |
| 126 | return_type_hidl: { |
| 127 | type: TYPE_STRUCT |
| 128 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 129 | } |
| 130 | return_type_hidl: { |
| 131 | type: TYPE_STRUCT |
| 132 | predefined_type: "::android::hardware::wifi::V1_0::RttResponder" |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | api: { |
| 137 | name: "enableResponder" |
| 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: "uint32_t" |
| 145 | } |
| 146 | arg: { |
| 147 | type: TYPE_STRUCT |
| 148 | predefined_type: "::android::hardware::wifi::V1_0::WifiChannelInfo" |
| 149 | } |
| 150 | arg: { |
| 151 | type: TYPE_SCALAR |
| 152 | scalar_type: "uint32_t" |
| 153 | } |
| 154 | arg: { |
| 155 | type: TYPE_STRUCT |
| 156 | predefined_type: "::android::hardware::wifi::V1_0::RttResponder" |
| 157 | } |
| 158 | } |
| 159 | |
| 160 | api: { |
| 161 | name: "disableResponder" |
| 162 | return_type_hidl: { |
| 163 | type: TYPE_STRUCT |
| 164 | predefined_type: "::android::hardware::wifi::V1_0::WifiStatus" |
| 165 | } |
| 166 | arg: { |
| 167 | type: TYPE_SCALAR |
| 168 | scalar_type: "uint32_t" |
| 169 | } |
| 170 | } |
| 171 | |
| 172 | } |