blob: 637f697831c092a08170e7722407cbd47de49885 [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
283 * @param failCauseInfo Contains LastCallFailCause and vendor cause code. GSM failure reasons
284 * are mapped to cause codes defined in TS 24.008 Annex H where possible. CDMA
Sanket Padawe76372492016-10-27 13:20:49 -0700285 * failure reasons are derived from the possible call failure scenarios
286 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
287 *
288 * The implementation must return LastCallFailCause:ERROR_UNSPECIFIED for blocked
289 * MO calls by restricted state (See unsolRestrictedStateChanged)
290 *
291 * If the implementation does not have access to the exact cause codes,
292 * then it must return one of the values listed in LastCallFailCause,
293 * as the UI layer needs to distinguish these cases for tone generation or
294 * error notification.
295 *
296 * Valid errors returned:
297 * RadioError:NONE
298 * RadioError:INVALID_ARGUMENTS
299 * RadioError:RADIO_NOT_AVAILABLE
300 * RadioError:NO_MEMORY
301 * RadioError:GENERIC_FAILURE
302 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800303 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
304 LastCallFailCauseInfo failCauseinfo);
Sanket Padawe76372492016-10-27 13:20:49 -0700305
306 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800307 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700308 * @param sigStrength Current signal strength
309 *
310 * Valid errors returned:
311 * RadioError:NONE
312 * RadioError:INVALID_ARGUMENTS
313 * RadioError:RADIO_NOT_AVAILABLE
314 */
315 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
316
317 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800318 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700319 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
320 * in types.hal
321 *
322 * Valid errors returned:
323 * RadioError:NONE
324 * RadioError:INVALID_ARGUMENTS
325 * RadioError:RADIO_NOT_AVAILABLE
326 * RadioError:GENERIC_FAILURE
327 */
328 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
329 VoiceRegStateResult voiceRegResponse);
330
331 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800332 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700333 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
334 * types.hal
335 *
336 * Valid errors returned:
337 * RadioError:NONE
338 * RadioError:INVALID_ARGUMENTS
339 * RadioError:RADIO_NOT_AVAILABLE
340 * RadioError:GENERIC_FAILURE
341 */
342 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
343 DataRegStateResult dataRegResponse);
344
345 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800346 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700347 * @param longName is long alpha ONS or EONS or empty string if unregistered
348 * @param shortName is short alpha ONS or EONS or empty string if unregistered
349 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
350 *
351 * Valid errors returned:
352 * RadioError:NONE
353 * RadioError:INVALID_ARGUMENTS
354 * RadioError:RADIO_NOT_AVAILABLE
355 * RadioError:GENERIC_FAILURE
356 */
357 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
358 string numeric);
359
360 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800361 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700362 *
363 * Valid errors returned:
364 * RadioError:NONE
365 * RadioError:INVALID_ARGUMENTS
366 * RadioError:RADIO_NOT_AVAILABLE
367 * RadioError:GENERIC_FAILURE
368 * RadioError:OPERATION_NOT_ALLOWED
369 */
370 oneway setRadioPowerResponse(RadioResponseInfo info);
371
372 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800373 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700374 *
375 * Valid errors returned:
376 * RadioError:NONE
377 * RadioError:RADIO_NOT_AVAILABLE
378 * RadioError:INVALID_ARGUMENTS
379 * RadioError:NO_RESOURCES
380 * RadioError:NO_MEMORY
381 * RadioError:MODEM_ERR
382 * RadioError:INVALID_CALL_ID
383 * RadioError:GENERIC_FAILURE
384 */
385 oneway sendDtmfResponse(RadioResponseInfo info);
386
387 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800388 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700389 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
390 *
391 * Valid errors returned:
392 * RadioError:NONE
393 * RadioError:RADIO_NOT_AVAILABLE
394 * RadioError:SMS_SEND_FAIL_RETRY
395 * RadioError:NETWORK_REJECT
396 * RadioError:INVALID_STATE
397 * RadioError:INVALID_ARGUMENTS
398 * RadioError:NO_MEMORY
399 * RadioError:REQUEST_RATE_LIMITED
400 * RadioError:INVALID_SMS_FORMAT
401 * RadioError:SYSTEM_ERR
402 * RadioError:ENCODING_ERR
403 * RadioError:INVALID_SMSC_ADDRESS
404 * RadioError:MODEM_ERR
405 * RadioError:NETWORK_ERR
406 * RadioError:MODE_NOT_SUPPORTED
407 * RadioError:GENERIC_FAILURE
408 */
409 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
410
411 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800412 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700413 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
414 *
415 * Valid errors returned:
416 * RadioError:NONE
417 * RadioError:RADIO_NOT_AVAILABLE
418 * RadioError:SMS_SEND_FAIL_RETRY
419 * RadioError:NETWORK_REJECT
420 * RadioError:INVALID_STATE
421 * RadioError:INVALID_ARGUMENTS
422 * RadioError:NO_MEMORY
423 * RadioError:REQUEST_RATE_LIMITED
424 * RadioError:INVALID_SMS_FORMAT
425 * RadioError:SYSTEM_ERR
426 * RadioError:FDN_CHECK_FAILURE
427 * RadioError:ENCODING_ERR
428 * RadioError:INVALID_SMSC_ADDRESS
429 * RadioError:MODEM_ERR
430 * RadioError:NETWORK_ERR
431 * RadioError:MODE_NOT_SUPPORTED
432 * RadioError:GENERIC_FAILURE
433 */
434 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
435
436 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800437 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700438 * @param dcResponse SetupDataCallResult defined in types.hal
439 *
440 * Valid errors returned:
441 * RadioError:NONE must be returned on both success and failure of setup with the
442 * DataCallResponse.status containing the actual status
443 * For all other errors the DataCallResponse is ignored.
444 * RadioError:INVALID_ARGUMENTS
445 * RadioError:RADIO_NOT_AVAILABLE
446 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
447 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
448 * RadioError:REQUEST_NOT_SUPPORTED
449 * RadioError:GENERIC_FAILURE
450 */
451 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
452
453 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800454 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -0700455 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
Sanket Padawe76372492016-10-27 13:20:49 -0700456 *
457 * Valid errors returned:
458 * RadioError:NONE
459 * RadioError:INVALID_ARGUMENTS
460 * RadioError:RADIO_NOT_AVAILABLE
461 * RadioError:SIM_PIN2
462 * RadioError:SIM_PUK2
463 * RadioError:GENERIC_FAILURE
464 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800465 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
Sanket Padawe76372492016-10-27 13:20:49 -0700466
467 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800468 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700469 *
470 * Valid errors returned:
471 * RadioError:NONE
472 * RadioError:RADIO_NOT_AVAILABLE
473 * RadioError:FDN_CHECK_FAILURE
474 * RadioError:USSD_MODIFIED_TO_DIAL
475 * RadioError:USSD_MODIFIED_TO_SS
476 * RadioError:USSD_MODIFIED_TO_USSD
477 * RadioError:SIM_BUSY
478 * RadioError:OPERATION_NOT_ALLOWED
479 * RadioError:INVALID_ARGUMENTS
480 * RadioError:NO_MEMORY
481 * RadioError:MODEM_ERR
482 * RadioError:INTERNAL_ERR
483 * RadioError:ABORTED
484 * RadioError:SYSTEM_ERR
485 * RadioError:INVALID_STATE
486 * RadioError:GENERIC_FAILURE
487 */
488 oneway sendUssdResponse(RadioResponseInfo info);
489
490 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800491 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700492 *
493 * Valid errors returned:
494 * RadioError:NONE
495 * RadioError:INVALID_ARGUMENTS
496 * RadioError:RADIO_NOT_AVAILABLE
497 * RadioError:SIM_BUSY
498 * RadioError:OPERATION_NOT_ALLOWED
499 * RadioError:MODEM_ERR
500 * RadioError:INTERNAL_ERR
501 * RadioError:NO_MEMORY
502 * RadioError:INVALID_STATE
503 * RadioError:GENERIC_FAILURE
504 */
505 oneway cancelPendingUssdResponse(RadioResponseInfo info);
506
507 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800508 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700509 * @param n is "n" parameter from TS 27.007 7.7
510 * @param m is "m" parameter from TS 27.007 7.7
511 *
512 * Valid errors returned:
513 * RadioError:NONE
514 * RadioError:INVALID_ARGUMENTS
515 * RadioError:RADIO_NOT_AVAILABLE
516 * RadioError:SS_MODIFIED_TO_DIAL
517 * RadioError:SS_MODIFIED_TO_USSD
518 * RadioError:SS_MODIFIED_TO_SS
519 * RadioError:NO_MEMORY
520 * RadioError:MODEM_ERR
521 * RadioError:INTERNAL_ERR
522 * RadioError:FDN_CHECK_FAILURE
523 * RadioError:SYSTEM_ERR
524 * RadioError:GENERIC_FAILURE
525 */
526 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
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 *
531 * Valid errors returned:
532 * RadioError:NONE
533 * RadioError:INVALID_ARGUMENTS
534 * RadioError:RADIO_NOT_AVAILABLE
535 * RadioError:SS_MODIFIED_TO_DIAL
536 * RadioError:SS_MODIFIED_TO_USSD
537 * RadioError:SS_MODIFIED_TO_SS
538 * RadioError:INVALID_ARGUMENTS
539 * RadioError:SYSTEM_ERR
540 * RadioError:GENERIC_FAILURE
541 */
542 oneway setClirResponse(RadioResponseInfo info);
543
544 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800545 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700546 * @param callForwardInfos points to a vector of CallForwardInfo, one for
547 * each distinct registered phone number.
548 *
549 * For example, if data is forwarded to +18005551212 and voice is forwarded
550 * to +18005559999, then two separate CallForwardInfo's must be returned
551 *
552 * If, however, both data and voice are forwarded to +18005551212, then
553 * a single CallForwardInfo must be returned with the service class
554 * set to "data + voice = 3")
555 *
556 * Valid errors returned:
557 * RadioError:NONE
558 * RadioError:RADIO_NOT_AVAILABLE
559 * RadioError:SS_MODIFIED_TO_DIAL
560 * RadioError:SS_MODIFIED_TO_USSD
561 * RadioError:SS_MODIFIED_TO_SS
562 * RadioError:INVALID_ARGUMENTS
563 * RadioError:NO_MEMORY
564 * RadioError:SYSTEM_ERR
565 * RadioError:MODEM_ERR
566 * RadioError:INTERNAL_ERR
567 * RadioError:FDN_CHECK_FAILURE
568 * RadioError:GENERIC_FAILURE
569 */
570 oneway getCallForwardStatusResponse(RadioResponseInfo info,
571 vec<CallForwardInfo> callForwardInfos);
572
573 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800574 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700575 *
576 * Valid errors returned:
577 * RadioError:NONE
578 * RadioError:RADIO_NOT_AVAILABLE
579 * RadioError:SS_MODIFIED_TO_DIAL
580 * RadioError:SS_MODIFIED_TO_USSD
581 * RadioError:SS_MODIFIED_TO_SS
582 * RadioError:INVALID_ARGUMENTS
583 * RadioError:NO_MEMORY
584 * RadioError:SYSTEM_ERR
585 * RadioError:MODEM_ERR
586 * RadioError:INTERNAL_ERR
587 * RadioError:INVALID_STATE
588 * RadioError:FDN_CHECK_FAILURE
589 * RadioError:GENERIC_FAILURE
590 */
591 oneway setCallForwardResponse(RadioResponseInfo info);
592
593 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800594 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700595 * @param enable If current call waiting state is disabled, enable = false else true
596 * @param serviceClass If enable, then callWaitingResp[1]
597 * must follow, with the TS 27.007 service class bit vector of services
598 * for which call waiting is enabled.
599 * For example, if callWaitingResp[0] is 1 and
600 * callWaitingResp[1] is 3, then call waiting is enabled for data
601 * and voice and disabled for everything else.
602 *
603 * Valid errors returned:
604 * RadioError:NONE
605 * RadioError:RADIO_NOT_AVAILABLE
606 * RadioError:SS_MODIFIED_TO_DIAL
607 * RadioError:SS_MODIFIED_TO_USSD
608 * RadioError:SS_MODIFIED_TO_SS
609 * RadioError:INVALID_ARGUMENTS
610 * RadioError:NO_MEMORY
611 * RadioError:MODEM_ERR
612 * RadioError:INTERNAL_ERR
613 * RadioError:FDN_CHECK_FAILURE
614 * RadioError:GENERIC_FAILURE
615 */
616 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
617
618 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800619 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700620 *
621 * Valid errors returned:
622 * RadioError:NONE
623 * RadioError:RADIO_NOT_AVAILABLE
624 * RadioError:SS_MODIFIED_TO_DIAL
625 * RadioError:SS_MODIFIED_TO_USSD
626 * RadioError:SS_MODIFIED_TO_SS
627 * RadioError:INVALID_ARGUMENTS
628 * RadioError:NO_MEMORY
629 * RadioError:MODEM_ERR
630 * RadioError:INTERNAL_ERR
631 * RadioError:INVALID_STATE
632 * RadioError:FDN_CHECK_FAILURE
633 * RadioError:GENERIC_FAILURE
634 */
635 oneway setCallWaitingResponse(RadioResponseInfo info);
636
637 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800638 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700639 *
640 * Valid errors returned:
641 * RadioError:NONE
642 * RadioError:INVALID_ARGUMENTS
643 * RadioError:RADIO_NOT_AVAILABLE
644 * RadioError:GENERIC_FAILURE
645 */
646 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
647
648 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800649 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700650 *
651 * Valid errors returned:
652 * RadioError:NONE
653 * RadioError:INVALID_ARGUMENTS
654 * RadioError:RADIO_NOT_AVAILABLE
655 * RadioError:INVALID_STATE
656 * RadioError:NO_MEMORY
657 * RadioError:SYSTEM_ERR
658 * RadioError:MODEM_ERR
659 * RadioError:INTERNAL_ERR
660 * RadioError:INVALID_CALL_ID
661 * RadioError:GENERIC_FAILURE
662 */
663 oneway acceptCallResponse(RadioResponseInfo info);
664
665 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800666 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700667 *
668 * Valid errors returned:
669 * RadioError:NONE
670 * RadioError:INVALID_ARGUMENTS
671 * RadioError:RADIO_NOT_AVAILABLE
672 * RadioError:GENERIC_FAILURE
673 */
674 oneway deactivateDataCallResponse(RadioResponseInfo info);
675
676 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800677 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700678 * @param response 0 is the TS 27.007 service class bit vector of
679 * services for which the specified barring facility
680 * is active. "0" means "disabled for all"
681 *
682 * Valid errors returned:
683 * RadioError:NONE
684 * RadioError:RADIO_NOT_AVAILABLE
685 * RadioError:SS_MODIFIED_TO_DIAL
686 * RadioError:SS_MODIFIED_TO_USSD
687 * RadioError:SS_MODIFIED_TO_SS
688 * RadioError:INVALID_ARGUMENTS
689 * RadioError:NO_MEMORY
690 * RadioError:MODEM_ERR
691 * RadioError:INTERNAL_ERR
692 * RadioError:SYSTEM_ERR
693 * RadioError:FDN_CHECK_FAILURE
694 * RadioError:GENERIC_FAILURE
695 */
696 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
697
698 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800699 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700700 * @param retry 0 is the number of retries remaining, or -1 if unknown
701 *
702 * Valid errors returned:
703 * RadioError:NONE
704 * RadioError:RADIO_NOT_AVAILABLE
705 * RadioError:SS_MODIFIED_TO_DIAL
706 * RadioError:SS_MODIFIED_TO_USSD
707 * RadioError:SS_MODIFIED_TO_SS
708 * RadioError:INVALID_ARGUMENTS
709 * RadioError:NO_MEMORY
710 * RadioError:MODEM_ERR
711 * RadioError:INTERNAL_ERR
712 * RadioError:INVALID_STATE
713 * RadioError:FDN_CHECK_FAILURE
714 * RadioError:GENERIC_FAILURE
715 */
716 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
717
718 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800719 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700720 *
721 * Valid errors returned:
722 * RadioError:NONE
723 * RadioError:RADIO_NOT_AVAILABLE
724 * RadioError:SS_MODIFIED_TO_DIAL
725 * RadioError:SS_MODIFIED_TO_USSD
726 * RadioError:SS_MODIFIED_TO_SS
727 * RadioError:INVALID_ARGUMENTS
728 * RadioError:NO_MEMORY
729 * RadioError:MODEM_ERR
730 * RadioError:INTERNAL_ERR
731 * RadioError:SYSTEM_ERR
732 * RadioError:FDN_CHECK_FAILURE
733 * RadioError:GENERIC_FAILURE
734 */
735 oneway setBarringPasswordResponse(RadioResponseInfo info);
736
737 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800738 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700739 * @param selection false for automatic selection, true for manual selection
740 *
741 * Valid errors returned:
742 * RadioError:NONE
743 * RadioError:INVALID_ARGUMENTS
744 * RadioError:RADIO_NOT_AVAILABLE
745 * RadioError:GENERIC_FAILURE
746 */
747 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
748
749 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800750 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700751 *
752 * Valid errors returned:
753 * RadioError:NONE
754 * RadioError:INVALID_ARGUMENTS
755 * RadioError:RADIO_NOT_AVAILABLE
756 * RadioError:ILLEGAL_SIM_OR_ME
757 * RadioError:OPERATION_NOT_ALLOWED
758 * RadioError:GENERIC_FAILURE
759 *
760 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
761 * no retries needed, such as illegal SIM or ME.
762 * Returns RadioError:GENERIC_FAILURE for all other causes that might be fixed by retries.
763 */
764 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
765
766 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800767 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700768 *
769 * Valid errors returned:
770 * RadioError:NONE
771 * RadioError:INVALID_ARGUMENTS
772 * RadioError:RADIO_NOT_AVAILABLE
773 * RadioError:ILLEGAL_SIM_OR_ME
774 * RadioError:OPERATION_NOT_ALLOWED
775 * RadioError:GENERIC_FAILURE
776 *
777 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
778 * no retries needed, such as illegal SIM or ME.
779 * Returns RadioError:GENERIC_FAILURE for all other causes that might be fixed by retries.
780 */
781 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
782
783 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800784 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700785 * @param networkInfos List of network operator information as OperatorInfos defined in
786 * types.hal
787 *
788 * Valid errors returned:
789 * RadioError:NONE
790 * RadioError:INVALID_ARGUMENTS
791 * RadioError:RADIO_NOT_AVAILABLE
792 * RadioError:OPERATION_NOT_ALLOWED
793 * RadioError:GENERIC_FAILURE
794 */
795 oneway getAvailableNetworksResponse(RadioResponseInfo info,
796 vec<OperatorInfo> networkInfos);
797
798 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800799 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700800 *
801 * Valid errors returned:
802 * RadioError:NONE
803 * RadioError:RADIO_NOT_AVAILABLE
804 * RadioError:INVALID_ARGUMENTS
805 * RadioError:NO_RESOURCES
806 * RadioError:NO_MEMORY
807 * RadioError:SYSTEM_ERR
808 * RadioError:MODEM_ERR
809 * RadioError:INTERNAL_ERR
810 * RadioError:INVALID_CALL_ID
811 * RadioError:GENERIC_FAILURE
812 */
813 oneway startDtmfResponse(RadioResponseInfo info);
814
815 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800816 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700817 *
818 * Valid errors returned:
819 * RadioError:NONE
820 * RadioError:RADIO_NOT_AVAILABLE
821 * RadioError:INVALID_ARGUMENTS
822 * RadioError:NO_RESOURCES
823 * RadioError:NO_MEMORY
824 * RadioError:INVALID_ARGUMENTS
825 * RadioError:SYSTEM_ERR
826 * RadioError:MODEM_ERR
827 * RadioError:INTERNAL_ERR
828 * RadioError:INVALID_CALL_ID
829 * RadioError:GENERIC_FAILURE
830 */
831 oneway stopDtmfResponse(RadioResponseInfo info);
832
833 /*
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 * @param version string containing version string for log reporting
836 *
837 * Valid errors returned:
838 * RadioError:NONE
839 * RadioError:RADIO_NOT_AVAILABLE
840 * RadioError:INVALID_ARGUMENTS
841 * RadioError:EMPTY_RECORD
842 * RadioError:GENERIC_FAILURE
843 */
844 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
845
846 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800847 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700848 *
849 * Valid errors returned:
850 * RadioError:NONE
851 * RadioError:RADIO_NOT_AVAILABLE
852 * RadioError:INVALID_ARGUMENTS
853 * RadioError:INVALID_STATE
854 * RadioError:NO_RESOURCES
855 * RadioError:NO_MEMORY
856 * RadioError:MODEM_ERR
857 * RadioError:SYSTEM_ERR
858 * RadioError:INTERNAL_ERR
859 * RadioError:INVALID_CALL_ID
860 * RadioError:OPERATION_NOT_ALLOWED
861 * RadioError:GENERIC_FAILURE
862 */
863 oneway separateConnectionResponse(RadioResponseInfo info);
864
865 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800866 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700867 *
868 * Valid errors returned:
869 * RadioError:NONE
870 * RadioError:RADIO_NOT_AVAILABLE
871 * RadioError:INVALID_ARGUMENTS
872 * RadioError:NO_MEMORY
873 * RadioError:REQUEST_RATE_LIMITED
874 * RadioError:GENERIC_FAILURE
875 */
876 oneway setMuteResponse(RadioResponseInfo info);
877
878 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800879 * @param info Response info struct containing response type, serial no. and error
880 * @param enable true for "mute enabled" and false for "mute disabled"
Sanket Padawe76372492016-10-27 13:20:49 -0700881 *
882 * Valid errors returned:
883 * RadioError:NONE
884 * RadioError:RADIO_NOT_AVAILABLE
885 * RadioError:INVALID_ARGUMENTS
886 * RadioError:SS_MODIFIED_TO_DIAL
887 * RadioError:SS_MODIFIED_TO_USSD
888 * RadioError:SS_MODIFIED_TO_SS
889 * RadioError:NO_MEMORY
890 * RadioError:REQUEST_RATE_LIMITED
891 * RadioError:GENERIC_FAILURE
892 */
893 oneway getMuteResponse(RadioResponseInfo info, bool enable);
894
895 /*
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 status indicates CLIP status
898 *
899 * Valid errors returned:
900 * RadioError:NONE
901 * RadioError:RADIO_NOT_AVAILABLE
902 * RadioError:INVALID_ARGUMENTS
903 * RadioError:NO_MEMORY
904 * RadioError:SYSTEM_ERR
905 * RadioError:MODEM_ERR
906 * RadioError:INTERNAL_ERR
907 * RadioError:FDN_CHECK_FAILURE
908 * RadioError:GENERIC_FAILURE
909 */
910 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
911
912 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800913 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700914 * @param dcResponse List of DataCallResult as defined in types.hal
915 *
916 * Valid errors returned:
917 * RadioError:NONE
918 * RadioError:RADIO_NOT_AVAILABLE
919 * RadioError:INVALID_ARGUMENTS
920 * RadioError:GENERIC_FAILURE
921 */
922 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
923
924 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800925 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700926 * @param data data returned by oem
927 *
928 * Valid errors returned:
929 * RadioError:NONE
930 * RadioError:RADIO_NOT_AVAILABLE
931 * RadioError:INVALID_ARGUMENTS
932 * RadioError:OEM_ERROR_X
933 */
934 oneway sendOemRilRequestRawResponse(RadioResponseInfo info, vec<uint8_t> data);
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 data data returned by oem
939 *
940 * Valid errors returned:
941 * RadioError:NONE
942 * RadioError:RADIO_NOT_AVAILABLE
943 * RadioError:INVALID_ARGUMENTS
944 * RadioError:OEM_ERROR_X
945 */
946 oneway sendOemRilRequestStringsResponse(RadioResponseInfo info, vec<string> data);
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
955 * RadioError:GENERIC_FAILURE
956 */
957 oneway sendScreenStateResponse(RadioResponseInfo info);
958
959 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800960 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700961 *
962 * Valid errors returned:
963 * RadioError:NONE
964 * RadioError:RADIO_NOT_AVAILABLE
965 * RadioError:INVALID_ARGUMENTS
966 * RadioError:SIM_BUSY
967 * RadioError:NO_MEMORY
968 * RadioError:SYSTEM_ERR
969 * RadioError:MODEM_ERR
970 * RadioError:INTERNAL_ERR
971 * RadioError:GENERIC_FAILURE
972 */
973 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
974
975 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800976 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700977 * @param index record index where the message is stored
978 *
979 * Valid errors returned:
980 * RadioError:NONE
981 * RadioError:SIM_FULL
982 * RadioError:INVALID_ARGUMENTS
983 * RadioError:INVALID_SMS_FORMAT
984 * RadioError:INTERNAL_ERR
985 * RadioError:MODEM_ERR
986 * RadioError:ENCODING_ERR
987 * RadioError:NO_MEMORY
988 * RadioError:NO_RESOURCES
989 * RadioError:INVALID_MODEM_STATE
990 * RadioError:MODE_NOT_SUPPORTED
991 * RadioError:INVALID_SMSC_ADDRESS
992 * RadioError:GENERIC_FAILURE
993 */
994 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
995
996 /*
Sanket Padawe865834e2016-12-28 16:04:10 -0800997 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700998 *
999 * Valid errors returned:
1000 * RadioError:NONE
1001 * RadioError:SIM_FULL
1002 * RadioError:INVALID_ARGUMENTS
1003 * RadioError:NO_MEMORY
1004 * RadioError:REQUEST_RATE_LIMITED
1005 * RadioError:SYSTEM_ERR
1006 * RadioError:MODEM_ERR
1007 * RadioError:NO_SUCH_ENTRY
1008 * RadioError:GENERIC_FAILURE
1009 */
1010 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1011
1012 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001013 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001014 *
1015 * Valid errors returned:
1016 * RadioError:NONE
1017 * RadioError:RADIO_NOT_AVAILABLE
1018 * RadioError:INVALID_ARGUMENTS
1019 * RadioError:OPERATION_NOT_ALLOWED
1020 * RadioError:GENERIC_FAILURE
1021 */
1022 oneway setBandModeResponse(RadioResponseInfo info);
1023
1024 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001025 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001026 * @param bandModes List of RadioBandMode listing supported modes
1027 *
1028 * Valid errors returned:
1029 * RadioError:NONE
1030 * RadioError:RADIO_NOT_AVAILABLE
1031 * RadioError:INVALID_ARGUMENTS
1032 * RadioError:GENERIC_FAILURE
1033 */
1034 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1035
1036 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001037 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001038 * @param commandResponse SAT/USAT response in hexadecimal format
1039 * string starting with first byte of response
1040 *
1041 * Valid errors returned:
1042 * RadioError:NONE
1043 * RadioError:RADIO_NOT_AVAILABLE
1044 * RadioError:INVALID_ARGUMENTS
1045 * RadioError:SIM_BUSY
1046 * RadioError:OPERATION_NOT_ALLOWED
1047 * RadioError:GENERIC_FAILURE
1048 */
1049 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1050
1051 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001052 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001053 *
1054 * Valid errors returned:
1055 * RadioError:NONE
1056 * RadioError:RADIO_NOT_AVAILABLE
1057 * RadioError:INVALID_ARGUMENTS
1058 * RadioError:OPERATION_NOT_ALLOWED
1059 * RadioError:GENERIC_FAILURE
1060 */
1061 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
Sanket Padawed52335c2016-11-03 16:46:32 -07001062
1063 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001064 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001065 *
1066 * Valid errors returned:
1067 * RadioError:NONE
1068 * RadioError:RADIO_NOT_AVAILABLE
1069 * RadioError:INVALID_ARGUMENTS
1070 * RadioError:OPERATION_NOT_ALLOWED
1071 * RadioError:GENERIC_FAILURE
1072 */
1073 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1074
1075 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001076 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001077 *
1078 * Valid errors returned:
1079 * RadioError:NONE
1080 * RadioError:RADIO_NOT_AVAILABLE
1081 * RadioError:INVALID_ARGUMENTS
1082 * RadioError:INVALID_STATE
1083 * RadioError:NO_RESOURCES
1084 * RadioError:NO_MEMORY
1085 * RadioError:SYSTEM_ERR
1086 * RadioError:MODEM_ERR
1087 * RadioError:INTERNAL_ERR
1088 * RadioError:INVALID_CALL_ID
1089 * RadioError:OPERATION_NOT_ALLOWED
1090 * RadioError:GENERIC_FAILURE
1091 */
1092 oneway explicitCallTransferResponse(RadioResponseInfo info);
1093
1094 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001095 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001096 *
1097 * Valid errors returned:
1098 * RadioError:NONE
1099 * RadioError:RADIO_NOT_AVAILABLE
1100 * RadioError:INVALID_ARGUMENTS
1101 * RadioError:OPERATION_NOT_ALLOWED
1102 * RadioError:MODE_NOT_SUPPORTED
1103 * RadioError:GENERIC_FAILURE
1104 */
1105 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1106
1107 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001108 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001109 * @param nwType RadioPreferredNetworkType defined in types.hal
1110 *
1111 * Valid errors returned:
1112 * RadioError:NONE
1113 * RadioError:RADIO_NOT_AVAILABLE
1114 * RadioError:INVALID_ARGUMENTS
1115 * RadioError:GENERIC_FAILURE
1116 */
1117 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1118 PreferredNetworkType nwType);
1119
1120 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001121 * @param info Response info struct containing response type, serial no. and error
1122 * @param cells Vector of neighboring radio cell
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 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001130 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
Sanket Padawed52335c2016-11-03 16:46:32 -07001131
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:GENERIC_FAILURE
1140 */
1141 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1142
1143 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001144 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001145 *
1146 * Valid errors returned:
1147 * RadioError:NONE
1148 * RadioError:RADIO_NOT_AVAILABLE
1149 * RadioError:INVALID_ARGUMENTS
1150 * RadioError:SIM_ABSENT
1151 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1152 * RadioError:GENERIC_FAILURE
1153 */
1154 oneway setCdmaSubscriptionSourceResponse(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 *
1159 * Valid errors returned:
1160 * RadioError:NONE
1161 * RadioError:RADIO_NOT_AVAILABLE
1162 * RadioError:INVALID_ARGUMENTS
1163 * RadioError:GENERIC_FAILURE
1164 */
1165 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1166
1167 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001168 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001169 * @param type CdmaRoamingType defined in types.hal
1170 *
1171 * Valid errors returned:
1172 * RadioError:NONE
1173 * RadioError:RADIO_NOT_AVAILABLE
1174 * RadioError:INVALID_ARGUMENTS
1175 * RadioError:GENERIC_FAILURE
1176 */
1177 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1178
1179 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001180 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001181 *
1182 * Valid errors returned:
1183 * RadioError:NONE
1184 * RadioError:RADIO_NOT_AVAILABLE
1185 * RadioError:INVALID_ARGUMENTS
1186 * RadioError:MODEM_ERR
1187 * RadioError:INTERNAL_ERR
1188 * RadioError:NO_MEMORY
1189 * RadioError:GENERIC_FAILURE
1190 */
1191 oneway setTTYModeResponse(RadioResponseInfo info);
1192
1193 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001194 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001195 * @param mode TtyMode
1196 *
1197 * Valid errors returned:
1198 * RadioError:NONE
1199 * RadioError:RADIO_NOT_AVAILABLE
1200 * RadioError:INVALID_ARGUMENTS
1201 * RadioError:MODEM_ERR
1202 * RadioError:INTERNAL_ERR
1203 * RadioError:NO_MEMORY
1204 * RadioError:GENERIC_FAILURE
1205 */
1206 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1207
1208 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001209 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001210 *
1211 * Valid errors returned:
1212 * RadioError:NONE
1213 * RadioError:RADIO_NOT_AVAILABLE
1214 * RadioError:INVALID_ARGUMENTS
1215 * RadioError:MODEM_ERR
1216 * RadioError:INTERNAL_ERR
1217 * RadioError:NO_MEMORY
1218 * RadioError:GENERIC_FAILURE
1219 */
1220 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1221
1222 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001223 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001224 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1225 * true for Enhanced Privacy Mode (Private Long Code Mask)
1226 *
1227 * Valid errors:
1228 * RadioError:NONE
1229 * RadioError:RADIO_NOT_AVAILABLE
1230 * RadioError:INVALID_ARGUMENTS
1231 * RadioError:MODEM_ERR
1232 * RadioError:INTERNAL_ERR
1233 * RadioError:NO_MEMORY
1234 * RadioError:GENERIC_FAILURE
1235 */
1236 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1237
1238 /*
1239 * Response callback for IRadio.sendCDMAFeatureCode()
1240 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001241 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001242 *
1243 * Valid errors returned:
1244 * RadioError:NONE
1245 * RadioError:RADIO_NOT_AVAILABLE
1246 * RadioError:INVALID_ARGUMENTS
1247 * RadioError:NO_MEMORY
1248 * RadioError:INTERNAL_ERR
1249 * RadioError:SYSTEM_ERR
1250 * RadioError:MODEM_ERR
1251 * RadioError:INVALID_CALL_ID
1252 * RadioError:INVALID_STATE
1253 * RadioError:GENERIC_FAILURE
1254 */
1255 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1256
1257 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001258 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001259 *
1260 * Valid errors returned:
1261 * RadioError:NONE
1262 * RadioError:RADIO_NOT_AVAILABLE
1263 * RadioError:INVALID_ARGUMENTS
1264 * RadioError:NO_MEMORY
1265 * RadioError:INTERNAL_ERR
1266 * RadioError:SYSTEM_ERR
1267 * RadioError:MODEM_ERR
1268 * RadioError:INVALID_CALL_ID
1269 * RadioError:INVALID_STATE
1270 * RadioError:GENERIC_FAILURE
1271 */
1272 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1273
1274 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001275 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001276 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1277 *
1278 * Valid errors returned:
1279 * RadioError:NONE
1280 * RadioError:RADIO_NOT_AVAILABLE
1281 * RadioError:INVALID_ARGUMENTS
1282 * RadioError:SMS_SEND_FAIL_RETRY
1283 * RadioError:NETWORK_REJECT
1284 * RadioError:INVALID_STATE
1285 * RadioError:NO_MEMORY
1286 * RadioError:REQUEST_RATE_LIMITED
1287 * RadioError:INVALID_SMS_FORMAT
1288 * RadioError:SYSTEM_ERR
1289 * RadioError:FDN_CHECK_FAILURE
1290 * RadioError:MODEM_ERR
1291 * RadioError:NETWORK_ERR
1292 * RadioError:ENCODING_ERR
1293 * RadioError:INVALID_SMSC_ADDRESS
1294 * RadioError:MODE_NOT_SUPPORTED
1295 * RadioError:GENERIC_FAILURE
1296 */
1297 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1298
1299 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001300 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001301 *
1302 * Valid errors returned:
1303 * RadioError:NONE
1304 * RadioError:RADIO_NOT_AVAILABLE
1305 * RadioError:INVALID_ARGUMENTS
1306 * RadioError:NO_SMS_TO_ACK
1307 * RadioError:INVALID_STATE
1308 * RadioError:NO_MEMORY
1309 * RadioError:REQUEST_RATE_LIMITED
1310 * RadioError:SYSTEM_ERR
1311 * RadioError:MODEM_ERR
1312 * RadioError:MODE_NOT_SUPPORTED
1313 * RadioError:NETWORK_NOT_READY
1314 * RadioError:INVALID_MODEM_STATE
1315 * RadioError:GENERIC_FAILURE
1316 */
1317 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1318
1319 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001320 * @param info Response info struct containing response type, serial no. and error
1321 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001322 *
1323 * Valid errors returned:
1324 * RadioError:NONE
1325 * RadioError:RADIO_NOT_AVAILABLE
1326 * RadioError:INVALID_ARGUMENTS
1327 * RadioError:INVALID_STATE
1328 * RadioError:NO_MEMORY
1329 * RadioError:REQUEST_RATE_LIMITED
1330 * RadioError:SYSTEM_ERR
1331 * RadioError:MODEM_ERR
1332 * RadioError:NO_RESOURCES
1333 * RadioError:GENERIC_FAILURE
1334 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001335 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1336 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001337
1338 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001339 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001340 *
1341 * Valid errors returned:
1342 * RadioError:NONE
1343 * RadioError:RADIO_NOT_AVAILABLE
1344 * RadioError:INVALID_ARGUMENTS
1345 * RadioError:INVALID_STATE
1346 * RadioError:NO_MEMORY
1347 * RadioError:REQUEST_RATE_LIMITED
1348 * RadioError:SYSTEM_ERR
1349 * RadioError:MODEM_ERR
1350 * RadioError:GENERIC_FAILURE
1351 */
1352 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1353
1354 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001355 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001356 *
1357 * Valid errors returned:
1358 * RadioError:NONE
1359 * RadioError:RADIO_NOT_AVAILABLE
1360 * RadioError:INVALID_ARGUMENTS
1361 * RadioError:INVALID_STATE
1362 * RadioError:NO_MEMORY
1363 * RadioError:REQUEST_RATE_LIMITED
1364 * RadioError:SYSTEM_ERR
1365 * RadioError:MODEM_ERR
1366 * RadioError:GENERIC_FAILURE
1367 */
1368 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1369
1370 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001371 * @param info Response info struct containing response type, serial no. and error
1372 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001373 *
1374 * Valid errors returned:
1375 * RadioError:NONE
1376 * RadioError:RADIO_NOT_AVAILABLE
1377 * RadioError:INVALID_ARGUMENTS
1378 * RadioError:INVALID_STATE
1379 * RadioError:NO_MEMORY
1380 * RadioError:REQUEST_RATE_LIMITED
1381 * RadioError:SYSTEM_ERR
1382 * RadioError:MODEM_ERR
1383 * RadioError:NO_RESOURCES
1384 * RadioError:GENERIC_FAILURE
1385 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001386 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1387 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001388
1389 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001390 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001391 *
1392 * Valid errors returned:
1393 * RadioError:NONE
1394 * RadioError:RADIO_NOT_AVAILABLE
1395 * RadioError:INVALID_ARGUMENTS
1396 * RadioError:INVALID_STATE
1397 * RadioError:NO_MEMORY
1398 * RadioError:REQUEST_RATE_LIMITED
1399 * RadioError:SYSTEM_ERR
1400 * RadioError:MODEM_ERR
1401 * RadioError:GENERIC_FAILURE
1402 */
1403 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1404
1405 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001406 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001407 *
1408 * Valid errors returned:
1409 * RadioError:NONE
1410 * RadioError:RADIO_NOT_AVAILABLE
1411 * RadioError:INVALID_ARGUMENTS
1412 * RadioError:INVALID_STATE
1413 * RadioError:NO_MEMORY
1414 * RadioError:REQUEST_RATE_LIMITED
1415 * RadioError:SYSTEM_ERR
1416 * RadioError:MODEM_ERR
1417 * RadioError:GENERIC_FAILURE
1418 */
1419 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1420
1421 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001422 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001423 * @param mdn MDN if CDMA subscription is available
1424 * @param hSid is a comma separated list of H_SID (Home SID) if
1425 * CDMA subscription is available, in decimal format
1426 * @param hNid is a comma separated list of H_NID (Home NID) if
1427 * CDMA subscription is available, in decimal format
1428 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1429 * @param prl PRL version if CDMA subscription is available
1430 *
1431 * Valid errors returned:
1432 * RadioError:NONE
1433 * RadioError:RADIO_NOT_AVAILABLE
1434 * RadioError:INVALID_ARGUMENTS
1435 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1436 * RadioError:GENERIC_FAILURE
1437 */
1438 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1439 string hNid, string min, string prl);
1440
1441 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001442 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001443 * @param index record index where the cmda sms message is stored
1444 *
1445 * Valid errors returned:
1446 * RadioError:NONE
1447 * RadioError:RADIO_NOT_AVAILABLE
1448 * RadioError:INVALID_ARGUMENTS
1449 * RadioError:INVALID_SMS_FORMAT
1450 * RadioError:SIM_FULL
1451 * RadioError:INTERNAL_ERR
1452 * RadioError:MODEM_ERR
1453 * RadioError:ENCODING_ERR
1454 * RadioError:NO_MEMORY
1455 * RadioError:NO_RESOURCES
1456 * RadioError:INVALID_MODEM_STATE
1457 * RadioError:MODE_NOT_SUPPORTED
1458 * RadioError:INVALID_SMSC_ADDRESS
1459 * RadioError:GENERIC_FAILURE
1460 */
1461 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1462
1463 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001464 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001465 *
1466 * Valid errors returned:
1467 * RadioError:NONE
1468 * RadioError:RADIO_NOT_AVAILABLE
1469 * RadioError:INVALID_ARGUMENTS
1470 * RadioError:NO_MEMORY
1471 * RadioError:REQUEST_RATE_LIMITED
1472 * RadioError:SYSTEM_ERR
1473 * RadioError:MODEM_ERR
1474 * RadioError:NO_SUCH_ENTRY
1475 * RadioError:GENERIC_FAILURE
1476 */
1477 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1478
1479 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001480 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001481 * @param imei IMEI if GSM subscription is available
1482 * @param imeisv IMEISV if GSM subscription is available
1483 * @param esn ESN if CDMA subscription is available
1484 * @param meid MEID if CDMA subscription is available
1485 *
1486 * Valid errors returned:
1487 * RadioError:NONE
1488 * RadioError:RADIO_NOT_AVAILABLE
1489 * RadioError:INVALID_ARGUMENTS
1490 * RadioError:GENERIC_FAILURE
1491 *
1492 * If a empty string value is returned for any of the device id, it means that there was error
1493 * accessing the device.
1494 *
1495 */
1496 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1497 string esn, string meid);
1498
1499 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001500 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001501 *
1502 * Valid errors returned:
1503 * RadioError:NONE
1504 * RadioError:RADIO_NOT_AVAILABLE
1505 * RadioError:INVALID_ARGUMENTS
1506 * RadioError:OPERATION_NO_ALLOWED
1507 * RadioError:GENERIC_FAILURE
1508 */
1509 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1510
1511 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001512 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001513 * @param smsc Short Message Service Center address on the device
1514 *
1515 * Valid errors returned:
1516 * RadioError:NONE
1517 * RadioError:RADIO_NOT_AVAILABLE
1518 * RadioError:INVALID_ARGUMENTS
1519 * RadioError:INTERNAL_ERR
1520 * RadioError:NO_MEMORY
1521 * RadioError:SYSTEM_ERR
1522 * RadioError:REQUEST_RATE_LIMITED
1523 * RadioError:MODEM_ERR
1524 * RadioError:INVALID_MODEM_STATE
1525 * RadioError:NOT_PROVISIONED
1526 * RadioError:GENERIC_FAILURE
1527 */
1528 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1529
1530 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001531 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001532 *
1533 * Valid errors returned:
1534 * RadioError:NONE
1535 * RadioError:RADIO_NOT_AVAILABLE
1536 * RadioError:INVALID_ARGUMENTS
1537 * RadioError:INVALID_SMS_FORMAT
1538 * RadioError:NO_MEMORY
1539 * RadioError:SYSTEM_ERR
1540 * RadioError:REQUEST_RATE_LIMITED
1541 * RadioError:MODEM_ERR
1542 * RadioError:NO_RESOURCES
1543 * RadioError:GENERIC_FAILURE
1544 */
1545 oneway setSmscAddressResponse(RadioResponseInfo info);
1546
1547 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001548 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001549 *
1550 * Valid errors returned:
1551 * RadioError:NONE
1552 * RadioError:RADIO_NOT_AVAILABLE
1553 * RadioError:INVALID_ARGUMENTS
1554 * RadioError:NO_MEMORY
1555 * RadioError:SYSTEM_ERR
1556 * RadioError:REQUEST_RATE_LIMITED
1557 * RadioError:MODEM_ERR
1558 * RadioError:INVALID_STATE
1559 * RadioError:GENERIC_FAILURE
1560 */
1561 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1562
1563 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001564 * @param info Response info struct containing response type, serial no. and error
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001565 *
1566 * Valid errors returned:
1567 * RadioError:NONE
1568 * RadioError:RADIO_NOT_AVAILABLE
1569 * RadioError:GENERIC_FAILURE
1570 */
1571 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1572
1573 /*
1574 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001575 * @param source CDMA subscription source
1576 *
1577 * Valid errors returned:
1578 * RadioError:NONE
1579 * RadioError:RADIO_NOT_AVAILABLE
1580 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1581 * RadioError:GENERIC_FAILURE
1582 */
1583 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
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 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1588 *
1589 * Valid errors returned:
1590 * RadioError:NONE
1591 * RadioError:RADIO_NOT_AVAILABLE
1592 * RadioError:GENERIC_FAILURE
1593 */
1594 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
1595
1596 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001597 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001598 *
1599 * Valid errors returned:
1600 * RadioError:NONE
1601 * RadioError:RADIO_NOT_AVAILABLE
1602 * RadioError:GENERIC_FAILURE
1603 */
1604 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
1605
1606 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001607 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001608 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
1609 *
1610 * Valid errors returned:
1611 * RadioError:NONE
1612 * RadioError:RADIO_NOT_AVAILABLE
1613 * RadioError:SIM_BUSY
1614 * RadioError:OPERATION_NOT_ALLOWED
1615 * RadioError:GENERIC_FAILURE
1616 */
1617 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
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 rat Current voice RAT
1622 *
1623 * Valid errors returned:
1624 * RadioError:NONE
1625 * RadioError:RADIO_NOT_AVAILABLE
1626 * RadioError:GENERIC_FAILURE
1627 */
1628 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
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 * @param cellInfo List of current cell information known to radio
1633 *
1634 * Valid errors returned:
1635 * RadioError:NONE
1636 * RadioError:RADIO_NOT_AVAILABLE
1637 * RadioError:GENERIC_FAILURE
1638 */
1639 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
1640
1641 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001642 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001643 *
1644 * Valid errors returned:
1645 * RadioError:NONE
1646 * RadioError:RADIO_NOT_AVAILABLE
1647 * RadioError:GENERIC_FAILURE
1648 */
1649 oneway setCellInfoListRateResponse(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 *
1654 * Valid errors returned:
1655 * RadioError:NONE
1656 * RadioError:RADIO_NOT_AVAILABLE
1657 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1658 * RadioError:GENERIC_FAILURE
1659 */
1660 oneway setInitialAttachApnResponse(RadioResponseInfo info);
1661
1662 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001663 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001664 * @param isRegistered false = not registered, true = registered
1665 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
1666 * isRegistered is true.
1667 *
1668 * Valid errors returned:
1669 * RadioError:NONE
1670 * RadioError:RADIO_NOT_AVAILABLE
1671 * RadioError:GENERIC_FAILURE
1672 */
1673 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
1674 RadioTechnologyFamily ratFamily);
1675
1676 /*
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 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
1679 *
1680 * Valid errors returned:
1681 * RadioError:NONE
1682 * RadioError:RADIO_NOT_AVAILABLE
1683 * RadioError:SMS_SEND_FAIL_RETRY
1684 * RadioError:FDN_CHECK_FAILURE
1685 * RadioError:NETWORK_REJECT
1686 * RadioError:INVALID_ARGUMENTS
1687 * RadioError:INVALID_STATE
1688 * RadioError:NO_MEMORY
1689 * RadioError:INVALID_SMS_FORMAT
1690 * RadioError:SYSTEM_ERR
1691 * RadioError:REQUEST_RATE_LIMITED
1692 * RadioError:MODEM_ERR
1693 * RadioError:NETWORK_ERR
1694 * RadioError:ENCODING_ERR
1695 * RadioError:MODE_NOT_SUPPORTED
1696 * RadioError:GENERIC_FAILURE
1697 */
1698 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
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 result IccIoResult as defined in types.hal
1703 *
1704 * Valid errors returned:
1705 * RadioError:NONE
1706 * RadioError:RADIO_NOT_AVAILABLE
1707 * RadioError:GENERIC_FAILURE
1708 */
1709 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
1710
1711 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001712 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001713 * @param channelId session id of the logical channel.
1714 * @param selectResponse Contains the select response for the open channel command with one
1715 * byte per integer
1716 *
1717 * Valid errors returned:
1718 * RadioError:NONE
1719 * RadioError:RADIO_NOT_AVAILABLE
1720 * RadioError:GENERIC_FAILURE
1721 * RadioError:MISSING_RESOURCE
1722 * RadioError:NO_SUCH_ELEMENT
1723 */
1724 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
1725 vec<int8_t> selectResponse);
1726
1727 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001728 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001729 *
1730 * Valid errors returned:
1731 * RadioError:NONE
1732 * RadioError:RADIO_NOT_AVAILABLE
1733 * RadioError:GENERIC_FAILURE
1734 */
1735 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
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 IccIoResult as defined in types.hal
1740 *
1741 * Valid errors returned:
1742 * RadioError:NONE
1743 * RadioError:RADIO_NOT_AVAILABLE
1744 * RadioError:GENERIC_FAILURE
1745 */
1746 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult 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 * @param result string containing the contents of the NV item
1751 *
1752 * Valid errors returned:
1753 * RadioError:NONE
1754 * RadioError:RADIO_NOT_AVAILABLE
1755 * RadioError:GENERIC_FAILURE
1756 */
1757 oneway nvReadItemResponse(RadioResponseInfo info, string result);
1758
1759 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001760 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001761 *
1762 * Valid errors returned:
1763 * RadioError:NONE
1764 * RadioError:RADIO_NOT_AVAILABLE
1765 * RadioError:GENERIC_FAILURE
1766 */
1767 oneway nvWriteItemResponse(RadioResponseInfo info);
1768
1769 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001770 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001771 *
1772 * Valid errors returned:
1773 * RadioError:NONE
1774 * RadioError:RADIO_NOT_AVAILABLE
1775 * RadioError:GENERIC_FAILURE
1776 */
1777 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
1778
1779 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001780 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001781 *
1782 * Valid errors returned:
1783 * RadioError:NONE
1784 * RadioError:RADIO_NOT_AVAILABLE
1785 * RadioError:GENERIC_FAILURE
1786 */
1787 oneway nvResetConfigResponse(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:SUBSCRIPTION_NOT_SUPPORTED
1796 * RadioError:GENERIC_FAILURE
1797 */
1798 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
1799
1800 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001801 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001802 *
1803 * Valid errors returned:
1804 * RadioError:NONE
1805 * RadioError:RADIO_NOT_AVAILABLE
1806 * RadioError:GENERIC_FAILURE
1807 */
1808 oneway setDataAllowedResponse(RadioResponseInfo info);
1809
1810 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001811 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001812 * @param config Array of HardwareConfig of the radio.
1813 *
1814 * Valid errors returned:
1815 * RadioError:NONE
1816 * RadioError:RADIO_NOT_AVAILABLE
1817 */
1818 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
1819
1820 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001821 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001822 * @param result IccIoResult as defined in types.hal
1823 *
1824 * Valid errors returned:
1825 * RadioError:NONE
1826 * RadioError:RADIO_NOT_AVAILABLE
1827 */
1828 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
1829
1830 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001831 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001832 *
1833 * Valid errors returned:
1834 * RadioError:NONE
1835 * RadioError:RADIO_NOT_AVAILABLE
1836 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1837 */
1838 oneway setDataProfileResponse(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 *
1843 * Valid errors returned:
1844 * RadioError:NONE
1845 * RadioError:RADIO_NOT_AVAILABLE
1846 * RadioError:OPERATION_NOT_ALLOWED
1847 * RadioError:GENERIC_FAILURE
1848 */
1849 oneway requestShutdownResponse(RadioResponseInfo info);
1850
1851 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001852 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001853 * @param rc Radio capability as defined by RadioCapability in types.hal
1854 *
1855 * Valid errors returned:
1856 * RadioError:NONE
1857 * RadioError:RADIO_NOT_AVAILABLE
1858 * RadioError:OPERATION_NOT_ALLOWED
1859 * RadioError:GENERIC_FAILURE
1860 */
1861 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
1862
1863 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001864 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001865 * @param rc Radio capability as defined by RadioCapability in types.hal used to
1866 * feedback return status
1867 *
1868 * Valid errors returned:
1869 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
1870 * RadioError:RADIO_NOT_AVAILABLE
1871 * RadioError:OPERATION_NOT_ALLOWED
1872 * RadioError:GENERIC_FAILURE
1873 */
1874 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
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 startLceServiceResponse(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 statusInfo LceStatusInfo indicating LCE status
1890 *
1891 * Valid errors returned:
1892 * RadioError:NONE
1893 * RadioError:RADIO_NOT_AVAILABLE
1894 * RadioError:LCE_NOT_SUPPORTED
1895 */
1896 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
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 lceInfo LceDataInfo indicating LCE data as defined in types.hal
1901 *
1902 * Valid errors returned:
1903 * RadioError:NONE
1904 * RadioError:RADIO_NOT_AVAILABLE
1905 * RadioError:LCE_NOT_SUPPORTED
1906 */
1907 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
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 activityInfo modem activity information
1912 *
1913 * Valid errors returned:
1914 * RadioError:NONE
1915 * RadioError:RADIO_NOT_AVAILABLE
1916 * RadioError:GENERIC_FAILURE
1917 */
1918 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
1919
1920 /*
Sanket Padawe865834e2016-12-28 16:04:10 -08001921 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001922 * @param numAllowed number of allowed carriers which have been set correctly.
1923 * On success, it must match the length of list Carriers->allowedCarriers.
1924 * if Length of allowed carriers list is 0, numAllowed = 0.
1925 *
1926 * Valid errors returned:
1927 * RadioError:NONE
1928 * RadioError:RADIO_NOT_AVAILABLE
1929 * RadioError:INVALID_ARGUMENTS
1930 * RadioError:REQUEST_NOT_SUPPORTED
1931 */
1932 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
1933
1934 /*
1935 * Expected modem behavior:
1936 * Return list of allowed carriers, and if all carriers are allowed.
1937 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001938 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001939 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
1940 * If false, consider "carriers" struct
1941 * @param carriers Carrier restriction information.
1942 *
1943 * Valid errors returned:
1944 * RadioError:NONE
1945 * RadioError:RADIO_NOT_AVAILABLE
1946 * RadioError:REQUEST_NOT_SUPPORTED
1947 */
1948 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
1949 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08001950
1951 /*
Jack Yued7ef812017-01-24 11:56:52 -08001952 * @param info Response info struct containing response type, serial no. and error
1953 *
1954 * Valid errors returned:
1955 * RadioError:NONE
1956 * RadioError:RADIO_NOT_AVAILABLE
1957 */
1958 oneway sendDeviceStateResponse(RadioResponseInfo info);
1959
1960 /*
1961 * @param info Response info struct containing response type, serial no. and error
1962 *
1963 * Valid errors returned:
1964 * RadioError:NONE
1965 * RadioError:INVALID_ARGUMENTS
1966 * RadioError:RADIO_NOT_AVAILABLE
1967 */
1968 oneway setIndicationFilterResponse(RadioResponseInfo info);
1969
1970 /*
Jack Yua2118692017-02-15 15:31:34 -08001971 * @param info Response info struct containing response type, serial no. and error
1972 *
1973 * Valid errors returned:
1974 * RadioError:NONE
1975 * RadioError:RADIO_NOT_AVAILABLE
1976 * RadioError:REQUEST_NOT_SUPPORTED
1977 * RadioError:SIM_ABSENT
1978 * RadioError:INVALID_ARGUMENTS
1979 */
1980 oneway setSimCardPowerResponse(RadioResponseInfo info);
1981
1982 /*
Jack Yued7ef812017-01-24 11:56:52 -08001983 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08001984 * radio request which take long time to respond.
1985 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
1986 *
1987 * @param serial Serial no. of the request whose acknowledgement is sent.
1988 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001989 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07001990};