blob: d21bf0ba47fe25fcb4ed265925beeef0408e7ce4 [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
19/*
20 * 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 {
25 /*
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
31 * RadioError:INVALID_ARGUMENTS
32 */
Sanket Padawe865834e2016-12-28 16:04:10 -080033 oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus);
Sanket Padawe76372492016-10-27 13:20:49 -070034
35 /*
Sanket Padawe865834e2016-12-28 16:04:10 -080036 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070037 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
38 *
39 * Valid errors returned:
40 * RadioError:NONE
41 * RadioError:INVALID_ARGUMENTS
42 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
43 * RadioError:GENERIC_FAILURE
44 * RadioError:PASSWORD_INCORRECT
45 */
46 oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
47
48 /*
Sanket Padawe865834e2016-12-28 16:04:10 -080049 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070050 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
51 *
52 * Valid errors returned:
53 * RadioError:NONE
54 * RadioError:INVALID_ARGUMENTS
55 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
56 * RadioError:GENERIC_FAILURE
57 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
58 */
59 oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
60
61 /*
Sanket Padawe865834e2016-12-28 16:04:10 -080062 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070063 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
64 *
65 * Valid errors returned:
66 * RadioError:NONE
67 * RadioError:INVALID_ARGUMENTS
68 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
69 * RadioError:GENERIC_FAILURE
70 * RadioError:PASSWORD_INCORRECT
71 */
72 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
73
74 /*
Sanket Padawe865834e2016-12-28 16:04:10 -080075 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070076 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
77 * Valid errors returned:
78 * RadioError:NONE
79 * RadioError:INVALID_ARGUMENTS
80 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
81 * RadioError:GENERIC_FAILURE
82 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
83 */
84 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
85
86 /*
Sanket Padawe865834e2016-12-28 16:04:10 -080087 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070088 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
89 *
90 * Valid errors returned:
91 * RadioError:NONE
92 * RadioError:INVALID_ARGUMENTS
93 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
94 * RadioError:GENERIC_FAILURE
95 * RadioError:PASSWORD_INCORRECT
96 */
97 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
98
99 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800100 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700101 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
102 *
103 * Valid errors returned:
104 * RadioError:NONE
105 * RadioError:INVALID_ARGUMENTS
106 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
107 * RadioError:GENERIC_FAILURE
108 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
109 */
110 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
111
112 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800113 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700114 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
115 *
116 * Valid errors returned:
117 * RadioError:NONE
118 * RadioError:INVALID_ARGUMENTS
119 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
120 * RadioError:GENERIC_FAILURE
121 * RadioError:PASSWORD_INCORRECT (code is invalid)
122 */
123 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
124
125 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800126 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700127 * @param calls Current call list
128 *
129 * Valid errors returned:
130 * RadioError:NONE
131 * RadioError:INVALID_ARGUMENTS
132 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
133 * RadioError:GENERIC_FAILURE (request will be made again in a few hundred msec)
134 * RadioError:NO_MEMORY
135 */
136 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
137
138 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800139 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700140 *
141 * Valid errors returned:
142 * RadioError:NONE
143 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
144 * RadioError:GENERIC_FAILURE
145 * RadioError:DIAL_MODIFIED_TO_USSD
146 * RadioError:DIAL_MODIFIED_TO_SS
147 * RadioError:DIAL_MODIFIED_TO_DIAL
148 * RadioError:INVALID_ARGUMENTS
149 * RadioError:NO_MEMORY
150 * RadioError:INVALID_STATE
151 * RadioError:NO_RESOURCES
152 * RadioError:INTERNAL_ERR
153 * RadioError:FDN_CHECK_FAILURE
154 * RadioError:MODEM_ERR
155 * RadioError:NO_SUBSCRIPTION
156 * RadioError:NO_NETWORK_FOUND
157 * RadioError:INVALID_CALL_ID
158 * RadioError:DEVICE_IN_USE
159 * RadioError:MODE_NOT_SUPPORTED
160 * RadioError:ABORTED
161 */
162 oneway dialResponse(RadioResponseInfo info);
163
164 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800165 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700166 * @param imsi String containing the IMSI
167 *
168 * Valid errors returned:
169 * RadioError:NONE
170 * RadioError:INVALID_ARGUMENTS
171 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
172 * RadioError:GENERIC_FAILURE
173 */
174 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
175
176 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800177 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700178 *
179 * Valid errors returned:
180 * RadioError:NONE
181 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
182 * RadioError:INVALID_ARGUMENTS
183 * RadioError:NO_MEMORY
184 * RadioError:INVALID_STATE
185 * RadioError:MODEM_ERR
186 * RadioError:INTERNAL_ERR
187 * RadioError:INVALID_CALL_ID
188 * RadioError:GENERIC_FAILURE
189 */
190 oneway hangupConnectionResponse(RadioResponseInfo info);
191
192 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800193 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700194 *
195 * Valid errors returned:
196 * RadioError:NONE
197 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
198 * RadioError:INVALID_STATE
199 * RadioError:NO_MEMORY
200 * RadioError:MODEM_ERR
201 * RadioError:INTERNAL_ERR
202 * RadioError:INVALID_CALL_ID
203 * RadioError:NO_RESOURCES
204 * RadioError:OPERATION_NOT_ALLOWED
205 * RadioError:INVALID_ARGUMENTS
206 * RadioError:GENERIC_FAILURE
207 */
208 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
209
210 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800211 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700212 *
213 * Valid errors returned:
214 * RadioError:NONE
215 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
216 * RadioError:INVALID_STATE
217 * RadioError:NO_MEMORY
218 * RadioError:MODEM_ERR
219 * RadioError:INTERNAL_ERR
220 * RadioError:INVALID_CALL_ID
221 * RadioError:NO_RESOURCES
222 * RadioError:OPERATION_NOT_ALLOWED
223 * RadioError:INVALID_ARGUMENTS
224 * RadioError:GENERIC_FAILURE
225 */
226 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
227
228 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800229 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700230 *
231 * Valid errors returned:
232 * RadioError:NONE
233 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
234 * RadioError:INVALID_STATE
235 * RadioError:NO_MEMORY
236 * RadioError:MODEM_ERR
237 * RadioError:INTERNAL_ERR
238 * RadioError:INVALID_STATE
239 * RadioError:INVALID_CALL_ID
240 * RadioError:OPERATION_NOT_ALLOWED
241 * RadioError:INVALID_ARGUMENTS
242 * RadioError:GENERIC_FAILURE
243 */
244 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
245
246 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800247 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700248 *
249 * Valid errors returned:
250 * RadioError:NONE
251 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
252 * RadioError:NO_MEMORY
253 * RadioError:MODEM_ERR
254 * RadioError:INTERNAL_ERR
255 * RadioError:INVALID_STATE
256 * RadioError:INVALID_CALL_ID
257 * RadioError:OPERATION_NOT_ALLOWED
258 * RadioError:INVALID_ARGUMENTS
259 * RadioError:GENERIC_FAILURE
260 */
261 oneway conferenceResponse(RadioResponseInfo info);
262
263 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800264 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700265 *
266 * Valid errors returned:
267 * RadioError:NONE
268 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
269 * RadioError:INVALID_STATE
270 * RadioError:NO_RESOURCES
271 * RadioError:NO_MEMORY
272 * RadioError:MODEM_ERR
273 * RadioError:INTERNAL_ERR
274 * RadioError:INVALID_CALL_ID
275 * RadioError:OPERATION_NOT_ALLOWED
276 * RadioError:INVALID_ARGUMENTS
277 * RadioError:GENERIC_FAILURE
278 */
279 oneway rejectCallResponse(RadioResponseInfo info);
280
281 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800282 * @param info Response info struct containing response type, serial no. and error
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700283 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
Sanket Padawe76372492016-10-27 13:20:49 -0700284 *
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700285 * The vendor cause code must be used for debugging purpose only.
286 * The implementation must return one of the values of LastCallFailCause
287 * as mentioned below
288 *
289 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
290 * where possible.
291 * CDMA failure reasons codes for the possible call failure scenarios
292 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
293 * Any of the following reason codes if the call is failed or dropped due to reason
294 * mentioned with in the braces.
295 * LastCallFailCause:RADIO_OFF (Radio is OFF)
296 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
297 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
298 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
299 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
300 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
301 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
302 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
303 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
304 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
305 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
306 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
307 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
308 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
309 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
310 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
Sanket Padawe76372492016-10-27 13:20:49 -0700311 *
312 * If the implementation does not have access to the exact cause codes,
313 * then it must return one of the values listed in LastCallFailCause,
314 * as the UI layer needs to distinguish these cases for tone generation or
315 * error notification.
316 *
317 * Valid errors returned:
318 * RadioError:NONE
319 * RadioError:INVALID_ARGUMENTS
320 * RadioError:RADIO_NOT_AVAILABLE
321 * RadioError:NO_MEMORY
322 * RadioError:GENERIC_FAILURE
323 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800324 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
325 LastCallFailCauseInfo failCauseinfo);
Sanket Padawe76372492016-10-27 13:20:49 -0700326
327 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800328 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700329 * @param sigStrength Current signal strength
330 *
331 * Valid errors returned:
332 * RadioError:NONE
333 * RadioError:INVALID_ARGUMENTS
334 * RadioError:RADIO_NOT_AVAILABLE
335 */
336 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
337
338 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800339 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700340 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
341 * in types.hal
342 *
343 * Valid errors returned:
344 * RadioError:NONE
345 * RadioError:INVALID_ARGUMENTS
346 * RadioError:RADIO_NOT_AVAILABLE
347 * RadioError:GENERIC_FAILURE
348 */
349 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
350 VoiceRegStateResult voiceRegResponse);
351
352 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800353 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700354 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
355 * types.hal
356 *
357 * Valid errors returned:
358 * RadioError:NONE
359 * RadioError:INVALID_ARGUMENTS
360 * RadioError:RADIO_NOT_AVAILABLE
361 * RadioError:GENERIC_FAILURE
362 */
363 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
364 DataRegStateResult dataRegResponse);
365
366 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800367 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700368 * @param longName is long alpha ONS or EONS or empty string if unregistered
369 * @param shortName is short alpha ONS or EONS or empty string if unregistered
370 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
371 *
372 * Valid errors returned:
373 * RadioError:NONE
374 * RadioError:INVALID_ARGUMENTS
375 * RadioError:RADIO_NOT_AVAILABLE
376 * RadioError:GENERIC_FAILURE
377 */
378 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
379 string numeric);
380
381 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800382 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700383 *
384 * Valid errors returned:
385 * RadioError:NONE
386 * RadioError:INVALID_ARGUMENTS
387 * RadioError:RADIO_NOT_AVAILABLE
388 * RadioError:GENERIC_FAILURE
389 * RadioError:OPERATION_NOT_ALLOWED
390 */
391 oneway setRadioPowerResponse(RadioResponseInfo info);
392
393 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800394 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700395 *
396 * Valid errors returned:
397 * RadioError:NONE
398 * RadioError:RADIO_NOT_AVAILABLE
399 * RadioError:INVALID_ARGUMENTS
400 * RadioError:NO_RESOURCES
401 * RadioError:NO_MEMORY
402 * RadioError:MODEM_ERR
403 * RadioError:INVALID_CALL_ID
404 * RadioError:GENERIC_FAILURE
405 */
406 oneway sendDtmfResponse(RadioResponseInfo info);
407
408 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800409 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700410 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
411 *
412 * Valid errors returned:
413 * RadioError:NONE
414 * RadioError:RADIO_NOT_AVAILABLE
415 * RadioError:SMS_SEND_FAIL_RETRY
416 * RadioError:NETWORK_REJECT
417 * RadioError:INVALID_STATE
418 * RadioError:INVALID_ARGUMENTS
419 * RadioError:NO_MEMORY
420 * RadioError:REQUEST_RATE_LIMITED
421 * RadioError:INVALID_SMS_FORMAT
422 * RadioError:SYSTEM_ERR
423 * RadioError:ENCODING_ERR
424 * RadioError:INVALID_SMSC_ADDRESS
425 * RadioError:MODEM_ERR
426 * RadioError:NETWORK_ERR
427 * RadioError:MODE_NOT_SUPPORTED
428 * RadioError:GENERIC_FAILURE
429 */
430 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
431
432 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800433 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700434 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
435 *
436 * Valid errors returned:
437 * RadioError:NONE
438 * RadioError:RADIO_NOT_AVAILABLE
439 * RadioError:SMS_SEND_FAIL_RETRY
440 * RadioError:NETWORK_REJECT
441 * RadioError:INVALID_STATE
442 * RadioError:INVALID_ARGUMENTS
443 * RadioError:NO_MEMORY
444 * RadioError:REQUEST_RATE_LIMITED
445 * RadioError:INVALID_SMS_FORMAT
446 * RadioError:SYSTEM_ERR
447 * RadioError:FDN_CHECK_FAILURE
448 * RadioError:ENCODING_ERR
449 * RadioError:INVALID_SMSC_ADDRESS
450 * RadioError:MODEM_ERR
451 * RadioError:NETWORK_ERR
452 * RadioError:MODE_NOT_SUPPORTED
453 * RadioError:GENERIC_FAILURE
454 */
455 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
456
457 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800458 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700459 * @param dcResponse SetupDataCallResult defined in types.hal
460 *
461 * Valid errors returned:
462 * RadioError:NONE must be returned on both success and failure of setup with the
463 * DataCallResponse.status containing the actual status
464 * For all other errors the DataCallResponse is ignored.
465 * RadioError:INVALID_ARGUMENTS
466 * RadioError:RADIO_NOT_AVAILABLE
467 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
468 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
469 * RadioError:REQUEST_NOT_SUPPORTED
470 * RadioError:GENERIC_FAILURE
471 */
472 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
473
474 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800475 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -0700476 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
Sanket Padawe76372492016-10-27 13:20:49 -0700477 *
478 * Valid errors returned:
479 * RadioError:NONE
480 * RadioError:INVALID_ARGUMENTS
481 * RadioError:RADIO_NOT_AVAILABLE
482 * RadioError:SIM_PIN2
483 * RadioError:SIM_PUK2
484 * RadioError:GENERIC_FAILURE
485 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800486 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
Sanket Padawe76372492016-10-27 13:20:49 -0700487
488 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800489 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700490 *
491 * Valid errors returned:
492 * RadioError:NONE
493 * RadioError:RADIO_NOT_AVAILABLE
494 * RadioError:FDN_CHECK_FAILURE
495 * RadioError:USSD_MODIFIED_TO_DIAL
496 * RadioError:USSD_MODIFIED_TO_SS
497 * RadioError:USSD_MODIFIED_TO_USSD
498 * RadioError:SIM_BUSY
499 * RadioError:OPERATION_NOT_ALLOWED
500 * RadioError:INVALID_ARGUMENTS
501 * RadioError:NO_MEMORY
502 * RadioError:MODEM_ERR
503 * RadioError:INTERNAL_ERR
504 * RadioError:ABORTED
505 * RadioError:SYSTEM_ERR
506 * RadioError:INVALID_STATE
507 * RadioError:GENERIC_FAILURE
508 */
509 oneway sendUssdResponse(RadioResponseInfo info);
510
511 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800512 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700513 *
514 * Valid errors returned:
515 * RadioError:NONE
516 * RadioError:INVALID_ARGUMENTS
517 * RadioError:RADIO_NOT_AVAILABLE
518 * RadioError:SIM_BUSY
519 * RadioError:OPERATION_NOT_ALLOWED
520 * RadioError:MODEM_ERR
521 * RadioError:INTERNAL_ERR
522 * RadioError:NO_MEMORY
523 * RadioError:INVALID_STATE
524 * RadioError:GENERIC_FAILURE
525 */
526 oneway cancelPendingUssdResponse(RadioResponseInfo info);
527
528 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800529 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700530 * @param n is "n" parameter from TS 27.007 7.7
531 * @param m is "m" parameter from TS 27.007 7.7
532 *
533 * Valid errors returned:
534 * RadioError:NONE
535 * RadioError:INVALID_ARGUMENTS
536 * RadioError:RADIO_NOT_AVAILABLE
537 * RadioError:SS_MODIFIED_TO_DIAL
538 * RadioError:SS_MODIFIED_TO_USSD
539 * RadioError:SS_MODIFIED_TO_SS
540 * RadioError:NO_MEMORY
541 * RadioError:MODEM_ERR
542 * RadioError:INTERNAL_ERR
543 * RadioError:FDN_CHECK_FAILURE
544 * RadioError:SYSTEM_ERR
545 * RadioError:GENERIC_FAILURE
546 */
547 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
548
549 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800550 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700551 *
552 * Valid errors returned:
553 * RadioError:NONE
554 * RadioError:INVALID_ARGUMENTS
555 * RadioError:RADIO_NOT_AVAILABLE
556 * RadioError:SS_MODIFIED_TO_DIAL
557 * RadioError:SS_MODIFIED_TO_USSD
558 * RadioError:SS_MODIFIED_TO_SS
559 * RadioError:INVALID_ARGUMENTS
560 * RadioError:SYSTEM_ERR
561 * RadioError:GENERIC_FAILURE
562 */
563 oneway setClirResponse(RadioResponseInfo info);
564
565 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800566 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700567 * @param callForwardInfos points to a vector of CallForwardInfo, one for
568 * each distinct registered phone number.
569 *
570 * For example, if data is forwarded to +18005551212 and voice is forwarded
571 * to +18005559999, then two separate CallForwardInfo's must be returned
572 *
573 * If, however, both data and voice are forwarded to +18005551212, then
574 * a single CallForwardInfo must be returned with the service class
575 * set to "data + voice = 3")
576 *
577 * Valid errors returned:
578 * RadioError:NONE
579 * RadioError:RADIO_NOT_AVAILABLE
580 * RadioError:SS_MODIFIED_TO_DIAL
581 * RadioError:SS_MODIFIED_TO_USSD
582 * RadioError:SS_MODIFIED_TO_SS
583 * RadioError:INVALID_ARGUMENTS
584 * RadioError:NO_MEMORY
585 * RadioError:SYSTEM_ERR
586 * RadioError:MODEM_ERR
587 * RadioError:INTERNAL_ERR
588 * RadioError:FDN_CHECK_FAILURE
589 * RadioError:GENERIC_FAILURE
590 */
591 oneway getCallForwardStatusResponse(RadioResponseInfo info,
592 vec<CallForwardInfo> callForwardInfos);
593
594 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800595 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700596 *
597 * Valid errors returned:
598 * RadioError:NONE
599 * RadioError:RADIO_NOT_AVAILABLE
600 * RadioError:SS_MODIFIED_TO_DIAL
601 * RadioError:SS_MODIFIED_TO_USSD
602 * RadioError:SS_MODIFIED_TO_SS
603 * RadioError:INVALID_ARGUMENTS
604 * RadioError:NO_MEMORY
605 * RadioError:SYSTEM_ERR
606 * RadioError:MODEM_ERR
607 * RadioError:INTERNAL_ERR
608 * RadioError:INVALID_STATE
609 * RadioError:FDN_CHECK_FAILURE
610 * RadioError:GENERIC_FAILURE
611 */
612 oneway setCallForwardResponse(RadioResponseInfo info);
613
614 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800615 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700616 * @param enable If current call waiting state is disabled, enable = false else true
617 * @param serviceClass If enable, then callWaitingResp[1]
618 * must follow, with the TS 27.007 service class bit vector of services
619 * for which call waiting is enabled.
620 * For example, if callWaitingResp[0] is 1 and
621 * callWaitingResp[1] is 3, then call waiting is enabled for data
622 * and voice and disabled for everything else.
623 *
624 * Valid errors returned:
625 * RadioError:NONE
626 * RadioError:RADIO_NOT_AVAILABLE
627 * RadioError:SS_MODIFIED_TO_DIAL
628 * RadioError:SS_MODIFIED_TO_USSD
629 * RadioError:SS_MODIFIED_TO_SS
630 * RadioError:INVALID_ARGUMENTS
631 * RadioError:NO_MEMORY
632 * RadioError:MODEM_ERR
633 * RadioError:INTERNAL_ERR
634 * RadioError:FDN_CHECK_FAILURE
635 * RadioError:GENERIC_FAILURE
636 */
637 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
638
639 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800640 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700641 *
642 * Valid errors returned:
643 * RadioError:NONE
644 * RadioError:RADIO_NOT_AVAILABLE
645 * RadioError:SS_MODIFIED_TO_DIAL
646 * RadioError:SS_MODIFIED_TO_USSD
647 * RadioError:SS_MODIFIED_TO_SS
648 * RadioError:INVALID_ARGUMENTS
649 * RadioError:NO_MEMORY
650 * RadioError:MODEM_ERR
651 * RadioError:INTERNAL_ERR
652 * RadioError:INVALID_STATE
653 * RadioError:FDN_CHECK_FAILURE
654 * RadioError:GENERIC_FAILURE
655 */
656 oneway setCallWaitingResponse(RadioResponseInfo info);
657
658 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800659 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700660 *
661 * Valid errors returned:
662 * RadioError:NONE
663 * RadioError:INVALID_ARGUMENTS
664 * RadioError:RADIO_NOT_AVAILABLE
665 * RadioError:GENERIC_FAILURE
666 */
667 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
668
669 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800670 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700671 *
672 * Valid errors returned:
673 * RadioError:NONE
674 * RadioError:INVALID_ARGUMENTS
675 * RadioError:RADIO_NOT_AVAILABLE
676 * RadioError:INVALID_STATE
677 * RadioError:NO_MEMORY
678 * RadioError:SYSTEM_ERR
679 * RadioError:MODEM_ERR
680 * RadioError:INTERNAL_ERR
681 * RadioError:INVALID_CALL_ID
682 * RadioError:GENERIC_FAILURE
683 */
684 oneway acceptCallResponse(RadioResponseInfo info);
685
686 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800687 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700688 *
689 * Valid errors returned:
690 * RadioError:NONE
691 * RadioError:INVALID_ARGUMENTS
692 * RadioError:RADIO_NOT_AVAILABLE
693 * RadioError:GENERIC_FAILURE
694 */
695 oneway deactivateDataCallResponse(RadioResponseInfo info);
696
697 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800698 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700699 * @param response 0 is the TS 27.007 service class bit vector of
700 * services for which the specified barring facility
701 * is active. "0" means "disabled for all"
702 *
703 * Valid errors returned:
704 * RadioError:NONE
705 * RadioError:RADIO_NOT_AVAILABLE
706 * RadioError:SS_MODIFIED_TO_DIAL
707 * RadioError:SS_MODIFIED_TO_USSD
708 * RadioError:SS_MODIFIED_TO_SS
709 * RadioError:INVALID_ARGUMENTS
710 * RadioError:NO_MEMORY
711 * RadioError:MODEM_ERR
712 * RadioError:INTERNAL_ERR
713 * RadioError:SYSTEM_ERR
714 * RadioError:FDN_CHECK_FAILURE
715 * RadioError:GENERIC_FAILURE
716 */
717 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
718
719 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800720 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700721 * @param retry 0 is the number of retries remaining, or -1 if unknown
722 *
723 * Valid errors returned:
724 * RadioError:NONE
725 * RadioError:RADIO_NOT_AVAILABLE
726 * RadioError:SS_MODIFIED_TO_DIAL
727 * RadioError:SS_MODIFIED_TO_USSD
728 * RadioError:SS_MODIFIED_TO_SS
729 * RadioError:INVALID_ARGUMENTS
730 * RadioError:NO_MEMORY
731 * RadioError:MODEM_ERR
732 * RadioError:INTERNAL_ERR
733 * RadioError:INVALID_STATE
734 * RadioError:FDN_CHECK_FAILURE
735 * RadioError:GENERIC_FAILURE
736 */
737 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
738
739 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800740 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700741 *
742 * Valid errors returned:
743 * RadioError:NONE
744 * RadioError:RADIO_NOT_AVAILABLE
745 * RadioError:SS_MODIFIED_TO_DIAL
746 * RadioError:SS_MODIFIED_TO_USSD
747 * RadioError:SS_MODIFIED_TO_SS
748 * RadioError:INVALID_ARGUMENTS
749 * RadioError:NO_MEMORY
750 * RadioError:MODEM_ERR
751 * RadioError:INTERNAL_ERR
752 * RadioError:SYSTEM_ERR
753 * RadioError:FDN_CHECK_FAILURE
754 * RadioError:GENERIC_FAILURE
755 */
756 oneway setBarringPasswordResponse(RadioResponseInfo info);
757
758 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800759 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700760 * @param selection false for automatic selection, true for manual selection
761 *
762 * Valid errors returned:
763 * RadioError:NONE
764 * RadioError:INVALID_ARGUMENTS
765 * RadioError:RADIO_NOT_AVAILABLE
766 * RadioError:GENERIC_FAILURE
767 */
768 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
769
770 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800771 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700772 *
773 * Valid errors returned:
774 * RadioError:NONE
775 * RadioError:INVALID_ARGUMENTS
776 * RadioError:RADIO_NOT_AVAILABLE
777 * RadioError:ILLEGAL_SIM_OR_ME
778 * RadioError:OPERATION_NOT_ALLOWED
779 * RadioError:GENERIC_FAILURE
780 *
781 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
782 * no retries needed, such as illegal SIM or ME.
783 * Returns RadioError:GENERIC_FAILURE for all other causes that might be fixed by retries.
784 */
785 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
786
787 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800788 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700789 *
790 * Valid errors returned:
791 * RadioError:NONE
792 * RadioError:INVALID_ARGUMENTS
793 * RadioError:RADIO_NOT_AVAILABLE
794 * RadioError:ILLEGAL_SIM_OR_ME
795 * RadioError:OPERATION_NOT_ALLOWED
796 * RadioError:GENERIC_FAILURE
797 *
798 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
799 * no retries needed, such as illegal SIM or ME.
800 * Returns RadioError:GENERIC_FAILURE for all other causes that might be fixed by retries.
801 */
802 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
803
804 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800805 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700806 * @param networkInfos List of network operator information as OperatorInfos defined in
807 * types.hal
808 *
809 * Valid errors returned:
810 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700811 * RadioError:RADIO_NOT_AVAILABLE
812 * RadioError:OPERATION_NOT_ALLOWED
Jayachandran Cfbb1ea52017-03-13 19:23:52 -0700813 * RadioError:ABORTED
814 * RadioError:DEVICE_IN_USE
815 * RadioError:INTERNAL_ERR
816 * RadioError:NO_MEMORY
817 * RadioError:MODEM_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700818 */
819 oneway getAvailableNetworksResponse(RadioResponseInfo info,
820 vec<OperatorInfo> networkInfos);
821
822 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800823 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700824 *
825 * Valid errors returned:
826 * RadioError:NONE
827 * RadioError:RADIO_NOT_AVAILABLE
828 * RadioError:INVALID_ARGUMENTS
829 * RadioError:NO_RESOURCES
830 * RadioError:NO_MEMORY
831 * RadioError:SYSTEM_ERR
832 * RadioError:MODEM_ERR
833 * RadioError:INTERNAL_ERR
834 * RadioError:INVALID_CALL_ID
835 * RadioError:GENERIC_FAILURE
836 */
837 oneway startDtmfResponse(RadioResponseInfo info);
838
839 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800840 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700841 *
842 * Valid errors returned:
843 * RadioError:NONE
844 * RadioError:RADIO_NOT_AVAILABLE
845 * RadioError:INVALID_ARGUMENTS
846 * RadioError:NO_RESOURCES
847 * RadioError:NO_MEMORY
848 * RadioError:INVALID_ARGUMENTS
849 * RadioError:SYSTEM_ERR
850 * RadioError:MODEM_ERR
851 * RadioError:INTERNAL_ERR
852 * RadioError:INVALID_CALL_ID
853 * RadioError:GENERIC_FAILURE
854 */
855 oneway stopDtmfResponse(RadioResponseInfo info);
856
857 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800858 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700859 * @param version string containing version string for log reporting
860 *
861 * Valid errors returned:
862 * RadioError:NONE
863 * RadioError:RADIO_NOT_AVAILABLE
864 * RadioError:INVALID_ARGUMENTS
865 * RadioError:EMPTY_RECORD
866 * RadioError:GENERIC_FAILURE
867 */
868 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
869
870 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800871 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700872 *
873 * Valid errors returned:
874 * RadioError:NONE
875 * RadioError:RADIO_NOT_AVAILABLE
876 * RadioError:INVALID_ARGUMENTS
877 * RadioError:INVALID_STATE
878 * RadioError:NO_RESOURCES
879 * RadioError:NO_MEMORY
880 * RadioError:MODEM_ERR
881 * RadioError:SYSTEM_ERR
882 * RadioError:INTERNAL_ERR
883 * RadioError:INVALID_CALL_ID
884 * RadioError:OPERATION_NOT_ALLOWED
885 * RadioError:GENERIC_FAILURE
886 */
887 oneway separateConnectionResponse(RadioResponseInfo info);
888
889 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800890 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700891 *
892 * Valid errors returned:
893 * RadioError:NONE
894 * RadioError:RADIO_NOT_AVAILABLE
895 * RadioError:INVALID_ARGUMENTS
896 * RadioError:NO_MEMORY
897 * RadioError:REQUEST_RATE_LIMITED
898 * RadioError:GENERIC_FAILURE
899 */
900 oneway setMuteResponse(RadioResponseInfo info);
901
902 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800903 * @param info Response info struct containing response type, serial no. and error
904 * @param enable true for "mute enabled" and false for "mute disabled"
Sanket Padawe76372492016-10-27 13:20:49 -0700905 *
906 * Valid errors returned:
907 * RadioError:NONE
908 * RadioError:RADIO_NOT_AVAILABLE
909 * RadioError:INVALID_ARGUMENTS
910 * RadioError:SS_MODIFIED_TO_DIAL
911 * RadioError:SS_MODIFIED_TO_USSD
912 * RadioError:SS_MODIFIED_TO_SS
913 * RadioError:NO_MEMORY
914 * RadioError:REQUEST_RATE_LIMITED
915 * RadioError:GENERIC_FAILURE
916 */
917 oneway getMuteResponse(RadioResponseInfo info, bool enable);
918
919 /*
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 * @param status indicates CLIP status
922 *
923 * Valid errors returned:
924 * RadioError:NONE
925 * RadioError:RADIO_NOT_AVAILABLE
926 * RadioError:INVALID_ARGUMENTS
927 * RadioError:NO_MEMORY
928 * RadioError:SYSTEM_ERR
929 * RadioError:MODEM_ERR
930 * RadioError:INTERNAL_ERR
931 * RadioError:FDN_CHECK_FAILURE
932 * RadioError:GENERIC_FAILURE
933 */
934 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
935
936 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800937 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700938 * @param dcResponse List of DataCallResult as defined in types.hal
939 *
940 * Valid errors returned:
941 * RadioError:NONE
942 * RadioError:RADIO_NOT_AVAILABLE
943 * RadioError:INVALID_ARGUMENTS
944 * RadioError:GENERIC_FAILURE
945 */
946 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
947
948 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800949 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700950 *
951 * Valid errors returned:
952 * RadioError:NONE
953 * RadioError:RADIO_NOT_AVAILABLE
954 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -0700955 * RadioError:SIM_BUSY
956 * RadioError:NO_MEMORY
957 * RadioError:SYSTEM_ERR
958 * RadioError:MODEM_ERR
959 * RadioError:INTERNAL_ERR
960 * RadioError:GENERIC_FAILURE
961 */
962 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
963
964 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800965 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700966 * @param index record index where the message is stored
967 *
968 * Valid errors returned:
969 * RadioError:NONE
970 * RadioError:SIM_FULL
971 * RadioError:INVALID_ARGUMENTS
972 * RadioError:INVALID_SMS_FORMAT
973 * RadioError:INTERNAL_ERR
974 * RadioError:MODEM_ERR
975 * RadioError:ENCODING_ERR
976 * RadioError:NO_MEMORY
977 * RadioError:NO_RESOURCES
978 * RadioError:INVALID_MODEM_STATE
979 * RadioError:MODE_NOT_SUPPORTED
980 * RadioError:INVALID_SMSC_ADDRESS
981 * RadioError:GENERIC_FAILURE
982 */
983 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
984
985 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800986 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700987 *
988 * Valid errors returned:
989 * RadioError:NONE
990 * RadioError:SIM_FULL
991 * RadioError:INVALID_ARGUMENTS
992 * RadioError:NO_MEMORY
993 * RadioError:REQUEST_RATE_LIMITED
994 * RadioError:SYSTEM_ERR
995 * RadioError:MODEM_ERR
996 * RadioError:NO_SUCH_ENTRY
997 * RadioError:GENERIC_FAILURE
998 */
999 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1000
1001 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001002 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001003 *
1004 * Valid errors returned:
1005 * RadioError:NONE
1006 * RadioError:RADIO_NOT_AVAILABLE
1007 * RadioError:INVALID_ARGUMENTS
1008 * RadioError:OPERATION_NOT_ALLOWED
1009 * RadioError:GENERIC_FAILURE
1010 */
1011 oneway setBandModeResponse(RadioResponseInfo info);
1012
1013 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001014 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001015 * @param bandModes List of RadioBandMode listing supported modes
1016 *
1017 * Valid errors returned:
1018 * RadioError:NONE
1019 * RadioError:RADIO_NOT_AVAILABLE
1020 * RadioError:INVALID_ARGUMENTS
1021 * RadioError:GENERIC_FAILURE
1022 */
1023 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1024
1025 /*
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 * @param commandResponse SAT/USAT response in hexadecimal format
1028 * string starting with first byte of response
1029 *
1030 * Valid errors returned:
1031 * RadioError:NONE
1032 * RadioError:RADIO_NOT_AVAILABLE
1033 * RadioError:INVALID_ARGUMENTS
1034 * RadioError:SIM_BUSY
1035 * RadioError:OPERATION_NOT_ALLOWED
1036 * RadioError:GENERIC_FAILURE
1037 */
1038 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1039
1040 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001041 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001042 *
1043 * Valid errors returned:
1044 * RadioError:NONE
1045 * RadioError:RADIO_NOT_AVAILABLE
1046 * RadioError:INVALID_ARGUMENTS
1047 * RadioError:OPERATION_NOT_ALLOWED
1048 * RadioError:GENERIC_FAILURE
1049 */
1050 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
Sanket Padawed52335c2016-11-03 16:46:32 -07001051
1052 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001053 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001054 *
1055 * Valid errors returned:
1056 * RadioError:NONE
1057 * RadioError:RADIO_NOT_AVAILABLE
1058 * RadioError:INVALID_ARGUMENTS
1059 * RadioError:OPERATION_NOT_ALLOWED
1060 * RadioError:GENERIC_FAILURE
1061 */
1062 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1063
1064 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001065 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001066 *
1067 * Valid errors returned:
1068 * RadioError:NONE
1069 * RadioError:RADIO_NOT_AVAILABLE
1070 * RadioError:INVALID_ARGUMENTS
1071 * RadioError:INVALID_STATE
1072 * RadioError:NO_RESOURCES
1073 * RadioError:NO_MEMORY
1074 * RadioError:SYSTEM_ERR
1075 * RadioError:MODEM_ERR
1076 * RadioError:INTERNAL_ERR
1077 * RadioError:INVALID_CALL_ID
1078 * RadioError:OPERATION_NOT_ALLOWED
1079 * RadioError:GENERIC_FAILURE
1080 */
1081 oneway explicitCallTransferResponse(RadioResponseInfo info);
1082
1083 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001084 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001085 *
1086 * Valid errors returned:
1087 * RadioError:NONE
1088 * RadioError:RADIO_NOT_AVAILABLE
1089 * RadioError:INVALID_ARGUMENTS
1090 * RadioError:OPERATION_NOT_ALLOWED
1091 * RadioError:MODE_NOT_SUPPORTED
1092 * RadioError:GENERIC_FAILURE
1093 */
1094 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1095
1096 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001097 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001098 * @param nwType RadioPreferredNetworkType defined in types.hal
1099 *
1100 * Valid errors returned:
1101 * RadioError:NONE
1102 * RadioError:RADIO_NOT_AVAILABLE
1103 * RadioError:INVALID_ARGUMENTS
1104 * RadioError:GENERIC_FAILURE
1105 */
1106 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1107 PreferredNetworkType nwType);
1108
1109 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001110 * @param info Response info struct containing response type, serial no. and error
1111 * @param cells Vector of neighboring radio cell
Sanket Padawed52335c2016-11-03 16:46:32 -07001112 *
1113 * Valid errors returned:
1114 * RadioError:NONE
1115 * RadioError:RADIO_NOT_AVAILABLE
1116 * RadioError:INVALID_ARGUMENTS
1117 * RadioError:GENERIC_FAILURE
1118 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001119 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
Sanket Padawed52335c2016-11-03 16:46:32 -07001120
1121 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001122 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001123 *
1124 * Valid errors returned:
1125 * RadioError:NONE
1126 * RadioError:RADIO_NOT_AVAILABLE
1127 * RadioError:INVALID_ARGUMENTS
1128 * RadioError:GENERIC_FAILURE
1129 */
1130 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1131
1132 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001133 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001134 *
1135 * Valid errors returned:
1136 * RadioError:NONE
1137 * RadioError:RADIO_NOT_AVAILABLE
1138 * RadioError:INVALID_ARGUMENTS
1139 * RadioError:SIM_ABSENT
1140 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1141 * RadioError:GENERIC_FAILURE
1142 */
1143 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1144
1145 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001146 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001147 *
1148 * Valid errors returned:
1149 * RadioError:NONE
1150 * RadioError:RADIO_NOT_AVAILABLE
1151 * RadioError:INVALID_ARGUMENTS
1152 * RadioError:GENERIC_FAILURE
1153 */
1154 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1155
1156 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001157 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001158 * @param type CdmaRoamingType defined in types.hal
1159 *
1160 * Valid errors returned:
1161 * RadioError:NONE
1162 * RadioError:RADIO_NOT_AVAILABLE
1163 * RadioError:INVALID_ARGUMENTS
1164 * RadioError:GENERIC_FAILURE
1165 */
1166 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1167
1168 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001169 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001170 *
1171 * Valid errors returned:
1172 * RadioError:NONE
1173 * RadioError:RADIO_NOT_AVAILABLE
1174 * RadioError:INVALID_ARGUMENTS
1175 * RadioError:MODEM_ERR
1176 * RadioError:INTERNAL_ERR
1177 * RadioError:NO_MEMORY
1178 * RadioError:GENERIC_FAILURE
1179 */
1180 oneway setTTYModeResponse(RadioResponseInfo info);
1181
1182 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001183 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001184 * @param mode TtyMode
1185 *
1186 * Valid errors returned:
1187 * RadioError:NONE
1188 * RadioError:RADIO_NOT_AVAILABLE
1189 * RadioError:INVALID_ARGUMENTS
1190 * RadioError:MODEM_ERR
1191 * RadioError:INTERNAL_ERR
1192 * RadioError:NO_MEMORY
1193 * RadioError:GENERIC_FAILURE
1194 */
1195 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1196
1197 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001198 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001199 *
1200 * Valid errors returned:
1201 * RadioError:NONE
1202 * RadioError:RADIO_NOT_AVAILABLE
1203 * RadioError:INVALID_ARGUMENTS
1204 * RadioError:MODEM_ERR
1205 * RadioError:INTERNAL_ERR
1206 * RadioError:NO_MEMORY
1207 * RadioError:GENERIC_FAILURE
1208 */
1209 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1210
1211 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001212 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001213 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1214 * true for Enhanced Privacy Mode (Private Long Code Mask)
1215 *
1216 * Valid errors:
1217 * RadioError:NONE
1218 * RadioError:RADIO_NOT_AVAILABLE
1219 * RadioError:INVALID_ARGUMENTS
1220 * RadioError:MODEM_ERR
1221 * RadioError:INTERNAL_ERR
1222 * RadioError:NO_MEMORY
1223 * RadioError:GENERIC_FAILURE
1224 */
1225 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1226
1227 /*
1228 * Response callback for IRadio.sendCDMAFeatureCode()
1229 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001230 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001231 *
1232 * Valid errors returned:
1233 * RadioError:NONE
1234 * RadioError:RADIO_NOT_AVAILABLE
1235 * RadioError:INVALID_ARGUMENTS
1236 * RadioError:NO_MEMORY
1237 * RadioError:INTERNAL_ERR
1238 * RadioError:SYSTEM_ERR
1239 * RadioError:MODEM_ERR
1240 * RadioError:INVALID_CALL_ID
1241 * RadioError:INVALID_STATE
1242 * RadioError:GENERIC_FAILURE
1243 */
1244 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1245
1246 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001247 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001248 *
1249 * Valid errors returned:
1250 * RadioError:NONE
1251 * RadioError:RADIO_NOT_AVAILABLE
1252 * RadioError:INVALID_ARGUMENTS
1253 * RadioError:NO_MEMORY
1254 * RadioError:INTERNAL_ERR
1255 * RadioError:SYSTEM_ERR
1256 * RadioError:MODEM_ERR
1257 * RadioError:INVALID_CALL_ID
1258 * RadioError:INVALID_STATE
1259 * RadioError:GENERIC_FAILURE
1260 */
1261 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1262
1263 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001264 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001265 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1266 *
1267 * Valid errors returned:
1268 * RadioError:NONE
1269 * RadioError:RADIO_NOT_AVAILABLE
1270 * RadioError:INVALID_ARGUMENTS
1271 * RadioError:SMS_SEND_FAIL_RETRY
1272 * RadioError:NETWORK_REJECT
1273 * RadioError:INVALID_STATE
1274 * RadioError:NO_MEMORY
1275 * RadioError:REQUEST_RATE_LIMITED
1276 * RadioError:INVALID_SMS_FORMAT
1277 * RadioError:SYSTEM_ERR
1278 * RadioError:FDN_CHECK_FAILURE
1279 * RadioError:MODEM_ERR
1280 * RadioError:NETWORK_ERR
1281 * RadioError:ENCODING_ERR
1282 * RadioError:INVALID_SMSC_ADDRESS
1283 * RadioError:MODE_NOT_SUPPORTED
1284 * RadioError:GENERIC_FAILURE
1285 */
1286 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1287
1288 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001289 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001290 *
1291 * Valid errors returned:
1292 * RadioError:NONE
1293 * RadioError:RADIO_NOT_AVAILABLE
1294 * RadioError:INVALID_ARGUMENTS
1295 * RadioError:NO_SMS_TO_ACK
1296 * RadioError:INVALID_STATE
1297 * RadioError:NO_MEMORY
1298 * RadioError:REQUEST_RATE_LIMITED
1299 * RadioError:SYSTEM_ERR
1300 * RadioError:MODEM_ERR
1301 * RadioError:MODE_NOT_SUPPORTED
1302 * RadioError:NETWORK_NOT_READY
1303 * RadioError:INVALID_MODEM_STATE
1304 * RadioError:GENERIC_FAILURE
1305 */
1306 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1307
1308 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001309 * @param info Response info struct containing response type, serial no. and error
1310 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001311 *
1312 * Valid errors returned:
1313 * RadioError:NONE
1314 * RadioError:RADIO_NOT_AVAILABLE
1315 * RadioError:INVALID_ARGUMENTS
1316 * RadioError:INVALID_STATE
1317 * RadioError:NO_MEMORY
1318 * RadioError:REQUEST_RATE_LIMITED
1319 * RadioError:SYSTEM_ERR
1320 * RadioError:MODEM_ERR
1321 * RadioError:NO_RESOURCES
1322 * RadioError:GENERIC_FAILURE
1323 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001324 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1325 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001326
1327 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001328 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001329 *
1330 * Valid errors returned:
1331 * RadioError:NONE
1332 * RadioError:RADIO_NOT_AVAILABLE
1333 * RadioError:INVALID_ARGUMENTS
1334 * RadioError:INVALID_STATE
1335 * RadioError:NO_MEMORY
1336 * RadioError:REQUEST_RATE_LIMITED
1337 * RadioError:SYSTEM_ERR
1338 * RadioError:MODEM_ERR
1339 * RadioError:GENERIC_FAILURE
1340 */
1341 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1342
1343 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001344 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001345 *
1346 * Valid errors returned:
1347 * RadioError:NONE
1348 * RadioError:RADIO_NOT_AVAILABLE
1349 * RadioError:INVALID_ARGUMENTS
1350 * RadioError:INVALID_STATE
1351 * RadioError:NO_MEMORY
1352 * RadioError:REQUEST_RATE_LIMITED
1353 * RadioError:SYSTEM_ERR
1354 * RadioError:MODEM_ERR
1355 * RadioError:GENERIC_FAILURE
1356 */
1357 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1358
1359 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001360 * @param info Response info struct containing response type, serial no. and error
1361 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001362 *
1363 * Valid errors returned:
1364 * RadioError:NONE
1365 * RadioError:RADIO_NOT_AVAILABLE
1366 * RadioError:INVALID_ARGUMENTS
1367 * RadioError:INVALID_STATE
1368 * RadioError:NO_MEMORY
1369 * RadioError:REQUEST_RATE_LIMITED
1370 * RadioError:SYSTEM_ERR
1371 * RadioError:MODEM_ERR
1372 * RadioError:NO_RESOURCES
1373 * RadioError:GENERIC_FAILURE
1374 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001375 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1376 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001377
1378 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001379 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001380 *
1381 * Valid errors returned:
1382 * RadioError:NONE
1383 * RadioError:RADIO_NOT_AVAILABLE
1384 * RadioError:INVALID_ARGUMENTS
1385 * RadioError:INVALID_STATE
1386 * RadioError:NO_MEMORY
1387 * RadioError:REQUEST_RATE_LIMITED
1388 * RadioError:SYSTEM_ERR
1389 * RadioError:MODEM_ERR
1390 * RadioError:GENERIC_FAILURE
1391 */
1392 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1393
1394 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001395 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001396 *
1397 * Valid errors returned:
1398 * RadioError:NONE
1399 * RadioError:RADIO_NOT_AVAILABLE
1400 * RadioError:INVALID_ARGUMENTS
1401 * RadioError:INVALID_STATE
1402 * RadioError:NO_MEMORY
1403 * RadioError:REQUEST_RATE_LIMITED
1404 * RadioError:SYSTEM_ERR
1405 * RadioError:MODEM_ERR
1406 * RadioError:GENERIC_FAILURE
1407 */
1408 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1409
1410 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001411 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001412 * @param mdn MDN if CDMA subscription is available
1413 * @param hSid is a comma separated list of H_SID (Home SID) if
1414 * CDMA subscription is available, in decimal format
1415 * @param hNid is a comma separated list of H_NID (Home NID) if
1416 * CDMA subscription is available, in decimal format
1417 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1418 * @param prl PRL version if CDMA subscription is available
1419 *
1420 * Valid errors returned:
1421 * RadioError:NONE
1422 * RadioError:RADIO_NOT_AVAILABLE
1423 * RadioError:INVALID_ARGUMENTS
1424 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1425 * RadioError:GENERIC_FAILURE
1426 */
1427 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1428 string hNid, string min, string prl);
1429
1430 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001431 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001432 * @param index record index where the cmda sms message is stored
1433 *
1434 * Valid errors returned:
1435 * RadioError:NONE
1436 * RadioError:RADIO_NOT_AVAILABLE
1437 * RadioError:INVALID_ARGUMENTS
1438 * RadioError:INVALID_SMS_FORMAT
1439 * RadioError:SIM_FULL
1440 * RadioError:INTERNAL_ERR
1441 * RadioError:MODEM_ERR
1442 * RadioError:ENCODING_ERR
1443 * RadioError:NO_MEMORY
1444 * RadioError:NO_RESOURCES
1445 * RadioError:INVALID_MODEM_STATE
1446 * RadioError:MODE_NOT_SUPPORTED
1447 * RadioError:INVALID_SMSC_ADDRESS
1448 * RadioError:GENERIC_FAILURE
1449 */
1450 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1451
1452 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001453 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001454 *
1455 * Valid errors returned:
1456 * RadioError:NONE
1457 * RadioError:RADIO_NOT_AVAILABLE
1458 * RadioError:INVALID_ARGUMENTS
1459 * RadioError:NO_MEMORY
1460 * RadioError:REQUEST_RATE_LIMITED
1461 * RadioError:SYSTEM_ERR
1462 * RadioError:MODEM_ERR
1463 * RadioError:NO_SUCH_ENTRY
1464 * RadioError:GENERIC_FAILURE
1465 */
1466 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1467
1468 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001469 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001470 * @param imei IMEI if GSM subscription is available
1471 * @param imeisv IMEISV if GSM subscription is available
1472 * @param esn ESN if CDMA subscription is available
1473 * @param meid MEID if CDMA subscription is available
1474 *
1475 * Valid errors returned:
1476 * RadioError:NONE
1477 * RadioError:RADIO_NOT_AVAILABLE
1478 * RadioError:INVALID_ARGUMENTS
1479 * RadioError:GENERIC_FAILURE
1480 *
1481 * If a empty string value is returned for any of the device id, it means that there was error
1482 * accessing the device.
1483 *
1484 */
1485 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1486 string esn, string meid);
1487
1488 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001489 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001490 *
1491 * Valid errors returned:
1492 * RadioError:NONE
1493 * RadioError:RADIO_NOT_AVAILABLE
1494 * RadioError:INVALID_ARGUMENTS
1495 * RadioError:OPERATION_NO_ALLOWED
1496 * RadioError:GENERIC_FAILURE
1497 */
1498 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1499
1500 /*
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 smsc Short Message Service Center address on the device
1503 *
1504 * Valid errors returned:
1505 * RadioError:NONE
1506 * RadioError:RADIO_NOT_AVAILABLE
1507 * RadioError:INVALID_ARGUMENTS
1508 * RadioError:INTERNAL_ERR
1509 * RadioError:NO_MEMORY
1510 * RadioError:SYSTEM_ERR
1511 * RadioError:REQUEST_RATE_LIMITED
1512 * RadioError:MODEM_ERR
1513 * RadioError:INVALID_MODEM_STATE
1514 * RadioError:NOT_PROVISIONED
1515 * RadioError:GENERIC_FAILURE
1516 */
1517 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1518
1519 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001520 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001521 *
1522 * Valid errors returned:
1523 * RadioError:NONE
1524 * RadioError:RADIO_NOT_AVAILABLE
1525 * RadioError:INVALID_ARGUMENTS
1526 * RadioError:INVALID_SMS_FORMAT
1527 * RadioError:NO_MEMORY
1528 * RadioError:SYSTEM_ERR
1529 * RadioError:REQUEST_RATE_LIMITED
1530 * RadioError:MODEM_ERR
1531 * RadioError:NO_RESOURCES
1532 * RadioError:GENERIC_FAILURE
1533 */
1534 oneway setSmscAddressResponse(RadioResponseInfo info);
1535
1536 /*
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 *
1539 * Valid errors returned:
1540 * RadioError:NONE
1541 * RadioError:RADIO_NOT_AVAILABLE
1542 * RadioError:INVALID_ARGUMENTS
1543 * RadioError:NO_MEMORY
1544 * RadioError:SYSTEM_ERR
1545 * RadioError:REQUEST_RATE_LIMITED
1546 * RadioError:MODEM_ERR
1547 * RadioError:INVALID_STATE
1548 * RadioError:GENERIC_FAILURE
1549 */
1550 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1551
1552 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001553 * @param info Response info struct containing response type, serial no. and error
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001554 *
1555 * Valid errors returned:
1556 * RadioError:NONE
1557 * RadioError:RADIO_NOT_AVAILABLE
1558 * RadioError:GENERIC_FAILURE
1559 */
1560 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1561
1562 /*
1563 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001564 * @param source CDMA subscription source
1565 *
1566 * Valid errors returned:
1567 * RadioError:NONE
1568 * RadioError:RADIO_NOT_AVAILABLE
1569 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1570 * RadioError:GENERIC_FAILURE
1571 */
1572 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1573
1574 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001575 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001576 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1577 *
1578 * Valid errors returned:
1579 * RadioError:NONE
1580 * RadioError:RADIO_NOT_AVAILABLE
1581 * RadioError:GENERIC_FAILURE
1582 */
1583 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
1584
1585 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001586 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001587 *
1588 * Valid errors returned:
1589 * RadioError:NONE
1590 * RadioError:RADIO_NOT_AVAILABLE
1591 * RadioError:GENERIC_FAILURE
1592 */
1593 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
1594
1595 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001596 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001597 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
1598 *
1599 * Valid errors returned:
1600 * RadioError:NONE
1601 * RadioError:RADIO_NOT_AVAILABLE
1602 * RadioError:SIM_BUSY
1603 * RadioError:OPERATION_NOT_ALLOWED
1604 * RadioError:GENERIC_FAILURE
1605 */
1606 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
1607
1608 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001609 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001610 * @param rat Current voice RAT
1611 *
1612 * Valid errors returned:
1613 * RadioError:NONE
1614 * RadioError:RADIO_NOT_AVAILABLE
1615 * RadioError:GENERIC_FAILURE
1616 */
1617 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
1618
1619 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001620 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001621 * @param cellInfo List of current cell information known to radio
1622 *
1623 * Valid errors returned:
1624 * RadioError:NONE
1625 * RadioError:RADIO_NOT_AVAILABLE
1626 * RadioError:GENERIC_FAILURE
1627 */
1628 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
1629
1630 /*
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:GENERIC_FAILURE
1637 */
1638 oneway setCellInfoListRateResponse(RadioResponseInfo info);
1639
1640 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001641 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001642 *
1643 * Valid errors returned:
1644 * RadioError:NONE
1645 * RadioError:RADIO_NOT_AVAILABLE
1646 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1647 * RadioError:GENERIC_FAILURE
1648 */
1649 oneway setInitialAttachApnResponse(RadioResponseInfo info);
1650
1651 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001652 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001653 * @param isRegistered false = not registered, true = registered
1654 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
1655 * isRegistered is true.
1656 *
1657 * Valid errors returned:
1658 * RadioError:NONE
1659 * RadioError:RADIO_NOT_AVAILABLE
1660 * RadioError:GENERIC_FAILURE
1661 */
1662 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
1663 RadioTechnologyFamily ratFamily);
1664
1665 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001666 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001667 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
1668 *
1669 * Valid errors returned:
1670 * RadioError:NONE
1671 * RadioError:RADIO_NOT_AVAILABLE
1672 * RadioError:SMS_SEND_FAIL_RETRY
1673 * RadioError:FDN_CHECK_FAILURE
1674 * RadioError:NETWORK_REJECT
1675 * RadioError:INVALID_ARGUMENTS
1676 * RadioError:INVALID_STATE
1677 * RadioError:NO_MEMORY
1678 * RadioError:INVALID_SMS_FORMAT
1679 * RadioError:SYSTEM_ERR
1680 * RadioError:REQUEST_RATE_LIMITED
1681 * RadioError:MODEM_ERR
1682 * RadioError:NETWORK_ERR
1683 * RadioError:ENCODING_ERR
1684 * RadioError:MODE_NOT_SUPPORTED
1685 * RadioError:GENERIC_FAILURE
1686 */
1687 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1688
1689 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001690 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001691 * @param result IccIoResult as defined in types.hal
1692 *
1693 * Valid errors returned:
1694 * RadioError:NONE
1695 * RadioError:RADIO_NOT_AVAILABLE
1696 * RadioError:GENERIC_FAILURE
1697 */
1698 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
1699
1700 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001701 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001702 * @param channelId session id of the logical channel.
1703 * @param selectResponse Contains the select response for the open channel command with one
1704 * byte per integer
1705 *
1706 * Valid errors returned:
1707 * RadioError:NONE
1708 * RadioError:RADIO_NOT_AVAILABLE
1709 * RadioError:GENERIC_FAILURE
1710 * RadioError:MISSING_RESOURCE
1711 * RadioError:NO_SUCH_ELEMENT
1712 */
1713 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
1714 vec<int8_t> selectResponse);
1715
1716 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001717 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001718 *
1719 * Valid errors returned:
1720 * RadioError:NONE
1721 * RadioError:RADIO_NOT_AVAILABLE
1722 * RadioError:GENERIC_FAILURE
1723 */
1724 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
1725
1726 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001727 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001728 * @param result IccIoResult as defined in types.hal
1729 *
1730 * Valid errors returned:
1731 * RadioError:NONE
1732 * RadioError:RADIO_NOT_AVAILABLE
1733 * RadioError:GENERIC_FAILURE
1734 */
1735 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
1736
1737 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001738 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001739 * @param result string containing the contents of the NV item
1740 *
1741 * Valid errors returned:
1742 * RadioError:NONE
1743 * RadioError:RADIO_NOT_AVAILABLE
1744 * RadioError:GENERIC_FAILURE
1745 */
1746 oneway nvReadItemResponse(RadioResponseInfo info, string result);
1747
1748 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001749 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001750 *
1751 * Valid errors returned:
1752 * RadioError:NONE
1753 * RadioError:RADIO_NOT_AVAILABLE
1754 * RadioError:GENERIC_FAILURE
1755 */
1756 oneway nvWriteItemResponse(RadioResponseInfo info);
1757
1758 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001759 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001760 *
1761 * Valid errors returned:
1762 * RadioError:NONE
1763 * RadioError:RADIO_NOT_AVAILABLE
1764 * RadioError:GENERIC_FAILURE
1765 */
1766 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
1767
1768 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001769 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001770 *
1771 * Valid errors returned:
1772 * RadioError:NONE
1773 * RadioError:RADIO_NOT_AVAILABLE
1774 * RadioError:GENERIC_FAILURE
1775 */
1776 oneway nvResetConfigResponse(RadioResponseInfo info);
1777
1778 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001779 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001780 *
1781 * Valid errors returned:
1782 * RadioError:NONE
1783 * RadioError:RADIO_NOT_AVAILABLE
1784 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
1785 * RadioError:GENERIC_FAILURE
1786 */
1787 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
1788
1789 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001790 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001791 *
1792 * Valid errors returned:
1793 * RadioError:NONE
1794 * RadioError:RADIO_NOT_AVAILABLE
1795 * RadioError:GENERIC_FAILURE
1796 */
1797 oneway setDataAllowedResponse(RadioResponseInfo info);
1798
1799 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001800 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001801 * @param config Array of HardwareConfig of the radio.
1802 *
1803 * Valid errors returned:
1804 * RadioError:NONE
1805 * RadioError:RADIO_NOT_AVAILABLE
1806 */
1807 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
1808
1809 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001810 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001811 * @param result IccIoResult as defined in types.hal
1812 *
1813 * Valid errors returned:
1814 * RadioError:NONE
1815 * RadioError:RADIO_NOT_AVAILABLE
1816 */
1817 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
1818
1819 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001820 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001821 *
1822 * Valid errors returned:
1823 * RadioError:NONE
1824 * RadioError:RADIO_NOT_AVAILABLE
1825 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1826 */
1827 oneway setDataProfileResponse(RadioResponseInfo info);
1828
1829 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001830 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001831 *
1832 * Valid errors returned:
1833 * RadioError:NONE
1834 * RadioError:RADIO_NOT_AVAILABLE
1835 * RadioError:OPERATION_NOT_ALLOWED
1836 * RadioError:GENERIC_FAILURE
1837 */
1838 oneway requestShutdownResponse(RadioResponseInfo info);
1839
1840 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001841 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001842 * @param rc Radio capability as defined by RadioCapability in types.hal
1843 *
1844 * Valid errors returned:
1845 * RadioError:NONE
1846 * RadioError:RADIO_NOT_AVAILABLE
1847 * RadioError:OPERATION_NOT_ALLOWED
1848 * RadioError:GENERIC_FAILURE
1849 */
1850 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
1851
1852 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001853 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001854 * @param rc Radio capability as defined by RadioCapability in types.hal used to
1855 * feedback return status
1856 *
1857 * Valid errors returned:
1858 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
1859 * RadioError:RADIO_NOT_AVAILABLE
1860 * RadioError:OPERATION_NOT_ALLOWED
1861 * RadioError:GENERIC_FAILURE
1862 */
1863 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
1864
1865 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001866 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001867 * @param statusInfo LceStatusInfo indicating LCE status
1868 *
1869 * Valid errors returned:
1870 * RadioError:NONE
1871 * RadioError:RADIO_NOT_AVAILABLE
1872 * RadioError:LCE_NOT_SUPPORTED
1873 */
1874 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
1875
1876 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001877 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001878 * @param statusInfo LceStatusInfo indicating LCE status
1879 *
1880 * Valid errors returned:
1881 * RadioError:NONE
1882 * RadioError:RADIO_NOT_AVAILABLE
1883 * RadioError:LCE_NOT_SUPPORTED
1884 */
1885 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
1886
1887 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001888 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001889 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
1890 *
1891 * Valid errors returned:
1892 * RadioError:NONE
1893 * RadioError:RADIO_NOT_AVAILABLE
1894 * RadioError:LCE_NOT_SUPPORTED
1895 */
1896 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
1897
1898 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001899 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001900 * @param activityInfo modem activity information
1901 *
1902 * Valid errors returned:
1903 * RadioError:NONE
1904 * RadioError:RADIO_NOT_AVAILABLE
1905 * RadioError:GENERIC_FAILURE
1906 */
1907 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
1908
1909 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001910 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001911 * @param numAllowed number of allowed carriers which have been set correctly.
1912 * On success, it must match the length of list Carriers->allowedCarriers.
1913 * if Length of allowed carriers list is 0, numAllowed = 0.
1914 *
1915 * Valid errors returned:
1916 * RadioError:NONE
1917 * RadioError:RADIO_NOT_AVAILABLE
1918 * RadioError:INVALID_ARGUMENTS
1919 * RadioError:REQUEST_NOT_SUPPORTED
1920 */
1921 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
1922
1923 /*
1924 * Expected modem behavior:
1925 * Return list of allowed carriers, and if all carriers are allowed.
1926 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001927 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001928 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
1929 * If false, consider "carriers" struct
1930 * @param carriers Carrier restriction information.
1931 *
1932 * Valid errors returned:
1933 * RadioError:NONE
1934 * RadioError:RADIO_NOT_AVAILABLE
1935 * RadioError:REQUEST_NOT_SUPPORTED
1936 */
1937 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
1938 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08001939
1940 /*
Jack Yued7ef812017-01-24 11:56:52 -08001941 * @param info Response info struct containing response type, serial no. and error
1942 *
1943 * Valid errors returned:
1944 * RadioError:NONE
1945 * RadioError:RADIO_NOT_AVAILABLE
1946 */
1947 oneway sendDeviceStateResponse(RadioResponseInfo info);
1948
1949 /*
1950 * @param info Response info struct containing response type, serial no. and error
1951 *
1952 * Valid errors returned:
1953 * RadioError:NONE
1954 * RadioError:INVALID_ARGUMENTS
1955 * RadioError:RADIO_NOT_AVAILABLE
1956 */
1957 oneway setIndicationFilterResponse(RadioResponseInfo info);
1958
1959 /*
Jack Yua2118692017-02-15 15:31:34 -08001960 * @param info Response info struct containing response type, serial no. and error
1961 *
1962 * Valid errors returned:
1963 * RadioError:NONE
1964 * RadioError:RADIO_NOT_AVAILABLE
1965 * RadioError:REQUEST_NOT_SUPPORTED
1966 * RadioError:SIM_ABSENT
1967 * RadioError:INVALID_ARGUMENTS
1968 */
1969 oneway setSimCardPowerResponse(RadioResponseInfo info);
1970
1971 /*
Jack Yued7ef812017-01-24 11:56:52 -08001972 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08001973 * radio request which take long time to respond.
1974 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
1975 *
1976 * @param serial Serial no. of the request whose acknowledgement is sent.
1977 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001978 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07001979};