blob: 94b304a198f373bef643e16b904b8a9daf259731 [file] [log] [blame]
Sanket Padawe76372492016-10-27 13:20:49 -07001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.radio@1.0;
18
Andreas Huber675ae492017-03-28 14:40:58 -070019/**
Sanket Padawe76372492016-10-27 13:20:49 -070020 * Interface declaring response functions to solicited radio requests.
21 * Response functions defined in this interface are as per following convention:
22 * <xyz>Response is response to IRadio.<xyz>
23 */
24interface IRadioResponse {
Andreas Huber675ae492017-03-28 14:40:58 -070025 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080026 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070027 * @param cardStatus ICC card status as defined by CardStatus in types.hal
28 *
29 * Valid errors returned:
30 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -070031 * RadioError:RADIO_NOT_AVAILABLE
32 * RadioError:INTERNAL_ERR
33 * RadioError:NO_MEMORY
34 * RadioError:NO_RESOURCES
35 * RadioError:CANCELLED
36 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070037 */
Sanket Padawe865834e2016-12-28 16:04:10 -080038 oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus);
Sanket Padawe76372492016-10-27 13:20:49 -070039
Andreas Huber675ae492017-03-28 14:40:58 -070040 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080041 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070042 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
43 *
44 * Valid errors returned:
45 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070046 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070047 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -070048 * RadioError:INTERNAL_ERR
49 * RadioError:NO_MEMORY
50 * RadioError:NO_RESOURCES
51 * RadioError:CANCELLED
52 * RadioError:INVALID_ARGUMENTS
53 * RadioError:INVALID_SIM_STATE
54 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070055 */
56 oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
57
Andreas Huber675ae492017-03-28 14:40:58 -070058 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080059 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070060 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
61 *
62 * Valid errors returned:
63 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070064 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070065 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -070066 * RadioError:INTERNAL_ERR
67 * RadioError:NO_MEMORY
68 * RadioError:NO_RESOURCES
69 * RadioError:CANCELLED
70 * RadioError:INVALID_ARGUMENTS
71 * RadioError:INVALID_SIM_STATE
72 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070073 */
74 oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
75
Andreas Huber675ae492017-03-28 14:40:58 -070076 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080077 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070078 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
79 *
80 * Valid errors returned:
81 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070082 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070083 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -070084 * RadioError:INTERNAL_ERR
85 * RadioError:NO_MEMORY
86 * RadioError:NO_RESOURCES
87 * RadioError:CANCELLED
88 * RadioError:INVALID_ARGUMENTS
89 * RadioError:INVALID_SIM_STATE
90 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070091 */
92 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
93
Andreas Huber675ae492017-03-28 14:40:58 -070094 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080095 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070096 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
97 * Valid errors returned:
98 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070099 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700100 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -0700101 * RadioError:INTERNAL_ERR
102 * RadioError:NO_MEMORY
103 * RadioError:NO_RESOURCES
104 * RadioError:CANCELLED
105 * RadioError:INVALID_ARGUMENTS
106 * RadioError:INVALID_SIM_STATE
107 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700108 */
109 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
110
Andreas Huber675ae492017-03-28 14:40:58 -0700111 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800112 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700113 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
114 *
115 * Valid errors returned:
116 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700117 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700118 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -0700119 * RadioError:INTERNAL_ERR
120 * RadioError:NO_MEMORY
121 * RadioError:NO_RESOURCES
122 * RadioError:CANCELLED
123 * RadioError:INVALID_ARGUMENTS
124 * RadioError:INVALID_SIM_STATE
125 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700126 */
127 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
128
Andreas Huber675ae492017-03-28 14:40:58 -0700129 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800130 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700131 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
132 *
133 * Valid errors returned:
134 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700135 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700136 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
sqian6381ac42017-06-09 12:10:43 -0700137 * RadioError:INTERNAL_ERR
138 * RadioError:NO_MEMORY
139 * RadioError:NO_RESOURCES
140 * RadioError:CANCELLED
141 * RadioError:INVALID_ARGUMENTS
142 * RadioError:INVALID_SIM_STATE
143 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700144 */
145 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
146
Andreas Huber675ae492017-03-28 14:40:58 -0700147 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800148 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700149 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
150 *
151 * Valid errors returned:
152 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -0700153 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700154 * RadioError:PASSWORD_INCORRECT (code is invalid)
sqian284c53c2017-05-16 20:29:19 -0700155 * RadioError:NO_MEMORY
156 * RadioError:INVALID_SIM_STATE
157 * RadioError:INTERNAL_ERR
158 * RadioError:SYSTEM_ERR
159 * RadioError:MODEM_ERR
160 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700161 * RadioError:NO_RESOURCES
162 * RadioError:CANCELLED
163 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700164 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700165 */
166 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
167
Andreas Huber675ae492017-03-28 14:40:58 -0700168 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800169 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700170 * @param calls Current call list
171 *
172 * Valid errors returned:
173 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700174 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700175 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700176 * RadioError:INTERNAL_ERR
177 * RadioError:SYSTEM_ERR
178 * RadioError:INVALID_ARGUMENTS
179 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700180 * RadioError:NO_RESOURCES
181 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700182 */
183 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
184
Andreas Huber675ae492017-03-28 14:40:58 -0700185 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800186 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700187 *
188 * Valid errors returned:
189 * RadioError:NONE
190 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700191 * RadioError:DIAL_MODIFIED_TO_USSD
192 * RadioError:DIAL_MODIFIED_TO_SS
193 * RadioError:DIAL_MODIFIED_TO_DIAL
194 * RadioError:INVALID_ARGUMENTS
195 * RadioError:NO_MEMORY
196 * RadioError:INVALID_STATE
197 * RadioError:NO_RESOURCES
198 * RadioError:INTERNAL_ERR
199 * RadioError:FDN_CHECK_FAILURE
200 * RadioError:MODEM_ERR
201 * RadioError:NO_SUBSCRIPTION
202 * RadioError:NO_NETWORK_FOUND
203 * RadioError:INVALID_CALL_ID
204 * RadioError:DEVICE_IN_USE
Naina Nalluri236e8e42017-07-17 11:56:42 -0700205 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -0700206 * RadioError:ABORTED
sqian159ec7f2017-04-25 18:00:34 -0700207 * RadioError:SYSTEM_ERR
208 * RadioError:REQUEST_NOT_SUPPORTED
209 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700210 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700211 */
212 oneway dialResponse(RadioResponseInfo info);
213
Andreas Huber675ae492017-03-28 14:40:58 -0700214 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800215 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700216 * @param imsi String containing the IMSI
217 *
218 * Valid errors returned:
219 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700220 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
sqian6381ac42017-06-09 12:10:43 -0700221 * RadioError:INTERNAL_ERR
222 * RadioError:NO_MEMORY
223 * RadioError:NO_RESOURCES
224 * RadioError:CANCELLED
225 * RadioError:INVALID_SIM_STATE
226 * RadioError:SIM_ERR
227 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700228 */
229 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
230
Andreas Huber675ae492017-03-28 14:40:58 -0700231 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800232 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700233 *
234 * Valid errors returned:
235 * RadioError:NONE
236 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
237 * RadioError:INVALID_ARGUMENTS
238 * RadioError:NO_MEMORY
239 * RadioError:INVALID_STATE
240 * RadioError:MODEM_ERR
241 * RadioError:INTERNAL_ERR
242 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -0700243 * RadioError:NO_RESOURCES
244 * RadioError:CANCELLED
245 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700246 */
247 oneway hangupConnectionResponse(RadioResponseInfo info);
248
Andreas Huber675ae492017-03-28 14:40:58 -0700249 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800250 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700251 *
252 * Valid errors returned:
253 * RadioError:NONE
254 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
255 * RadioError:INVALID_STATE
256 * RadioError:NO_MEMORY
257 * RadioError:MODEM_ERR
258 * RadioError:INTERNAL_ERR
259 * RadioError:INVALID_CALL_ID
260 * RadioError:NO_RESOURCES
261 * RadioError:OPERATION_NOT_ALLOWED
262 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700263 * RadioError:SYSTEM_ERR
264 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700265 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700266 */
267 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
268
Andreas Huber675ae492017-03-28 14:40:58 -0700269 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800270 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700271 *
272 * Valid errors returned:
273 * RadioError:NONE
274 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
275 * RadioError:INVALID_STATE
276 * RadioError:NO_MEMORY
277 * RadioError:MODEM_ERR
278 * RadioError:INTERNAL_ERR
279 * RadioError:INVALID_CALL_ID
280 * RadioError:NO_RESOURCES
281 * RadioError:OPERATION_NOT_ALLOWED
282 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700283 * RadioError:SYSTEM_ERR
284 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700285 * RadioError:NO_RESOURCES
286 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700287 */
288 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
289
Andreas Huber675ae492017-03-28 14:40:58 -0700290 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800291 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700292 *
293 * Valid errors returned:
294 * RadioError:NONE
295 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
296 * RadioError:INVALID_STATE
297 * RadioError:NO_MEMORY
298 * RadioError:MODEM_ERR
299 * RadioError:INTERNAL_ERR
300 * RadioError:INVALID_STATE
301 * RadioError:INVALID_CALL_ID
302 * RadioError:OPERATION_NOT_ALLOWED
303 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700304 * RadioError:SYSTEM_ERR
305 * RadioError:REQUEST_NOT_SUPPORTED
306 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700307 * RadioError:NO_RESOURCES
308 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700309 */
310 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
311
Andreas Huber675ae492017-03-28 14:40:58 -0700312 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800313 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700314 *
315 * Valid errors returned:
316 * RadioError:NONE
317 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
318 * RadioError:NO_MEMORY
319 * RadioError:MODEM_ERR
320 * RadioError:INTERNAL_ERR
321 * RadioError:INVALID_STATE
322 * RadioError:INVALID_CALL_ID
323 * RadioError:OPERATION_NOT_ALLOWED
324 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700325 * RadioError:SYSTEM_ERR
326 * RadioError:REQUEST_NOT_SUPPORTED
327 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700328 * RadioError:NO_RESOURCES
329 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700330 */
331 oneway conferenceResponse(RadioResponseInfo info);
332
Andreas Huber675ae492017-03-28 14:40:58 -0700333 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800334 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700335 *
336 * Valid errors returned:
337 * RadioError:NONE
338 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
339 * RadioError:INVALID_STATE
340 * RadioError:NO_RESOURCES
341 * RadioError:NO_MEMORY
342 * RadioError:MODEM_ERR
343 * RadioError:INTERNAL_ERR
344 * RadioError:INVALID_CALL_ID
345 * RadioError:OPERATION_NOT_ALLOWED
346 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700347 * RadioError:SYSTEM_ERR
348 * RadioError:REQUEST_NOT_SUPPORTED
349 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700350 * RadioError:NO_RESOURCES
351 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700352 */
353 oneway rejectCallResponse(RadioResponseInfo info);
354
Andreas Huber675ae492017-03-28 14:40:58 -0700355 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800356 * @param info Response info struct containing response type, serial no. and error
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700357 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
Sanket Padawe76372492016-10-27 13:20:49 -0700358 *
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700359 * The vendor cause code must be used for debugging purpose only.
360 * The implementation must return one of the values of LastCallFailCause
361 * as mentioned below
362 *
363 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
364 * where possible.
365 * CDMA failure reasons codes for the possible call failure scenarios
366 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
367 * Any of the following reason codes if the call is failed or dropped due to reason
368 * mentioned with in the braces.
369 * LastCallFailCause:RADIO_OFF (Radio is OFF)
370 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
371 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
372 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
373 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
374 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
375 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
376 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
377 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
378 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
379 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
380 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
381 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
382 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
383 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
384 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
Sanket Padawe76372492016-10-27 13:20:49 -0700385 *
386 * If the implementation does not have access to the exact cause codes,
387 * then it must return one of the values listed in LastCallFailCause,
388 * as the UI layer needs to distinguish these cases for tone generation or
389 * error notification.
390 *
391 * Valid errors returned:
392 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700393 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700394 * RadioError:RADIO_NOT_AVAILABLE
395 * RadioError:SYSTEM_ERR
396 * RadioError:INVALID_ARGUMENTS
397 * RadioError:INTERNAL_ERR
398 * RadioError:MODEM_ERR
399 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700400 * RadioError:NO_MEMORY
401 * RadioError:NO_RESOURCES
402 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700403 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800404 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
405 LastCallFailCauseInfo failCauseinfo);
Sanket Padawe76372492016-10-27 13:20:49 -0700406
Andreas Huber675ae492017-03-28 14:40:58 -0700407 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800408 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700409 * @param sigStrength Current signal strength
410 *
411 * Valid errors returned:
412 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700413 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700414 * RadioError:NO_MEMORY
415 * RadioError:INTERNAL_ERR
416 * RadioError:SYSTEM_ERR
417 * RadioError:MODEM_ERR
418 * RadioError:NOT_PROVISIONED
419 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700420 * RadioError:NO_RESOURCES
421 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700422 */
423 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
424
Andreas Huber675ae492017-03-28 14:40:58 -0700425 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800426 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700427 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
428 * in types.hal
429 *
430 * Valid errors returned:
431 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700432 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700433 * RadioError:INTERNAL_ERR
434 * RadioError:NO_MEMORY
435 * RadioError:NO_RESOURCES
436 * RadioError:CANCELLED
437 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700438 */
439 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
440 VoiceRegStateResult voiceRegResponse);
441
Andreas Huber675ae492017-03-28 14:40:58 -0700442 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800443 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700444 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
445 * types.hal
446 *
447 * Valid errors returned:
448 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700449 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700450 * RadioError:NO_MEMORY
451 * RadioError:INTERNAL_ERR
452 * RadioError:SYSTEM_ERR
453 * RadioError:MODEM_ERR
454 * RadioError:NOT_PROVISIONED
455 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700456 * RadioError:NO_RESOURCES
457 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700458 */
459 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
460 DataRegStateResult dataRegResponse);
461
Andreas Huber675ae492017-03-28 14:40:58 -0700462 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800463 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700464 * @param longName is long alpha ONS or EONS or empty string if unregistered
465 * @param shortName is short alpha ONS or EONS or empty string if unregistered
466 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
467 *
468 * Valid errors returned:
469 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700470 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700471 * RadioError:NO_MEMORY
472 * RadioError:INTERNAL_ERR
473 * RadioError:SYSTEM_ERR
474 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700475 * RadioError:NO_RESOURCES
476 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700477 */
478 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
479 string numeric);
480
Andreas Huber675ae492017-03-28 14:40:58 -0700481 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800482 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700483 *
484 * Valid errors returned:
485 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700486 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700487 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700488 * RadioError:INVALID_STATE
489 * RadioError:NO_MEMORY
490 * RadioError:INTERNAL_ERR
491 * RadioError:SYSTEM_ERR
492 * RadioError:INVALID_ARGUMENTS
493 * RadioError:MODEM_ERR
494 * RadioError:DEVICE_IN_USE
495 * RadioError:OPERATION_NOT_ALLOWED
496 * RadioError:INVALID_MODEM_STATE
497 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700498 * RadioError:NO_RESOURCES
499 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700500 */
501 oneway setRadioPowerResponse(RadioResponseInfo info);
502
Andreas Huber675ae492017-03-28 14:40:58 -0700503 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800504 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700505 *
506 * Valid errors returned:
507 * RadioError:NONE
508 * RadioError:RADIO_NOT_AVAILABLE
509 * RadioError:INVALID_ARGUMENTS
510 * RadioError:NO_RESOURCES
511 * RadioError:NO_MEMORY
512 * RadioError:MODEM_ERR
513 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700514 * RadioError:INTERNAL_ERR
515 * RadioError:SYSTEM_ERR
516 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700517 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -0700518 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700519 */
520 oneway sendDtmfResponse(RadioResponseInfo info);
521
Andreas Huber675ae492017-03-28 14:40:58 -0700522 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800523 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700524 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
525 *
526 * Valid errors returned:
527 * RadioError:NONE
528 * RadioError:RADIO_NOT_AVAILABLE
529 * RadioError:SMS_SEND_FAIL_RETRY
530 * RadioError:NETWORK_REJECT
531 * RadioError:INVALID_STATE
532 * RadioError:INVALID_ARGUMENTS
533 * RadioError:NO_MEMORY
534 * RadioError:REQUEST_RATE_LIMITED
535 * RadioError:INVALID_SMS_FORMAT
536 * RadioError:SYSTEM_ERR
537 * RadioError:ENCODING_ERR
538 * RadioError:INVALID_SMSC_ADDRESS
539 * RadioError:MODEM_ERR
540 * RadioError:NETWORK_ERR
sqian159ec7f2017-04-25 18:00:34 -0700541 * RadioError:INTERNAL_ERR
542 * RadioError:REQUEST_NOT_SUPPORTED
543 * RadioError:INVALID_MODEM_STATE
544 * RadioError:NETWORK_NOT_READY
545 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -0700546 * RadioError:NO_RESOURCES
547 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700548 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700549 */
550 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
551
Andreas Huber675ae492017-03-28 14:40:58 -0700552 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800553 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700554 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
555 *
556 * Valid errors returned:
557 * RadioError:NONE
558 * RadioError:RADIO_NOT_AVAILABLE
559 * RadioError:SMS_SEND_FAIL_RETRY
560 * RadioError:NETWORK_REJECT
561 * RadioError:INVALID_STATE
562 * RadioError:INVALID_ARGUMENTS
563 * RadioError:NO_MEMORY
564 * RadioError:REQUEST_RATE_LIMITED
565 * RadioError:INVALID_SMS_FORMAT
566 * RadioError:SYSTEM_ERR
567 * RadioError:FDN_CHECK_FAILURE
568 * RadioError:ENCODING_ERR
569 * RadioError:INVALID_SMSC_ADDRESS
570 * RadioError:MODEM_ERR
571 * RadioError:NETWORK_ERR
sqian159ec7f2017-04-25 18:00:34 -0700572 * RadioError:INTERNAL_ERR
573 * RadioError:REQUEST_NOT_SUPPORTED
574 * RadioError:INVALID_MODEM_STATE
575 * RadioError:NETWORK_NOT_READY
576 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -0700577 * RadioError:NO_RESOURCES
578 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700579 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700580 */
581 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
582
Andreas Huber675ae492017-03-28 14:40:58 -0700583 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800584 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700585 * @param dcResponse SetupDataCallResult defined in types.hal
586 *
587 * Valid errors returned:
588 * RadioError:NONE must be returned on both success and failure of setup with the
589 * DataCallResponse.status containing the actual status
590 * For all other errors the DataCallResponse is ignored.
Sanket Padawe76372492016-10-27 13:20:49 -0700591 * RadioError:RADIO_NOT_AVAILABLE
592 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
593 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
594 * RadioError:REQUEST_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700595 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700596 * RadioError:INTERNAL_ERR
597 * RadioError:NO_MEMORY
598 * RadioError:NO_RESOURCES
599 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700600 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700601 */
602 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
603
Andreas Huber675ae492017-03-28 14:40:58 -0700604 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800605 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -0700606 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
Sanket Padawe76372492016-10-27 13:20:49 -0700607 *
608 * Valid errors returned:
609 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700610 * RadioError:RADIO_NOT_AVAILABLE
611 * RadioError:SIM_PIN2
612 * RadioError:SIM_PUK2
sqian6381ac42017-06-09 12:10:43 -0700613 * RadioError:INTERNAL_ERR
614 * RadioError:NO_MEMORY
615 * RadioError:NO_RESOURCES
616 * RadioError:CANCELLED
617 * RadioError:INVALID_SIM_STATE
618 * RadioError:SIM_ERR
619 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700620 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800621 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
Sanket Padawe76372492016-10-27 13:20:49 -0700622
Andreas Huber675ae492017-03-28 14:40:58 -0700623 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800624 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700625 *
626 * Valid errors returned:
627 * RadioError:NONE
628 * RadioError:RADIO_NOT_AVAILABLE
629 * RadioError:FDN_CHECK_FAILURE
630 * RadioError:USSD_MODIFIED_TO_DIAL
631 * RadioError:USSD_MODIFIED_TO_SS
632 * RadioError:USSD_MODIFIED_TO_USSD
633 * RadioError:SIM_BUSY
634 * RadioError:OPERATION_NOT_ALLOWED
635 * RadioError:INVALID_ARGUMENTS
636 * RadioError:NO_MEMORY
637 * RadioError:MODEM_ERR
638 * RadioError:INTERNAL_ERR
639 * RadioError:ABORTED
640 * RadioError:SYSTEM_ERR
641 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700642 * RadioError:REQUEST_NOT_SUPPORTED
643 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700644 * RadioError:NO_RESOURCES
645 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700646 */
647 oneway sendUssdResponse(RadioResponseInfo info);
648
Andreas Huber675ae492017-03-28 14:40:58 -0700649 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800650 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700651 *
652 * Valid errors returned:
653 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700654 * RadioError:RADIO_NOT_AVAILABLE
655 * RadioError:SIM_BUSY
656 * RadioError:OPERATION_NOT_ALLOWED
657 * RadioError:MODEM_ERR
658 * RadioError:INTERNAL_ERR
659 * RadioError:NO_MEMORY
660 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700661 * RadioError:INVALID_ARGUMENTS
662 * RadioError:SYSTEM_ERR
663 * RadioError:REQUEST_NOT_SUPPORTED
664 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700665 * RadioError:NO_RESOURCES
666 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700667 */
668 oneway cancelPendingUssdResponse(RadioResponseInfo info);
669
Andreas Huber675ae492017-03-28 14:40:58 -0700670 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800671 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700672 * @param n is "n" parameter from TS 27.007 7.7
673 * @param m is "m" parameter from TS 27.007 7.7
674 *
675 * Valid errors returned:
676 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700677 * RadioError:RADIO_NOT_AVAILABLE
678 * RadioError:SS_MODIFIED_TO_DIAL
679 * RadioError:SS_MODIFIED_TO_USSD
680 * RadioError:SS_MODIFIED_TO_SS
681 * RadioError:NO_MEMORY
682 * RadioError:MODEM_ERR
683 * RadioError:INTERNAL_ERR
684 * RadioError:FDN_CHECK_FAILURE
685 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700686 * RadioError:REQUEST_NOT_SUPPORTED
687 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700688 * RadioError:NO_RESOURCES
689 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700690 */
691 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
692
Andreas Huber675ae492017-03-28 14:40:58 -0700693 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800694 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700695 *
696 * Valid errors returned:
697 * RadioError:NONE
698 * RadioError:INVALID_ARGUMENTS
699 * RadioError:RADIO_NOT_AVAILABLE
700 * RadioError:SS_MODIFIED_TO_DIAL
701 * RadioError:SS_MODIFIED_TO_USSD
702 * RadioError:SS_MODIFIED_TO_SS
sqian159ec7f2017-04-25 18:00:34 -0700703 * RadioError:NO_MEMORY
704 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700705 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700706 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700707 * RadioError:NO_RESOURCES
708 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700709 */
710 oneway setClirResponse(RadioResponseInfo info);
711
Andreas Huber675ae492017-03-28 14:40:58 -0700712 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800713 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700714 * @param callForwardInfos points to a vector of CallForwardInfo, one for
715 * each distinct registered phone number.
716 *
717 * For example, if data is forwarded to +18005551212 and voice is forwarded
718 * to +18005559999, then two separate CallForwardInfo's must be returned
719 *
720 * If, however, both data and voice are forwarded to +18005551212, then
721 * a single CallForwardInfo must be returned with the service class
722 * set to "data + voice = 3")
723 *
724 * Valid errors returned:
725 * RadioError:NONE
726 * RadioError:RADIO_NOT_AVAILABLE
727 * RadioError:SS_MODIFIED_TO_DIAL
728 * RadioError:SS_MODIFIED_TO_USSD
729 * RadioError:SS_MODIFIED_TO_SS
730 * RadioError:INVALID_ARGUMENTS
731 * RadioError:NO_MEMORY
732 * RadioError:SYSTEM_ERR
733 * RadioError:MODEM_ERR
734 * RadioError:INTERNAL_ERR
735 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700736 * RadioError:REQUEST_NOT_SUPPORTED
737 * RadioError:SYSTEM_ERR
sqian6381ac42017-06-09 12:10:43 -0700738 * RadioError:NO_RESOURCES
739 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700740 */
741 oneway getCallForwardStatusResponse(RadioResponseInfo info,
742 vec<CallForwardInfo> callForwardInfos);
743
Andreas Huber675ae492017-03-28 14:40:58 -0700744 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800745 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700746 *
747 * Valid errors returned:
748 * RadioError:NONE
749 * RadioError:RADIO_NOT_AVAILABLE
750 * RadioError:SS_MODIFIED_TO_DIAL
751 * RadioError:SS_MODIFIED_TO_USSD
752 * RadioError:SS_MODIFIED_TO_SS
753 * RadioError:INVALID_ARGUMENTS
754 * RadioError:NO_MEMORY
755 * RadioError:SYSTEM_ERR
756 * RadioError:MODEM_ERR
757 * RadioError:INTERNAL_ERR
758 * RadioError:INVALID_STATE
759 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700760 * RadioError:REQUEST_NOT_SUPPORTED
761 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700762 * RadioError:NO_RESOURCES
763 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700764 */
765 oneway setCallForwardResponse(RadioResponseInfo info);
766
Andreas Huber675ae492017-03-28 14:40:58 -0700767 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800768 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700769 * @param enable If current call waiting state is disabled, enable = false else true
770 * @param serviceClass If enable, then callWaitingResp[1]
771 * must follow, with the TS 27.007 service class bit vector of services
772 * for which call waiting is enabled.
773 * For example, if callWaitingResp[0] is 1 and
774 * callWaitingResp[1] is 3, then call waiting is enabled for data
775 * and voice and disabled for everything else.
776 *
777 * Valid errors returned:
778 * RadioError:NONE
779 * RadioError:RADIO_NOT_AVAILABLE
780 * RadioError:SS_MODIFIED_TO_DIAL
781 * RadioError:SS_MODIFIED_TO_USSD
782 * RadioError:SS_MODIFIED_TO_SS
783 * RadioError:INVALID_ARGUMENTS
784 * RadioError:NO_MEMORY
785 * RadioError:MODEM_ERR
786 * RadioError:INTERNAL_ERR
787 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700788 * RadioError:INTERNAL_ERR
789 * RadioError:SYSTEM_ERR
790 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700791 * RadioError:NO_RESOURCES
792 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700793 */
794 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
795
Andreas Huber675ae492017-03-28 14:40:58 -0700796 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800797 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700798 *
799 * Valid errors returned:
800 * RadioError:NONE
801 * RadioError:RADIO_NOT_AVAILABLE
802 * RadioError:SS_MODIFIED_TO_DIAL
803 * RadioError:SS_MODIFIED_TO_USSD
804 * RadioError:SS_MODIFIED_TO_SS
805 * RadioError:INVALID_ARGUMENTS
806 * RadioError:NO_MEMORY
807 * RadioError:MODEM_ERR
808 * RadioError:INTERNAL_ERR
809 * RadioError:INVALID_STATE
810 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700811 * RadioError:SYSTEM_ERR
812 * RadioError:REQUEST_NOT_SUPPORTED
813 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700814 * RadioError:NO_RESOURCES
815 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700816 */
817 oneway setCallWaitingResponse(RadioResponseInfo info);
818
Andreas Huber675ae492017-03-28 14:40:58 -0700819 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800820 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700821 *
822 * Valid errors returned:
823 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700824 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700825 * RadioError:INTERNAL_ERR
826 * RadioError:NO_MEMORY
827 * RadioError:NO_RESOURCES
828 * RadioError:CANCELLED
829 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700830 */
831 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
832
Andreas Huber675ae492017-03-28 14:40:58 -0700833 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800834 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700835 *
836 * Valid errors returned:
837 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700838 * RadioError:RADIO_NOT_AVAILABLE
839 * RadioError:INVALID_STATE
840 * RadioError:NO_MEMORY
841 * RadioError:SYSTEM_ERR
842 * RadioError:MODEM_ERR
843 * RadioError:INTERNAL_ERR
844 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700845 * RadioError:INVALID_ARGUMENTS
846 * RadioError:SYSTEM_ERR
847 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700848 * RadioError:NO_RESOURCES
849 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700850 */
851 oneway acceptCallResponse(RadioResponseInfo info);
852
Andreas Huber675ae492017-03-28 14:40:58 -0700853 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800854 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700855 *
856 * Valid errors returned:
857 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700858 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700859 * RadioError:INVALID_CALL_ID
860 * RadioError:INVALID_STATE
861 * RadioError:INVALID_ARGUMENTS
862 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700863 * RadioError:INTERNAL_ERR
864 * RadioError:NO_MEMORY
865 * RadioError:NO_RESOURCES
866 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700867 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700868 */
869 oneway deactivateDataCallResponse(RadioResponseInfo info);
870
Andreas Huber675ae492017-03-28 14:40:58 -0700871 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800872 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700873 * @param response 0 is the TS 27.007 service class bit vector of
874 * services for which the specified barring facility
875 * is active. "0" means "disabled for all"
876 *
877 * Valid errors returned:
878 * RadioError:NONE
879 * RadioError:RADIO_NOT_AVAILABLE
880 * RadioError:SS_MODIFIED_TO_DIAL
881 * RadioError:SS_MODIFIED_TO_USSD
882 * RadioError:SS_MODIFIED_TO_SS
883 * RadioError:INVALID_ARGUMENTS
884 * RadioError:NO_MEMORY
885 * RadioError:MODEM_ERR
886 * RadioError:INTERNAL_ERR
887 * RadioError:SYSTEM_ERR
888 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700889 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700890 * RadioError:NO_RESOURCES
891 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700892 */
893 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
894
Andreas Huber675ae492017-03-28 14:40:58 -0700895 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800896 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700897 * @param retry 0 is the number of retries remaining, or -1 if unknown
898 *
899 * Valid errors returned:
900 * RadioError:NONE
901 * RadioError:RADIO_NOT_AVAILABLE
902 * RadioError:SS_MODIFIED_TO_DIAL
903 * RadioError:SS_MODIFIED_TO_USSD
904 * RadioError:SS_MODIFIED_TO_SS
905 * RadioError:INVALID_ARGUMENTS
906 * RadioError:NO_MEMORY
907 * RadioError:MODEM_ERR
908 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -0700909 * RadioError:SYSTEM_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700910 * RadioError:INVALID_STATE
911 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700912 * RadioError:REQUEST_NOT_SUPPORTED
913 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700914 * RadioError:NO_RESOURCES
915 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700916 */
917 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
918
Andreas Huber675ae492017-03-28 14:40:58 -0700919 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800920 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700921 *
922 * Valid errors returned:
923 * RadioError:NONE
924 * RadioError:RADIO_NOT_AVAILABLE
925 * RadioError:SS_MODIFIED_TO_DIAL
926 * RadioError:SS_MODIFIED_TO_USSD
927 * RadioError:SS_MODIFIED_TO_SS
928 * RadioError:INVALID_ARGUMENTS
929 * RadioError:NO_MEMORY
930 * RadioError:MODEM_ERR
931 * RadioError:INTERNAL_ERR
932 * RadioError:SYSTEM_ERR
933 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700934 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700935 * RadioError:NO_RESOURCES
936 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700937 */
938 oneway setBarringPasswordResponse(RadioResponseInfo info);
939
Andreas Huber675ae492017-03-28 14:40:58 -0700940 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800941 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700942 * @param selection false for automatic selection, true for manual selection
943 *
944 * Valid errors returned:
945 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700946 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700947 * RadioError:NO_MEMORY
948 * RadioError:INTERNAL_ERR
949 * RadioError:SYSTEM_ERR
950 * RadioError:INVALID_ARGUMENTS
951 * RadioError:MODEM_ERR
952 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700953 * RadioError:NO_RESOURCES
954 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700955 */
956 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
957
Andreas Huber675ae492017-03-28 14:40:58 -0700958 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800959 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700960 *
961 * Valid errors returned:
962 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700963 * RadioError:RADIO_NOT_AVAILABLE
964 * RadioError:ILLEGAL_SIM_OR_ME
965 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700966 * RadioError:NO_MEMORY
967 * RadioError:INTERNAL_ERR
968 * RadioError:SYSTEM_ERR
969 * RadioError:INVALID_ARGUMENTS
970 * RadioError:MODEM_ERR
971 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700972 * RadioError:NO_RESOURCES
973 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700974 *
975 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
976 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700977 */
978 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
979
Andreas Huber675ae492017-03-28 14:40:58 -0700980 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800981 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700982 *
983 * Valid errors returned:
984 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700985 * RadioError:RADIO_NOT_AVAILABLE
986 * RadioError:ILLEGAL_SIM_OR_ME
987 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700988 * RadioError:INVALID_STATE
989 * RadioError:NO_MEMORY
990 * RadioError:INTERNAL_ERR
991 * RadioError:SYSTEM_ERR
992 * RadioError:INVALID_ARGUMENTS
993 * RadioError:MODEM_ERR
994 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700995 * RadioError:NO_RESOURCES
996 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700997 *
998 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
999 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -07001000 */
1001 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
1002
Andreas Huber675ae492017-03-28 14:40:58 -07001003 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001004 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001005 * @param networkInfos List of network operator information as OperatorInfos defined in
1006 * types.hal
1007 *
1008 * Valid errors returned:
1009 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -07001010 * RadioError:RADIO_NOT_AVAILABLE
1011 * RadioError:OPERATION_NOT_ALLOWED
Jayachandran Cfbb1ea52017-03-13 19:23:52 -07001012 * RadioError:ABORTED
1013 * RadioError:DEVICE_IN_USE
1014 * RadioError:INTERNAL_ERR
1015 * RadioError:NO_MEMORY
1016 * RadioError:MODEM_ERR
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001017 * RadioError:REQUEST_NOT_SUPPORTED
1018 * RadioError:CANCELLED
sqian6381ac42017-06-09 12:10:43 -07001019 * RadioError:NO_RESOURCES
1020 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -07001021 */
1022 oneway getAvailableNetworksResponse(RadioResponseInfo info,
1023 vec<OperatorInfo> networkInfos);
1024
Andreas Huber675ae492017-03-28 14:40:58 -07001025 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001026 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001027 *
1028 * Valid errors returned:
1029 * RadioError:NONE
1030 * RadioError:RADIO_NOT_AVAILABLE
1031 * RadioError:INVALID_ARGUMENTS
1032 * RadioError:NO_RESOURCES
1033 * RadioError:NO_MEMORY
1034 * RadioError:SYSTEM_ERR
1035 * RadioError:MODEM_ERR
1036 * RadioError:INTERNAL_ERR
1037 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001038 * RadioError:SYSTEM_ERR
1039 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001040 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001041 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001042 */
1043 oneway startDtmfResponse(RadioResponseInfo info);
1044
Andreas Huber675ae492017-03-28 14:40:58 -07001045 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001046 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001047 *
1048 * Valid errors returned:
1049 * RadioError:NONE
1050 * RadioError:RADIO_NOT_AVAILABLE
1051 * RadioError:INVALID_ARGUMENTS
1052 * RadioError:NO_RESOURCES
1053 * RadioError:NO_MEMORY
1054 * RadioError:INVALID_ARGUMENTS
1055 * RadioError:SYSTEM_ERR
1056 * RadioError:MODEM_ERR
1057 * RadioError:INTERNAL_ERR
1058 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001059 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001060 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001061 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001062 */
1063 oneway stopDtmfResponse(RadioResponseInfo info);
1064
Andreas Huber675ae492017-03-28 14:40:58 -07001065 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001066 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001067 * @param version string containing version string for log reporting
1068 *
1069 * Valid errors returned:
1070 * RadioError:NONE
1071 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001072 * RadioError:EMPTY_RECORD
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001073 * RadioError:NO_MEMORY
1074 * RadioError:INTERNAL_ERR
1075 * RadioError:SYSTEM_ERR
1076 * RadioError:MODEM_ERR
1077 * RadioError:NOT_PROVISIONED
1078 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001079 * RadioError:NO_RESOURCES
1080 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001081 */
1082 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
1083
Andreas Huber675ae492017-03-28 14:40:58 -07001084 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001085 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001086 *
1087 * Valid errors returned:
1088 * RadioError:NONE
1089 * RadioError:RADIO_NOT_AVAILABLE
1090 * RadioError:INVALID_ARGUMENTS
1091 * RadioError:INVALID_STATE
1092 * RadioError:NO_RESOURCES
1093 * RadioError:NO_MEMORY
1094 * RadioError:MODEM_ERR
1095 * RadioError:SYSTEM_ERR
1096 * RadioError:INTERNAL_ERR
1097 * RadioError:INVALID_CALL_ID
1098 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001099 * RadioError:REQUEST_NOT_SUPPORTED
1100 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001101 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001102 */
1103 oneway separateConnectionResponse(RadioResponseInfo info);
1104
Andreas Huber675ae492017-03-28 14:40:58 -07001105 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001106 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001107 *
1108 * Valid errors returned:
1109 * RadioError:NONE
1110 * RadioError:RADIO_NOT_AVAILABLE
1111 * RadioError:INVALID_ARGUMENTS
1112 * RadioError:NO_MEMORY
1113 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001114 * RadioError:INTERNAL_ERR
1115 * RadioError:SYSTEM_ERR
1116 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001117 * RadioError:NO_RESOURCES
1118 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001119 */
1120 oneway setMuteResponse(RadioResponseInfo info);
1121
Andreas Huber675ae492017-03-28 14:40:58 -07001122 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001123 * @param info Response info struct containing response type, serial no. and error
1124 * @param enable true for "mute enabled" and false for "mute disabled"
Sanket Padawe76372492016-10-27 13:20:49 -07001125 *
1126 * Valid errors returned:
1127 * RadioError:NONE
1128 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001129 * RadioError:SS_MODIFIED_TO_DIAL
1130 * RadioError:SS_MODIFIED_TO_USSD
1131 * RadioError:SS_MODIFIED_TO_SS
1132 * RadioError:NO_MEMORY
1133 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001134 * RadioError:INVALID_ARGUMENTS
1135 * RadioError:INTERNAL_ERR
1136 * RadioError:SYSTEM_ERR
1137 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001138 * RadioError:NO_RESOURCES
1139 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001140 */
1141 oneway getMuteResponse(RadioResponseInfo info, bool enable);
1142
Andreas Huber675ae492017-03-28 14:40:58 -07001143 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001144 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001145 * @param status indicates CLIP status
1146 *
1147 * Valid errors returned:
1148 * RadioError:NONE
1149 * RadioError:RADIO_NOT_AVAILABLE
1150 * RadioError:INVALID_ARGUMENTS
1151 * RadioError:NO_MEMORY
1152 * RadioError:SYSTEM_ERR
1153 * RadioError:MODEM_ERR
1154 * RadioError:INTERNAL_ERR
1155 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -07001156 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001157 * RadioError:NO_RESOURCES
1158 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001159 */
1160 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
1161
Andreas Huber675ae492017-03-28 14:40:58 -07001162 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001163 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001164 * @param dcResponse List of DataCallResult as defined in types.hal
1165 *
1166 * Valid errors returned:
1167 * RadioError:NONE
1168 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001169 * RadioError:INTERNAL_ERR
1170 * RadioError:NO_MEMORY
1171 * RadioError:NO_RESOURCES
1172 * RadioError:CANCELLED
1173 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001174 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001175 */
1176 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
1177
Andreas Huber675ae492017-03-28 14:40:58 -07001178 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001179 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001180 *
1181 * Valid errors returned:
1182 * RadioError:NONE
1183 * RadioError:RADIO_NOT_AVAILABLE
1184 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -07001185 * RadioError:SIM_BUSY
1186 * RadioError:NO_MEMORY
1187 * RadioError:SYSTEM_ERR
1188 * RadioError:MODEM_ERR
1189 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -07001190 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001191 * RadioError:NO_RESOURCES
1192 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001193 */
1194 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
1195
Andreas Huber675ae492017-03-28 14:40:58 -07001196 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001197 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001198 * @param index record index where the message is stored
1199 *
1200 * Valid errors returned:
1201 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001202 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001203 * RadioError:SIM_FULL
1204 * RadioError:INVALID_ARGUMENTS
1205 * RadioError:INVALID_SMS_FORMAT
1206 * RadioError:INTERNAL_ERR
1207 * RadioError:MODEM_ERR
1208 * RadioError:ENCODING_ERR
1209 * RadioError:NO_MEMORY
1210 * RadioError:NO_RESOURCES
1211 * RadioError:INVALID_MODEM_STATE
Naina Nalluri236e8e42017-07-17 11:56:42 -07001212 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -07001213 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001214 * RadioError:RADIO_NOT_AVAILABLE
1215 * RadioError:SYSTEM_ERR
1216 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001217 * RadioError:CANCELLED
1218 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001219 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001220 */
1221 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
1222
Andreas Huber675ae492017-03-28 14:40:58 -07001223 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001224 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001225 *
1226 * Valid errors returned:
1227 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001228 * RadioError:RADIO_NOT_AVAILABLE
1229 * RadioError:SIM_FULL
Sanket Padawe76372492016-10-27 13:20:49 -07001230 * RadioError:INVALID_ARGUMENTS
1231 * RadioError:NO_MEMORY
Sanket Padawe76372492016-10-27 13:20:49 -07001232 * RadioError:SYSTEM_ERR
1233 * RadioError:MODEM_ERR
1234 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001235 * RadioError:INTERNAL_ERR
1236 * RadioError:RADIO_NOT_AVAILABLE
1237 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001238 * RadioError:NO_RESOURCES
1239 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001240 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001241 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001242 */
1243 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1244
Andreas Huber675ae492017-03-28 14:40:58 -07001245 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001246 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001247 *
1248 * Valid errors returned:
1249 * RadioError:NONE
1250 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001251 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001252 * RadioError:NO_MEMORY
1253 * RadioError:INTERNAL_ERR
1254 * RadioError:SYSTEM_ERR
1255 * RadioError:INVALID_ARGUMENTS
1256 * RadioError:MODEM_ERR
1257 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001258 * RadioError:NO_RESOURCES
1259 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001260 */
1261 oneway setBandModeResponse(RadioResponseInfo info);
1262
Andreas Huber675ae492017-03-28 14:40:58 -07001263 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001264 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001265 * @param bandModes List of RadioBandMode listing supported modes
1266 *
1267 * Valid errors returned:
1268 * RadioError:NONE
1269 * RadioError:RADIO_NOT_AVAILABLE
1270 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001271 * RadioError:NO_MEMORY
1272 * RadioError:INTERNAL_ERR
1273 * RadioError:SYSTEM_ERR
1274 * RadioError:MODEM_ERR
1275 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001276 * RadioError:NO_RESOURCES
1277 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001278 */
1279 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1280
Andreas Huber675ae492017-03-28 14:40:58 -07001281 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001282 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001283 * @param commandResponse SAT/USAT response in hexadecimal format
1284 * string starting with first byte of response
1285 *
1286 * Valid errors returned:
1287 * RadioError:NONE
1288 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001289 * RadioError:SIM_BUSY
1290 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001291 * RadioError:INTERNAL_ERR
1292 * RadioError:NO_MEMORY
1293 * RadioError:NO_RESOURCES
1294 * RadioError:CANCELLED
1295 * RadioError:INVALID_ARGUMENTS
1296 * RadioError:MODEM_ERR
1297 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001298 */
1299 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1300
Andreas Huber675ae492017-03-28 14:40:58 -07001301 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001302 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001303 *
1304 * Valid errors returned:
1305 * RadioError:NONE
1306 * RadioError:RADIO_NOT_AVAILABLE
1307 * RadioError:INVALID_ARGUMENTS
1308 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001309 * RadioError:INTERNAL_ERR
1310 * RadioError:NO_MEMORY
1311 * RadioError:NO_RESOURCES
1312 * RadioError:CANCELLED
1313 * RadioError:INVALID_MODEM_STATE
1314 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001315 */
1316 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
Sanket Padawed52335c2016-11-03 16:46:32 -07001317
Andreas Huber675ae492017-03-28 14:40:58 -07001318 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001319 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001320 *
1321 * Valid errors returned:
1322 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001323 * RadioError:RADIO_NOT_AVAILABLE
sqian284c53c2017-05-16 20:29:19 -07001324 * RadioError:NO_MEMORY
1325 * RadioError:INTERNAL_ERR
1326 * RadioError:SYSTEM_ERR
1327 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001328 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07001329 * RadioError:NO_RESOURCES
1330 * RadioError:CANCELLED
1331 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001332 */
1333 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1334
Andreas Huber675ae492017-03-28 14:40:58 -07001335 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001336 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001337 *
1338 * Valid errors returned:
1339 * RadioError:NONE
1340 * RadioError:RADIO_NOT_AVAILABLE
1341 * RadioError:INVALID_ARGUMENTS
1342 * RadioError:INVALID_STATE
1343 * RadioError:NO_RESOURCES
1344 * RadioError:NO_MEMORY
1345 * RadioError:SYSTEM_ERR
1346 * RadioError:MODEM_ERR
1347 * RadioError:INTERNAL_ERR
1348 * RadioError:INVALID_CALL_ID
1349 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001350 * RadioError:REQUEST_NOT_SUPPORTED
1351 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001352 * RadioError:NO_RESOURCES
1353 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001354 */
1355 oneway explicitCallTransferResponse(RadioResponseInfo info);
1356
Andreas Huber675ae492017-03-28 14:40:58 -07001357 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001358 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001359 *
1360 * Valid errors returned:
1361 * RadioError:NONE
1362 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001363 * RadioError:OPERATION_NOT_ALLOWED
1364 * RadioError:MODE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001365 * RadioError:NO_MEMORY
1366 * RadioError:INTERNAL_ERR
1367 * RadioError:SYSTEM_ERR
1368 * RadioError:INVALID_ARGUMENTS
1369 * RadioError:MODEM_ERR
1370 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001371 * RadioError:NO_RESOURCES
1372 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001373 */
1374 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1375
Andreas Huber675ae492017-03-28 14:40:58 -07001376 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001377 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001378 * @param nwType RadioPreferredNetworkType defined in types.hal
1379 *
1380 * Valid errors returned:
1381 * RadioError:NONE
1382 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001383 * RadioError:NO_MEMORY
1384 * RadioError:INTERNAL_ERR
1385 * RadioError:SYSTEM_ERR
1386 * RadioError:INVALID_ARGUMENTS
1387 * RadioError:MODEM_ERR
1388 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001389 * RadioError:NO_RESOURCES
1390 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001391 */
1392 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1393 PreferredNetworkType nwType);
1394
Andreas Huber675ae492017-03-28 14:40:58 -07001395 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001396 * @param info Response info struct containing response type, serial no. and error
1397 * @param cells Vector of neighboring radio cell
Sanket Padawed52335c2016-11-03 16:46:32 -07001398 *
1399 * Valid errors returned:
1400 * RadioError:NONE
1401 * RadioError:RADIO_NOT_AVAILABLE
1402 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001403 * RadioError:NO_MEMORY
1404 * RadioError:INTERNAL_ERR
1405 * RadioError:SYSTEM_ERR
1406 * RadioError:MODEM_ERR
1407 * RadioError:NO_NETWORK_FOUND
1408 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001409 * RadioError:NO_RESOURCES
1410 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001411 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001412 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
Sanket Padawed52335c2016-11-03 16:46:32 -07001413
Andreas Huber675ae492017-03-28 14:40:58 -07001414 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001415 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001416 *
1417 * Valid errors returned:
1418 * RadioError:NONE
1419 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001420 * RadioError:NO_MEMORY
1421 * RadioError:INTERNAL_ERR
1422 * RadioError:SYSTEM_ERR
1423 * RadioError:INVALID_ARGUMENTS
1424 * RadioError:MODEM_ERR
1425 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001426 * RadioError:NO_RESOURCES
1427 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001428 */
1429 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1430
Andreas Huber675ae492017-03-28 14:40:58 -07001431 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001432 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001433 *
1434 * Valid errors returned:
1435 * RadioError:NONE
1436 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001437 * RadioError:SIM_ABSENT
1438 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001439 * RadioError:INTERNAL_ERR
1440 * RadioError:NO_MEMORY
1441 * RadioError:NO_RESOURCES
1442 * RadioError:CANCELLED
1443 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001444 */
1445 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1446
Andreas Huber675ae492017-03-28 14:40:58 -07001447 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001448 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001449 *
1450 * Valid errors returned:
1451 * RadioError:NONE
1452 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001453 * RadioError:NO_MEMORY
1454 * RadioError:INTERNAL_ERR
1455 * RadioError:SYSTEM_ERR
1456 * RadioError:INVALID_ARGUMENTS
1457 * RadioError:MODEM_ERR
1458 * RadioError:REQUEST_NOT_SUPPORTED
1459 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001460 * RadioError:NO_RESOURCES
1461 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001462 */
1463 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1464
Andreas Huber675ae492017-03-28 14:40:58 -07001465 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001466 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001467 * @param type CdmaRoamingType defined in types.hal
1468 *
1469 * Valid errors returned:
1470 * RadioError:NONE
1471 * RadioError:RADIO_NOT_AVAILABLE
1472 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001473 * RadioError:NO_MEMORY
1474 * RadioError:INTERNAL_ERR
1475 * RadioError:SYSTEM_ERR
1476 * RadioError:MODEM_ERR
1477 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001478 * RadioError:NO_RESOURCES
1479 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001480 */
1481 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1482
Andreas Huber675ae492017-03-28 14:40:58 -07001483 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001484 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001485 *
1486 * Valid errors returned:
1487 * RadioError:NONE
1488 * RadioError:RADIO_NOT_AVAILABLE
1489 * RadioError:INVALID_ARGUMENTS
1490 * RadioError:MODEM_ERR
1491 * RadioError:INTERNAL_ERR
1492 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001493 * RadioError:SYSTEM_ERR
1494 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001495 * RadioError:NO_RESOURCES
1496 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001497 */
1498 oneway setTTYModeResponse(RadioResponseInfo info);
1499
Andreas Huber675ae492017-03-28 14:40:58 -07001500 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001501 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001502 * @param mode TtyMode
1503 *
1504 * Valid errors returned:
1505 * RadioError:NONE
1506 * RadioError:RADIO_NOT_AVAILABLE
1507 * RadioError:INVALID_ARGUMENTS
1508 * RadioError:MODEM_ERR
1509 * RadioError:INTERNAL_ERR
1510 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001511 * RadioError:SYSTEM_ERR
1512 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001513 * RadioError:NO_RESOURCES
1514 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001515 */
1516 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1517
Andreas Huber675ae492017-03-28 14:40:58 -07001518 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001519 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001520 *
1521 * Valid errors returned:
1522 * RadioError:NONE
1523 * RadioError:RADIO_NOT_AVAILABLE
1524 * RadioError:INVALID_ARGUMENTS
1525 * RadioError:MODEM_ERR
1526 * RadioError:INTERNAL_ERR
1527 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001528 * RadioError:SYSTEM_ERR
1529 * RadioError:REQUEST_NOT_SUPPORTED
1530 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -07001531 * RadioError:NO_RESOURCES
1532 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001533 */
1534 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1535
Andreas Huber675ae492017-03-28 14:40:58 -07001536 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001537 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001538 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1539 * true for Enhanced Privacy Mode (Private Long Code Mask)
1540 *
1541 * Valid errors:
1542 * RadioError:NONE
1543 * RadioError:RADIO_NOT_AVAILABLE
1544 * RadioError:INVALID_ARGUMENTS
1545 * RadioError:MODEM_ERR
1546 * RadioError:INTERNAL_ERR
1547 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001548 * RadioError:SYSTEM_ERR
1549 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001550 * RadioError:NO_RESOURCES
1551 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001552 */
1553 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1554
Andreas Huber675ae492017-03-28 14:40:58 -07001555 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07001556 * Response callback for IRadio.sendCDMAFeatureCode()
1557 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001558 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001559 *
1560 * Valid errors returned:
1561 * RadioError:NONE
1562 * RadioError:RADIO_NOT_AVAILABLE
1563 * RadioError:INVALID_ARGUMENTS
1564 * RadioError:NO_MEMORY
1565 * RadioError:INTERNAL_ERR
1566 * RadioError:SYSTEM_ERR
1567 * RadioError:MODEM_ERR
1568 * RadioError:INVALID_CALL_ID
1569 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001570 * RadioError:REQUEST_NOT_SUPPORTED
1571 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001572 * RadioError:NO_RESOURCES
1573 * RadioError:CANCELLED
Naina Nalluri236e8e42017-07-17 11:56:42 -07001574 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001575 */
1576 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1577
Andreas Huber675ae492017-03-28 14:40:58 -07001578 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001579 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001580 *
1581 * Valid errors returned:
1582 * RadioError:NONE
1583 * RadioError:RADIO_NOT_AVAILABLE
1584 * RadioError:INVALID_ARGUMENTS
1585 * RadioError:NO_MEMORY
1586 * RadioError:INTERNAL_ERR
1587 * RadioError:SYSTEM_ERR
1588 * RadioError:MODEM_ERR
1589 * RadioError:INVALID_CALL_ID
1590 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001591 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001592 * RadioError:NO_RESOURCES
1593 * RadioError:CANCELLED
1594 * RadioError:INVALID_MODEM_STATE
Naina Nalluri236e8e42017-07-17 11:56:42 -07001595 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001596 */
1597 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1598
Andreas Huber675ae492017-03-28 14:40:58 -07001599 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001600 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001601 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1602 *
1603 * Valid errors returned:
1604 * RadioError:NONE
1605 * RadioError:RADIO_NOT_AVAILABLE
1606 * RadioError:INVALID_ARGUMENTS
1607 * RadioError:SMS_SEND_FAIL_RETRY
1608 * RadioError:NETWORK_REJECT
1609 * RadioError:INVALID_STATE
1610 * RadioError:NO_MEMORY
1611 * RadioError:REQUEST_RATE_LIMITED
1612 * RadioError:INVALID_SMS_FORMAT
1613 * RadioError:SYSTEM_ERR
1614 * RadioError:FDN_CHECK_FAILURE
1615 * RadioError:MODEM_ERR
1616 * RadioError:NETWORK_ERR
1617 * RadioError:ENCODING_ERR
1618 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001619 * RadioError:INTERNAL_ERR
1620 * RadioError:SYSTEM_ERR
1621 * RadioError:REQUEST_NOT_SUPPORTED
1622 * RadioError:OPERATION_NOT_ALLOWED
1623 * RadioError:ENCODING_ERR
sqian6381ac42017-06-09 12:10:43 -07001624 * RadioError:NO_RESOURCES
1625 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001626 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001627 */
1628 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1629
Andreas Huber675ae492017-03-28 14:40:58 -07001630 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001631 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001632 *
1633 * Valid errors returned:
1634 * RadioError:NONE
1635 * RadioError:RADIO_NOT_AVAILABLE
1636 * RadioError:INVALID_ARGUMENTS
1637 * RadioError:NO_SMS_TO_ACK
1638 * RadioError:INVALID_STATE
1639 * RadioError:NO_MEMORY
1640 * RadioError:REQUEST_RATE_LIMITED
1641 * RadioError:SYSTEM_ERR
1642 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001643 * RadioError:NETWORK_NOT_READY
1644 * RadioError:INVALID_MODEM_STATE
sqian159ec7f2017-04-25 18:00:34 -07001645 * RadioError:INTERNAL_ERR
1646 * RadioError:REQUEST_NOT_SUPPORTED
1647 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001648 * RadioError:NO_RESOURCES
1649 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001650 */
1651 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1652
Andreas Huber675ae492017-03-28 14:40:58 -07001653 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001654 * @param info Response info struct containing response type, serial no. and error
1655 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001656 *
1657 * Valid errors returned:
1658 * RadioError:NONE
1659 * RadioError:RADIO_NOT_AVAILABLE
1660 * RadioError:INVALID_ARGUMENTS
1661 * RadioError:INVALID_STATE
1662 * RadioError:NO_MEMORY
1663 * RadioError:REQUEST_RATE_LIMITED
1664 * RadioError:SYSTEM_ERR
1665 * RadioError:MODEM_ERR
1666 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001667 * RadioError:INTERNAL_ERR
1668 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001669 * RadioError:NO_RESOURCES
1670 * RadioError:CANCELLED
1671 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001672 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001673 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1674 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001675
Andreas Huber675ae492017-03-28 14:40:58 -07001676 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001677 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001678 *
1679 * Valid errors returned:
1680 * RadioError:NONE
1681 * RadioError:RADIO_NOT_AVAILABLE
1682 * RadioError:INVALID_ARGUMENTS
1683 * RadioError:INVALID_STATE
1684 * RadioError:NO_MEMORY
1685 * RadioError:REQUEST_RATE_LIMITED
1686 * RadioError:SYSTEM_ERR
1687 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001688 * RadioError:INTERNAL_ERR
1689 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001690 * RadioError:NO_RESOURCES
1691 * RadioError:CANCELLED
1692 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001693 */
1694 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1695
Andreas Huber675ae492017-03-28 14:40:58 -07001696 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001697 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001698 *
1699 * Valid errors returned:
1700 * RadioError:NONE
1701 * RadioError:RADIO_NOT_AVAILABLE
1702 * RadioError:INVALID_ARGUMENTS
1703 * RadioError:INVALID_STATE
1704 * RadioError:NO_MEMORY
1705 * RadioError:REQUEST_RATE_LIMITED
1706 * RadioError:SYSTEM_ERR
1707 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001708 * RadioError:INTERNAL_ERR
1709 * RadioError:REQUEST_NOT_SUPPORTED
1710 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001711 * RadioError:NO_RESOURCES
1712 * RadioError:CANCELLED
1713 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001714 */
1715 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1716
Andreas Huber675ae492017-03-28 14:40:58 -07001717 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001718 * @param info Response info struct containing response type, serial no. and error
1719 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001720 *
1721 * Valid errors returned:
1722 * RadioError:NONE
1723 * RadioError:RADIO_NOT_AVAILABLE
1724 * RadioError:INVALID_ARGUMENTS
1725 * RadioError:INVALID_STATE
1726 * RadioError:NO_MEMORY
1727 * RadioError:REQUEST_RATE_LIMITED
1728 * RadioError:SYSTEM_ERR
1729 * RadioError:MODEM_ERR
1730 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001731 * RadioError:INTERNAL_ERR
1732 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001733 * RadioError:NO_RESOURCES
1734 * RadioError:CANCELLED
1735 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001736 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001737 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1738 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001739
Andreas Huber675ae492017-03-28 14:40:58 -07001740 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001741 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001742 *
1743 * Valid errors returned:
1744 * RadioError:NONE
1745 * RadioError:RADIO_NOT_AVAILABLE
1746 * RadioError:INVALID_ARGUMENTS
1747 * RadioError:INVALID_STATE
1748 * RadioError:NO_MEMORY
1749 * RadioError:REQUEST_RATE_LIMITED
1750 * RadioError:SYSTEM_ERR
1751 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001752 * RadioError:INTERNAL_ERR
1753 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001754 * RadioError:NO_RESOURCES
1755 * RadioError:CANCELLED
1756 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001757 */
1758 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1759
Andreas Huber675ae492017-03-28 14:40:58 -07001760 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001761 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001762 *
1763 * Valid errors returned:
1764 * RadioError:NONE
1765 * RadioError:RADIO_NOT_AVAILABLE
1766 * RadioError:INVALID_ARGUMENTS
1767 * RadioError:INVALID_STATE
1768 * RadioError:NO_MEMORY
1769 * RadioError:REQUEST_RATE_LIMITED
1770 * RadioError:SYSTEM_ERR
1771 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001772 * RadioError:INTERNAL_ERR
1773 * RadioError:REQUEST_NOT_SUPPORTED
1774 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001775 * RadioError:NO_RESOURCES
1776 * RadioError:CANCELLED
1777 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001778 */
1779 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1780
Andreas Huber675ae492017-03-28 14:40:58 -07001781 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001782 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001783 * @param mdn MDN if CDMA subscription is available
1784 * @param hSid is a comma separated list of H_SID (Home SID) if
1785 * CDMA subscription is available, in decimal format
1786 * @param hNid is a comma separated list of H_NID (Home NID) if
1787 * CDMA subscription is available, in decimal format
1788 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1789 * @param prl PRL version if CDMA subscription is available
1790 *
1791 * Valid errors returned:
1792 * RadioError:NONE
1793 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001794 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001795 * RadioError:NO_MEMORY
1796 * RadioError:INTERNAL_ERR
1797 * RadioError:SYSTEM_ERR
1798 * RadioError:INVALID_ARGUMENTS
1799 * RadioError:MODEM_ERR
1800 * RadioError:NOT_PROVISIONED
1801 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001802 * RadioError:NO_RESOURCES
1803 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001804 */
1805 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1806 string hNid, string min, string prl);
1807
Andreas Huber675ae492017-03-28 14:40:58 -07001808 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001809 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001810 * @param index record index where the cmda sms message is stored
1811 *
1812 * Valid errors returned:
1813 * RadioError:NONE
1814 * RadioError:RADIO_NOT_AVAILABLE
1815 * RadioError:INVALID_ARGUMENTS
1816 * RadioError:INVALID_SMS_FORMAT
1817 * RadioError:SIM_FULL
1818 * RadioError:INTERNAL_ERR
1819 * RadioError:MODEM_ERR
1820 * RadioError:ENCODING_ERR
1821 * RadioError:NO_MEMORY
1822 * RadioError:NO_RESOURCES
1823 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001824 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001825 * RadioError:SYSTEM_ERR
1826 * RadioError:REQUEST_NOT_SUPPORTED
1827 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001828 * RadioError:NO_RESOURCES
1829 * RadioError:CANCELLED
1830 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001831 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001832 */
1833 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1834
Andreas Huber675ae492017-03-28 14:40:58 -07001835 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001836 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001837 *
1838 * Valid errors returned:
1839 * RadioError:NONE
1840 * RadioError:RADIO_NOT_AVAILABLE
1841 * RadioError:INVALID_ARGUMENTS
1842 * RadioError:NO_MEMORY
Sanket Padawed52335c2016-11-03 16:46:32 -07001843 * RadioError:SYSTEM_ERR
1844 * RadioError:MODEM_ERR
1845 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001846 * RadioError:INTERNAL_ERR
1847 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001848 * RadioError:OPERATION_NOT_ALLOWED
1849 * RadioError:NO_RESOURCES
1850 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001851 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001852 * RadioError:OPERATION_NOT_ALLOWED
1853 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001854 */
1855 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1856
Andreas Huber675ae492017-03-28 14:40:58 -07001857 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001858 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001859 * @param imei IMEI if GSM subscription is available
1860 * @param imeisv IMEISV if GSM subscription is available
1861 * @param esn ESN if CDMA subscription is available
1862 * @param meid MEID if CDMA subscription is available
1863 *
1864 * Valid errors returned:
1865 * RadioError:NONE
1866 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001867 * RadioError:NO_MEMORY
1868 * RadioError:INTERNAL_ERR
1869 * RadioError:SYSTEM_ERR
1870 * RadioError:INVALID_ARGUMENTS
1871 * RadioError:MODEM_ERR
1872 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07001873 * RadioError:NO_RESOURCES
1874 * RadioError:CANCELLED
1875 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001876 *
1877 * If a empty string value is returned for any of the device id, it means that there was error
1878 * accessing the device.
1879 *
1880 */
1881 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1882 string esn, string meid);
1883
Andreas Huber675ae492017-03-28 14:40:58 -07001884 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001885 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001886 *
1887 * Valid errors returned:
1888 * RadioError:NONE
1889 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001890 * RadioError:OPERATION_NO_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001891 * RadioError:INTERNAL_ERR
1892 * RadioError:NO_MEMORY
1893 * RadioError:SYSTEM_ERR
1894 * RadioError:INVALID_ARGUMENTS
1895 * RadioError:MODEM_ERR
1896 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001897 * RadioError:NO_RESOURCES
1898 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001899 */
1900 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1901
Andreas Huber675ae492017-03-28 14:40:58 -07001902 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001903 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001904 * @param smsc Short Message Service Center address on the device
1905 *
1906 * Valid errors returned:
1907 * RadioError:NONE
1908 * RadioError:RADIO_NOT_AVAILABLE
1909 * RadioError:INVALID_ARGUMENTS
1910 * RadioError:INTERNAL_ERR
1911 * RadioError:NO_MEMORY
1912 * RadioError:SYSTEM_ERR
1913 * RadioError:REQUEST_RATE_LIMITED
1914 * RadioError:MODEM_ERR
1915 * RadioError:INVALID_MODEM_STATE
1916 * RadioError:NOT_PROVISIONED
sqian159ec7f2017-04-25 18:00:34 -07001917 * RadioError:REQUEST_NOT_SUPPORTED
1918 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001919 * RadioError:NO_RESOURCES
1920 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001921 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001922 */
1923 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1924
Andreas Huber675ae492017-03-28 14:40:58 -07001925 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001926 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001927 *
1928 * Valid errors returned:
1929 * RadioError:NONE
1930 * RadioError:RADIO_NOT_AVAILABLE
1931 * RadioError:INVALID_ARGUMENTS
1932 * RadioError:INVALID_SMS_FORMAT
1933 * RadioError:NO_MEMORY
1934 * RadioError:SYSTEM_ERR
1935 * RadioError:REQUEST_RATE_LIMITED
1936 * RadioError:MODEM_ERR
1937 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001938 * RadioError:INTERNAL_ERR
1939 * RadioError:REQUEST_NOT_SUPPORTED
1940 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001941 * RadioError:NO_RESOURCES
1942 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001943 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001944 */
1945 oneway setSmscAddressResponse(RadioResponseInfo info);
1946
Andreas Huber675ae492017-03-28 14:40:58 -07001947 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001948 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001949 *
1950 * Valid errors returned:
1951 * RadioError:NONE
1952 * RadioError:RADIO_NOT_AVAILABLE
1953 * RadioError:INVALID_ARGUMENTS
1954 * RadioError:NO_MEMORY
1955 * RadioError:SYSTEM_ERR
1956 * RadioError:REQUEST_RATE_LIMITED
1957 * RadioError:MODEM_ERR
1958 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001959 * RadioError:INTERNAL_ERR
1960 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001961 * RadioError:NO_RESOURCES
1962 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001963 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001964 */
1965 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1966
Andreas Huber675ae492017-03-28 14:40:58 -07001967 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001968 * @param info Response info struct containing response type, serial no. and error
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001969 *
1970 * Valid errors returned:
1971 * RadioError:NONE
1972 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001973 * RadioError:INTERNAL_ERR
1974 * RadioError:NO_MEMORY
1975 * RadioError:NO_RESOURCES
1976 * RadioError:CANCELLED
1977 * RadioError:REQUEST_NOT_SUPPORTED
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001978 */
1979 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1980
Andreas Huber675ae492017-03-28 14:40:58 -07001981 /**
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001982 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001983 * @param source CDMA subscription source
1984 *
1985 * Valid errors returned:
1986 * RadioError:NONE
1987 * RadioError:RADIO_NOT_AVAILABLE
1988 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001989 * RadioError:INTERNAL_ERR
1990 * RadioError:NO_MEMORY
1991 * RadioError:NO_RESOURCES
1992 * RadioError:CANCELLED
1993 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001994 */
1995 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1996
Andreas Huber675ae492017-03-28 14:40:58 -07001997 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001998 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001999 * @param response response string of the challenge/response algo for ISIM auth in base64 format
2000 *
2001 * Valid errors returned:
2002 * RadioError:NONE
2003 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002004 * RadioError:INTERNAL_ERR
2005 * RadioError:NO_MEMORY
2006 * RadioError:NO_RESOURCES
2007 * RadioError:CANCELLED
2008 * RadioError:INVALID_MODEM_STATE
2009 * RadioError:INVALID_ARGUMENTS
2010 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002011 */
2012 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
2013
Andreas Huber675ae492017-03-28 14:40:58 -07002014 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002015 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002016 *
2017 * Valid errors returned:
2018 * RadioError:NONE
2019 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002020 * RadioError:INTERNAL_ERR
2021 * RadioError:NO_MEMORY
2022 * RadioError:NO_RESOURCES
2023 * RadioError:CANCELLED
2024 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002025 */
2026 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
2027
Andreas Huber675ae492017-03-28 14:40:58 -07002028 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002029 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002030 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
2031 *
2032 * Valid errors returned:
2033 * RadioError:NONE
2034 * RadioError:RADIO_NOT_AVAILABLE
2035 * RadioError:SIM_BUSY
2036 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07002037 * RadioError:INTERNAL_ERR
2038 * RadioError:NO_MEMORY
2039 * RadioError:NO_RESOURCES
2040 * RadioError:CANCELLED
2041 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002042 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002043 */
2044 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
2045
Andreas Huber675ae492017-03-28 14:40:58 -07002046 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002047 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002048 * @param rat Current voice RAT
2049 *
2050 * Valid errors returned:
2051 * RadioError:NONE
2052 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002053 * RadioError:INTERNAL_ERR
2054 * RadioError:NO_MEMORY
2055 * RadioError:NO_RESOURCES
2056 * RadioError:CANCELLED
2057 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002058 */
2059 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
2060
Andreas Huber675ae492017-03-28 14:40:58 -07002061 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002062 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002063 * @param cellInfo List of current cell information known to radio
2064 *
2065 * Valid errors returned:
2066 * RadioError:NONE
2067 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002068 * RadioError:NO_MEMORY
2069 * RadioError:INTERNAL_ERR
2070 * RadioError:SYSTEM_ERR
2071 * RadioError:MODEM_ERR
2072 * RadioError:NO_NETWORK_FOUND
2073 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002074 * RadioError:NO_RESOURCES
2075 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002076 */
2077 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
2078
Andreas Huber675ae492017-03-28 14:40:58 -07002079 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002080 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002081 *
2082 * Valid errors returned:
2083 * RadioError:NONE
2084 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002085 * RadioError:NO_MEMORY
2086 * RadioError:INTERNAL_ERR
2087 * RadioError:SYSTEM_ERR
2088 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002089 * RadioError:NO_RESOURCES
2090 * RadioError:CANCELLED
2091 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002092 */
2093 oneway setCellInfoListRateResponse(RadioResponseInfo info);
2094
Andreas Huber675ae492017-03-28 14:40:58 -07002095 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002096 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002097 *
2098 * Valid errors returned:
2099 * RadioError:NONE
2100 * RadioError:RADIO_NOT_AVAILABLE
2101 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002102 * RadioError:NO_MEMORY
2103 * RadioError:INTERNAL_ERR
2104 * RadioError:SYSTEM_ERR
2105 * RadioError:MODEM_ERR
2106 * RadioError:INVALID_ARGUMENTS
2107 * RadioError:NOT_PROVISIONED
2108 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002109 * RadioError:NO_RESOURCES
2110 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002111 */
2112 oneway setInitialAttachApnResponse(RadioResponseInfo info);
2113
Andreas Huber675ae492017-03-28 14:40:58 -07002114 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002115 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002116 * @param isRegistered false = not registered, true = registered
2117 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
2118 * isRegistered is true.
2119 *
2120 * Valid errors returned:
2121 * RadioError:NONE
2122 * RadioError:RADIO_NOT_AVAILABLE
sqian08e90552017-06-01 12:39:22 -07002123 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002124 * RadioError:NO_MEMORY
2125 * RadioError:NO_RESOURCES
2126 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07002127 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002128 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002129 */
2130 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
2131 RadioTechnologyFamily ratFamily);
2132
Andreas Huber675ae492017-03-28 14:40:58 -07002133 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002134 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002135 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
2136 *
2137 * Valid errors returned:
2138 * RadioError:NONE
2139 * RadioError:RADIO_NOT_AVAILABLE
2140 * RadioError:SMS_SEND_FAIL_RETRY
2141 * RadioError:FDN_CHECK_FAILURE
2142 * RadioError:NETWORK_REJECT
2143 * RadioError:INVALID_ARGUMENTS
2144 * RadioError:INVALID_STATE
2145 * RadioError:NO_MEMORY
2146 * RadioError:INVALID_SMS_FORMAT
2147 * RadioError:SYSTEM_ERR
2148 * RadioError:REQUEST_RATE_LIMITED
2149 * RadioError:MODEM_ERR
2150 * RadioError:NETWORK_ERR
2151 * RadioError:ENCODING_ERR
Naina Nalluri236e8e42017-07-17 11:56:42 -07002152 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07002153 * RadioError:INTERNAL_ERR
2154 * RadioError:REQUEST_NOT_SUPPORTED
2155 * RadioError:NETWORK_NOT_READY
sqian6381ac42017-06-09 12:10:43 -07002156 * RadioError:NO_RESOURCES
2157 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002158 */
2159 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
2160
Andreas Huber675ae492017-03-28 14:40:58 -07002161 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002162 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002163 * @param result IccIoResult as defined in types.hal
2164 *
2165 * Valid errors returned:
2166 * RadioError:NONE
2167 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002168 * RadioError:INTERNAL_ERR
2169 * RadioError:NO_MEMORY
2170 * RadioError:NO_RESOURCES
2171 * RadioError:CANCELLED
2172 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002173 */
2174 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
2175
Andreas Huber675ae492017-03-28 14:40:58 -07002176 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002177 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002178 * @param channelId session id of the logical channel.
2179 * @param selectResponse Contains the select response for the open channel command with one
2180 * byte per integer
2181 *
2182 * Valid errors returned:
2183 * RadioError:NONE
2184 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07002185 * RadioError:MISSING_RESOURCE
2186 * RadioError:NO_SUCH_ELEMENT
sqian6381ac42017-06-09 12:10:43 -07002187 * RadioError:INTERNAL_ERR
2188 * RadioError:NO_MEMORY
2189 * RadioError:NO_RESOURCES
2190 * RadioError:CANCELLED
2191 * RadioError:SIM_ERR
2192 * RadioError:INVALID_SIM_STATE
2193 * RadioError:MISSING_RESOURCE
2194 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002195 */
2196 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
2197 vec<int8_t> selectResponse);
2198
Andreas Huber675ae492017-03-28 14:40:58 -07002199 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002200 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002201 *
2202 * Valid errors returned:
2203 * RadioError:NONE
2204 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002205 * RadioError:INTERNAL_ERR
2206 * RadioError:NO_MEMORY
2207 * RadioError:NO_RESOURCES
2208 * RadioError:CANCELLED
2209 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002210 */
2211 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
2212
Andreas Huber675ae492017-03-28 14:40:58 -07002213 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002214 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002215 * @param result IccIoResult as defined in types.hal
2216 *
2217 * Valid errors returned:
2218 * RadioError:NONE
2219 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002220 * RadioError:INTERNAL_ERR
2221 * RadioError:NO_MEMORY
2222 * RadioError:NO_RESOURCES
2223 * RadioError:CANCELLED
2224 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002225 */
2226 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
2227
Andreas Huber675ae492017-03-28 14:40:58 -07002228 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002229 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002230 * @param result string containing the contents of the NV item
2231 *
2232 * Valid errors returned:
2233 * RadioError:NONE
2234 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002235 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002236 */
2237 oneway nvReadItemResponse(RadioResponseInfo info, string result);
2238
Andreas Huber675ae492017-03-28 14:40:58 -07002239 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002240 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002241 *
2242 * Valid errors returned:
2243 * RadioError:NONE
2244 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002245 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002246 */
2247 oneway nvWriteItemResponse(RadioResponseInfo info);
2248
Andreas Huber675ae492017-03-28 14:40:58 -07002249 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002250 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002251 *
2252 * Valid errors returned:
2253 * RadioError:NONE
2254 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002255 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002256 */
2257 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
2258
Andreas Huber675ae492017-03-28 14:40:58 -07002259 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002260 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002261 *
2262 * Valid errors returned:
2263 * RadioError:NONE
2264 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002265 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002266 */
2267 oneway nvResetConfigResponse(RadioResponseInfo info);
2268
Andreas Huber675ae492017-03-28 14:40:58 -07002269 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002270 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002271 *
2272 * Valid errors returned:
2273 * RadioError:NONE
2274 * RadioError:RADIO_NOT_AVAILABLE
2275 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002276 * RadioError:NO_MEMORY
2277 * RadioError:INTERNAL_ERR
2278 * RadioError:SYSTEM_ERR
2279 * RadioError:MODEM_ERR
2280 * RadioError:INVALID_ARGUMENTS
2281 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002282 * RadioError:NO_RESOURCES
2283 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002284 */
2285 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
2286
Andreas Huber675ae492017-03-28 14:40:58 -07002287 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002288 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002289 *
2290 * Valid errors returned:
2291 * RadioError:NONE
2292 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002293 * RadioError:NO_MEMORY
2294 * RadioError:INTERNAL_ERR
2295 * RadioError:SYSTEM_ERR
2296 * RadioError:MODEM_ERR
2297 * RadioError:INVALID_ARGUMENTS
2298 * RadioError:DEVICE_IN_USE
2299 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002300 * RadioError:NO_RESOURCES
2301 * RadioError:CANCELLED
2302 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002303 */
2304 oneway setDataAllowedResponse(RadioResponseInfo info);
2305
Andreas Huber675ae492017-03-28 14:40:58 -07002306 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002307 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002308 * @param config Array of HardwareConfig of the radio.
2309 *
2310 * Valid errors returned:
2311 * RadioError:NONE
2312 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002313 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002314 */
2315 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
2316
Andreas Huber675ae492017-03-28 14:40:58 -07002317 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002318 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002319 * @param result IccIoResult as defined in types.hal
2320 *
2321 * Valid errors returned:
2322 * RadioError:NONE
2323 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002324 * RadioError:INTERNAL_ERR
2325 * RadioError:NO_MEMORY
2326 * RadioError:NO_RESOURCES
2327 * RadioError:CANCELLED
2328 * RadioError:INVALID_MODEM_STATE
2329 * RadioError:SIM_ERR
2330 * RadioError:INVALID_ARGUMENTS
2331 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002332 */
2333 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
2334
Andreas Huber675ae492017-03-28 14:40:58 -07002335 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002336 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002337 *
2338 * Valid errors returned:
2339 * RadioError:NONE
2340 * RadioError:RADIO_NOT_AVAILABLE
2341 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002342 * RadioError:INTERNAL_ERR
2343 * RadioError:NO_MEMORY
2344 * RadioError:NO_RESOURCES
2345 * RadioError:CANCELLED
2346 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002347 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002348 */
2349 oneway setDataProfileResponse(RadioResponseInfo info);
2350
Andreas Huber675ae492017-03-28 14:40:58 -07002351 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002352 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002353 *
2354 * Valid errors returned:
2355 * RadioError:NONE
2356 * RadioError:RADIO_NOT_AVAILABLE
2357 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002358 * RadioError:NO_MEMORY
2359 * RadioError:INTERNAL_ERR
2360 * RadioError:SYSTEM_ERR
2361 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002362 * RadioError:NO_RESOURCES
2363 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002364 */
2365 oneway requestShutdownResponse(RadioResponseInfo info);
2366
Andreas Huber675ae492017-03-28 14:40:58 -07002367 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002368 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002369 * @param rc Radio capability as defined by RadioCapability in types.hal
2370 *
2371 * Valid errors returned:
2372 * RadioError:NONE
2373 * RadioError:RADIO_NOT_AVAILABLE
2374 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002375 * RadioError:INVALID_STATE
2376 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002377 * RadioError:INTERNAL_ERR
2378 * RadioError:NO_MEMORY
2379 * RadioError:NO_RESOURCES
2380 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002381 */
2382 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2383
Andreas Huber675ae492017-03-28 14:40:58 -07002384 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002385 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002386 * @param rc Radio capability as defined by RadioCapability in types.hal used to
2387 * feedback return status
2388 *
2389 * Valid errors returned:
2390 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
2391 * RadioError:RADIO_NOT_AVAILABLE
2392 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002393 * RadioError:NO_MEMORY
2394 * RadioError:INTERNAL_ERR
2395 * RadioError:SYSTEM_ERR
2396 * RadioError:INVALID_ARGUMENTS
2397 * RadioError:MODEM_ERR
2398 * RadioError:INVALID_STATE
2399 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002400 * RadioError:NO_RESOURCES
2401 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002402 */
2403 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2404
Andreas Huber675ae492017-03-28 14:40:58 -07002405 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002406 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002407 * @param statusInfo LceStatusInfo indicating LCE status
2408 *
2409 * Valid errors returned:
2410 * RadioError:NONE
2411 * RadioError:RADIO_NOT_AVAILABLE
2412 * RadioError:LCE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002413 * RadioError:INTERNAL_ERR
2414 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002415 * RadioError:NO_MEMORY
2416 * RadioError:NO_RESOURCES
2417 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002418 */
2419 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2420
Andreas Huber675ae492017-03-28 14:40:58 -07002421 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002422 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002423 * @param statusInfo LceStatusInfo indicating LCE status
2424 *
2425 * Valid errors returned:
2426 * RadioError:NONE
2427 * RadioError:RADIO_NOT_AVAILABLE
2428 * RadioError:LCE_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002429 * RadioError:INTERNAL_ERR
2430 * RadioError:NO_MEMORY
2431 * RadioError:NO_RESOURCES
2432 * RadioError:CANCELLED
2433 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002434 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002435 */
2436 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2437
Andreas Huber675ae492017-03-28 14:40:58 -07002438 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002439 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002440 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
2441 *
2442 * Valid errors returned:
2443 * RadioError:NONE
2444 * RadioError:RADIO_NOT_AVAILABLE
2445 * RadioError:LCE_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07002446 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002447 * RadioError:NO_MEMORY
2448 * RadioError:NO_RESOURCES
2449 * RadioError:CANCELLED
2450 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002451 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002452 */
2453 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
2454
Andreas Huber675ae492017-03-28 14:40:58 -07002455 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002456 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002457 * @param activityInfo modem activity information
2458 *
2459 * Valid errors returned:
2460 * RadioError:NONE
2461 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002462 * RadioError:NO_MEMORY
2463 * RadioError:INTERNAL_ERR
2464 * RadioError:SYSTEM_ERR
2465 * RadioError:MODEM_ERR
2466 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07002467 * RadioError:NO_RESOURCES
2468 * RadioError:CANCELLED
2469 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002470 */
2471 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
2472
Andreas Huber675ae492017-03-28 14:40:58 -07002473 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002474 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002475 * @param numAllowed number of allowed carriers which have been set correctly.
2476 * On success, it must match the length of list Carriers->allowedCarriers.
2477 * if Length of allowed carriers list is 0, numAllowed = 0.
2478 *
2479 * Valid errors returned:
2480 * RadioError:NONE
2481 * RadioError:RADIO_NOT_AVAILABLE
2482 * RadioError:INVALID_ARGUMENTS
2483 * RadioError:REQUEST_NOT_SUPPORTED
2484 */
2485 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
2486
Andreas Huber675ae492017-03-28 14:40:58 -07002487 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07002488 * Expected modem behavior:
2489 * Return list of allowed carriers, and if all carriers are allowed.
2490 *
Sanket Padawe865834e2016-12-28 16:04:10 -08002491 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002492 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
2493 * If false, consider "carriers" struct
2494 * @param carriers Carrier restriction information.
2495 *
2496 * Valid errors returned:
2497 * RadioError:NONE
2498 * RadioError:RADIO_NOT_AVAILABLE
2499 * RadioError:REQUEST_NOT_SUPPORTED
2500 */
2501 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
2502 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002503
Andreas Huber675ae492017-03-28 14:40:58 -07002504 /**
Jack Yued7ef812017-01-24 11:56:52 -08002505 * @param info Response info struct containing response type, serial no. and error
2506 *
2507 * Valid errors returned:
2508 * RadioError:NONE
2509 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002510 * RadioError:NO_MEMORY
2511 * RadioError:INTERNAL_ERR
2512 * RadioError:SYSTEM_ERR
2513 * RadioError:INVALID_ARGUMENTS
2514 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002515 * RadioError:NO_RESOURCES
2516 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002517 */
2518 oneway sendDeviceStateResponse(RadioResponseInfo info);
2519
Andreas Huber675ae492017-03-28 14:40:58 -07002520 /**
Jack Yued7ef812017-01-24 11:56:52 -08002521 * @param info Response info struct containing response type, serial no. and error
2522 *
2523 * Valid errors returned:
2524 * RadioError:NONE
2525 * RadioError:INVALID_ARGUMENTS
2526 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002527 * RadioError:NO_MEMORY
2528 * RadioError:INTERNAL_ERR
2529 * RadioError:SYSTEM_ERR
2530 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002531 * RadioError:NO_RESOURCES
2532 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002533 */
2534 oneway setIndicationFilterResponse(RadioResponseInfo info);
2535
Andreas Huber675ae492017-03-28 14:40:58 -07002536 /**
Jack Yua2118692017-02-15 15:31:34 -08002537 * @param info Response info struct containing response type, serial no. and error
2538 *
2539 * Valid errors returned:
2540 * RadioError:NONE
2541 * RadioError:RADIO_NOT_AVAILABLE
2542 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yua2118692017-02-15 15:31:34 -08002543 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002544 * RadioError:INTERNAL_ERR
2545 * RadioError:NO_MEMORY
2546 * RadioError:NO_RESOURCES
2547 * RadioError:CANCELLED
Jack Yua2118692017-02-15 15:31:34 -08002548 */
2549 oneway setSimCardPowerResponse(RadioResponseInfo info);
2550
Andreas Huber675ae492017-03-28 14:40:58 -07002551 /**
Jack Yued7ef812017-01-24 11:56:52 -08002552 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002553 * radio request which take long time to respond.
2554 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
2555 *
2556 * @param serial Serial no. of the request whose acknowledgement is sent.
2557 */
Sanket Padawe865834e2016-12-28 16:04:10 -08002558 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07002559};