2 * Copyright (C) 2016 The Android Open Source Project
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package android.hardware.radio@1.0;
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>
24 interface IRadioResponse {
26 * @param info Response info struct containing response type, serial no. and error
27 * @param cardStatus ICC card status as defined by CardStatus in types.hal
29 * Valid errors returned:
32 oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus);
35 * @param info Response info struct containing response type, serial no. and error
36 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
38 * Valid errors returned:
40 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
41 * RadioError:PASSWORD_INCORRECT
43 oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
46 * @param info Response info struct containing response type, serial no. and error
47 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
49 * Valid errors returned:
51 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
52 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
54 oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
57 * @param info Response info struct containing response type, serial no. and error
58 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
60 * Valid errors returned:
62 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
63 * RadioError:PASSWORD_INCORRECT
65 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
68 * @param info Response info struct containing response type, serial no. and error
69 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
70 * Valid errors returned:
72 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
73 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
75 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
78 * @param info Response info struct containing response type, serial no. and error
79 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
81 * Valid errors returned:
83 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
84 * RadioError:PASSWORD_INCORRECT
86 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
89 * @param info Response info struct containing response type, serial no. and error
90 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
92 * Valid errors returned:
94 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
95 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
97 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
100 * @param info Response info struct containing response type, serial no. and error
101 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
103 * Valid errors returned:
105 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
106 * RadioError:PASSWORD_INCORRECT (code is invalid)
108 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
111 * @param info Response info struct containing response type, serial no. and error
112 * @param calls Current call list
114 * Valid errors returned:
116 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
117 * RadioError:NO_MEMORY
118 * RadioError:INTERNAL_ERR
119 * RadioError:SYSTEM_ERR
120 * RadioError:INVALID_ARGUMENTS
121 * RadioError:REQUEST_NOT_SUPPORTED
123 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
126 * @param info Response info struct containing response type, serial no. and error
128 * Valid errors returned:
130 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
131 * RadioError:DIAL_MODIFIED_TO_USSD
132 * RadioError:DIAL_MODIFIED_TO_SS
133 * RadioError:DIAL_MODIFIED_TO_DIAL
134 * RadioError:INVALID_ARGUMENTS
135 * RadioError:NO_MEMORY
136 * RadioError:INVALID_STATE
137 * RadioError:NO_RESOURCES
138 * RadioError:INTERNAL_ERR
139 * RadioError:FDN_CHECK_FAILURE
140 * RadioError:MODEM_ERR
141 * RadioError:NO_SUBSCRIPTION
142 * RadioError:NO_NETWORK_FOUND
143 * RadioError:INVALID_CALL_ID
144 * RadioError:DEVICE_IN_USE
145 * RadioError:MODE_NOT_SUPPORTED
147 * RadioError:SYSTEM_ERR
148 * RadioError:REQUEST_NOT_SUPPORTED
149 * RadioError:INVALID_MODEM_STATE
151 oneway dialResponse(RadioResponseInfo info);
154 * @param info Response info struct containing response type, serial no. and error
155 * @param imsi String containing the IMSI
157 * Valid errors returned:
159 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
161 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
164 * @param info Response info struct containing response type, serial no. and error
166 * Valid errors returned:
168 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
169 * RadioError:INVALID_ARGUMENTS
170 * RadioError:NO_MEMORY
171 * RadioError:INVALID_STATE
172 * RadioError:MODEM_ERR
173 * RadioError:INTERNAL_ERR
174 * RadioError:INVALID_CALL_ID
176 oneway hangupConnectionResponse(RadioResponseInfo info);
179 * @param info Response info struct containing response type, serial no. and error
181 * Valid errors returned:
183 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
184 * RadioError:INVALID_STATE
185 * RadioError:NO_MEMORY
186 * RadioError:MODEM_ERR
187 * RadioError:INTERNAL_ERR
188 * RadioError:INVALID_CALL_ID
189 * RadioError:NO_RESOURCES
190 * RadioError:OPERATION_NOT_ALLOWED
191 * RadioError:INVALID_ARGUMENTS
192 * RadioError:SYSTEM_ERR
193 * RadioError:REQUEST_NOT_SUPPORTED
195 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
198 * @param info Response info struct containing response type, serial no. and error
200 * Valid errors returned:
202 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
203 * RadioError:INVALID_STATE
204 * RadioError:NO_MEMORY
205 * RadioError:MODEM_ERR
206 * RadioError:INTERNAL_ERR
207 * RadioError:INVALID_CALL_ID
208 * RadioError:NO_RESOURCES
209 * RadioError:OPERATION_NOT_ALLOWED
210 * RadioError:INVALID_ARGUMENTS
211 * RadioError:SYSTEM_ERR
212 * RadioError:REQUEST_NOT_SUPPORTED
214 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
217 * @param info Response info struct containing response type, serial no. and error
219 * Valid errors returned:
221 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
222 * RadioError:INVALID_STATE
223 * RadioError:NO_MEMORY
224 * RadioError:MODEM_ERR
225 * RadioError:INTERNAL_ERR
226 * RadioError:INVALID_STATE
227 * RadioError:INVALID_CALL_ID
228 * RadioError:OPERATION_NOT_ALLOWED
229 * RadioError:INVALID_ARGUMENTS
230 * RadioError:SYSTEM_ERR
231 * RadioError:REQUEST_NOT_SUPPORTED
232 * RadioError:INVALID_MODEM_STATE
234 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
237 * @param info Response info struct containing response type, serial no. and error
239 * Valid errors returned:
241 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
242 * RadioError:NO_MEMORY
243 * RadioError:MODEM_ERR
244 * RadioError:INTERNAL_ERR
245 * RadioError:INVALID_STATE
246 * RadioError:INVALID_CALL_ID
247 * RadioError:OPERATION_NOT_ALLOWED
248 * RadioError:INVALID_ARGUMENTS
249 * RadioError:SYSTEM_ERR
250 * RadioError:REQUEST_NOT_SUPPORTED
251 * RadioError:INVALID_MODEM_STATE
253 oneway conferenceResponse(RadioResponseInfo info);
256 * @param info Response info struct containing response type, serial no. and error
258 * Valid errors returned:
260 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
261 * RadioError:INVALID_STATE
262 * RadioError:NO_RESOURCES
263 * RadioError:NO_MEMORY
264 * RadioError:MODEM_ERR
265 * RadioError:INTERNAL_ERR
266 * RadioError:INVALID_CALL_ID
267 * RadioError:OPERATION_NOT_ALLOWED
268 * RadioError:INVALID_ARGUMENTS
269 * RadioError:SYSTEM_ERR
270 * RadioError:REQUEST_NOT_SUPPORTED
271 * RadioError:INVALID_MODEM_STATE
273 oneway rejectCallResponse(RadioResponseInfo info);
276 * @param info Response info struct containing response type, serial no. and error
277 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
279 * The vendor cause code must be used for debugging purpose only.
280 * The implementation must return one of the values of LastCallFailCause
283 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
285 * CDMA failure reasons codes for the possible call failure scenarios
286 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
287 * Any of the following reason codes if the call is failed or dropped due to reason
288 * mentioned with in the braces.
289 * LastCallFailCause:RADIO_OFF (Radio is OFF)
290 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
291 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
292 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
293 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
294 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
295 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
296 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
297 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
298 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
299 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
300 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
301 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
302 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
303 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
304 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
306 * If the implementation does not have access to the exact cause codes,
307 * then it must return one of the values listed in LastCallFailCause,
308 * as the UI layer needs to distinguish these cases for tone generation or
309 * error notification.
311 * Valid errors returned:
313 * RadioError:NO_MEMORY
314 * RadioError:RADIO_NOT_AVAILABLE
315 * RadioError:SYSTEM_ERR
316 * RadioError:INVALID_ARGUMENTS
317 * RadioError:INTERNAL_ERR
318 * RadioError:MODEM_ERR
319 * RadioError:REQUEST_NOT_SUPPORTED
321 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
322 LastCallFailCauseInfo failCauseinfo);
325 * @param info Response info struct containing response type, serial no. and error
326 * @param sigStrength Current signal strength
328 * Valid errors returned:
330 * RadioError:RADIO_NOT_AVAILABLE
332 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
335 * @param info Response info struct containing response type, serial no. and error
336 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
339 * Valid errors returned:
341 * RadioError:RADIO_NOT_AVAILABLE
343 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
344 VoiceRegStateResult voiceRegResponse);
347 * @param info Response info struct containing response type, serial no. and error
348 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
351 * Valid errors returned:
353 * RadioError:RADIO_NOT_AVAILABLE
355 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
356 DataRegStateResult dataRegResponse);
359 * @param info Response info struct containing response type, serial no. and error
360 * @param longName is long alpha ONS or EONS or empty string if unregistered
361 * @param shortName is short alpha ONS or EONS or empty string if unregistered
362 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
364 * Valid errors returned:
366 * RadioError:RADIO_NOT_AVAILABLE
368 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
372 * @param info Response info struct containing response type, serial no. and error
374 * Valid errors returned:
376 * RadioError:RADIO_NOT_AVAILABLE
377 * RadioError:OPERATION_NOT_ALLOWED
379 oneway setRadioPowerResponse(RadioResponseInfo info);
382 * @param info Response info struct containing response type, serial no. and error
384 * Valid errors returned:
386 * RadioError:RADIO_NOT_AVAILABLE
387 * RadioError:INVALID_ARGUMENTS
388 * RadioError:NO_RESOURCES
389 * RadioError:NO_MEMORY
390 * RadioError:MODEM_ERR
391 * RadioError:INVALID_CALL_ID
392 * RadioError:INTERNAL_ERR
393 * RadioError:SYSTEM_ERR
394 * RadioError:REQUEST_NOT_SUPPORTED
396 oneway sendDtmfResponse(RadioResponseInfo info);
399 * @param info Response info struct containing response type, serial no. and error
400 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
402 * Valid errors returned:
404 * RadioError:RADIO_NOT_AVAILABLE
405 * RadioError:SMS_SEND_FAIL_RETRY
406 * RadioError:NETWORK_REJECT
407 * RadioError:INVALID_STATE
408 * RadioError:INVALID_ARGUMENTS
409 * RadioError:NO_MEMORY
410 * RadioError:REQUEST_RATE_LIMITED
411 * RadioError:INVALID_SMS_FORMAT
412 * RadioError:SYSTEM_ERR
413 * RadioError:ENCODING_ERR
414 * RadioError:INVALID_SMSC_ADDRESS
415 * RadioError:MODEM_ERR
416 * RadioError:NETWORK_ERR
417 * RadioError:MODE_NOT_SUPPORTED
418 * RadioError:INTERNAL_ERR
419 * RadioError:REQUEST_NOT_SUPPORTED
420 * RadioError:INVALID_MODEM_STATE
421 * RadioError:NETWORK_NOT_READY
422 * RadioError:OPERATION_NOT_ALLOWED
424 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
427 * @param info Response info struct containing response type, serial no. and error
428 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
430 * Valid errors returned:
432 * RadioError:RADIO_NOT_AVAILABLE
433 * RadioError:SMS_SEND_FAIL_RETRY
434 * RadioError:NETWORK_REJECT
435 * RadioError:INVALID_STATE
436 * RadioError:INVALID_ARGUMENTS
437 * RadioError:NO_MEMORY
438 * RadioError:REQUEST_RATE_LIMITED
439 * RadioError:INVALID_SMS_FORMAT
440 * RadioError:SYSTEM_ERR
441 * RadioError:FDN_CHECK_FAILURE
442 * RadioError:ENCODING_ERR
443 * RadioError:INVALID_SMSC_ADDRESS
444 * RadioError:MODEM_ERR
445 * RadioError:NETWORK_ERR
446 * RadioError:MODE_NOT_SUPPORTED
447 * RadioError:INTERNAL_ERR
448 * RadioError:REQUEST_NOT_SUPPORTED
449 * RadioError:INVALID_MODEM_STATE
450 * RadioError:NETWORK_NOT_READY
451 * RadioError:OPERATION_NOT_ALLOWED
453 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
456 * @param info Response info struct containing response type, serial no. and error
457 * @param dcResponse SetupDataCallResult defined in types.hal
459 * Valid errors returned:
460 * RadioError:NONE must be returned on both success and failure of setup with the
461 * DataCallResponse.status containing the actual status
462 * For all other errors the DataCallResponse is ignored.
463 * RadioError:RADIO_NOT_AVAILABLE
464 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
465 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
466 * RadioError:REQUEST_NOT_SUPPORTED
468 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
471 * @param info Response info struct containing response type, serial no. and error
472 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
474 * Valid errors returned:
476 * RadioError:RADIO_NOT_AVAILABLE
477 * RadioError:SIM_PIN2
478 * RadioError:SIM_PUK2
480 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
483 * @param info Response info struct containing response type, serial no. and error
485 * Valid errors returned:
487 * RadioError:RADIO_NOT_AVAILABLE
488 * RadioError:FDN_CHECK_FAILURE
489 * RadioError:USSD_MODIFIED_TO_DIAL
490 * RadioError:USSD_MODIFIED_TO_SS
491 * RadioError:USSD_MODIFIED_TO_USSD
492 * RadioError:SIM_BUSY
493 * RadioError:OPERATION_NOT_ALLOWED
494 * RadioError:INVALID_ARGUMENTS
495 * RadioError:NO_MEMORY
496 * RadioError:MODEM_ERR
497 * RadioError:INTERNAL_ERR
499 * RadioError:SYSTEM_ERR
500 * RadioError:INVALID_STATE
501 * RadioError:REQUEST_NOT_SUPPORTED
502 * RadioError:INVALID_MODEM_STATE
504 oneway sendUssdResponse(RadioResponseInfo info);
507 * @param info Response info struct containing response type, serial no. and error
509 * Valid errors returned:
511 * RadioError:RADIO_NOT_AVAILABLE
512 * RadioError:SIM_BUSY
513 * RadioError:OPERATION_NOT_ALLOWED
514 * RadioError:MODEM_ERR
515 * RadioError:INTERNAL_ERR
516 * RadioError:NO_MEMORY
517 * RadioError:INVALID_STATE
518 * RadioError:INVALID_ARGUMENTS
519 * RadioError:SYSTEM_ERR
520 * RadioError:REQUEST_NOT_SUPPORTED
521 * RadioError:INVALID_MODEM_STATE
523 oneway cancelPendingUssdResponse(RadioResponseInfo info);
526 * @param info Response info struct containing response type, serial no. and error
527 * @param n is "n" parameter from TS 27.007 7.7
528 * @param m is "m" parameter from TS 27.007 7.7
530 * Valid errors returned:
532 * RadioError:RADIO_NOT_AVAILABLE
533 * RadioError:SS_MODIFIED_TO_DIAL
534 * RadioError:SS_MODIFIED_TO_USSD
535 * RadioError:SS_MODIFIED_TO_SS
536 * RadioError:NO_MEMORY
537 * RadioError:MODEM_ERR
538 * RadioError:INTERNAL_ERR
539 * RadioError:FDN_CHECK_FAILURE
540 * RadioError:SYSTEM_ERR
541 * RadioError:REQUEST_NOT_SUPPORTED
542 * RadioError:INVALID_ARGUMENTS
544 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
547 * @param info Response info struct containing response type, serial no. and error
549 * Valid errors returned:
551 * RadioError:INVALID_ARGUMENTS
552 * RadioError:RADIO_NOT_AVAILABLE
553 * RadioError:SS_MODIFIED_TO_DIAL
554 * RadioError:SS_MODIFIED_TO_USSD
555 * RadioError:SS_MODIFIED_TO_SS
556 * RadioError:NO_MEMORY
557 * RadioError:INTERNAL_ERR
558 * RadioError:SYSTEM_ERR
559 * RadioError:REQUEST_NOT_SUPPORTED
561 oneway setClirResponse(RadioResponseInfo info);
564 * @param info Response info struct containing response type, serial no. and error
565 * @param callForwardInfos points to a vector of CallForwardInfo, one for
566 * each distinct registered phone number.
568 * For example, if data is forwarded to +18005551212 and voice is forwarded
569 * to +18005559999, then two separate CallForwardInfo's must be returned
571 * If, however, both data and voice are forwarded to +18005551212, then
572 * a single CallForwardInfo must be returned with the service class
573 * set to "data + voice = 3")
575 * Valid errors returned:
577 * RadioError:RADIO_NOT_AVAILABLE
578 * RadioError:SS_MODIFIED_TO_DIAL
579 * RadioError:SS_MODIFIED_TO_USSD
580 * RadioError:SS_MODIFIED_TO_SS
581 * RadioError:INVALID_ARGUMENTS
582 * RadioError:NO_MEMORY
583 * RadioError:SYSTEM_ERR
584 * RadioError:MODEM_ERR
585 * RadioError:INTERNAL_ERR
586 * RadioError:FDN_CHECK_FAILURE
587 * RadioError:REQUEST_NOT_SUPPORTED
588 * RadioError:SYSTEM_ERR
590 oneway getCallForwardStatusResponse(RadioResponseInfo info,
591 vec<CallForwardInfo> callForwardInfos);
594 * @param info Response info struct containing response type, serial no. and error
596 * Valid errors returned:
598 * RadioError:RADIO_NOT_AVAILABLE
599 * RadioError:SS_MODIFIED_TO_DIAL
600 * RadioError:SS_MODIFIED_TO_USSD
601 * RadioError:SS_MODIFIED_TO_SS
602 * RadioError:INVALID_ARGUMENTS
603 * RadioError:NO_MEMORY
604 * RadioError:SYSTEM_ERR
605 * RadioError:MODEM_ERR
606 * RadioError:INTERNAL_ERR
607 * RadioError:INVALID_STATE
608 * RadioError:FDN_CHECK_FAILURE
609 * RadioError:REQUEST_NOT_SUPPORTED
610 * RadioError:INVALID_MODEM_STATE
612 oneway setCallForwardResponse(RadioResponseInfo info);
615 * @param info Response info struct containing response type, serial no. and error
616 * @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.
624 * Valid errors returned:
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:INTERNAL_ERR
636 * RadioError:SYSTEM_ERR
637 * RadioError:REQUEST_NOT_SUPPORTED
639 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
642 * @param info Response info struct containing response type, serial no. and error
644 * Valid errors returned:
646 * RadioError:RADIO_NOT_AVAILABLE
647 * RadioError:SS_MODIFIED_TO_DIAL
648 * RadioError:SS_MODIFIED_TO_USSD
649 * RadioError:SS_MODIFIED_TO_SS
650 * RadioError:INVALID_ARGUMENTS
651 * RadioError:NO_MEMORY
652 * RadioError:MODEM_ERR
653 * RadioError:INTERNAL_ERR
654 * RadioError:INVALID_STATE
655 * RadioError:FDN_CHECK_FAILURE
656 * RadioError:SYSTEM_ERR
657 * RadioError:REQUEST_NOT_SUPPORTED
658 * RadioError:INVALID_MODEM_STATE
660 oneway setCallWaitingResponse(RadioResponseInfo info);
663 * @param info Response info struct containing response type, serial no. and error
665 * Valid errors returned:
667 * RadioError:RADIO_NOT_AVAILABLE
669 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
672 * @param info Response info struct containing response type, serial no. and error
674 * Valid errors returned:
676 * RadioError:RADIO_NOT_AVAILABLE
677 * RadioError:INVALID_STATE
678 * RadioError:NO_MEMORY
679 * RadioError:SYSTEM_ERR
680 * RadioError:MODEM_ERR
681 * RadioError:INTERNAL_ERR
682 * RadioError:INVALID_CALL_ID
683 * RadioError:INVALID_ARGUMENTS
684 * RadioError:SYSTEM_ERR
685 * RadioError:REQUEST_NOT_SUPPORTED
687 oneway acceptCallResponse(RadioResponseInfo info);
690 * @param info Response info struct containing response type, serial no. and error
692 * Valid errors returned:
694 * RadioError:RADIO_NOT_AVAILABLE
696 oneway deactivateDataCallResponse(RadioResponseInfo info);
699 * @param info Response info struct containing response type, serial no. and error
700 * @param response 0 is the TS 27.007 service class bit vector of
701 * services for which the specified barring facility
702 * is active. "0" means "disabled for all"
704 * Valid errors returned:
706 * RadioError:RADIO_NOT_AVAILABLE
707 * RadioError:SS_MODIFIED_TO_DIAL
708 * RadioError:SS_MODIFIED_TO_USSD
709 * RadioError:SS_MODIFIED_TO_SS
710 * RadioError:INVALID_ARGUMENTS
711 * RadioError:NO_MEMORY
712 * RadioError:MODEM_ERR
713 * RadioError:INTERNAL_ERR
714 * RadioError:SYSTEM_ERR
715 * RadioError:FDN_CHECK_FAILURE
716 * RadioError:REQUEST_NOT_SUPPORTED
718 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
721 * @param info Response info struct containing response type, serial no. and error
722 * @param retry 0 is the number of retries remaining, or -1 if unknown
724 * Valid errors returned:
726 * RadioError:RADIO_NOT_AVAILABLE
727 * RadioError:SS_MODIFIED_TO_DIAL
728 * RadioError:SS_MODIFIED_TO_USSD
729 * RadioError:SS_MODIFIED_TO_SS
730 * RadioError:INVALID_ARGUMENTS
731 * RadioError:NO_MEMORY
732 * RadioError:MODEM_ERR
733 * RadioError:INTERNAL_ERR
734 * RadioError:SYSTEM_ERR
735 * RadioError:INVALID_STATE
736 * RadioError:FDN_CHECK_FAILURE
737 * RadioError:REQUEST_NOT_SUPPORTED
738 * RadioError:INVALID_MODEM_STATE
740 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
743 * @param info Response info struct containing response type, serial no. and error
745 * Valid errors returned:
747 * RadioError:RADIO_NOT_AVAILABLE
748 * RadioError:SS_MODIFIED_TO_DIAL
749 * RadioError:SS_MODIFIED_TO_USSD
750 * RadioError:SS_MODIFIED_TO_SS
751 * RadioError:INVALID_ARGUMENTS
752 * RadioError:NO_MEMORY
753 * RadioError:MODEM_ERR
754 * RadioError:INTERNAL_ERR
755 * RadioError:SYSTEM_ERR
756 * RadioError:FDN_CHECK_FAILURE
757 * RadioError:REQUEST_NOT_SUPPORTED
759 oneway setBarringPasswordResponse(RadioResponseInfo info);
762 * @param info Response info struct containing response type, serial no. and error
763 * @param selection false for automatic selection, true for manual selection
765 * Valid errors returned:
767 * RadioError:RADIO_NOT_AVAILABLE
769 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
772 * @param info Response info struct containing response type, serial no. and error
774 * Valid errors returned:
776 * RadioError:RADIO_NOT_AVAILABLE
777 * RadioError:ILLEGAL_SIM_OR_ME
778 * RadioError:OPERATION_NOT_ALLOWED
780 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
781 * no retries needed, such as illegal SIM or ME.
783 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
786 * @param info Response info struct containing response type, serial no. and error
788 * Valid errors returned:
790 * RadioError:RADIO_NOT_AVAILABLE
791 * RadioError:ILLEGAL_SIM_OR_ME
792 * RadioError:OPERATION_NOT_ALLOWED
794 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
795 * no retries needed, such as illegal SIM or ME.
797 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
800 * @param info Response info struct containing response type, serial no. and error
801 * @param networkInfos List of network operator information as OperatorInfos defined in
804 * Valid errors returned:
806 * RadioError:RADIO_NOT_AVAILABLE
807 * RadioError:OPERATION_NOT_ALLOWED
809 * RadioError:DEVICE_IN_USE
810 * RadioError:INTERNAL_ERR
811 * RadioError:NO_MEMORY
812 * RadioError:MODEM_ERR
814 oneway getAvailableNetworksResponse(RadioResponseInfo info,
815 vec<OperatorInfo> networkInfos);
818 * @param info Response info struct containing response type, serial no. and error
820 * Valid errors returned:
822 * RadioError:RADIO_NOT_AVAILABLE
823 * RadioError:INVALID_ARGUMENTS
824 * RadioError:NO_RESOURCES
825 * RadioError:NO_MEMORY
826 * RadioError:SYSTEM_ERR
827 * RadioError:MODEM_ERR
828 * RadioError:INTERNAL_ERR
829 * RadioError:INVALID_CALL_ID
830 * RadioError:SYSTEM_ERR
831 * RadioError:REQUEST_NOT_SUPPORTED
833 oneway startDtmfResponse(RadioResponseInfo info);
836 * @param info Response info struct containing response type, serial no. and error
838 * Valid errors returned:
840 * RadioError:RADIO_NOT_AVAILABLE
841 * RadioError:INVALID_ARGUMENTS
842 * RadioError:NO_RESOURCES
843 * RadioError:NO_MEMORY
844 * RadioError:INVALID_ARGUMENTS
845 * RadioError:SYSTEM_ERR
846 * RadioError:MODEM_ERR
847 * RadioError:INTERNAL_ERR
848 * RadioError:INVALID_CALL_ID
849 * RadioError:REQUEST_NOT_SUPPORTED
851 oneway stopDtmfResponse(RadioResponseInfo info);
854 * @param info Response info struct containing response type, serial no. and error
855 * @param version string containing version string for log reporting
857 * Valid errors returned:
859 * RadioError:RADIO_NOT_AVAILABLE
860 * RadioError:EMPTY_RECORD
862 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
865 * @param info Response info struct containing response type, serial no. and error
867 * Valid errors returned:
869 * RadioError:RADIO_NOT_AVAILABLE
870 * RadioError:INVALID_ARGUMENTS
871 * RadioError:INVALID_STATE
872 * RadioError:NO_RESOURCES
873 * RadioError:NO_MEMORY
874 * RadioError:MODEM_ERR
875 * RadioError:SYSTEM_ERR
876 * RadioError:INTERNAL_ERR
877 * RadioError:INVALID_CALL_ID
878 * RadioError:OPERATION_NOT_ALLOWED
879 * RadioError:REQUEST_NOT_SUPPORTED
880 * RadioError:INVALID_MODEM_STATE
882 oneway separateConnectionResponse(RadioResponseInfo info);
885 * @param info Response info struct containing response type, serial no. and error
887 * Valid errors returned:
889 * RadioError:RADIO_NOT_AVAILABLE
890 * RadioError:INVALID_ARGUMENTS
891 * RadioError:NO_MEMORY
892 * RadioError:REQUEST_RATE_LIMITED
893 * RadioError:INTERNAL_ERR
894 * RadioError:SYSTEM_ERR
895 * RadioError:REQUEST_NOT_SUPPORTED
897 oneway setMuteResponse(RadioResponseInfo info);
900 * @param info Response info struct containing response type, serial no. and error
901 * @param enable true for "mute enabled" and false for "mute disabled"
903 * Valid errors returned:
905 * RadioError:RADIO_NOT_AVAILABLE
906 * RadioError:SS_MODIFIED_TO_DIAL
907 * RadioError:SS_MODIFIED_TO_USSD
908 * RadioError:SS_MODIFIED_TO_SS
909 * RadioError:NO_MEMORY
910 * RadioError:REQUEST_RATE_LIMITED
911 * RadioError:INVALID_ARGUMENTS
912 * RadioError:INTERNAL_ERR
913 * RadioError:SYSTEM_ERR
914 * RadioError:REQUEST_NOT_SUPPORTED
916 oneway getMuteResponse(RadioResponseInfo info, bool enable);
919 * @param info Response info struct containing response type, serial no. and error
920 * @param status indicates CLIP status
922 * Valid errors returned:
924 * RadioError:RADIO_NOT_AVAILABLE
925 * RadioError:INVALID_ARGUMENTS
926 * RadioError:NO_MEMORY
927 * RadioError:SYSTEM_ERR
928 * RadioError:MODEM_ERR
929 * RadioError:INTERNAL_ERR
930 * RadioError:FDN_CHECK_FAILURE
931 * RadioError:REQUEST_NOT_SUPPORTED
933 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
936 * @param info Response info struct containing response type, serial no. and error
937 * @param dcResponse List of DataCallResult as defined in types.hal
939 * Valid errors returned:
941 * RadioError:RADIO_NOT_AVAILABLE
943 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
946 * @param info Response info struct containing response type, serial no. and error
948 * Valid errors returned:
950 * RadioError:RADIO_NOT_AVAILABLE
951 * RadioError:INVALID_ARGUMENTS
952 * RadioError:SIM_BUSY
953 * RadioError:NO_MEMORY
954 * RadioError:SYSTEM_ERR
955 * RadioError:MODEM_ERR
956 * RadioError:INTERNAL_ERR
957 * RadioError:REQUEST_NOT_SUPPORTED
959 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
962 * @param info Response info struct containing response type, serial no. and error
963 * @param index record index where the message is stored
965 * Valid errors returned:
967 * RadioError:SIM_FULL
968 * RadioError:INVALID_ARGUMENTS
969 * RadioError:INVALID_SMS_FORMAT
970 * RadioError:INTERNAL_ERR
971 * RadioError:MODEM_ERR
972 * RadioError:ENCODING_ERR
973 * RadioError:NO_MEMORY
974 * RadioError:NO_RESOURCES
975 * RadioError:INVALID_MODEM_STATE
976 * RadioError:MODE_NOT_SUPPORTED
977 * RadioError:INVALID_SMSC_ADDRESS
978 * RadioError:RADIO_NOT_AVAILABLE
979 * RadioError:SYSTEM_ERR
980 * RadioError:REQUEST_NOT_SUPPORTED
982 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
985 * @param info Response info struct containing response type, serial no. and error
987 * Valid errors returned:
989 * RadioError:SIM_FULL
990 * RadioError:INVALID_ARGUMENTS
991 * RadioError:NO_MEMORY
992 * RadioError:REQUEST_RATE_LIMITED
993 * RadioError:SYSTEM_ERR
994 * RadioError:MODEM_ERR
995 * RadioError:NO_SUCH_ENTRY
996 * RadioError:INTERNAL_ERR
997 * RadioError:RADIO_NOT_AVAILABLE
998 * RadioError:REQUEST_NOT_SUPPORTED
1000 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1003 * @param info Response info struct containing response type, serial no. and error
1005 * Valid errors returned:
1007 * RadioError:RADIO_NOT_AVAILABLE
1008 * RadioError:OPERATION_NOT_ALLOWED
1010 oneway setBandModeResponse(RadioResponseInfo info);
1013 * @param info Response info struct containing response type, serial no. and error
1014 * @param bandModes List of RadioBandMode listing supported modes
1016 * Valid errors returned:
1018 * RadioError:RADIO_NOT_AVAILABLE
1019 * RadioError:INVALID_ARGUMENTS
1021 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1024 * @param info Response info struct containing response type, serial no. and error
1025 * @param commandResponse SAT/USAT response in hexadecimal format
1026 * string starting with first byte of response
1028 * Valid errors returned:
1030 * RadioError:RADIO_NOT_AVAILABLE
1031 * RadioError:SIM_BUSY
1032 * RadioError:OPERATION_NOT_ALLOWED
1034 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1037 * @param info Response info struct containing response type, serial no. and error
1039 * Valid errors returned:
1041 * RadioError:RADIO_NOT_AVAILABLE
1042 * RadioError:INVALID_ARGUMENTS
1043 * RadioError:OPERATION_NOT_ALLOWED
1045 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
1048 * @param info Response info struct containing response type, serial no. and error
1050 * Valid errors returned:
1052 * RadioError:RADIO_NOT_AVAILABLE
1053 * RadioError:INVALID_ARGUMENTS
1054 * RadioError:OPERATION_NOT_ALLOWED
1056 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1059 * @param info Response info struct containing response type, serial no. and error
1061 * Valid errors returned:
1063 * RadioError:RADIO_NOT_AVAILABLE
1064 * RadioError:INVALID_ARGUMENTS
1065 * RadioError:INVALID_STATE
1066 * RadioError:NO_RESOURCES
1067 * RadioError:NO_MEMORY
1068 * RadioError:SYSTEM_ERR
1069 * RadioError:MODEM_ERR
1070 * RadioError:INTERNAL_ERR
1071 * RadioError:INVALID_CALL_ID
1072 * RadioError:OPERATION_NOT_ALLOWED
1073 * RadioError:REQUEST_NOT_SUPPORTED
1074 * RadioError:INVALID_MODEM_STATE
1076 oneway explicitCallTransferResponse(RadioResponseInfo info);
1079 * @param info Response info struct containing response type, serial no. and error
1081 * Valid errors returned:
1083 * RadioError:RADIO_NOT_AVAILABLE
1084 * RadioError:OPERATION_NOT_ALLOWED
1085 * RadioError:MODE_NOT_SUPPORTED
1087 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1090 * @param info Response info struct containing response type, serial no. and error
1091 * @param nwType RadioPreferredNetworkType defined in types.hal
1093 * Valid errors returned:
1095 * RadioError:RADIO_NOT_AVAILABLE
1097 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1098 PreferredNetworkType nwType);
1101 * @param info Response info struct containing response type, serial no. and error
1102 * @param cells Vector of neighboring radio cell
1104 * Valid errors returned:
1106 * RadioError:RADIO_NOT_AVAILABLE
1107 * RadioError:INVALID_ARGUMENTS
1109 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
1112 * @param info Response info struct containing response type, serial no. and error
1114 * Valid errors returned:
1116 * RadioError:RADIO_NOT_AVAILABLE
1118 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1121 * @param info Response info struct containing response type, serial no. and error
1123 * Valid errors returned:
1125 * RadioError:RADIO_NOT_AVAILABLE
1126 * RadioError:SIM_ABSENT
1127 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1129 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1132 * @param info Response info struct containing response type, serial no. and error
1134 * Valid errors returned:
1136 * RadioError:RADIO_NOT_AVAILABLE
1138 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1141 * @param info Response info struct containing response type, serial no. and error
1142 * @param type CdmaRoamingType defined in types.hal
1144 * Valid errors returned:
1146 * RadioError:RADIO_NOT_AVAILABLE
1147 * RadioError:INVALID_ARGUMENTS
1149 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1152 * @param info Response info struct containing response type, serial no. and error
1154 * Valid errors returned:
1156 * RadioError:RADIO_NOT_AVAILABLE
1157 * RadioError:INVALID_ARGUMENTS
1158 * RadioError:MODEM_ERR
1159 * RadioError:INTERNAL_ERR
1160 * RadioError:NO_MEMORY
1161 * RadioError:SYSTEM_ERR
1162 * RadioError:REQUEST_NOT_SUPPORTED
1164 oneway setTTYModeResponse(RadioResponseInfo info);
1167 * @param info Response info struct containing response type, serial no. and error
1168 * @param mode TtyMode
1170 * Valid errors returned:
1172 * RadioError:RADIO_NOT_AVAILABLE
1173 * RadioError:INVALID_ARGUMENTS
1174 * RadioError:MODEM_ERR
1175 * RadioError:INTERNAL_ERR
1176 * RadioError:NO_MEMORY
1177 * RadioError:SYSTEM_ERR
1178 * RadioError:REQUEST_NOT_SUPPORTED
1180 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1183 * @param info Response info struct containing response type, serial no. and error
1185 * Valid errors returned:
1187 * RadioError:RADIO_NOT_AVAILABLE
1188 * RadioError:INVALID_ARGUMENTS
1189 * RadioError:MODEM_ERR
1190 * RadioError:INTERNAL_ERR
1191 * RadioError:NO_MEMORY
1192 * RadioError:SYSTEM_ERR
1193 * RadioError:REQUEST_NOT_SUPPORTED
1194 * RadioError:INVALID_CALL_ID
1196 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1199 * @param info Response info struct containing response type, serial no. and error
1200 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1201 * true for Enhanced Privacy Mode (Private Long Code Mask)
1205 * RadioError:RADIO_NOT_AVAILABLE
1206 * RadioError:INVALID_ARGUMENTS
1207 * RadioError:MODEM_ERR
1208 * RadioError:INTERNAL_ERR
1209 * RadioError:NO_MEMORY
1210 * RadioError:SYSTEM_ERR
1211 * RadioError:REQUEST_NOT_SUPPORTED
1213 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1216 * Response callback for IRadio.sendCDMAFeatureCode()
1218 * @param info Response info struct containing response type, serial no. and error
1220 * Valid errors returned:
1222 * RadioError:RADIO_NOT_AVAILABLE
1223 * RadioError:INVALID_ARGUMENTS
1224 * RadioError:NO_MEMORY
1225 * RadioError:INTERNAL_ERR
1226 * RadioError:SYSTEM_ERR
1227 * RadioError:MODEM_ERR
1228 * RadioError:INVALID_CALL_ID
1229 * RadioError:INVALID_STATE
1230 * RadioError:REQUEST_NOT_SUPPORTED
1231 * RadioError:INVALID_MODEM_STATE
1233 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1236 * @param info Response info struct containing response type, serial no. and error
1238 * Valid errors returned:
1240 * RadioError:RADIO_NOT_AVAILABLE
1241 * RadioError:INVALID_ARGUMENTS
1242 * RadioError:NO_MEMORY
1243 * RadioError:INTERNAL_ERR
1244 * RadioError:SYSTEM_ERR
1245 * RadioError:MODEM_ERR
1246 * RadioError:INVALID_CALL_ID
1247 * RadioError:INVALID_STATE
1248 * RadioError:REQUEST_NOT_SUPPORTED
1250 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1253 * @param info Response info struct containing response type, serial no. and error
1254 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1256 * Valid errors returned:
1258 * RadioError:RADIO_NOT_AVAILABLE
1259 * RadioError:INVALID_ARGUMENTS
1260 * RadioError:SMS_SEND_FAIL_RETRY
1261 * RadioError:NETWORK_REJECT
1262 * RadioError:INVALID_STATE
1263 * RadioError:NO_MEMORY
1264 * RadioError:REQUEST_RATE_LIMITED
1265 * RadioError:INVALID_SMS_FORMAT
1266 * RadioError:SYSTEM_ERR
1267 * RadioError:FDN_CHECK_FAILURE
1268 * RadioError:MODEM_ERR
1269 * RadioError:NETWORK_ERR
1270 * RadioError:ENCODING_ERR
1271 * RadioError:INVALID_SMSC_ADDRESS
1272 * RadioError:MODE_NOT_SUPPORTED
1273 * RadioError:INTERNAL_ERR
1274 * RadioError:SYSTEM_ERR
1275 * RadioError:REQUEST_NOT_SUPPORTED
1276 * RadioError:OPERATION_NOT_ALLOWED
1277 * RadioError:ENCODING_ERR
1279 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1282 * @param info Response info struct containing response type, serial no. and error
1284 * Valid errors returned:
1286 * RadioError:RADIO_NOT_AVAILABLE
1287 * RadioError:INVALID_ARGUMENTS
1288 * RadioError:NO_SMS_TO_ACK
1289 * RadioError:INVALID_STATE
1290 * RadioError:NO_MEMORY
1291 * RadioError:REQUEST_RATE_LIMITED
1292 * RadioError:SYSTEM_ERR
1293 * RadioError:MODEM_ERR
1294 * RadioError:MODE_NOT_SUPPORTED
1295 * RadioError:NETWORK_NOT_READY
1296 * RadioError:INVALID_MODEM_STATE
1297 * RadioError:INTERNAL_ERR
1298 * RadioError:REQUEST_NOT_SUPPORTED
1299 * RadioError:OPERATION_NOT_ALLOWED
1301 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1304 * @param info Response info struct containing response type, serial no. and error
1305 * @param configs Vector of GSM/WCDMA Cell broadcast configs
1307 * Valid errors returned:
1309 * RadioError:RADIO_NOT_AVAILABLE
1310 * RadioError:INVALID_ARGUMENTS
1311 * RadioError:INVALID_STATE
1312 * RadioError:NO_MEMORY
1313 * RadioError:REQUEST_RATE_LIMITED
1314 * RadioError:SYSTEM_ERR
1315 * RadioError:MODEM_ERR
1316 * RadioError:NO_RESOURCES
1317 * RadioError:INTERNAL_ERR
1318 * RadioError:REQUEST_NOT_SUPPORTED
1320 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1321 vec<GsmBroadcastSmsConfigInfo> configs);
1324 * @param info Response info struct containing response type, serial no. and error
1326 * Valid errors returned:
1328 * RadioError:RADIO_NOT_AVAILABLE
1329 * RadioError:INVALID_ARGUMENTS
1330 * RadioError:INVALID_STATE
1331 * RadioError:NO_MEMORY
1332 * RadioError:REQUEST_RATE_LIMITED
1333 * RadioError:SYSTEM_ERR
1334 * RadioError:MODEM_ERR
1335 * RadioError:INTERNAL_ERR
1336 * RadioError:REQUEST_NOT_SUPPORTED
1338 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1341 * @param info Response info struct containing response type, serial no. and error
1343 * Valid errors returned:
1345 * RadioError:RADIO_NOT_AVAILABLE
1346 * RadioError:INVALID_ARGUMENTS
1347 * RadioError:INVALID_STATE
1348 * RadioError:NO_MEMORY
1349 * RadioError:REQUEST_RATE_LIMITED
1350 * RadioError:SYSTEM_ERR
1351 * RadioError:MODEM_ERR
1352 * RadioError:INTERNAL_ERR
1353 * RadioError:REQUEST_NOT_SUPPORTED
1354 * RadioError:OPERATION_NOT_ALLOWED
1356 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1359 * @param info Response info struct containing response type, serial no. and error
1360 * @param configs Vector of CDMA Broadcast SMS configs.
1362 * Valid errors returned:
1364 * RadioError:RADIO_NOT_AVAILABLE
1365 * RadioError:INVALID_ARGUMENTS
1366 * RadioError:INVALID_STATE
1367 * RadioError:NO_MEMORY
1368 * RadioError:REQUEST_RATE_LIMITED
1369 * RadioError:SYSTEM_ERR
1370 * RadioError:MODEM_ERR
1371 * RadioError:NO_RESOURCES
1372 * RadioError:INTERNAL_ERR
1373 * RadioError:REQUEST_NOT_SUPPORTED
1375 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1376 vec<CdmaBroadcastSmsConfigInfo> configs);
1379 * @param info Response info struct containing response type, serial no. and error
1381 * Valid errors returned:
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:INTERNAL_ERR
1391 * RadioError:REQUEST_NOT_SUPPORTED
1393 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1396 * @param info Response info struct containing response type, serial no. and error
1398 * Valid errors returned:
1400 * RadioError:RADIO_NOT_AVAILABLE
1401 * RadioError:INVALID_ARGUMENTS
1402 * RadioError:INVALID_STATE
1403 * RadioError:NO_MEMORY
1404 * RadioError:REQUEST_RATE_LIMITED
1405 * RadioError:SYSTEM_ERR
1406 * RadioError:MODEM_ERR
1407 * RadioError:INTERNAL_ERR
1408 * RadioError:REQUEST_NOT_SUPPORTED
1409 * RadioError:OPERATION_NOT_ALLOWED
1411 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1414 * @param info Response info struct containing response type, serial no. and error
1415 * @param mdn MDN if CDMA subscription is available
1416 * @param hSid is a comma separated list of H_SID (Home SID) if
1417 * CDMA subscription is available, in decimal format
1418 * @param hNid is a comma separated list of H_NID (Home NID) if
1419 * CDMA subscription is available, in decimal format
1420 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1421 * @param prl PRL version if CDMA subscription is available
1423 * Valid errors returned:
1425 * RadioError:RADIO_NOT_AVAILABLE
1426 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1428 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1429 string hNid, string min, string prl);
1432 * @param info Response info struct containing response type, serial no. and error
1433 * @param index record index where the cmda sms message is stored
1435 * Valid errors returned:
1437 * RadioError:RADIO_NOT_AVAILABLE
1438 * RadioError:INVALID_ARGUMENTS
1439 * RadioError:INVALID_SMS_FORMAT
1440 * RadioError:SIM_FULL
1441 * RadioError:INTERNAL_ERR
1442 * RadioError:MODEM_ERR
1443 * RadioError:ENCODING_ERR
1444 * RadioError:NO_MEMORY
1445 * RadioError:NO_RESOURCES
1446 * RadioError:INVALID_MODEM_STATE
1447 * RadioError:MODE_NOT_SUPPORTED
1448 * RadioError:INVALID_SMSC_ADDRESS
1449 * RadioError:SYSTEM_ERR
1450 * RadioError:REQUEST_NOT_SUPPORTED
1451 * RadioError:OPERATION_NOT_ALLOWED
1453 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1456 * @param info Response info struct containing response type, serial no. and error
1458 * Valid errors returned:
1460 * RadioError:RADIO_NOT_AVAILABLE
1461 * RadioError:INVALID_ARGUMENTS
1462 * RadioError:NO_MEMORY
1463 * RadioError:REQUEST_RATE_LIMITED
1464 * RadioError:SYSTEM_ERR
1465 * RadioError:MODEM_ERR
1466 * RadioError:NO_SUCH_ENTRY
1467 * RadioError:INTERNAL_ERR
1468 * RadioError:REQUEST_NOT_SUPPORTED
1469 * RadioError:OPERATION_NOT_ALLOWED
1471 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1474 * @param info Response info struct containing response type, serial no. and error
1475 * @param imei IMEI if GSM subscription is available
1476 * @param imeisv IMEISV if GSM subscription is available
1477 * @param esn ESN if CDMA subscription is available
1478 * @param meid MEID if CDMA subscription is available
1480 * Valid errors returned:
1482 * RadioError:RADIO_NOT_AVAILABLE
1484 * If a empty string value is returned for any of the device id, it means that there was error
1485 * accessing the device.
1488 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1489 string esn, string meid);
1492 * @param info Response info struct containing response type, serial no. and error
1494 * Valid errors returned:
1496 * RadioError:RADIO_NOT_AVAILABLE
1497 * RadioError:OPERATION_NO_ALLOWED
1499 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1502 * @param info Response info struct containing response type, serial no. and error
1503 * @param smsc Short Message Service Center address on the device
1505 * Valid errors returned:
1507 * RadioError:RADIO_NOT_AVAILABLE
1508 * RadioError:INVALID_ARGUMENTS
1509 * RadioError:INTERNAL_ERR
1510 * RadioError:NO_MEMORY
1511 * RadioError:SYSTEM_ERR
1512 * RadioError:REQUEST_RATE_LIMITED
1513 * RadioError:MODEM_ERR
1514 * RadioError:INVALID_MODEM_STATE
1515 * RadioError:NOT_PROVISIONED
1516 * RadioError:REQUEST_NOT_SUPPORTED
1517 * RadioError:OPERATION_NOT_ALLOWED
1519 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1522 * @param info Response info struct containing response type, serial no. and error
1524 * Valid errors returned:
1526 * RadioError:RADIO_NOT_AVAILABLE
1527 * RadioError:INVALID_ARGUMENTS
1528 * RadioError:INVALID_SMS_FORMAT
1529 * RadioError:NO_MEMORY
1530 * RadioError:SYSTEM_ERR
1531 * RadioError:REQUEST_RATE_LIMITED
1532 * RadioError:MODEM_ERR
1533 * RadioError:NO_RESOURCES
1534 * RadioError:INTERNAL_ERR
1535 * RadioError:REQUEST_NOT_SUPPORTED
1536 * RadioError:OPERATION_NOT_ALLOWED
1538 oneway setSmscAddressResponse(RadioResponseInfo info);
1541 * @param info Response info struct containing response type, serial no. and error
1543 * Valid errors returned:
1545 * RadioError:RADIO_NOT_AVAILABLE
1546 * RadioError:INVALID_ARGUMENTS
1547 * RadioError:NO_MEMORY
1548 * RadioError:SYSTEM_ERR
1549 * RadioError:REQUEST_RATE_LIMITED
1550 * RadioError:MODEM_ERR
1551 * RadioError:INVALID_STATE
1552 * RadioError:INTERNAL_ERR
1553 * RadioError:REQUEST_NOT_SUPPORTED
1555 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1558 * @param info Response info struct containing response type, serial no. and error
1560 * Valid errors returned:
1562 * RadioError:RADIO_NOT_AVAILABLE
1564 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1567 * @param info Response info struct containing response type, serial no. and error
1568 * @param source CDMA subscription source
1570 * Valid errors returned:
1572 * RadioError:RADIO_NOT_AVAILABLE
1573 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1575 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1578 * @param info Response info struct containing response type, serial no. and error
1579 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1581 * Valid errors returned:
1583 * RadioError:RADIO_NOT_AVAILABLE
1585 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
1588 * @param info Response info struct containing response type, serial no. and error
1590 * Valid errors returned:
1592 * RadioError:RADIO_NOT_AVAILABLE
1594 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
1597 * @param info Response info struct containing response type, serial no. and error
1598 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
1600 * Valid errors returned:
1602 * RadioError:RADIO_NOT_AVAILABLE
1603 * RadioError:SIM_BUSY
1604 * RadioError:OPERATION_NOT_ALLOWED
1606 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
1609 * @param info Response info struct containing response type, serial no. and error
1610 * @param rat Current voice RAT
1612 * Valid errors returned:
1614 * RadioError:RADIO_NOT_AVAILABLE
1616 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
1619 * @param info Response info struct containing response type, serial no. and error
1620 * @param cellInfo List of current cell information known to radio
1622 * Valid errors returned:
1624 * RadioError:RADIO_NOT_AVAILABLE
1626 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
1629 * @param info Response info struct containing response type, serial no. and error
1631 * Valid errors returned:
1633 * RadioError:RADIO_NOT_AVAILABLE
1635 oneway setCellInfoListRateResponse(RadioResponseInfo info);
1638 * @param info Response info struct containing response type, serial no. and error
1640 * Valid errors returned:
1642 * RadioError:RADIO_NOT_AVAILABLE
1643 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1645 oneway setInitialAttachApnResponse(RadioResponseInfo info);
1648 * @param info Response info struct containing response type, serial no. and error
1649 * @param isRegistered false = not registered, true = registered
1650 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
1651 * isRegistered is true.
1653 * Valid errors returned:
1655 * RadioError:RADIO_NOT_AVAILABLE
1657 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
1658 RadioTechnologyFamily ratFamily);
1661 * @param info Response info struct containing response type, serial no. and error
1662 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
1664 * Valid errors returned:
1666 * RadioError:RADIO_NOT_AVAILABLE
1667 * RadioError:SMS_SEND_FAIL_RETRY
1668 * RadioError:FDN_CHECK_FAILURE
1669 * RadioError:NETWORK_REJECT
1670 * RadioError:INVALID_ARGUMENTS
1671 * RadioError:INVALID_STATE
1672 * RadioError:NO_MEMORY
1673 * RadioError:INVALID_SMS_FORMAT
1674 * RadioError:SYSTEM_ERR
1675 * RadioError:REQUEST_RATE_LIMITED
1676 * RadioError:MODEM_ERR
1677 * RadioError:NETWORK_ERR
1678 * RadioError:ENCODING_ERR
1679 * RadioError:MODE_NOT_SUPPORTED
1680 * RadioError:INTERNAL_ERR
1681 * RadioError:REQUEST_NOT_SUPPORTED
1682 * RadioError:NETWORK_NOT_READY
1684 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1687 * @param info Response info struct containing response type, serial no. and error
1688 * @param result IccIoResult as defined in types.hal
1690 * Valid errors returned:
1692 * RadioError:RADIO_NOT_AVAILABLE
1694 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
1697 * @param info Response info struct containing response type, serial no. and error
1698 * @param channelId session id of the logical channel.
1699 * @param selectResponse Contains the select response for the open channel command with one
1702 * Valid errors returned:
1704 * RadioError:RADIO_NOT_AVAILABLE
1705 * RadioError:MISSING_RESOURCE
1706 * RadioError:NO_SUCH_ELEMENT
1708 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
1709 vec<int8_t> selectResponse);
1712 * @param info Response info struct containing response type, serial no. and error
1714 * Valid errors returned:
1716 * RadioError:RADIO_NOT_AVAILABLE
1718 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
1721 * @param info Response info struct containing response type, serial no. and error
1722 * @param result IccIoResult as defined in types.hal
1724 * Valid errors returned:
1726 * RadioError:RADIO_NOT_AVAILABLE
1728 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
1731 * @param info Response info struct containing response type, serial no. and error
1732 * @param result string containing the contents of the NV item
1734 * Valid errors returned:
1736 * RadioError:RADIO_NOT_AVAILABLE
1738 oneway nvReadItemResponse(RadioResponseInfo info, string result);
1741 * @param info Response info struct containing response type, serial no. and error
1743 * Valid errors returned:
1745 * RadioError:RADIO_NOT_AVAILABLE
1747 oneway nvWriteItemResponse(RadioResponseInfo info);
1750 * @param info Response info struct containing response type, serial no. and error
1752 * Valid errors returned:
1754 * RadioError:RADIO_NOT_AVAILABLE
1756 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
1759 * @param info Response info struct containing response type, serial no. and error
1761 * Valid errors returned:
1763 * RadioError:RADIO_NOT_AVAILABLE
1765 oneway nvResetConfigResponse(RadioResponseInfo info);
1768 * @param info Response info struct containing response type, serial no. and error
1770 * Valid errors returned:
1772 * RadioError:RADIO_NOT_AVAILABLE
1773 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
1775 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
1778 * @param info Response info struct containing response type, serial no. and error
1780 * Valid errors returned:
1782 * RadioError:RADIO_NOT_AVAILABLE
1784 oneway setDataAllowedResponse(RadioResponseInfo info);
1787 * @param info Response info struct containing response type, serial no. and error
1788 * @param config Array of HardwareConfig of the radio.
1790 * Valid errors returned:
1792 * RadioError:RADIO_NOT_AVAILABLE
1794 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
1797 * @param info Response info struct containing response type, serial no. and error
1798 * @param result IccIoResult as defined in types.hal
1800 * Valid errors returned:
1802 * RadioError:RADIO_NOT_AVAILABLE
1804 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
1807 * @param info Response info struct containing response type, serial no. and error
1809 * Valid errors returned:
1811 * RadioError:RADIO_NOT_AVAILABLE
1812 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1814 oneway setDataProfileResponse(RadioResponseInfo info);
1817 * @param info Response info struct containing response type, serial no. and error
1819 * Valid errors returned:
1821 * RadioError:RADIO_NOT_AVAILABLE
1822 * RadioError:OPERATION_NOT_ALLOWED
1824 oneway requestShutdownResponse(RadioResponseInfo info);
1827 * @param info Response info struct containing response type, serial no. and error
1828 * @param rc Radio capability as defined by RadioCapability in types.hal
1830 * Valid errors returned:
1832 * RadioError:RADIO_NOT_AVAILABLE
1833 * RadioError:OPERATION_NOT_ALLOWED
1835 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
1838 * @param info Response info struct containing response type, serial no. and error
1839 * @param rc Radio capability as defined by RadioCapability in types.hal used to
1840 * feedback return status
1842 * Valid errors returned:
1843 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
1844 * RadioError:RADIO_NOT_AVAILABLE
1845 * RadioError:OPERATION_NOT_ALLOWED
1847 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
1850 * @param info Response info struct containing response type, serial no. and error
1851 * @param statusInfo LceStatusInfo indicating LCE status
1853 * Valid errors returned:
1855 * RadioError:RADIO_NOT_AVAILABLE
1856 * RadioError:LCE_NOT_SUPPORTED
1858 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
1861 * @param info Response info struct containing response type, serial no. and error
1862 * @param statusInfo LceStatusInfo indicating LCE status
1864 * Valid errors returned:
1866 * RadioError:RADIO_NOT_AVAILABLE
1867 * RadioError:LCE_NOT_SUPPORTED
1869 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
1872 * @param info Response info struct containing response type, serial no. and error
1873 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
1875 * Valid errors returned:
1877 * RadioError:RADIO_NOT_AVAILABLE
1878 * RadioError:LCE_NOT_SUPPORTED
1880 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
1883 * @param info Response info struct containing response type, serial no. and error
1884 * @param activityInfo modem activity information
1886 * Valid errors returned:
1888 * RadioError:RADIO_NOT_AVAILABLE
1890 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
1893 * @param info Response info struct containing response type, serial no. and error
1894 * @param numAllowed number of allowed carriers which have been set correctly.
1895 * On success, it must match the length of list Carriers->allowedCarriers.
1896 * if Length of allowed carriers list is 0, numAllowed = 0.
1898 * Valid errors returned:
1900 * RadioError:RADIO_NOT_AVAILABLE
1901 * RadioError:INVALID_ARGUMENTS
1902 * RadioError:REQUEST_NOT_SUPPORTED
1904 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
1907 * Expected modem behavior:
1908 * Return list of allowed carriers, and if all carriers are allowed.
1910 * @param info Response info struct containing response type, serial no. and error
1911 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
1912 * If false, consider "carriers" struct
1913 * @param carriers Carrier restriction information.
1915 * Valid errors returned:
1917 * RadioError:RADIO_NOT_AVAILABLE
1918 * RadioError:REQUEST_NOT_SUPPORTED
1920 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
1921 CarrierRestrictions carriers);
1924 * @param info Response info struct containing response type, serial no. and error
1926 * Valid errors returned:
1928 * RadioError:RADIO_NOT_AVAILABLE
1930 oneway sendDeviceStateResponse(RadioResponseInfo info);
1933 * @param info Response info struct containing response type, serial no. and error
1935 * Valid errors returned:
1937 * RadioError:INVALID_ARGUMENTS
1938 * RadioError:RADIO_NOT_AVAILABLE
1940 oneway setIndicationFilterResponse(RadioResponseInfo info);
1943 * @param info Response info struct containing response type, serial no. and error
1945 * Valid errors returned:
1947 * RadioError:RADIO_NOT_AVAILABLE
1948 * RadioError:REQUEST_NOT_SUPPORTED
1949 * RadioError:INVALID_ARGUMENTS
1951 oneway setSimCardPowerResponse(RadioResponseInfo info);
1954 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
1955 * radio request which take long time to respond.
1956 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
1958 * @param serial Serial no. of the request whose acknowledgement is sent.
1960 oneway acknowledgeRequest(int32_t serial);