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:GENERIC_FAILURE (request will be made again in a few hundred msec)
118 * RadioError:NO_MEMORY
120 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
123 * @param info Response info struct containing response type, serial no. and error
125 * Valid errors returned:
127 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
128 * RadioError:DIAL_MODIFIED_TO_USSD
129 * RadioError:DIAL_MODIFIED_TO_SS
130 * RadioError:DIAL_MODIFIED_TO_DIAL
131 * RadioError:INVALID_ARGUMENTS
132 * RadioError:NO_MEMORY
133 * RadioError:INVALID_STATE
134 * RadioError:NO_RESOURCES
135 * RadioError:INTERNAL_ERR
136 * RadioError:FDN_CHECK_FAILURE
137 * RadioError:MODEM_ERR
138 * RadioError:NO_SUBSCRIPTION
139 * RadioError:NO_NETWORK_FOUND
140 * RadioError:INVALID_CALL_ID
141 * RadioError:DEVICE_IN_USE
142 * RadioError:MODE_NOT_SUPPORTED
145 oneway dialResponse(RadioResponseInfo info);
148 * @param info Response info struct containing response type, serial no. and error
149 * @param imsi String containing the IMSI
151 * Valid errors returned:
153 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
155 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
158 * @param info Response info struct containing response type, serial no. and error
160 * Valid errors returned:
162 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
163 * RadioError:INVALID_ARGUMENTS
164 * RadioError:NO_MEMORY
165 * RadioError:INVALID_STATE
166 * RadioError:MODEM_ERR
167 * RadioError:INTERNAL_ERR
168 * RadioError:INVALID_CALL_ID
170 oneway hangupConnectionResponse(RadioResponseInfo info);
173 * @param info Response info struct containing response type, serial no. and error
175 * Valid errors returned:
177 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
178 * RadioError:INVALID_STATE
179 * RadioError:NO_MEMORY
180 * RadioError:MODEM_ERR
181 * RadioError:INTERNAL_ERR
182 * RadioError:INVALID_CALL_ID
183 * RadioError:NO_RESOURCES
184 * RadioError:OPERATION_NOT_ALLOWED
185 * RadioError:INVALID_ARGUMENTS
187 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
190 * @param info Response info struct containing response type, serial no. and error
192 * Valid errors returned:
194 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
195 * RadioError:INVALID_STATE
196 * RadioError:NO_MEMORY
197 * RadioError:MODEM_ERR
198 * RadioError:INTERNAL_ERR
199 * RadioError:INVALID_CALL_ID
200 * RadioError:NO_RESOURCES
201 * RadioError:OPERATION_NOT_ALLOWED
202 * RadioError:INVALID_ARGUMENTS
204 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
207 * @param info Response info struct containing response type, serial no. and error
209 * Valid errors returned:
211 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
212 * RadioError:INVALID_STATE
213 * RadioError:NO_MEMORY
214 * RadioError:MODEM_ERR
215 * RadioError:INTERNAL_ERR
216 * RadioError:INVALID_STATE
217 * RadioError:INVALID_CALL_ID
218 * RadioError:OPERATION_NOT_ALLOWED
219 * RadioError:INVALID_ARGUMENTS
221 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
224 * @param info Response info struct containing response type, serial no. and error
226 * Valid errors returned:
228 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
229 * RadioError:NO_MEMORY
230 * RadioError:MODEM_ERR
231 * RadioError:INTERNAL_ERR
232 * RadioError:INVALID_STATE
233 * RadioError:INVALID_CALL_ID
234 * RadioError:OPERATION_NOT_ALLOWED
235 * RadioError:INVALID_ARGUMENTS
237 oneway conferenceResponse(RadioResponseInfo info);
240 * @param info Response info struct containing response type, serial no. and error
242 * Valid errors returned:
244 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
245 * RadioError:INVALID_STATE
246 * RadioError:NO_RESOURCES
247 * RadioError:NO_MEMORY
248 * RadioError:MODEM_ERR
249 * RadioError:INTERNAL_ERR
250 * RadioError:INVALID_CALL_ID
251 * RadioError:OPERATION_NOT_ALLOWED
252 * RadioError:INVALID_ARGUMENTS
254 oneway rejectCallResponse(RadioResponseInfo info);
257 * @param info Response info struct containing response type, serial no. and error
258 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
260 * The vendor cause code must be used for debugging purpose only.
261 * The implementation must return one of the values of LastCallFailCause
264 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
266 * CDMA failure reasons codes for the possible call failure scenarios
267 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
268 * Any of the following reason codes if the call is failed or dropped due to reason
269 * mentioned with in the braces.
270 * LastCallFailCause:RADIO_OFF (Radio is OFF)
271 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
272 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
273 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
274 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
275 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
276 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
277 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
278 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
279 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
280 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
281 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
282 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
283 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
284 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
285 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
287 * If the implementation does not have access to the exact cause codes,
288 * then it must return one of the values listed in LastCallFailCause,
289 * as the UI layer needs to distinguish these cases for tone generation or
290 * error notification.
292 * Valid errors returned:
294 * RadioError:RADIO_NOT_AVAILABLE
295 * RadioError:NO_MEMORY
297 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
298 LastCallFailCauseInfo failCauseinfo);
301 * @param info Response info struct containing response type, serial no. and error
302 * @param sigStrength Current signal strength
304 * Valid errors returned:
306 * RadioError:RADIO_NOT_AVAILABLE
308 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
311 * @param info Response info struct containing response type, serial no. and error
312 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
315 * Valid errors returned:
317 * RadioError:RADIO_NOT_AVAILABLE
319 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
320 VoiceRegStateResult voiceRegResponse);
323 * @param info Response info struct containing response type, serial no. and error
324 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
327 * Valid errors returned:
329 * RadioError:RADIO_NOT_AVAILABLE
331 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
332 DataRegStateResult dataRegResponse);
335 * @param info Response info struct containing response type, serial no. and error
336 * @param longName is long alpha ONS or EONS or empty string if unregistered
337 * @param shortName is short alpha ONS or EONS or empty string if unregistered
338 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
340 * Valid errors returned:
342 * RadioError:RADIO_NOT_AVAILABLE
344 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
348 * @param info Response info struct containing response type, serial no. and error
350 * Valid errors returned:
352 * RadioError:RADIO_NOT_AVAILABLE
353 * RadioError:OPERATION_NOT_ALLOWED
355 oneway setRadioPowerResponse(RadioResponseInfo info);
358 * @param info Response info struct containing response type, serial no. and error
360 * Valid errors returned:
362 * RadioError:RADIO_NOT_AVAILABLE
363 * RadioError:INVALID_ARGUMENTS
364 * RadioError:NO_RESOURCES
365 * RadioError:NO_MEMORY
366 * RadioError:MODEM_ERR
367 * RadioError:INVALID_CALL_ID
369 oneway sendDtmfResponse(RadioResponseInfo info);
372 * @param info Response info struct containing response type, serial no. and error
373 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
375 * Valid errors returned:
377 * RadioError:RADIO_NOT_AVAILABLE
378 * RadioError:SMS_SEND_FAIL_RETRY
379 * RadioError:NETWORK_REJECT
380 * RadioError:INVALID_STATE
381 * RadioError:INVALID_ARGUMENTS
382 * RadioError:NO_MEMORY
383 * RadioError:REQUEST_RATE_LIMITED
384 * RadioError:INVALID_SMS_FORMAT
385 * RadioError:SYSTEM_ERR
386 * RadioError:ENCODING_ERR
387 * RadioError:INVALID_SMSC_ADDRESS
388 * RadioError:MODEM_ERR
389 * RadioError:NETWORK_ERR
390 * RadioError:MODE_NOT_SUPPORTED
392 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
395 * @param info Response info struct containing response type, serial no. and error
396 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
398 * Valid errors returned:
400 * RadioError:RADIO_NOT_AVAILABLE
401 * RadioError:SMS_SEND_FAIL_RETRY
402 * RadioError:NETWORK_REJECT
403 * RadioError:INVALID_STATE
404 * RadioError:INVALID_ARGUMENTS
405 * RadioError:NO_MEMORY
406 * RadioError:REQUEST_RATE_LIMITED
407 * RadioError:INVALID_SMS_FORMAT
408 * RadioError:SYSTEM_ERR
409 * RadioError:FDN_CHECK_FAILURE
410 * RadioError:ENCODING_ERR
411 * RadioError:INVALID_SMSC_ADDRESS
412 * RadioError:MODEM_ERR
413 * RadioError:NETWORK_ERR
414 * RadioError:MODE_NOT_SUPPORTED
416 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
419 * @param info Response info struct containing response type, serial no. and error
420 * @param dcResponse SetupDataCallResult defined in types.hal
422 * Valid errors returned:
423 * RadioError:NONE must be returned on both success and failure of setup with the
424 * DataCallResponse.status containing the actual status
425 * For all other errors the DataCallResponse is ignored.
426 * RadioError:RADIO_NOT_AVAILABLE
427 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
428 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
429 * RadioError:REQUEST_NOT_SUPPORTED
431 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
434 * @param info Response info struct containing response type, serial no. and error
435 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
437 * Valid errors returned:
439 * RadioError:RADIO_NOT_AVAILABLE
440 * RadioError:SIM_PIN2
441 * RadioError:SIM_PUK2
443 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
446 * @param info Response info struct containing response type, serial no. and error
448 * Valid errors returned:
450 * RadioError:RADIO_NOT_AVAILABLE
451 * RadioError:FDN_CHECK_FAILURE
452 * RadioError:USSD_MODIFIED_TO_DIAL
453 * RadioError:USSD_MODIFIED_TO_SS
454 * RadioError:USSD_MODIFIED_TO_USSD
455 * RadioError:SIM_BUSY
456 * RadioError:OPERATION_NOT_ALLOWED
457 * RadioError:INVALID_ARGUMENTS
458 * RadioError:NO_MEMORY
459 * RadioError:MODEM_ERR
460 * RadioError:INTERNAL_ERR
462 * RadioError:SYSTEM_ERR
463 * RadioError:INVALID_STATE
465 oneway sendUssdResponse(RadioResponseInfo info);
468 * @param info Response info struct containing response type, serial no. and error
470 * Valid errors returned:
472 * RadioError:RADIO_NOT_AVAILABLE
473 * RadioError:SIM_BUSY
474 * RadioError:OPERATION_NOT_ALLOWED
475 * RadioError:MODEM_ERR
476 * RadioError:INTERNAL_ERR
477 * RadioError:NO_MEMORY
478 * RadioError:INVALID_STATE
480 oneway cancelPendingUssdResponse(RadioResponseInfo info);
483 * @param info Response info struct containing response type, serial no. and error
484 * @param n is "n" parameter from TS 27.007 7.7
485 * @param m is "m" parameter from TS 27.007 7.7
487 * Valid errors returned:
489 * RadioError:RADIO_NOT_AVAILABLE
490 * RadioError:SS_MODIFIED_TO_DIAL
491 * RadioError:SS_MODIFIED_TO_USSD
492 * RadioError:SS_MODIFIED_TO_SS
493 * RadioError:NO_MEMORY
494 * RadioError:MODEM_ERR
495 * RadioError:INTERNAL_ERR
496 * RadioError:FDN_CHECK_FAILURE
497 * RadioError:SYSTEM_ERR
499 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
502 * @param info Response info struct containing response type, serial no. and error
504 * Valid errors returned:
506 * RadioError:INVALID_ARGUMENTS
507 * RadioError:RADIO_NOT_AVAILABLE
508 * RadioError:SS_MODIFIED_TO_DIAL
509 * RadioError:SS_MODIFIED_TO_USSD
510 * RadioError:SS_MODIFIED_TO_SS
511 * RadioError:INVALID_ARGUMENTS
512 * RadioError:SYSTEM_ERR
514 oneway setClirResponse(RadioResponseInfo info);
517 * @param info Response info struct containing response type, serial no. and error
518 * @param callForwardInfos points to a vector of CallForwardInfo, one for
519 * each distinct registered phone number.
521 * For example, if data is forwarded to +18005551212 and voice is forwarded
522 * to +18005559999, then two separate CallForwardInfo's must be returned
524 * If, however, both data and voice are forwarded to +18005551212, then
525 * a single CallForwardInfo must be returned with the service class
526 * set to "data + voice = 3")
528 * Valid errors returned:
530 * RadioError:RADIO_NOT_AVAILABLE
531 * RadioError:SS_MODIFIED_TO_DIAL
532 * RadioError:SS_MODIFIED_TO_USSD
533 * RadioError:SS_MODIFIED_TO_SS
534 * RadioError:INVALID_ARGUMENTS
535 * RadioError:NO_MEMORY
536 * RadioError:SYSTEM_ERR
537 * RadioError:MODEM_ERR
538 * RadioError:INTERNAL_ERR
539 * RadioError:FDN_CHECK_FAILURE
541 oneway getCallForwardStatusResponse(RadioResponseInfo info,
542 vec<CallForwardInfo> callForwardInfos);
545 * @param info Response info struct containing response type, serial no. and error
547 * Valid errors returned:
549 * RadioError:RADIO_NOT_AVAILABLE
550 * RadioError:SS_MODIFIED_TO_DIAL
551 * RadioError:SS_MODIFIED_TO_USSD
552 * RadioError:SS_MODIFIED_TO_SS
553 * RadioError:INVALID_ARGUMENTS
554 * RadioError:NO_MEMORY
555 * RadioError:SYSTEM_ERR
556 * RadioError:MODEM_ERR
557 * RadioError:INTERNAL_ERR
558 * RadioError:INVALID_STATE
559 * RadioError:FDN_CHECK_FAILURE
561 oneway setCallForwardResponse(RadioResponseInfo info);
564 * @param info Response info struct containing response type, serial no. and error
565 * @param enable If current call waiting state is disabled, enable = false else true
566 * @param serviceClass If enable, then callWaitingResp[1]
567 * must follow, with the TS 27.007 service class bit vector of services
568 * for which call waiting is enabled.
569 * For example, if callWaitingResp[0] is 1 and
570 * callWaitingResp[1] is 3, then call waiting is enabled for data
571 * and voice and disabled for everything else.
573 * Valid errors returned:
575 * RadioError:RADIO_NOT_AVAILABLE
576 * RadioError:SS_MODIFIED_TO_DIAL
577 * RadioError:SS_MODIFIED_TO_USSD
578 * RadioError:SS_MODIFIED_TO_SS
579 * RadioError:INVALID_ARGUMENTS
580 * RadioError:NO_MEMORY
581 * RadioError:MODEM_ERR
582 * RadioError:INTERNAL_ERR
583 * RadioError:FDN_CHECK_FAILURE
585 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
588 * @param info Response info struct containing response type, serial no. and error
590 * Valid errors returned:
592 * RadioError:RADIO_NOT_AVAILABLE
593 * RadioError:SS_MODIFIED_TO_DIAL
594 * RadioError:SS_MODIFIED_TO_USSD
595 * RadioError:SS_MODIFIED_TO_SS
596 * RadioError:INVALID_ARGUMENTS
597 * RadioError:NO_MEMORY
598 * RadioError:MODEM_ERR
599 * RadioError:INTERNAL_ERR
600 * RadioError:INVALID_STATE
601 * RadioError:FDN_CHECK_FAILURE
603 oneway setCallWaitingResponse(RadioResponseInfo info);
606 * @param info Response info struct containing response type, serial no. and error
608 * Valid errors returned:
610 * RadioError:RADIO_NOT_AVAILABLE
612 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
615 * @param info Response info struct containing response type, serial no. and error
617 * Valid errors returned:
619 * RadioError:RADIO_NOT_AVAILABLE
620 * RadioError:INVALID_STATE
621 * RadioError:NO_MEMORY
622 * RadioError:SYSTEM_ERR
623 * RadioError:MODEM_ERR
624 * RadioError:INTERNAL_ERR
625 * RadioError:INVALID_CALL_ID
627 oneway acceptCallResponse(RadioResponseInfo info);
630 * @param info Response info struct containing response type, serial no. and error
632 * Valid errors returned:
634 * RadioError:RADIO_NOT_AVAILABLE
636 oneway deactivateDataCallResponse(RadioResponseInfo info);
639 * @param info Response info struct containing response type, serial no. and error
640 * @param response 0 is the TS 27.007 service class bit vector of
641 * services for which the specified barring facility
642 * is active. "0" means "disabled for all"
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:SYSTEM_ERR
655 * RadioError:FDN_CHECK_FAILURE
657 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
660 * @param info Response info struct containing response type, serial no. and error
661 * @param retry 0 is the number of retries remaining, or -1 if unknown
663 * Valid errors returned:
665 * RadioError:RADIO_NOT_AVAILABLE
666 * RadioError:SS_MODIFIED_TO_DIAL
667 * RadioError:SS_MODIFIED_TO_USSD
668 * RadioError:SS_MODIFIED_TO_SS
669 * RadioError:INVALID_ARGUMENTS
670 * RadioError:NO_MEMORY
671 * RadioError:MODEM_ERR
672 * RadioError:INTERNAL_ERR
673 * RadioError:INVALID_STATE
674 * RadioError:FDN_CHECK_FAILURE
676 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
679 * @param info Response info struct containing response type, serial no. and error
681 * Valid errors returned:
683 * RadioError:RADIO_NOT_AVAILABLE
684 * RadioError:SS_MODIFIED_TO_DIAL
685 * RadioError:SS_MODIFIED_TO_USSD
686 * RadioError:SS_MODIFIED_TO_SS
687 * RadioError:INVALID_ARGUMENTS
688 * RadioError:NO_MEMORY
689 * RadioError:MODEM_ERR
690 * RadioError:INTERNAL_ERR
691 * RadioError:SYSTEM_ERR
692 * RadioError:FDN_CHECK_FAILURE
694 oneway setBarringPasswordResponse(RadioResponseInfo info);
697 * @param info Response info struct containing response type, serial no. and error
698 * @param selection false for automatic selection, true for manual selection
700 * Valid errors returned:
702 * RadioError:RADIO_NOT_AVAILABLE
704 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
707 * @param info Response info struct containing response type, serial no. and error
709 * Valid errors returned:
711 * RadioError:RADIO_NOT_AVAILABLE
712 * RadioError:ILLEGAL_SIM_OR_ME
713 * RadioError:OPERATION_NOT_ALLOWED
715 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
716 * no retries needed, such as illegal SIM or ME.
717 * Returns RadioError:GENERIC_FAILURE for all other causes that might be fixed by retries.
719 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
722 * @param info Response info struct containing response type, serial no. and error
724 * Valid errors returned:
726 * RadioError:RADIO_NOT_AVAILABLE
727 * RadioError:ILLEGAL_SIM_OR_ME
728 * RadioError:OPERATION_NOT_ALLOWED
730 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
731 * no retries needed, such as illegal SIM or ME.
732 * Returns RadioError:GENERIC_FAILURE for all other causes that might be fixed by retries.
734 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
737 * @param info Response info struct containing response type, serial no. and error
738 * @param networkInfos List of network operator information as OperatorInfos defined in
741 * Valid errors returned:
743 * RadioError:RADIO_NOT_AVAILABLE
744 * RadioError:OPERATION_NOT_ALLOWED
746 * RadioError:DEVICE_IN_USE
747 * RadioError:INTERNAL_ERR
748 * RadioError:NO_MEMORY
749 * RadioError:MODEM_ERR
751 oneway getAvailableNetworksResponse(RadioResponseInfo info,
752 vec<OperatorInfo> networkInfos);
755 * @param info Response info struct containing response type, serial no. and error
757 * Valid errors returned:
759 * RadioError:RADIO_NOT_AVAILABLE
760 * RadioError:INVALID_ARGUMENTS
761 * RadioError:NO_RESOURCES
762 * RadioError:NO_MEMORY
763 * RadioError:SYSTEM_ERR
764 * RadioError:MODEM_ERR
765 * RadioError:INTERNAL_ERR
766 * RadioError:INVALID_CALL_ID
768 oneway startDtmfResponse(RadioResponseInfo info);
771 * @param info Response info struct containing response type, serial no. and error
773 * Valid errors returned:
775 * RadioError:RADIO_NOT_AVAILABLE
776 * RadioError:INVALID_ARGUMENTS
777 * RadioError:NO_RESOURCES
778 * RadioError:NO_MEMORY
779 * RadioError:INVALID_ARGUMENTS
780 * RadioError:SYSTEM_ERR
781 * RadioError:MODEM_ERR
782 * RadioError:INTERNAL_ERR
783 * RadioError:INVALID_CALL_ID
785 oneway stopDtmfResponse(RadioResponseInfo info);
788 * @param info Response info struct containing response type, serial no. and error
789 * @param version string containing version string for log reporting
791 * Valid errors returned:
793 * RadioError:RADIO_NOT_AVAILABLE
794 * RadioError:EMPTY_RECORD
796 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
799 * @param info Response info struct containing response type, serial no. and error
801 * Valid errors returned:
803 * RadioError:RADIO_NOT_AVAILABLE
804 * RadioError:INVALID_ARGUMENTS
805 * RadioError:INVALID_STATE
806 * RadioError:NO_RESOURCES
807 * RadioError:NO_MEMORY
808 * RadioError:MODEM_ERR
809 * RadioError:SYSTEM_ERR
810 * RadioError:INTERNAL_ERR
811 * RadioError:INVALID_CALL_ID
812 * RadioError:OPERATION_NOT_ALLOWED
814 oneway separateConnectionResponse(RadioResponseInfo info);
817 * @param info Response info struct containing response type, serial no. and error
819 * Valid errors returned:
821 * RadioError:RADIO_NOT_AVAILABLE
822 * RadioError:INVALID_ARGUMENTS
823 * RadioError:NO_MEMORY
824 * RadioError:REQUEST_RATE_LIMITED
826 oneway setMuteResponse(RadioResponseInfo info);
829 * @param info Response info struct containing response type, serial no. and error
830 * @param enable true for "mute enabled" and false for "mute disabled"
832 * Valid errors returned:
834 * RadioError:RADIO_NOT_AVAILABLE
835 * RadioError:SS_MODIFIED_TO_DIAL
836 * RadioError:SS_MODIFIED_TO_USSD
837 * RadioError:SS_MODIFIED_TO_SS
838 * RadioError:NO_MEMORY
839 * RadioError:REQUEST_RATE_LIMITED
841 oneway getMuteResponse(RadioResponseInfo info, bool enable);
844 * @param info Response info struct containing response type, serial no. and error
845 * @param status indicates CLIP status
847 * Valid errors returned:
849 * RadioError:RADIO_NOT_AVAILABLE
850 * RadioError:INVALID_ARGUMENTS
851 * RadioError:NO_MEMORY
852 * RadioError:SYSTEM_ERR
853 * RadioError:MODEM_ERR
854 * RadioError:INTERNAL_ERR
855 * RadioError:FDN_CHECK_FAILURE
857 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
860 * @param info Response info struct containing response type, serial no. and error
861 * @param dcResponse List of DataCallResult as defined in types.hal
863 * Valid errors returned:
865 * RadioError:RADIO_NOT_AVAILABLE
867 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
870 * @param info Response info struct containing response type, serial no. and error
872 * Valid errors returned:
874 * RadioError:RADIO_NOT_AVAILABLE
875 * RadioError:INVALID_ARGUMENTS
876 * RadioError:SIM_BUSY
877 * RadioError:NO_MEMORY
878 * RadioError:SYSTEM_ERR
879 * RadioError:MODEM_ERR
880 * RadioError:INTERNAL_ERR
882 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
885 * @param info Response info struct containing response type, serial no. and error
886 * @param index record index where the message is stored
888 * Valid errors returned:
890 * RadioError:SIM_FULL
891 * RadioError:INVALID_ARGUMENTS
892 * RadioError:INVALID_SMS_FORMAT
893 * RadioError:INTERNAL_ERR
894 * RadioError:MODEM_ERR
895 * RadioError:ENCODING_ERR
896 * RadioError:NO_MEMORY
897 * RadioError:NO_RESOURCES
898 * RadioError:INVALID_MODEM_STATE
899 * RadioError:MODE_NOT_SUPPORTED
900 * RadioError:INVALID_SMSC_ADDRESS
902 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
905 * @param info Response info struct containing response type, serial no. and error
907 * Valid errors returned:
909 * RadioError:SIM_FULL
910 * RadioError:INVALID_ARGUMENTS
911 * RadioError:NO_MEMORY
912 * RadioError:REQUEST_RATE_LIMITED
913 * RadioError:SYSTEM_ERR
914 * RadioError:MODEM_ERR
915 * RadioError:NO_SUCH_ENTRY
917 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
920 * @param info Response info struct containing response type, serial no. and error
922 * Valid errors returned:
924 * RadioError:RADIO_NOT_AVAILABLE
925 * RadioError:OPERATION_NOT_ALLOWED
927 oneway setBandModeResponse(RadioResponseInfo info);
930 * @param info Response info struct containing response type, serial no. and error
931 * @param bandModes List of RadioBandMode listing supported modes
933 * Valid errors returned:
935 * RadioError:RADIO_NOT_AVAILABLE
936 * RadioError:INVALID_ARGUMENTS
938 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
941 * @param info Response info struct containing response type, serial no. and error
942 * @param commandResponse SAT/USAT response in hexadecimal format
943 * string starting with first byte of response
945 * Valid errors returned:
947 * RadioError:RADIO_NOT_AVAILABLE
948 * RadioError:SIM_BUSY
949 * RadioError:OPERATION_NOT_ALLOWED
951 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
954 * @param info Response info struct containing response type, serial no. and error
956 * Valid errors returned:
958 * RadioError:RADIO_NOT_AVAILABLE
959 * RadioError:INVALID_ARGUMENTS
960 * RadioError:OPERATION_NOT_ALLOWED
962 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
965 * @param info Response info struct containing response type, serial no. and error
967 * Valid errors returned:
969 * RadioError:RADIO_NOT_AVAILABLE
970 * RadioError:INVALID_ARGUMENTS
971 * RadioError:OPERATION_NOT_ALLOWED
973 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
976 * @param info Response info struct containing response type, serial no. and error
978 * Valid errors returned:
980 * RadioError:RADIO_NOT_AVAILABLE
981 * RadioError:INVALID_ARGUMENTS
982 * RadioError:INVALID_STATE
983 * RadioError:NO_RESOURCES
984 * RadioError:NO_MEMORY
985 * RadioError:SYSTEM_ERR
986 * RadioError:MODEM_ERR
987 * RadioError:INTERNAL_ERR
988 * RadioError:INVALID_CALL_ID
989 * RadioError:OPERATION_NOT_ALLOWED
991 oneway explicitCallTransferResponse(RadioResponseInfo info);
994 * @param info Response info struct containing response type, serial no. and error
996 * Valid errors returned:
998 * RadioError:RADIO_NOT_AVAILABLE
999 * RadioError:OPERATION_NOT_ALLOWED
1000 * RadioError:MODE_NOT_SUPPORTED
1002 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1005 * @param info Response info struct containing response type, serial no. and error
1006 * @param nwType RadioPreferredNetworkType defined in types.hal
1008 * Valid errors returned:
1010 * RadioError:RADIO_NOT_AVAILABLE
1012 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1013 PreferredNetworkType nwType);
1016 * @param info Response info struct containing response type, serial no. and error
1017 * @param cells Vector of neighboring radio cell
1019 * Valid errors returned:
1021 * RadioError:RADIO_NOT_AVAILABLE
1022 * RadioError:INVALID_ARGUMENTS
1024 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
1027 * @param info Response info struct containing response type, serial no. and error
1029 * Valid errors returned:
1031 * RadioError:RADIO_NOT_AVAILABLE
1033 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1036 * @param info Response info struct containing response type, serial no. and error
1038 * Valid errors returned:
1040 * RadioError:RADIO_NOT_AVAILABLE
1041 * RadioError:SIM_ABSENT
1042 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1044 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1047 * @param info Response info struct containing response type, serial no. and error
1049 * Valid errors returned:
1051 * RadioError:RADIO_NOT_AVAILABLE
1053 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1056 * @param info Response info struct containing response type, serial no. and error
1057 * @param type CdmaRoamingType defined in types.hal
1059 * Valid errors returned:
1061 * RadioError:RADIO_NOT_AVAILABLE
1062 * RadioError:INVALID_ARGUMENTS
1064 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1067 * @param info Response info struct containing response type, serial no. and error
1069 * Valid errors returned:
1071 * RadioError:RADIO_NOT_AVAILABLE
1072 * RadioError:INVALID_ARGUMENTS
1073 * RadioError:MODEM_ERR
1074 * RadioError:INTERNAL_ERR
1075 * RadioError:NO_MEMORY
1077 oneway setTTYModeResponse(RadioResponseInfo info);
1080 * @param info Response info struct containing response type, serial no. and error
1081 * @param mode TtyMode
1083 * Valid errors returned:
1085 * RadioError:RADIO_NOT_AVAILABLE
1086 * RadioError:INVALID_ARGUMENTS
1087 * RadioError:MODEM_ERR
1088 * RadioError:INTERNAL_ERR
1089 * RadioError:NO_MEMORY
1091 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1094 * @param info Response info struct containing response type, serial no. and error
1096 * Valid errors returned:
1098 * RadioError:RADIO_NOT_AVAILABLE
1099 * RadioError:INVALID_ARGUMENTS
1100 * RadioError:MODEM_ERR
1101 * RadioError:INTERNAL_ERR
1102 * RadioError:NO_MEMORY
1104 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1107 * @param info Response info struct containing response type, serial no. and error
1108 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1109 * true for Enhanced Privacy Mode (Private Long Code Mask)
1113 * RadioError:RADIO_NOT_AVAILABLE
1114 * RadioError:INVALID_ARGUMENTS
1115 * RadioError:MODEM_ERR
1116 * RadioError:INTERNAL_ERR
1117 * RadioError:NO_MEMORY
1119 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1122 * Response callback for IRadio.sendCDMAFeatureCode()
1124 * @param info Response info struct containing response type, serial no. and error
1126 * Valid errors returned:
1128 * RadioError:RADIO_NOT_AVAILABLE
1129 * RadioError:INVALID_ARGUMENTS
1130 * RadioError:NO_MEMORY
1131 * RadioError:INTERNAL_ERR
1132 * RadioError:SYSTEM_ERR
1133 * RadioError:MODEM_ERR
1134 * RadioError:INVALID_CALL_ID
1135 * RadioError:INVALID_STATE
1137 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1140 * @param info Response info struct containing response type, serial no. and error
1142 * Valid errors returned:
1144 * RadioError:RADIO_NOT_AVAILABLE
1145 * RadioError:INVALID_ARGUMENTS
1146 * RadioError:NO_MEMORY
1147 * RadioError:INTERNAL_ERR
1148 * RadioError:SYSTEM_ERR
1149 * RadioError:MODEM_ERR
1150 * RadioError:INVALID_CALL_ID
1151 * RadioError:INVALID_STATE
1153 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1156 * @param info Response info struct containing response type, serial no. and error
1157 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1159 * Valid errors returned:
1161 * RadioError:RADIO_NOT_AVAILABLE
1162 * RadioError:INVALID_ARGUMENTS
1163 * RadioError:SMS_SEND_FAIL_RETRY
1164 * RadioError:NETWORK_REJECT
1165 * RadioError:INVALID_STATE
1166 * RadioError:NO_MEMORY
1167 * RadioError:REQUEST_RATE_LIMITED
1168 * RadioError:INVALID_SMS_FORMAT
1169 * RadioError:SYSTEM_ERR
1170 * RadioError:FDN_CHECK_FAILURE
1171 * RadioError:MODEM_ERR
1172 * RadioError:NETWORK_ERR
1173 * RadioError:ENCODING_ERR
1174 * RadioError:INVALID_SMSC_ADDRESS
1175 * RadioError:MODE_NOT_SUPPORTED
1177 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1180 * @param info Response info struct containing response type, serial no. and error
1182 * Valid errors returned:
1184 * RadioError:RADIO_NOT_AVAILABLE
1185 * RadioError:INVALID_ARGUMENTS
1186 * RadioError:NO_SMS_TO_ACK
1187 * RadioError:INVALID_STATE
1188 * RadioError:NO_MEMORY
1189 * RadioError:REQUEST_RATE_LIMITED
1190 * RadioError:SYSTEM_ERR
1191 * RadioError:MODEM_ERR
1192 * RadioError:MODE_NOT_SUPPORTED
1193 * RadioError:NETWORK_NOT_READY
1194 * RadioError:INVALID_MODEM_STATE
1196 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1199 * @param info Response info struct containing response type, serial no. and error
1200 * @param configs Vector of GSM/WCDMA Cell broadcast configs
1202 * Valid errors returned:
1204 * RadioError:RADIO_NOT_AVAILABLE
1205 * RadioError:INVALID_ARGUMENTS
1206 * RadioError:INVALID_STATE
1207 * RadioError:NO_MEMORY
1208 * RadioError:REQUEST_RATE_LIMITED
1209 * RadioError:SYSTEM_ERR
1210 * RadioError:MODEM_ERR
1211 * RadioError:NO_RESOURCES
1213 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1214 vec<GsmBroadcastSmsConfigInfo> configs);
1217 * @param info Response info struct containing response type, serial no. and error
1219 * Valid errors returned:
1221 * RadioError:RADIO_NOT_AVAILABLE
1222 * RadioError:INVALID_ARGUMENTS
1223 * RadioError:INVALID_STATE
1224 * RadioError:NO_MEMORY
1225 * RadioError:REQUEST_RATE_LIMITED
1226 * RadioError:SYSTEM_ERR
1227 * RadioError:MODEM_ERR
1229 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1232 * @param info Response info struct containing response type, serial no. and error
1234 * Valid errors returned:
1236 * RadioError:RADIO_NOT_AVAILABLE
1237 * RadioError:INVALID_ARGUMENTS
1238 * RadioError:INVALID_STATE
1239 * RadioError:NO_MEMORY
1240 * RadioError:REQUEST_RATE_LIMITED
1241 * RadioError:SYSTEM_ERR
1242 * RadioError:MODEM_ERR
1244 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1247 * @param info Response info struct containing response type, serial no. and error
1248 * @param configs Vector of CDMA Broadcast SMS configs.
1250 * Valid errors returned:
1252 * RadioError:RADIO_NOT_AVAILABLE
1253 * RadioError:INVALID_ARGUMENTS
1254 * RadioError:INVALID_STATE
1255 * RadioError:NO_MEMORY
1256 * RadioError:REQUEST_RATE_LIMITED
1257 * RadioError:SYSTEM_ERR
1258 * RadioError:MODEM_ERR
1259 * RadioError:NO_RESOURCES
1261 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1262 vec<CdmaBroadcastSmsConfigInfo> configs);
1265 * @param info Response info struct containing response type, serial no. and error
1267 * Valid errors returned:
1269 * RadioError:RADIO_NOT_AVAILABLE
1270 * RadioError:INVALID_ARGUMENTS
1271 * RadioError:INVALID_STATE
1272 * RadioError:NO_MEMORY
1273 * RadioError:REQUEST_RATE_LIMITED
1274 * RadioError:SYSTEM_ERR
1275 * RadioError:MODEM_ERR
1277 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1280 * @param info Response info struct containing response type, serial no. and error
1282 * Valid errors returned:
1284 * RadioError:RADIO_NOT_AVAILABLE
1285 * RadioError:INVALID_ARGUMENTS
1286 * RadioError:INVALID_STATE
1287 * RadioError:NO_MEMORY
1288 * RadioError:REQUEST_RATE_LIMITED
1289 * RadioError:SYSTEM_ERR
1290 * RadioError:MODEM_ERR
1292 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1295 * @param info Response info struct containing response type, serial no. and error
1296 * @param mdn MDN if CDMA subscription is available
1297 * @param hSid is a comma separated list of H_SID (Home SID) if
1298 * CDMA subscription is available, in decimal format
1299 * @param hNid is a comma separated list of H_NID (Home NID) if
1300 * CDMA subscription is available, in decimal format
1301 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1302 * @param prl PRL version if CDMA subscription is available
1304 * Valid errors returned:
1306 * RadioError:RADIO_NOT_AVAILABLE
1307 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1309 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1310 string hNid, string min, string prl);
1313 * @param info Response info struct containing response type, serial no. and error
1314 * @param index record index where the cmda sms message is stored
1316 * Valid errors returned:
1318 * RadioError:RADIO_NOT_AVAILABLE
1319 * RadioError:INVALID_ARGUMENTS
1320 * RadioError:INVALID_SMS_FORMAT
1321 * RadioError:SIM_FULL
1322 * RadioError:INTERNAL_ERR
1323 * RadioError:MODEM_ERR
1324 * RadioError:ENCODING_ERR
1325 * RadioError:NO_MEMORY
1326 * RadioError:NO_RESOURCES
1327 * RadioError:INVALID_MODEM_STATE
1328 * RadioError:MODE_NOT_SUPPORTED
1329 * RadioError:INVALID_SMSC_ADDRESS
1331 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1334 * @param info Response info struct containing response type, serial no. and error
1336 * Valid errors returned:
1338 * RadioError:RADIO_NOT_AVAILABLE
1339 * RadioError:INVALID_ARGUMENTS
1340 * RadioError:NO_MEMORY
1341 * RadioError:REQUEST_RATE_LIMITED
1342 * RadioError:SYSTEM_ERR
1343 * RadioError:MODEM_ERR
1344 * RadioError:NO_SUCH_ENTRY
1346 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1349 * @param info Response info struct containing response type, serial no. and error
1350 * @param imei IMEI if GSM subscription is available
1351 * @param imeisv IMEISV if GSM subscription is available
1352 * @param esn ESN if CDMA subscription is available
1353 * @param meid MEID if CDMA subscription is available
1355 * Valid errors returned:
1357 * RadioError:RADIO_NOT_AVAILABLE
1359 * If a empty string value is returned for any of the device id, it means that there was error
1360 * accessing the device.
1363 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1364 string esn, string meid);
1367 * @param info Response info struct containing response type, serial no. and error
1369 * Valid errors returned:
1371 * RadioError:RADIO_NOT_AVAILABLE
1372 * RadioError:OPERATION_NO_ALLOWED
1374 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1377 * @param info Response info struct containing response type, serial no. and error
1378 * @param smsc Short Message Service Center address on the device
1380 * Valid errors returned:
1382 * RadioError:RADIO_NOT_AVAILABLE
1383 * RadioError:INVALID_ARGUMENTS
1384 * RadioError:INTERNAL_ERR
1385 * RadioError:NO_MEMORY
1386 * RadioError:SYSTEM_ERR
1387 * RadioError:REQUEST_RATE_LIMITED
1388 * RadioError:MODEM_ERR
1389 * RadioError:INVALID_MODEM_STATE
1390 * RadioError:NOT_PROVISIONED
1392 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1395 * @param info Response info struct containing response type, serial no. and error
1397 * Valid errors returned:
1399 * RadioError:RADIO_NOT_AVAILABLE
1400 * RadioError:INVALID_ARGUMENTS
1401 * RadioError:INVALID_SMS_FORMAT
1402 * RadioError:NO_MEMORY
1403 * RadioError:SYSTEM_ERR
1404 * RadioError:REQUEST_RATE_LIMITED
1405 * RadioError:MODEM_ERR
1406 * RadioError:NO_RESOURCES
1408 oneway setSmscAddressResponse(RadioResponseInfo info);
1411 * @param info Response info struct containing response type, serial no. and error
1413 * Valid errors returned:
1415 * RadioError:RADIO_NOT_AVAILABLE
1416 * RadioError:INVALID_ARGUMENTS
1417 * RadioError:NO_MEMORY
1418 * RadioError:SYSTEM_ERR
1419 * RadioError:REQUEST_RATE_LIMITED
1420 * RadioError:MODEM_ERR
1421 * RadioError:INVALID_STATE
1423 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1426 * @param info Response info struct containing response type, serial no. and error
1428 * Valid errors returned:
1430 * RadioError:RADIO_NOT_AVAILABLE
1432 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1435 * @param info Response info struct containing response type, serial no. and error
1436 * @param source CDMA subscription source
1438 * Valid errors returned:
1440 * RadioError:RADIO_NOT_AVAILABLE
1441 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1443 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1446 * @param info Response info struct containing response type, serial no. and error
1447 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1449 * Valid errors returned:
1451 * RadioError:RADIO_NOT_AVAILABLE
1453 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
1456 * @param info Response info struct containing response type, serial no. and error
1458 * Valid errors returned:
1460 * RadioError:RADIO_NOT_AVAILABLE
1462 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
1465 * @param info Response info struct containing response type, serial no. and error
1466 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
1468 * Valid errors returned:
1470 * RadioError:RADIO_NOT_AVAILABLE
1471 * RadioError:SIM_BUSY
1472 * RadioError:OPERATION_NOT_ALLOWED
1474 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
1477 * @param info Response info struct containing response type, serial no. and error
1478 * @param rat Current voice RAT
1480 * Valid errors returned:
1482 * RadioError:RADIO_NOT_AVAILABLE
1484 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
1487 * @param info Response info struct containing response type, serial no. and error
1488 * @param cellInfo List of current cell information known to radio
1490 * Valid errors returned:
1492 * RadioError:RADIO_NOT_AVAILABLE
1494 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
1497 * @param info Response info struct containing response type, serial no. and error
1499 * Valid errors returned:
1501 * RadioError:RADIO_NOT_AVAILABLE
1503 oneway setCellInfoListRateResponse(RadioResponseInfo info);
1506 * @param info Response info struct containing response type, serial no. and error
1508 * Valid errors returned:
1510 * RadioError:RADIO_NOT_AVAILABLE
1511 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1513 oneway setInitialAttachApnResponse(RadioResponseInfo info);
1516 * @param info Response info struct containing response type, serial no. and error
1517 * @param isRegistered false = not registered, true = registered
1518 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
1519 * isRegistered is true.
1521 * Valid errors returned:
1523 * RadioError:RADIO_NOT_AVAILABLE
1525 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
1526 RadioTechnologyFamily ratFamily);
1529 * @param info Response info struct containing response type, serial no. and error
1530 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
1532 * Valid errors returned:
1534 * RadioError:RADIO_NOT_AVAILABLE
1535 * RadioError:SMS_SEND_FAIL_RETRY
1536 * RadioError:FDN_CHECK_FAILURE
1537 * RadioError:NETWORK_REJECT
1538 * RadioError:INVALID_ARGUMENTS
1539 * RadioError:INVALID_STATE
1540 * RadioError:NO_MEMORY
1541 * RadioError:INVALID_SMS_FORMAT
1542 * RadioError:SYSTEM_ERR
1543 * RadioError:REQUEST_RATE_LIMITED
1544 * RadioError:MODEM_ERR
1545 * RadioError:NETWORK_ERR
1546 * RadioError:ENCODING_ERR
1547 * RadioError:MODE_NOT_SUPPORTED
1549 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1552 * @param info Response info struct containing response type, serial no. and error
1553 * @param result IccIoResult as defined in types.hal
1555 * Valid errors returned:
1557 * RadioError:RADIO_NOT_AVAILABLE
1559 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
1562 * @param info Response info struct containing response type, serial no. and error
1563 * @param channelId session id of the logical channel.
1564 * @param selectResponse Contains the select response for the open channel command with one
1567 * Valid errors returned:
1569 * RadioError:RADIO_NOT_AVAILABLE
1570 * RadioError:MISSING_RESOURCE
1571 * RadioError:NO_SUCH_ELEMENT
1573 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
1574 vec<int8_t> selectResponse);
1577 * @param info Response info struct containing response type, serial no. and error
1579 * Valid errors returned:
1581 * RadioError:RADIO_NOT_AVAILABLE
1583 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
1586 * @param info Response info struct containing response type, serial no. and error
1587 * @param result IccIoResult as defined in types.hal
1589 * Valid errors returned:
1591 * RadioError:RADIO_NOT_AVAILABLE
1593 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
1596 * @param info Response info struct containing response type, serial no. and error
1597 * @param result string containing the contents of the NV item
1599 * Valid errors returned:
1601 * RadioError:RADIO_NOT_AVAILABLE
1603 oneway nvReadItemResponse(RadioResponseInfo info, string result);
1606 * @param info Response info struct containing response type, serial no. and error
1608 * Valid errors returned:
1610 * RadioError:RADIO_NOT_AVAILABLE
1612 oneway nvWriteItemResponse(RadioResponseInfo info);
1615 * @param info Response info struct containing response type, serial no. and error
1617 * Valid errors returned:
1619 * RadioError:RADIO_NOT_AVAILABLE
1621 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
1624 * @param info Response info struct containing response type, serial no. and error
1626 * Valid errors returned:
1628 * RadioError:RADIO_NOT_AVAILABLE
1630 oneway nvResetConfigResponse(RadioResponseInfo info);
1633 * @param info Response info struct containing response type, serial no. and error
1635 * Valid errors returned:
1637 * RadioError:RADIO_NOT_AVAILABLE
1638 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
1640 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
1643 * @param info Response info struct containing response type, serial no. and error
1645 * Valid errors returned:
1647 * RadioError:RADIO_NOT_AVAILABLE
1649 oneway setDataAllowedResponse(RadioResponseInfo info);
1652 * @param info Response info struct containing response type, serial no. and error
1653 * @param config Array of HardwareConfig of the radio.
1655 * Valid errors returned:
1657 * RadioError:RADIO_NOT_AVAILABLE
1659 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
1662 * @param info Response info struct containing response type, serial no. and error
1663 * @param result IccIoResult as defined in types.hal
1665 * Valid errors returned:
1667 * RadioError:RADIO_NOT_AVAILABLE
1669 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
1672 * @param info Response info struct containing response type, serial no. and error
1674 * Valid errors returned:
1676 * RadioError:RADIO_NOT_AVAILABLE
1677 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1679 oneway setDataProfileResponse(RadioResponseInfo info);
1682 * @param info Response info struct containing response type, serial no. and error
1684 * Valid errors returned:
1686 * RadioError:RADIO_NOT_AVAILABLE
1687 * RadioError:OPERATION_NOT_ALLOWED
1689 oneway requestShutdownResponse(RadioResponseInfo info);
1692 * @param info Response info struct containing response type, serial no. and error
1693 * @param rc Radio capability as defined by RadioCapability in types.hal
1695 * Valid errors returned:
1697 * RadioError:RADIO_NOT_AVAILABLE
1698 * RadioError:OPERATION_NOT_ALLOWED
1700 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
1703 * @param info Response info struct containing response type, serial no. and error
1704 * @param rc Radio capability as defined by RadioCapability in types.hal used to
1705 * feedback return status
1707 * Valid errors returned:
1708 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
1709 * RadioError:RADIO_NOT_AVAILABLE
1710 * RadioError:OPERATION_NOT_ALLOWED
1712 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
1715 * @param info Response info struct containing response type, serial no. and error
1716 * @param statusInfo LceStatusInfo indicating LCE status
1718 * Valid errors returned:
1720 * RadioError:RADIO_NOT_AVAILABLE
1721 * RadioError:LCE_NOT_SUPPORTED
1723 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
1726 * @param info Response info struct containing response type, serial no. and error
1727 * @param statusInfo LceStatusInfo indicating LCE status
1729 * Valid errors returned:
1731 * RadioError:RADIO_NOT_AVAILABLE
1732 * RadioError:LCE_NOT_SUPPORTED
1734 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
1737 * @param info Response info struct containing response type, serial no. and error
1738 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
1740 * Valid errors returned:
1742 * RadioError:RADIO_NOT_AVAILABLE
1743 * RadioError:LCE_NOT_SUPPORTED
1745 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
1748 * @param info Response info struct containing response type, serial no. and error
1749 * @param activityInfo modem activity information
1751 * Valid errors returned:
1753 * RadioError:RADIO_NOT_AVAILABLE
1755 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
1758 * @param info Response info struct containing response type, serial no. and error
1759 * @param numAllowed number of allowed carriers which have been set correctly.
1760 * On success, it must match the length of list Carriers->allowedCarriers.
1761 * if Length of allowed carriers list is 0, numAllowed = 0.
1763 * Valid errors returned:
1765 * RadioError:RADIO_NOT_AVAILABLE
1766 * RadioError:INVALID_ARGUMENTS
1767 * RadioError:REQUEST_NOT_SUPPORTED
1769 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
1772 * Expected modem behavior:
1773 * Return list of allowed carriers, and if all carriers are allowed.
1775 * @param info Response info struct containing response type, serial no. and error
1776 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
1777 * If false, consider "carriers" struct
1778 * @param carriers Carrier restriction information.
1780 * Valid errors returned:
1782 * RadioError:RADIO_NOT_AVAILABLE
1783 * RadioError:REQUEST_NOT_SUPPORTED
1785 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
1786 CarrierRestrictions carriers);
1789 * @param info Response info struct containing response type, serial no. and error
1791 * Valid errors returned:
1793 * RadioError:RADIO_NOT_AVAILABLE
1795 oneway sendDeviceStateResponse(RadioResponseInfo info);
1798 * @param info Response info struct containing response type, serial no. and error
1800 * Valid errors returned:
1802 * RadioError:INVALID_ARGUMENTS
1803 * RadioError:RADIO_NOT_AVAILABLE
1805 oneway setIndicationFilterResponse(RadioResponseInfo info);
1808 * @param info Response info struct containing response type, serial no. and error
1810 * Valid errors returned:
1812 * RadioError:RADIO_NOT_AVAILABLE
1813 * RadioError:REQUEST_NOT_SUPPORTED
1814 * RadioError:SIM_ABSENT
1815 * RadioError:INVALID_ARGUMENTS
1817 oneway setSimCardPowerResponse(RadioResponseInfo info);
1820 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
1821 * radio request which take long time to respond.
1822 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
1824 * @param serial Serial no. of the request whose acknowledgement is sent.
1826 oneway acknowledgeRequest(int32_t serial);