1[{ 2 "filename": "chre_api/include/chre_api/chre/wwan.h", 3 "includes": [ 4 "chre_api/include/chre_api/chre/common.h" 5 ], 6 "output_includes": [ 7 "chpp/common/common_types.h", 8 "chre_api/chre/wwan.h" 9 ], 10 "struct_info": [ 11 { 12 "name": "chreWwanCellInfoResult", 13 "annotations": [ 14 { 15 "field": "version", 16 "annotation": "fixed_value", 17 "value": "CHRE_WWAN_CELL_INFO_RESULT_VERSION" 18 }, 19 { 20 "field": "errorCode", 21 "annotation": "enum", 22 "enum_type": "chreError" 23 }, 24 { 25 "field": "cookie", 26 "annotation": "fixed_value", 27 "value": "0" 28 }, 29 { 30 "field": "cookie", 31 "annotation": "rewrite_type", 32 "type_override": "uint32_t" 33 }, 34 { 35 "field": "reserved", 36 "annotation": "fixed_value", 37 "value": "0" 38 }, 39 { 40 "field": "cells", 41 "annotation": "var_len_array", 42 "length_field": "cellInfoCount" 43 } 44 ] 45 }, 46 { 47 "name": "chreWwanCellInfo", 48 "annotations": [ 49 { 50 "field": "cellInfoType", 51 "annotation": "enum", 52 "enum_type": "chreWwanCellInfoType" 53 }, 54 { 55 "field": "CellInfo", 56 "annotation": "union_variant", 57 "discriminator": "cellInfoType", 58 "mapping": [ 59 ["CHRE_WWAN_CELL_INFO_TYPE_GSM", "gsm"], 60 ["CHRE_WWAN_CELL_INFO_TYPE_CDMA", "cdma"], 61 ["CHRE_WWAN_CELL_INFO_TYPE_LTE", "lte"], 62 ["CHRE_WWAN_CELL_INFO_TYPE_WCDMA", "wcdma"], 63 ["CHRE_WWAN_CELL_INFO_TYPE_TD_SCDMA", "tdscdma"], 64 ["CHRE_WWAN_CELL_INFO_TYPE_NR", "nr"] 65 ] 66 }, 67 { 68 "field": "reserved", 69 "annotation": "fixed_value", 70 "value": "0" 71 } 72 ] 73 }, 74 { 75 "name": "chreWwanCellIdentityGsm", 76 "annotations": [ 77 { 78 "field": "reserved", 79 "annotation": "fixed_value", 80 "value": "0" 81 } 82 ] 83 } 84 ], 85 "root_structs": [ 86 "chreWwanCellInfoResult" 87 ] 88}, 89{ 90 "filename": "chre_api/include/chre_api/chre/wifi.h", 91 "includes": [ 92 "chre_api/include/chre_api/chre/common.h" 93 ], 94 "output_includes": [ 95 "chpp/common/common_types.h", 96 "chre_api/chre/wifi.h" 97 ], 98 "struct_info": [ 99 { 100 "name": "chreWifiScanEvent", 101 "annotations": [ 102 { 103 "field": "version", 104 "annotation": "fixed_value", 105 "value": "CHRE_WIFI_SCAN_EVENT_VERSION" 106 }, 107 { 108 "field": "scannedFreqList", 109 "annotation": "var_len_array", 110 "length_field": "scannedFreqListLen" 111 }, 112 { 113 "field": "results", 114 "annotation": "var_len_array", 115 "length_field": "resultCount" 116 } 117 ] 118 }, 119 { 120 "name": "chreWifiScanResult", 121 "annotations": [ 122 { 123 "field": "reserved", 124 "annotation": "fixed_value", 125 "value": "0" 126 } 127 ] 128 }, 129 { 130 "name": "chreWifiScanParams", 131 "annotations": [ 132 { 133 "field": "frequencyList", 134 "annotation": "var_len_array", 135 "length_field": "frequencyListLen" 136 }, 137 { 138 "field": "ssidList", 139 "annotation": "var_len_array", 140 "length_field": "ssidListLen" 141 } 142 ] 143 }, 144 { 145 "name": "chreWifiRangingEvent", 146 "annotations": [ 147 { 148 "field": "version", 149 "annotation": "fixed_value", 150 "value": "CHRE_WIFI_RANGING_EVENT_VERSION" 151 }, 152 { 153 "field": "reserved", 154 "annotation": "fixed_value", 155 "value": "0" 156 }, 157 { 158 "field": "results", 159 "annotation": "var_len_array", 160 "length_field": "resultCount" 161 } 162 ] 163 }, 164 { 165 "name": "chreWifiRangingResult", 166 "annotations": [ 167 { 168 "field": "reserved", 169 "annotation": "fixed_value", 170 "value": "0" 171 } 172 ] 173 }, 174 { 175 "name": "chreWifiRangingParams", 176 "annotations": [ 177 { 178 "field": "targetList", 179 "annotation": "var_len_array", 180 "length_field": "targetListLen" 181 } 182 ] 183 }, 184 { 185 "name": "chreWifiRangingTarget", 186 "annotations": [ 187 { 188 "field": "reserved", 189 "annotation": "fixed_value", 190 "value": "0" 191 } 192 ] 193 } 194 ], 195 "root_structs": [ 196 "chreWifiScanEvent", 197 "chreWifiScanParams", 198 "chreWifiRangingEvent", 199 "chreWifiRangingParams" 200 ] 201}, 202{ 203 "filename": "chre_api/include/chre_api/chre/gnss.h", 204 "includes": [ 205 "chre_api/include/chre_api/chre/common.h" 206 ], 207 "output_includes": [ 208 "chpp/common/common_types.h", 209 "chre_api/chre/gnss.h" 210 ], 211 "struct_info": [ 212 { 213 "name": "chreGnssDataEvent", 214 "annotations": [ 215 { 216 "field": "version", 217 "annotation": "fixed_value", 218 "value": "CHRE_GNSS_DATA_EVENT_VERSION" 219 }, 220 { 221 "field": "reserved", 222 "annotation": "fixed_value", 223 "value": "0" 224 }, 225 { 226 "field": "measurements", 227 "annotation": "var_len_array", 228 "length_field": "measurement_count" 229 } 230 ] 231 }, 232 { 233 "name": "chreGnssLocationEvent", 234 "annotations": [ 235 { 236 "field": "reserved", 237 "annotation": "fixed_value", 238 "value": "0" 239 } 240 ] 241 }, 242 { 243 "name": "chreGnssClock", 244 "annotations": [ 245 { 246 "field": "reserved", 247 "annotation": "fixed_value", 248 "value": "0" 249 } 250 ] 251 } 252 ], 253 "root_structs": [ 254 "chreGnssDataEvent", 255 "chreGnssLocationEvent" 256 ] 257}] 258