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:PASSWORD_INCORRECT (code is invalid)
106 * RadioError:NO_MEMORY
107 * RadioError:INVALID_SIM_STATE
108 * RadioError:INTERNAL_ERR
109 * RadioError:SYSTEM_ERR
110 * RadioError:MODEM_ERR
111 * RadioError:INVALID_ARGUMENTS
113 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
116 * @param info Response info struct containing response type, serial no. and error
117 * @param calls Current call list
119 * Valid errors returned:
121 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
122 * RadioError:NO_MEMORY
123 * RadioError:INTERNAL_ERR
124 * RadioError:SYSTEM_ERR
125 * RadioError:INVALID_ARGUMENTS
126 * RadioError:REQUEST_NOT_SUPPORTED
128 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
131 * @param info Response info struct containing response type, serial no. and error
133 * Valid errors returned:
135 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
136 * RadioError:DIAL_MODIFIED_TO_USSD
137 * RadioError:DIAL_MODIFIED_TO_SS
138 * RadioError:DIAL_MODIFIED_TO_DIAL
139 * RadioError:INVALID_ARGUMENTS
140 * RadioError:NO_MEMORY
141 * RadioError:INVALID_STATE
142 * RadioError:NO_RESOURCES
143 * RadioError:INTERNAL_ERR
144 * RadioError:FDN_CHECK_FAILURE
145 * RadioError:MODEM_ERR
146 * RadioError:NO_SUBSCRIPTION
147 * RadioError:NO_NETWORK_FOUND
148 * RadioError:INVALID_CALL_ID
149 * RadioError:DEVICE_IN_USE
150 * RadioError:MODE_NOT_SUPPORTED
152 * RadioError:SYSTEM_ERR
153 * RadioError:REQUEST_NOT_SUPPORTED
154 * RadioError:INVALID_MODEM_STATE
156 oneway dialResponse(RadioResponseInfo info);
159 * @param info Response info struct containing response type, serial no. and error
160 * @param imsi String containing the IMSI
162 * Valid errors returned:
164 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
166 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
169 * @param info Response info struct containing response type, serial no. and error
171 * Valid errors returned:
173 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
174 * RadioError:INVALID_ARGUMENTS
175 * RadioError:NO_MEMORY
176 * RadioError:INVALID_STATE
177 * RadioError:MODEM_ERR
178 * RadioError:INTERNAL_ERR
179 * RadioError:INVALID_CALL_ID
181 oneway hangupConnectionResponse(RadioResponseInfo info);
184 * @param info Response info struct containing response type, serial no. and error
186 * Valid errors returned:
188 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
189 * RadioError:INVALID_STATE
190 * RadioError:NO_MEMORY
191 * RadioError:MODEM_ERR
192 * RadioError:INTERNAL_ERR
193 * RadioError:INVALID_CALL_ID
194 * RadioError:NO_RESOURCES
195 * RadioError:OPERATION_NOT_ALLOWED
196 * RadioError:INVALID_ARGUMENTS
197 * RadioError:SYSTEM_ERR
198 * RadioError:REQUEST_NOT_SUPPORTED
200 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
203 * @param info Response info struct containing response type, serial no. and error
205 * Valid errors returned:
207 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
208 * RadioError:INVALID_STATE
209 * RadioError:NO_MEMORY
210 * RadioError:MODEM_ERR
211 * RadioError:INTERNAL_ERR
212 * RadioError:INVALID_CALL_ID
213 * RadioError:NO_RESOURCES
214 * RadioError:OPERATION_NOT_ALLOWED
215 * RadioError:INVALID_ARGUMENTS
216 * RadioError:SYSTEM_ERR
217 * RadioError:REQUEST_NOT_SUPPORTED
219 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
222 * @param info Response info struct containing response type, serial no. and error
224 * Valid errors returned:
226 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
227 * RadioError:INVALID_STATE
228 * RadioError:NO_MEMORY
229 * RadioError:MODEM_ERR
230 * RadioError:INTERNAL_ERR
231 * RadioError:INVALID_STATE
232 * RadioError:INVALID_CALL_ID
233 * RadioError:OPERATION_NOT_ALLOWED
234 * RadioError:INVALID_ARGUMENTS
235 * RadioError:SYSTEM_ERR
236 * RadioError:REQUEST_NOT_SUPPORTED
237 * RadioError:INVALID_MODEM_STATE
239 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
242 * @param info Response info struct containing response type, serial no. and error
244 * Valid errors returned:
246 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
247 * RadioError:NO_MEMORY
248 * RadioError:MODEM_ERR
249 * RadioError:INTERNAL_ERR
250 * RadioError:INVALID_STATE
251 * RadioError:INVALID_CALL_ID
252 * RadioError:OPERATION_NOT_ALLOWED
253 * RadioError:INVALID_ARGUMENTS
254 * RadioError:SYSTEM_ERR
255 * RadioError:REQUEST_NOT_SUPPORTED
256 * RadioError:INVALID_MODEM_STATE
258 oneway conferenceResponse(RadioResponseInfo info);
261 * @param info Response info struct containing response type, serial no. and error
263 * Valid errors returned:
265 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
266 * RadioError:INVALID_STATE
267 * RadioError:NO_RESOURCES
268 * RadioError:NO_MEMORY
269 * RadioError:MODEM_ERR
270 * RadioError:INTERNAL_ERR
271 * RadioError:INVALID_CALL_ID
272 * RadioError:OPERATION_NOT_ALLOWED
273 * RadioError:INVALID_ARGUMENTS
274 * RadioError:SYSTEM_ERR
275 * RadioError:REQUEST_NOT_SUPPORTED
276 * RadioError:INVALID_MODEM_STATE
278 oneway rejectCallResponse(RadioResponseInfo info);
281 * @param info Response info struct containing response type, serial no. and error
282 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
284 * The vendor cause code must be used for debugging purpose only.
285 * The implementation must return one of the values of LastCallFailCause
288 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
290 * CDMA failure reasons codes for the possible call failure scenarios
291 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
292 * Any of the following reason codes if the call is failed or dropped due to reason
293 * mentioned with in the braces.
294 * LastCallFailCause:RADIO_OFF (Radio is OFF)
295 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
296 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
297 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
298 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
299 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
300 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
301 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
302 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
303 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
304 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
305 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
306 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
307 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
308 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
309 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
311 * If the implementation does not have access to the exact cause codes,
312 * then it must return one of the values listed in LastCallFailCause,
313 * as the UI layer needs to distinguish these cases for tone generation or
314 * error notification.
316 * Valid errors returned:
318 * RadioError:NO_MEMORY
319 * RadioError:RADIO_NOT_AVAILABLE
320 * RadioError:SYSTEM_ERR
321 * RadioError:INVALID_ARGUMENTS
322 * RadioError:INTERNAL_ERR
323 * RadioError:MODEM_ERR
324 * RadioError:REQUEST_NOT_SUPPORTED
326 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
327 LastCallFailCauseInfo failCauseinfo);
330 * @param info Response info struct containing response type, serial no. and error
331 * @param sigStrength Current signal strength
333 * Valid errors returned:
335 * RadioError:RADIO_NOT_AVAILABLE
336 * RadioError:NO_MEMORY
337 * RadioError:INTERNAL_ERR
338 * RadioError:SYSTEM_ERR
339 * RadioError:MODEM_ERR
340 * RadioError:NOT_PROVISIONED
341 * RadioError:REQUEST_NOT_SUPPORTED
343 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
346 * @param info Response info struct containing response type, serial no. and error
347 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
350 * Valid errors returned:
352 * RadioError:RADIO_NOT_AVAILABLE
354 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
355 VoiceRegStateResult voiceRegResponse);
358 * @param info Response info struct containing response type, serial no. and error
359 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
362 * Valid errors returned:
364 * RadioError:RADIO_NOT_AVAILABLE
365 * RadioError:NO_MEMORY
366 * RadioError:INTERNAL_ERR
367 * RadioError:SYSTEM_ERR
368 * RadioError:MODEM_ERR
369 * RadioError:NOT_PROVISIONED
370 * RadioError:REQUEST_NOT_SUPPORTED
372 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
373 DataRegStateResult dataRegResponse);
376 * @param info Response info struct containing response type, serial no. and error
377 * @param longName is long alpha ONS or EONS or empty string if unregistered
378 * @param shortName is short alpha ONS or EONS or empty string if unregistered
379 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
381 * Valid errors returned:
383 * RadioError:RADIO_NOT_AVAILABLE
384 * RadioError:NO_MEMORY
385 * RadioError:INTERNAL_ERR
386 * RadioError:SYSTEM_ERR
387 * RadioError:REQUEST_NOT_SUPPORTED
389 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
393 * @param info Response info struct containing response type, serial no. and error
395 * Valid errors returned:
397 * RadioError:RADIO_NOT_AVAILABLE
398 * RadioError:OPERATION_NOT_ALLOWED
399 * RadioError:INVALID_STATE
400 * RadioError:NO_MEMORY
401 * RadioError:INTERNAL_ERR
402 * RadioError:SYSTEM_ERR
403 * RadioError:INVALID_ARGUMENTS
404 * RadioError:MODEM_ERR
405 * RadioError:DEVICE_IN_USE
406 * RadioError:OPERATION_NOT_ALLOWED
407 * RadioError:INVALID_MODEM_STATE
408 * RadioError:REQUEST_NOT_SUPPORTED
410 oneway setRadioPowerResponse(RadioResponseInfo info);
413 * @param info Response info struct containing response type, serial no. and error
415 * Valid errors returned:
417 * RadioError:RADIO_NOT_AVAILABLE
418 * RadioError:INVALID_ARGUMENTS
419 * RadioError:NO_RESOURCES
420 * RadioError:NO_MEMORY
421 * RadioError:MODEM_ERR
422 * RadioError:INVALID_CALL_ID
423 * RadioError:INTERNAL_ERR
424 * RadioError:SYSTEM_ERR
425 * RadioError:REQUEST_NOT_SUPPORTED
427 oneway sendDtmfResponse(RadioResponseInfo info);
430 * @param info Response info struct containing response type, serial no. and error
431 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
433 * Valid errors returned:
435 * RadioError:RADIO_NOT_AVAILABLE
436 * RadioError:SMS_SEND_FAIL_RETRY
437 * RadioError:NETWORK_REJECT
438 * RadioError:INVALID_STATE
439 * RadioError:INVALID_ARGUMENTS
440 * RadioError:NO_MEMORY
441 * RadioError:REQUEST_RATE_LIMITED
442 * RadioError:INVALID_SMS_FORMAT
443 * RadioError:SYSTEM_ERR
444 * RadioError:ENCODING_ERR
445 * RadioError:INVALID_SMSC_ADDRESS
446 * RadioError:MODEM_ERR
447 * RadioError:NETWORK_ERR
448 * RadioError:MODE_NOT_SUPPORTED
449 * RadioError:INTERNAL_ERR
450 * RadioError:REQUEST_NOT_SUPPORTED
451 * RadioError:INVALID_MODEM_STATE
452 * RadioError:NETWORK_NOT_READY
453 * RadioError:OPERATION_NOT_ALLOWED
455 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
458 * @param info Response info struct containing response type, serial no. and error
459 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
461 * Valid errors returned:
463 * RadioError:RADIO_NOT_AVAILABLE
464 * RadioError:SMS_SEND_FAIL_RETRY
465 * RadioError:NETWORK_REJECT
466 * RadioError:INVALID_STATE
467 * RadioError:INVALID_ARGUMENTS
468 * RadioError:NO_MEMORY
469 * RadioError:REQUEST_RATE_LIMITED
470 * RadioError:INVALID_SMS_FORMAT
471 * RadioError:SYSTEM_ERR
472 * RadioError:FDN_CHECK_FAILURE
473 * RadioError:ENCODING_ERR
474 * RadioError:INVALID_SMSC_ADDRESS
475 * RadioError:MODEM_ERR
476 * RadioError:NETWORK_ERR
477 * RadioError:MODE_NOT_SUPPORTED
478 * RadioError:INTERNAL_ERR
479 * RadioError:REQUEST_NOT_SUPPORTED
480 * RadioError:INVALID_MODEM_STATE
481 * RadioError:NETWORK_NOT_READY
482 * RadioError:OPERATION_NOT_ALLOWED
484 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
487 * @param info Response info struct containing response type, serial no. and error
488 * @param dcResponse SetupDataCallResult defined in types.hal
490 * Valid errors returned:
491 * RadioError:NONE must be returned on both success and failure of setup with the
492 * DataCallResponse.status containing the actual status
493 * For all other errors the DataCallResponse is ignored.
494 * RadioError:RADIO_NOT_AVAILABLE
495 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
496 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
497 * RadioError:REQUEST_NOT_SUPPORTED
498 * RadioError:INVALID_ARGUMENTS
499 * RadioError:REQUEST_NOT_SUPPORTED
501 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
504 * @param info Response info struct containing response type, serial no. and error
505 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
507 * Valid errors returned:
509 * RadioError:RADIO_NOT_AVAILABLE
510 * RadioError:SIM_PIN2
511 * RadioError:SIM_PUK2
513 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
516 * @param info Response info struct containing response type, serial no. and error
518 * Valid errors returned:
520 * RadioError:RADIO_NOT_AVAILABLE
521 * RadioError:FDN_CHECK_FAILURE
522 * RadioError:USSD_MODIFIED_TO_DIAL
523 * RadioError:USSD_MODIFIED_TO_SS
524 * RadioError:USSD_MODIFIED_TO_USSD
525 * RadioError:SIM_BUSY
526 * RadioError:OPERATION_NOT_ALLOWED
527 * RadioError:INVALID_ARGUMENTS
528 * RadioError:NO_MEMORY
529 * RadioError:MODEM_ERR
530 * RadioError:INTERNAL_ERR
532 * RadioError:SYSTEM_ERR
533 * RadioError:INVALID_STATE
534 * RadioError:REQUEST_NOT_SUPPORTED
535 * RadioError:INVALID_MODEM_STATE
537 oneway sendUssdResponse(RadioResponseInfo info);
540 * @param info Response info struct containing response type, serial no. and error
542 * Valid errors returned:
544 * RadioError:RADIO_NOT_AVAILABLE
545 * RadioError:SIM_BUSY
546 * RadioError:OPERATION_NOT_ALLOWED
547 * RadioError:MODEM_ERR
548 * RadioError:INTERNAL_ERR
549 * RadioError:NO_MEMORY
550 * RadioError:INVALID_STATE
551 * RadioError:INVALID_ARGUMENTS
552 * RadioError:SYSTEM_ERR
553 * RadioError:REQUEST_NOT_SUPPORTED
554 * RadioError:INVALID_MODEM_STATE
556 oneway cancelPendingUssdResponse(RadioResponseInfo info);
559 * @param info Response info struct containing response type, serial no. and error
560 * @param n is "n" parameter from TS 27.007 7.7
561 * @param m is "m" parameter from TS 27.007 7.7
563 * Valid errors returned:
565 * RadioError:RADIO_NOT_AVAILABLE
566 * RadioError:SS_MODIFIED_TO_DIAL
567 * RadioError:SS_MODIFIED_TO_USSD
568 * RadioError:SS_MODIFIED_TO_SS
569 * RadioError:NO_MEMORY
570 * RadioError:MODEM_ERR
571 * RadioError:INTERNAL_ERR
572 * RadioError:FDN_CHECK_FAILURE
573 * RadioError:SYSTEM_ERR
574 * RadioError:REQUEST_NOT_SUPPORTED
575 * RadioError:INVALID_ARGUMENTS
577 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
580 * @param info Response info struct containing response type, serial no. and error
582 * Valid errors returned:
584 * RadioError:INVALID_ARGUMENTS
585 * RadioError:RADIO_NOT_AVAILABLE
586 * RadioError:SS_MODIFIED_TO_DIAL
587 * RadioError:SS_MODIFIED_TO_USSD
588 * RadioError:SS_MODIFIED_TO_SS
589 * RadioError:NO_MEMORY
590 * RadioError:INTERNAL_ERR
591 * RadioError:SYSTEM_ERR
592 * RadioError:REQUEST_NOT_SUPPORTED
594 oneway setClirResponse(RadioResponseInfo info);
597 * @param info Response info struct containing response type, serial no. and error
598 * @param callForwardInfos points to a vector of CallForwardInfo, one for
599 * each distinct registered phone number.
601 * For example, if data is forwarded to +18005551212 and voice is forwarded
602 * to +18005559999, then two separate CallForwardInfo's must be returned
604 * If, however, both data and voice are forwarded to +18005551212, then
605 * a single CallForwardInfo must be returned with the service class
606 * set to "data + voice = 3")
608 * Valid errors returned:
610 * RadioError:RADIO_NOT_AVAILABLE
611 * RadioError:SS_MODIFIED_TO_DIAL
612 * RadioError:SS_MODIFIED_TO_USSD
613 * RadioError:SS_MODIFIED_TO_SS
614 * RadioError:INVALID_ARGUMENTS
615 * RadioError:NO_MEMORY
616 * RadioError:SYSTEM_ERR
617 * RadioError:MODEM_ERR
618 * RadioError:INTERNAL_ERR
619 * RadioError:FDN_CHECK_FAILURE
620 * RadioError:REQUEST_NOT_SUPPORTED
621 * RadioError:SYSTEM_ERR
623 oneway getCallForwardStatusResponse(RadioResponseInfo info,
624 vec<CallForwardInfo> callForwardInfos);
627 * @param info Response info struct containing response type, serial no. and error
629 * Valid errors returned:
631 * RadioError:RADIO_NOT_AVAILABLE
632 * RadioError:SS_MODIFIED_TO_DIAL
633 * RadioError:SS_MODIFIED_TO_USSD
634 * RadioError:SS_MODIFIED_TO_SS
635 * RadioError:INVALID_ARGUMENTS
636 * RadioError:NO_MEMORY
637 * RadioError:SYSTEM_ERR
638 * RadioError:MODEM_ERR
639 * RadioError:INTERNAL_ERR
640 * RadioError:INVALID_STATE
641 * RadioError:FDN_CHECK_FAILURE
642 * RadioError:REQUEST_NOT_SUPPORTED
643 * RadioError:INVALID_MODEM_STATE
645 oneway setCallForwardResponse(RadioResponseInfo info);
648 * @param info Response info struct containing response type, serial no. and error
649 * @param enable If current call waiting state is disabled, enable = false else true
650 * @param serviceClass If enable, then callWaitingResp[1]
651 * must follow, with the TS 27.007 service class bit vector of services
652 * for which call waiting is enabled.
653 * For example, if callWaitingResp[0] is 1 and
654 * callWaitingResp[1] is 3, then call waiting is enabled for data
655 * and voice and disabled for everything else.
657 * Valid errors returned:
659 * RadioError:RADIO_NOT_AVAILABLE
660 * RadioError:SS_MODIFIED_TO_DIAL
661 * RadioError:SS_MODIFIED_TO_USSD
662 * RadioError:SS_MODIFIED_TO_SS
663 * RadioError:INVALID_ARGUMENTS
664 * RadioError:NO_MEMORY
665 * RadioError:MODEM_ERR
666 * RadioError:INTERNAL_ERR
667 * RadioError:FDN_CHECK_FAILURE
668 * RadioError:INTERNAL_ERR
669 * RadioError:SYSTEM_ERR
670 * RadioError:REQUEST_NOT_SUPPORTED
672 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
675 * @param info Response info struct containing response type, serial no. and error
677 * Valid errors returned:
679 * RadioError:RADIO_NOT_AVAILABLE
680 * RadioError:SS_MODIFIED_TO_DIAL
681 * RadioError:SS_MODIFIED_TO_USSD
682 * RadioError:SS_MODIFIED_TO_SS
683 * RadioError:INVALID_ARGUMENTS
684 * RadioError:NO_MEMORY
685 * RadioError:MODEM_ERR
686 * RadioError:INTERNAL_ERR
687 * RadioError:INVALID_STATE
688 * RadioError:FDN_CHECK_FAILURE
689 * RadioError:SYSTEM_ERR
690 * RadioError:REQUEST_NOT_SUPPORTED
691 * RadioError:INVALID_MODEM_STATE
693 oneway setCallWaitingResponse(RadioResponseInfo info);
696 * @param info Response info struct containing response type, serial no. and error
698 * Valid errors returned:
700 * RadioError:RADIO_NOT_AVAILABLE
702 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
705 * @param info Response info struct containing response type, serial no. and error
707 * Valid errors returned:
709 * RadioError:RADIO_NOT_AVAILABLE
710 * RadioError:INVALID_STATE
711 * RadioError:NO_MEMORY
712 * RadioError:SYSTEM_ERR
713 * RadioError:MODEM_ERR
714 * RadioError:INTERNAL_ERR
715 * RadioError:INVALID_CALL_ID
716 * RadioError:INVALID_ARGUMENTS
717 * RadioError:SYSTEM_ERR
718 * RadioError:REQUEST_NOT_SUPPORTED
720 oneway acceptCallResponse(RadioResponseInfo info);
723 * @param info Response info struct containing response type, serial no. and error
725 * Valid errors returned:
727 * RadioError:RADIO_NOT_AVAILABLE
728 * RadioError:INVALID_CALL_ID
729 * RadioError:INVALID_STATE
730 * RadioError:INVALID_ARGUMENTS
731 * RadioError:REQUEST_NOT_SUPPORTED
733 oneway deactivateDataCallResponse(RadioResponseInfo info);
736 * @param info Response info struct containing response type, serial no. and error
737 * @param response 0 is the TS 27.007 service class bit vector of
738 * services for which the specified barring facility
739 * is active. "0" means "disabled for all"
741 * Valid errors returned:
743 * RadioError:RADIO_NOT_AVAILABLE
744 * RadioError:SS_MODIFIED_TO_DIAL
745 * RadioError:SS_MODIFIED_TO_USSD
746 * RadioError:SS_MODIFIED_TO_SS
747 * RadioError:INVALID_ARGUMENTS
748 * RadioError:NO_MEMORY
749 * RadioError:MODEM_ERR
750 * RadioError:INTERNAL_ERR
751 * RadioError:SYSTEM_ERR
752 * RadioError:FDN_CHECK_FAILURE
753 * RadioError:REQUEST_NOT_SUPPORTED
755 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
758 * @param info Response info struct containing response type, serial no. and error
759 * @param retry 0 is the number of retries remaining, or -1 if unknown
761 * Valid errors returned:
763 * RadioError:RADIO_NOT_AVAILABLE
764 * RadioError:SS_MODIFIED_TO_DIAL
765 * RadioError:SS_MODIFIED_TO_USSD
766 * RadioError:SS_MODIFIED_TO_SS
767 * RadioError:INVALID_ARGUMENTS
768 * RadioError:NO_MEMORY
769 * RadioError:MODEM_ERR
770 * RadioError:INTERNAL_ERR
771 * RadioError:SYSTEM_ERR
772 * RadioError:INVALID_STATE
773 * RadioError:FDN_CHECK_FAILURE
774 * RadioError:REQUEST_NOT_SUPPORTED
775 * RadioError:INVALID_MODEM_STATE
777 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
780 * @param info Response info struct containing response type, serial no. and error
782 * Valid errors returned:
784 * RadioError:RADIO_NOT_AVAILABLE
785 * RadioError:SS_MODIFIED_TO_DIAL
786 * RadioError:SS_MODIFIED_TO_USSD
787 * RadioError:SS_MODIFIED_TO_SS
788 * RadioError:INVALID_ARGUMENTS
789 * RadioError:NO_MEMORY
790 * RadioError:MODEM_ERR
791 * RadioError:INTERNAL_ERR
792 * RadioError:SYSTEM_ERR
793 * RadioError:FDN_CHECK_FAILURE
794 * RadioError:REQUEST_NOT_SUPPORTED
796 oneway setBarringPasswordResponse(RadioResponseInfo info);
799 * @param info Response info struct containing response type, serial no. and error
800 * @param selection false for automatic selection, true for manual selection
802 * Valid errors returned:
804 * RadioError:RADIO_NOT_AVAILABLE
805 * RadioError:NO_MEMORY
806 * RadioError:INTERNAL_ERR
807 * RadioError:SYSTEM_ERR
808 * RadioError:INVALID_ARGUMENTS
809 * RadioError:MODEM_ERR
810 * RadioError:REQUEST_NOT_SUPPORTED
812 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
815 * @param info Response info struct containing response type, serial no. and error
817 * Valid errors returned:
819 * RadioError:RADIO_NOT_AVAILABLE
820 * RadioError:ILLEGAL_SIM_OR_ME
821 * RadioError:OPERATION_NOT_ALLOWED
822 * RadioError:NO_MEMORY
823 * RadioError:INTERNAL_ERR
824 * RadioError:SYSTEM_ERR
825 * RadioError:INVALID_ARGUMENTS
826 * RadioError:MODEM_ERR
827 * RadioError:REQUEST_NOT_SUPPORTED
829 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
830 * no retries needed, such as illegal SIM or ME.
832 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
835 * @param info Response info struct containing response type, serial no. and error
837 * Valid errors returned:
839 * RadioError:RADIO_NOT_AVAILABLE
840 * RadioError:ILLEGAL_SIM_OR_ME
841 * RadioError:OPERATION_NOT_ALLOWED
842 * RadioError:INVALID_STATE
843 * RadioError:NO_MEMORY
844 * RadioError:INTERNAL_ERR
845 * RadioError:SYSTEM_ERR
846 * RadioError:INVALID_ARGUMENTS
847 * RadioError:MODEM_ERR
848 * RadioError:REQUEST_NOT_SUPPORTED
850 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
851 * no retries needed, such as illegal SIM or ME.
853 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
856 * @param info Response info struct containing response type, serial no. and error
857 * @param networkInfos List of network operator information as OperatorInfos defined in
860 * Valid errors returned:
862 * RadioError:RADIO_NOT_AVAILABLE
863 * RadioError:OPERATION_NOT_ALLOWED
865 * RadioError:DEVICE_IN_USE
866 * RadioError:INTERNAL_ERR
867 * RadioError:NO_MEMORY
868 * RadioError:MODEM_ERR
869 * RadioError:REQUEST_NOT_SUPPORTED
870 * RadioError:CANCELLED
872 oneway getAvailableNetworksResponse(RadioResponseInfo info,
873 vec<OperatorInfo> networkInfos);
876 * @param info Response info struct containing response type, serial no. and error
878 * Valid errors returned:
880 * RadioError:RADIO_NOT_AVAILABLE
881 * RadioError:INVALID_ARGUMENTS
882 * RadioError:NO_RESOURCES
883 * RadioError:NO_MEMORY
884 * RadioError:SYSTEM_ERR
885 * RadioError:MODEM_ERR
886 * RadioError:INTERNAL_ERR
887 * RadioError:INVALID_CALL_ID
888 * RadioError:SYSTEM_ERR
889 * RadioError:REQUEST_NOT_SUPPORTED
891 oneway startDtmfResponse(RadioResponseInfo info);
894 * @param info Response info struct containing response type, serial no. and error
896 * Valid errors returned:
898 * RadioError:RADIO_NOT_AVAILABLE
899 * RadioError:INVALID_ARGUMENTS
900 * RadioError:NO_RESOURCES
901 * RadioError:NO_MEMORY
902 * RadioError:INVALID_ARGUMENTS
903 * RadioError:SYSTEM_ERR
904 * RadioError:MODEM_ERR
905 * RadioError:INTERNAL_ERR
906 * RadioError:INVALID_CALL_ID
907 * RadioError:REQUEST_NOT_SUPPORTED
909 oneway stopDtmfResponse(RadioResponseInfo info);
912 * @param info Response info struct containing response type, serial no. and error
913 * @param version string containing version string for log reporting
915 * Valid errors returned:
917 * RadioError:RADIO_NOT_AVAILABLE
918 * RadioError:EMPTY_RECORD
919 * RadioError:NO_MEMORY
920 * RadioError:INTERNAL_ERR
921 * RadioError:SYSTEM_ERR
922 * RadioError:MODEM_ERR
923 * RadioError:NOT_PROVISIONED
924 * RadioError:REQUEST_NOT_SUPPORTED
926 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
929 * @param info Response info struct containing response type, serial no. and error
931 * Valid errors returned:
933 * RadioError:RADIO_NOT_AVAILABLE
934 * RadioError:INVALID_ARGUMENTS
935 * RadioError:INVALID_STATE
936 * RadioError:NO_RESOURCES
937 * RadioError:NO_MEMORY
938 * RadioError:MODEM_ERR
939 * RadioError:SYSTEM_ERR
940 * RadioError:INTERNAL_ERR
941 * RadioError:INVALID_CALL_ID
942 * RadioError:OPERATION_NOT_ALLOWED
943 * RadioError:REQUEST_NOT_SUPPORTED
944 * RadioError:INVALID_MODEM_STATE
946 oneway separateConnectionResponse(RadioResponseInfo info);
949 * @param info Response info struct containing response type, serial no. and error
951 * Valid errors returned:
953 * RadioError:RADIO_NOT_AVAILABLE
954 * RadioError:INVALID_ARGUMENTS
955 * RadioError:NO_MEMORY
956 * RadioError:REQUEST_RATE_LIMITED
957 * RadioError:INTERNAL_ERR
958 * RadioError:SYSTEM_ERR
959 * RadioError:REQUEST_NOT_SUPPORTED
961 oneway setMuteResponse(RadioResponseInfo info);
964 * @param info Response info struct containing response type, serial no. and error
965 * @param enable true for "mute enabled" and false for "mute disabled"
967 * Valid errors returned:
969 * RadioError:RADIO_NOT_AVAILABLE
970 * RadioError:SS_MODIFIED_TO_DIAL
971 * RadioError:SS_MODIFIED_TO_USSD
972 * RadioError:SS_MODIFIED_TO_SS
973 * RadioError:NO_MEMORY
974 * RadioError:REQUEST_RATE_LIMITED
975 * RadioError:INVALID_ARGUMENTS
976 * RadioError:INTERNAL_ERR
977 * RadioError:SYSTEM_ERR
978 * RadioError:REQUEST_NOT_SUPPORTED
980 oneway getMuteResponse(RadioResponseInfo info, bool enable);
983 * @param info Response info struct containing response type, serial no. and error
984 * @param status indicates CLIP status
986 * Valid errors returned:
988 * RadioError:RADIO_NOT_AVAILABLE
989 * RadioError:INVALID_ARGUMENTS
990 * RadioError:NO_MEMORY
991 * RadioError:SYSTEM_ERR
992 * RadioError:MODEM_ERR
993 * RadioError:INTERNAL_ERR
994 * RadioError:FDN_CHECK_FAILURE
995 * RadioError:REQUEST_NOT_SUPPORTED
997 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
1000 * @param info Response info struct containing response type, serial no. and error
1001 * @param dcResponse List of DataCallResult as defined in types.hal
1003 * Valid errors returned:
1005 * RadioError:RADIO_NOT_AVAILABLE
1007 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
1010 * @param info Response info struct containing response type, serial no. and error
1012 * Valid errors returned:
1014 * RadioError:RADIO_NOT_AVAILABLE
1015 * RadioError:INVALID_ARGUMENTS
1016 * RadioError:SIM_BUSY
1017 * RadioError:NO_MEMORY
1018 * RadioError:SYSTEM_ERR
1019 * RadioError:MODEM_ERR
1020 * RadioError:INTERNAL_ERR
1021 * RadioError:REQUEST_NOT_SUPPORTED
1023 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
1026 * @param info Response info struct containing response type, serial no. and error
1027 * @param index record index where the message is stored
1029 * Valid errors returned:
1031 * RadioError:SIM_FULL
1032 * RadioError:INVALID_ARGUMENTS
1033 * RadioError:INVALID_SMS_FORMAT
1034 * RadioError:INTERNAL_ERR
1035 * RadioError:MODEM_ERR
1036 * RadioError:ENCODING_ERR
1037 * RadioError:NO_MEMORY
1038 * RadioError:NO_RESOURCES
1039 * RadioError:INVALID_MODEM_STATE
1040 * RadioError:MODE_NOT_SUPPORTED
1041 * RadioError:INVALID_SMSC_ADDRESS
1042 * RadioError:RADIO_NOT_AVAILABLE
1043 * RadioError:SYSTEM_ERR
1044 * RadioError:REQUEST_NOT_SUPPORTED
1046 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
1049 * @param info Response info struct containing response type, serial no. and error
1051 * Valid errors returned:
1053 * RadioError:SIM_FULL
1054 * RadioError:INVALID_ARGUMENTS
1055 * RadioError:NO_MEMORY
1056 * RadioError:REQUEST_RATE_LIMITED
1057 * RadioError:SYSTEM_ERR
1058 * RadioError:MODEM_ERR
1059 * RadioError:NO_SUCH_ENTRY
1060 * RadioError:INTERNAL_ERR
1061 * RadioError:RADIO_NOT_AVAILABLE
1062 * RadioError:REQUEST_NOT_SUPPORTED
1064 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1067 * @param info Response info struct containing response type, serial no. and error
1069 * Valid errors returned:
1071 * RadioError:RADIO_NOT_AVAILABLE
1072 * RadioError:OPERATION_NOT_ALLOWED
1073 * RadioError:NO_MEMORY
1074 * RadioError:INTERNAL_ERR
1075 * RadioError:SYSTEM_ERR
1076 * RadioError:INVALID_ARGUMENTS
1077 * RadioError:MODEM_ERR
1078 * RadioError:REQUEST_NOT_SUPPORTED
1080 oneway setBandModeResponse(RadioResponseInfo info);
1083 * @param info Response info struct containing response type, serial no. and error
1084 * @param bandModes List of RadioBandMode listing supported modes
1086 * Valid errors returned:
1088 * RadioError:RADIO_NOT_AVAILABLE
1089 * RadioError:INVALID_ARGUMENTS
1090 * RadioError:NO_MEMORY
1091 * RadioError:INTERNAL_ERR
1092 * RadioError:SYSTEM_ERR
1093 * RadioError:MODEM_ERR
1094 * RadioError:REQUEST_NOT_SUPPORTED
1096 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1099 * @param info Response info struct containing response type, serial no. and error
1100 * @param commandResponse SAT/USAT response in hexadecimal format
1101 * string starting with first byte of response
1103 * Valid errors returned:
1105 * RadioError:RADIO_NOT_AVAILABLE
1106 * RadioError:SIM_BUSY
1107 * RadioError:OPERATION_NOT_ALLOWED
1109 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1112 * @param info Response info struct containing response type, serial no. and error
1114 * Valid errors returned:
1116 * RadioError:RADIO_NOT_AVAILABLE
1117 * RadioError:INVALID_ARGUMENTS
1118 * RadioError:OPERATION_NOT_ALLOWED
1120 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
1123 * @param info Response info struct containing response type, serial no. and error
1125 * Valid errors returned:
1127 * RadioError:NO_MEMORY
1128 * RadioError:INTERNAL_ERR
1129 * RadioError:SYSTEM_ERR
1130 * RadioError:MODEM_ERR
1131 * RadioError:INVALID_ARGUMENTS
1133 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1136 * @param info Response info struct containing response type, serial no. and error
1138 * Valid errors returned:
1140 * RadioError:RADIO_NOT_AVAILABLE
1141 * RadioError:INVALID_ARGUMENTS
1142 * RadioError:INVALID_STATE
1143 * RadioError:NO_RESOURCES
1144 * RadioError:NO_MEMORY
1145 * RadioError:SYSTEM_ERR
1146 * RadioError:MODEM_ERR
1147 * RadioError:INTERNAL_ERR
1148 * RadioError:INVALID_CALL_ID
1149 * RadioError:OPERATION_NOT_ALLOWED
1150 * RadioError:REQUEST_NOT_SUPPORTED
1151 * RadioError:INVALID_MODEM_STATE
1153 oneway explicitCallTransferResponse(RadioResponseInfo info);
1156 * @param info Response info struct containing response type, serial no. and error
1158 * Valid errors returned:
1160 * RadioError:RADIO_NOT_AVAILABLE
1161 * RadioError:OPERATION_NOT_ALLOWED
1162 * RadioError:MODE_NOT_SUPPORTED
1163 * RadioError:NO_MEMORY
1164 * RadioError:INTERNAL_ERR
1165 * RadioError:SYSTEM_ERR
1166 * RadioError:INVALID_ARGUMENTS
1167 * RadioError:MODEM_ERR
1168 * RadioError:REQUEST_NOT_SUPPORTED
1170 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1173 * @param info Response info struct containing response type, serial no. and error
1174 * @param nwType RadioPreferredNetworkType defined in types.hal
1176 * Valid errors returned:
1178 * RadioError:RADIO_NOT_AVAILABLE
1179 * RadioError:NO_MEMORY
1180 * RadioError:INTERNAL_ERR
1181 * RadioError:SYSTEM_ERR
1182 * RadioError:INVALID_ARGUMENTS
1183 * RadioError:MODEM_ERR
1184 * RadioError:REQUEST_NOT_SUPPORTED
1186 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1187 PreferredNetworkType nwType);
1190 * @param info Response info struct containing response type, serial no. and error
1191 * @param cells Vector of neighboring radio cell
1193 * Valid errors returned:
1195 * RadioError:RADIO_NOT_AVAILABLE
1196 * RadioError:INVALID_ARGUMENTS
1197 * RadioError:NO_MEMORY
1198 * RadioError:INTERNAL_ERR
1199 * RadioError:SYSTEM_ERR
1200 * RadioError:MODEM_ERR
1201 * RadioError:NO_NETWORK_FOUND
1202 * RadioError:REQUEST_NOT_SUPPORTED
1204 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
1207 * @param info Response info struct containing response type, serial no. and error
1209 * Valid errors returned:
1211 * RadioError:RADIO_NOT_AVAILABLE
1212 * RadioError:NO_MEMORY
1213 * RadioError:INTERNAL_ERR
1214 * RadioError:SYSTEM_ERR
1215 * RadioError:INVALID_ARGUMENTS
1216 * RadioError:MODEM_ERR
1217 * RadioError:REQUEST_NOT_SUPPORTED
1219 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1222 * @param info Response info struct containing response type, serial no. and error
1224 * Valid errors returned:
1226 * RadioError:RADIO_NOT_AVAILABLE
1227 * RadioError:SIM_ABSENT
1228 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1230 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1233 * @param info Response info struct containing response type, serial no. and error
1235 * Valid errors returned:
1237 * RadioError:RADIO_NOT_AVAILABLE
1238 * RadioError:NO_MEMORY
1239 * RadioError:INTERNAL_ERR
1240 * RadioError:SYSTEM_ERR
1241 * RadioError:INVALID_ARGUMENTS
1242 * RadioError:MODEM_ERR
1243 * RadioError:REQUEST_NOT_SUPPORTED
1244 * RadioError:OPERATION_NOT_ALLOWED
1246 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1249 * @param info Response info struct containing response type, serial no. and error
1250 * @param type CdmaRoamingType defined in types.hal
1252 * Valid errors returned:
1254 * RadioError:RADIO_NOT_AVAILABLE
1255 * RadioError:INVALID_ARGUMENTS
1256 * RadioError:NO_MEMORY
1257 * RadioError:INTERNAL_ERR
1258 * RadioError:SYSTEM_ERR
1259 * RadioError:MODEM_ERR
1260 * RadioError:REQUEST_NOT_SUPPORTED
1262 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
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:MODEM_ERR
1272 * RadioError:INTERNAL_ERR
1273 * RadioError:NO_MEMORY
1274 * RadioError:SYSTEM_ERR
1275 * RadioError:REQUEST_NOT_SUPPORTED
1277 oneway setTTYModeResponse(RadioResponseInfo info);
1280 * @param info Response info struct containing response type, serial no. and error
1281 * @param mode TtyMode
1283 * Valid errors returned:
1285 * RadioError:RADIO_NOT_AVAILABLE
1286 * RadioError:INVALID_ARGUMENTS
1287 * RadioError:MODEM_ERR
1288 * RadioError:INTERNAL_ERR
1289 * RadioError:NO_MEMORY
1290 * RadioError:SYSTEM_ERR
1291 * RadioError:REQUEST_NOT_SUPPORTED
1293 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1296 * @param info Response info struct containing response type, serial no. and error
1298 * Valid errors returned:
1300 * RadioError:RADIO_NOT_AVAILABLE
1301 * RadioError:INVALID_ARGUMENTS
1302 * RadioError:MODEM_ERR
1303 * RadioError:INTERNAL_ERR
1304 * RadioError:NO_MEMORY
1305 * RadioError:SYSTEM_ERR
1306 * RadioError:REQUEST_NOT_SUPPORTED
1307 * RadioError:INVALID_CALL_ID
1309 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1312 * @param info Response info struct containing response type, serial no. and error
1313 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1314 * true for Enhanced Privacy Mode (Private Long Code Mask)
1318 * RadioError:RADIO_NOT_AVAILABLE
1319 * RadioError:INVALID_ARGUMENTS
1320 * RadioError:MODEM_ERR
1321 * RadioError:INTERNAL_ERR
1322 * RadioError:NO_MEMORY
1323 * RadioError:SYSTEM_ERR
1324 * RadioError:REQUEST_NOT_SUPPORTED
1326 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1329 * Response callback for IRadio.sendCDMAFeatureCode()
1331 * @param info Response info struct containing response type, serial no. and error
1333 * Valid errors returned:
1335 * RadioError:RADIO_NOT_AVAILABLE
1336 * RadioError:INVALID_ARGUMENTS
1337 * RadioError:NO_MEMORY
1338 * RadioError:INTERNAL_ERR
1339 * RadioError:SYSTEM_ERR
1340 * RadioError:MODEM_ERR
1341 * RadioError:INVALID_CALL_ID
1342 * RadioError:INVALID_STATE
1343 * RadioError:REQUEST_NOT_SUPPORTED
1344 * RadioError:INVALID_MODEM_STATE
1346 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1349 * @param info Response info struct containing response type, serial no. and error
1351 * Valid errors returned:
1353 * RadioError:RADIO_NOT_AVAILABLE
1354 * RadioError:INVALID_ARGUMENTS
1355 * RadioError:NO_MEMORY
1356 * RadioError:INTERNAL_ERR
1357 * RadioError:SYSTEM_ERR
1358 * RadioError:MODEM_ERR
1359 * RadioError:INVALID_CALL_ID
1360 * RadioError:INVALID_STATE
1361 * RadioError:REQUEST_NOT_SUPPORTED
1363 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1366 * @param info Response info struct containing response type, serial no. and error
1367 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1369 * Valid errors returned:
1371 * RadioError:RADIO_NOT_AVAILABLE
1372 * RadioError:INVALID_ARGUMENTS
1373 * RadioError:SMS_SEND_FAIL_RETRY
1374 * RadioError:NETWORK_REJECT
1375 * RadioError:INVALID_STATE
1376 * RadioError:NO_MEMORY
1377 * RadioError:REQUEST_RATE_LIMITED
1378 * RadioError:INVALID_SMS_FORMAT
1379 * RadioError:SYSTEM_ERR
1380 * RadioError:FDN_CHECK_FAILURE
1381 * RadioError:MODEM_ERR
1382 * RadioError:NETWORK_ERR
1383 * RadioError:ENCODING_ERR
1384 * RadioError:INVALID_SMSC_ADDRESS
1385 * RadioError:MODE_NOT_SUPPORTED
1386 * RadioError:INTERNAL_ERR
1387 * RadioError:SYSTEM_ERR
1388 * RadioError:REQUEST_NOT_SUPPORTED
1389 * RadioError:OPERATION_NOT_ALLOWED
1390 * RadioError:ENCODING_ERR
1392 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
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:NO_SMS_TO_ACK
1402 * RadioError:INVALID_STATE
1403 * RadioError:NO_MEMORY
1404 * RadioError:REQUEST_RATE_LIMITED
1405 * RadioError:SYSTEM_ERR
1406 * RadioError:MODEM_ERR
1407 * RadioError:MODE_NOT_SUPPORTED
1408 * RadioError:NETWORK_NOT_READY
1409 * RadioError:INVALID_MODEM_STATE
1410 * RadioError:INTERNAL_ERR
1411 * RadioError:REQUEST_NOT_SUPPORTED
1412 * RadioError:OPERATION_NOT_ALLOWED
1414 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1417 * @param info Response info struct containing response type, serial no. and error
1418 * @param configs Vector of GSM/WCDMA Cell broadcast configs
1420 * Valid errors returned:
1422 * RadioError:RADIO_NOT_AVAILABLE
1423 * RadioError:INVALID_ARGUMENTS
1424 * RadioError:INVALID_STATE
1425 * RadioError:NO_MEMORY
1426 * RadioError:REQUEST_RATE_LIMITED
1427 * RadioError:SYSTEM_ERR
1428 * RadioError:MODEM_ERR
1429 * RadioError:NO_RESOURCES
1430 * RadioError:INTERNAL_ERR
1431 * RadioError:REQUEST_NOT_SUPPORTED
1433 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1434 vec<GsmBroadcastSmsConfigInfo> configs);
1437 * @param info Response info struct containing response type, serial no. and error
1439 * Valid errors returned:
1441 * RadioError:RADIO_NOT_AVAILABLE
1442 * RadioError:INVALID_ARGUMENTS
1443 * RadioError:INVALID_STATE
1444 * RadioError:NO_MEMORY
1445 * RadioError:REQUEST_RATE_LIMITED
1446 * RadioError:SYSTEM_ERR
1447 * RadioError:MODEM_ERR
1448 * RadioError:INTERNAL_ERR
1449 * RadioError:REQUEST_NOT_SUPPORTED
1451 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1454 * @param info Response info struct containing response type, serial no. and error
1456 * Valid errors returned:
1458 * RadioError:RADIO_NOT_AVAILABLE
1459 * RadioError:INVALID_ARGUMENTS
1460 * RadioError:INVALID_STATE
1461 * RadioError:NO_MEMORY
1462 * RadioError:REQUEST_RATE_LIMITED
1463 * RadioError:SYSTEM_ERR
1464 * RadioError:MODEM_ERR
1465 * RadioError:INTERNAL_ERR
1466 * RadioError:REQUEST_NOT_SUPPORTED
1467 * RadioError:OPERATION_NOT_ALLOWED
1469 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1472 * @param info Response info struct containing response type, serial no. and error
1473 * @param configs Vector of CDMA Broadcast SMS configs.
1475 * Valid errors returned:
1477 * RadioError:RADIO_NOT_AVAILABLE
1478 * RadioError:INVALID_ARGUMENTS
1479 * RadioError:INVALID_STATE
1480 * RadioError:NO_MEMORY
1481 * RadioError:REQUEST_RATE_LIMITED
1482 * RadioError:SYSTEM_ERR
1483 * RadioError:MODEM_ERR
1484 * RadioError:NO_RESOURCES
1485 * RadioError:INTERNAL_ERR
1486 * RadioError:REQUEST_NOT_SUPPORTED
1488 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1489 vec<CdmaBroadcastSmsConfigInfo> configs);
1492 * @param info Response info struct containing response type, serial no. and error
1494 * Valid errors returned:
1496 * RadioError:RADIO_NOT_AVAILABLE
1497 * RadioError:INVALID_ARGUMENTS
1498 * RadioError:INVALID_STATE
1499 * RadioError:NO_MEMORY
1500 * RadioError:REQUEST_RATE_LIMITED
1501 * RadioError:SYSTEM_ERR
1502 * RadioError:MODEM_ERR
1503 * RadioError:INTERNAL_ERR
1504 * RadioError:REQUEST_NOT_SUPPORTED
1506 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1509 * @param info Response info struct containing response type, serial no. and error
1511 * Valid errors returned:
1513 * RadioError:RADIO_NOT_AVAILABLE
1514 * RadioError:INVALID_ARGUMENTS
1515 * RadioError:INVALID_STATE
1516 * RadioError:NO_MEMORY
1517 * RadioError:REQUEST_RATE_LIMITED
1518 * RadioError:SYSTEM_ERR
1519 * RadioError:MODEM_ERR
1520 * RadioError:INTERNAL_ERR
1521 * RadioError:REQUEST_NOT_SUPPORTED
1522 * RadioError:OPERATION_NOT_ALLOWED
1524 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1527 * @param info Response info struct containing response type, serial no. and error
1528 * @param mdn MDN if CDMA subscription is available
1529 * @param hSid is a comma separated list of H_SID (Home SID) if
1530 * CDMA subscription is available, in decimal format
1531 * @param hNid is a comma separated list of H_NID (Home NID) if
1532 * CDMA subscription is available, in decimal format
1533 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1534 * @param prl PRL version if CDMA subscription is available
1536 * Valid errors returned:
1538 * RadioError:RADIO_NOT_AVAILABLE
1539 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1540 * RadioError:NO_MEMORY
1541 * RadioError:INTERNAL_ERR
1542 * RadioError:SYSTEM_ERR
1543 * RadioError:INVALID_ARGUMENTS
1544 * RadioError:MODEM_ERR
1545 * RadioError:NOT_PROVISIONED
1546 * RadioError:REQUEST_NOT_SUPPORTED
1548 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1549 string hNid, string min, string prl);
1552 * @param info Response info struct containing response type, serial no. and error
1553 * @param index record index where the cmda sms message is stored
1555 * Valid errors returned:
1557 * RadioError:RADIO_NOT_AVAILABLE
1558 * RadioError:INVALID_ARGUMENTS
1559 * RadioError:INVALID_SMS_FORMAT
1560 * RadioError:SIM_FULL
1561 * RadioError:INTERNAL_ERR
1562 * RadioError:MODEM_ERR
1563 * RadioError:ENCODING_ERR
1564 * RadioError:NO_MEMORY
1565 * RadioError:NO_RESOURCES
1566 * RadioError:INVALID_MODEM_STATE
1567 * RadioError:MODE_NOT_SUPPORTED
1568 * RadioError:INVALID_SMSC_ADDRESS
1569 * RadioError:SYSTEM_ERR
1570 * RadioError:REQUEST_NOT_SUPPORTED
1571 * RadioError:OPERATION_NOT_ALLOWED
1573 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1576 * @param info Response info struct containing response type, serial no. and error
1578 * Valid errors returned:
1580 * RadioError:RADIO_NOT_AVAILABLE
1581 * RadioError:INVALID_ARGUMENTS
1582 * RadioError:NO_MEMORY
1583 * RadioError:REQUEST_RATE_LIMITED
1584 * RadioError:SYSTEM_ERR
1585 * RadioError:MODEM_ERR
1586 * RadioError:NO_SUCH_ENTRY
1587 * RadioError:INTERNAL_ERR
1588 * RadioError:REQUEST_NOT_SUPPORTED
1589 * RadioError:OPERATION_NOT_ALLOWED
1591 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1594 * @param info Response info struct containing response type, serial no. and error
1595 * @param imei IMEI if GSM subscription is available
1596 * @param imeisv IMEISV if GSM subscription is available
1597 * @param esn ESN if CDMA subscription is available
1598 * @param meid MEID if CDMA subscription is available
1600 * Valid errors returned:
1602 * RadioError:RADIO_NOT_AVAILABLE
1603 * RadioError:NO_MEMORY
1604 * RadioError:INTERNAL_ERR
1605 * RadioError:SYSTEM_ERR
1606 * RadioError:INVALID_ARGUMENTS
1607 * RadioError:MODEM_ERR
1608 * RadioError:NOT_PROVISIONED
1610 * If a empty string value is returned for any of the device id, it means that there was error
1611 * accessing the device.
1614 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1615 string esn, string meid);
1618 * @param info Response info struct containing response type, serial no. and error
1620 * Valid errors returned:
1622 * RadioError:RADIO_NOT_AVAILABLE
1623 * RadioError:OPERATION_NO_ALLOWED
1624 * RadioError:INTERNAL_ERR
1625 * RadioError:NO_MEMORY
1626 * RadioError:SYSTEM_ERR
1627 * RadioError:INVALID_ARGUMENTS
1628 * RadioError:MODEM_ERR
1629 * RadioError:REQUEST_NOT_SUPPORTED
1631 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1634 * @param info Response info struct containing response type, serial no. and error
1635 * @param smsc Short Message Service Center address on the device
1637 * Valid errors returned:
1639 * RadioError:RADIO_NOT_AVAILABLE
1640 * RadioError:INVALID_ARGUMENTS
1641 * RadioError:INTERNAL_ERR
1642 * RadioError:NO_MEMORY
1643 * RadioError:SYSTEM_ERR
1644 * RadioError:REQUEST_RATE_LIMITED
1645 * RadioError:MODEM_ERR
1646 * RadioError:INVALID_MODEM_STATE
1647 * RadioError:NOT_PROVISIONED
1648 * RadioError:REQUEST_NOT_SUPPORTED
1649 * RadioError:OPERATION_NOT_ALLOWED
1651 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1654 * @param info Response info struct containing response type, serial no. and error
1656 * Valid errors returned:
1658 * RadioError:RADIO_NOT_AVAILABLE
1659 * RadioError:INVALID_ARGUMENTS
1660 * RadioError:INVALID_SMS_FORMAT
1661 * RadioError:NO_MEMORY
1662 * RadioError:SYSTEM_ERR
1663 * RadioError:REQUEST_RATE_LIMITED
1664 * RadioError:MODEM_ERR
1665 * RadioError:NO_RESOURCES
1666 * RadioError:INTERNAL_ERR
1667 * RadioError:REQUEST_NOT_SUPPORTED
1668 * RadioError:OPERATION_NOT_ALLOWED
1670 oneway setSmscAddressResponse(RadioResponseInfo info);
1673 * @param info Response info struct containing response type, serial no. and error
1675 * Valid errors returned:
1677 * RadioError:RADIO_NOT_AVAILABLE
1678 * RadioError:INVALID_ARGUMENTS
1679 * RadioError:NO_MEMORY
1680 * RadioError:SYSTEM_ERR
1681 * RadioError:REQUEST_RATE_LIMITED
1682 * RadioError:MODEM_ERR
1683 * RadioError:INVALID_STATE
1684 * RadioError:INTERNAL_ERR
1685 * RadioError:REQUEST_NOT_SUPPORTED
1687 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1690 * @param info Response info struct containing response type, serial no. and error
1692 * Valid errors returned:
1694 * RadioError:RADIO_NOT_AVAILABLE
1696 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1699 * @param info Response info struct containing response type, serial no. and error
1700 * @param source CDMA subscription source
1702 * Valid errors returned:
1704 * RadioError:RADIO_NOT_AVAILABLE
1705 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1707 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1710 * @param info Response info struct containing response type, serial no. and error
1711 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1713 * Valid errors returned:
1715 * RadioError:RADIO_NOT_AVAILABLE
1717 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
1720 * @param info Response info struct containing response type, serial no. and error
1722 * Valid errors returned:
1724 * RadioError:RADIO_NOT_AVAILABLE
1726 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
1729 * @param info Response info struct containing response type, serial no. and error
1730 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
1732 * Valid errors returned:
1734 * RadioError:RADIO_NOT_AVAILABLE
1735 * RadioError:SIM_BUSY
1736 * RadioError:OPERATION_NOT_ALLOWED
1738 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
1741 * @param info Response info struct containing response type, serial no. and error
1742 * @param rat Current voice RAT
1744 * Valid errors returned:
1746 * RadioError:RADIO_NOT_AVAILABLE
1748 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
1751 * @param info Response info struct containing response type, serial no. and error
1752 * @param cellInfo List of current cell information known to radio
1754 * Valid errors returned:
1756 * RadioError:RADIO_NOT_AVAILABLE
1757 * RadioError:NO_MEMORY
1758 * RadioError:INTERNAL_ERR
1759 * RadioError:SYSTEM_ERR
1760 * RadioError:MODEM_ERR
1761 * RadioError:NO_NETWORK_FOUND
1762 * RadioError:REQUEST_NOT_SUPPORTED
1764 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
1767 * @param info Response info struct containing response type, serial no. and error
1769 * Valid errors returned:
1771 * RadioError:RADIO_NOT_AVAILABLE
1772 * RadioError:NO_MEMORY
1773 * RadioError:INTERNAL_ERR
1774 * RadioError:SYSTEM_ERR
1775 * RadioError:INVALID_ARGUMENTS
1777 oneway setCellInfoListRateResponse(RadioResponseInfo info);
1780 * @param info Response info struct containing response type, serial no. and error
1782 * Valid errors returned:
1784 * RadioError:RADIO_NOT_AVAILABLE
1785 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1786 * RadioError:NO_MEMORY
1787 * RadioError:INTERNAL_ERR
1788 * RadioError:SYSTEM_ERR
1789 * RadioError:MODEM_ERR
1790 * RadioError:INVALID_ARGUMENTS
1791 * RadioError:NOT_PROVISIONED
1792 * RadioError:REQUEST_NOT_SUPPORTED
1794 oneway setInitialAttachApnResponse(RadioResponseInfo info);
1797 * @param info Response info struct containing response type, serial no. and error
1798 * @param isRegistered false = not registered, true = registered
1799 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
1800 * isRegistered is true.
1802 * Valid errors returned:
1804 * RadioError:RADIO_NOT_AVAILABLE
1806 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
1807 RadioTechnologyFamily ratFamily);
1810 * @param info Response info struct containing response type, serial no. and error
1811 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
1813 * Valid errors returned:
1815 * RadioError:RADIO_NOT_AVAILABLE
1816 * RadioError:SMS_SEND_FAIL_RETRY
1817 * RadioError:FDN_CHECK_FAILURE
1818 * RadioError:NETWORK_REJECT
1819 * RadioError:INVALID_ARGUMENTS
1820 * RadioError:INVALID_STATE
1821 * RadioError:NO_MEMORY
1822 * RadioError:INVALID_SMS_FORMAT
1823 * RadioError:SYSTEM_ERR
1824 * RadioError:REQUEST_RATE_LIMITED
1825 * RadioError:MODEM_ERR
1826 * RadioError:NETWORK_ERR
1827 * RadioError:ENCODING_ERR
1828 * RadioError:MODE_NOT_SUPPORTED
1829 * RadioError:INTERNAL_ERR
1830 * RadioError:REQUEST_NOT_SUPPORTED
1831 * RadioError:NETWORK_NOT_READY
1833 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1836 * @param info Response info struct containing response type, serial no. and error
1837 * @param result IccIoResult as defined in types.hal
1839 * Valid errors returned:
1841 * RadioError:RADIO_NOT_AVAILABLE
1843 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
1846 * @param info Response info struct containing response type, serial no. and error
1847 * @param channelId session id of the logical channel.
1848 * @param selectResponse Contains the select response for the open channel command with one
1851 * Valid errors returned:
1853 * RadioError:RADIO_NOT_AVAILABLE
1854 * RadioError:MISSING_RESOURCE
1855 * RadioError:NO_SUCH_ELEMENT
1857 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
1858 vec<int8_t> selectResponse);
1861 * @param info Response info struct containing response type, serial no. and error
1863 * Valid errors returned:
1865 * RadioError:RADIO_NOT_AVAILABLE
1867 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
1870 * @param info Response info struct containing response type, serial no. and error
1871 * @param result IccIoResult as defined in types.hal
1873 * Valid errors returned:
1875 * RadioError:RADIO_NOT_AVAILABLE
1877 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
1880 * @param info Response info struct containing response type, serial no. and error
1881 * @param result string containing the contents of the NV item
1883 * Valid errors returned:
1885 * RadioError:RADIO_NOT_AVAILABLE
1887 oneway nvReadItemResponse(RadioResponseInfo info, string result);
1890 * @param info Response info struct containing response type, serial no. and error
1892 * Valid errors returned:
1894 * RadioError:RADIO_NOT_AVAILABLE
1896 oneway nvWriteItemResponse(RadioResponseInfo info);
1899 * @param info Response info struct containing response type, serial no. and error
1901 * Valid errors returned:
1903 * RadioError:RADIO_NOT_AVAILABLE
1905 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
1908 * @param info Response info struct containing response type, serial no. and error
1910 * Valid errors returned:
1912 * RadioError:RADIO_NOT_AVAILABLE
1914 oneway nvResetConfigResponse(RadioResponseInfo info);
1917 * @param info Response info struct containing response type, serial no. and error
1919 * Valid errors returned:
1921 * RadioError:RADIO_NOT_AVAILABLE
1922 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
1923 * RadioError:NO_MEMORY
1924 * RadioError:INTERNAL_ERR
1925 * RadioError:SYSTEM_ERR
1926 * RadioError:MODEM_ERR
1927 * RadioError:INVALID_ARGUMENTS
1928 * RadioError:REQUEST_NOT_SUPPORTED
1930 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
1933 * @param info Response info struct containing response type, serial no. and error
1935 * Valid errors returned:
1937 * RadioError:RADIO_NOT_AVAILABLE
1938 * RadioError:NO_MEMORY
1939 * RadioError:INTERNAL_ERR
1940 * RadioError:SYSTEM_ERR
1941 * RadioError:MODEM_ERR
1942 * RadioError:INVALID_ARGUMENTS
1943 * RadioError:DEVICE_IN_USE
1944 * RadioError:INVALID_MODEM_STATE
1946 oneway setDataAllowedResponse(RadioResponseInfo info);
1949 * @param info Response info struct containing response type, serial no. and error
1950 * @param config Array of HardwareConfig of the radio.
1952 * Valid errors returned:
1954 * RadioError:RADIO_NOT_AVAILABLE
1956 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
1959 * @param info Response info struct containing response type, serial no. and error
1960 * @param result IccIoResult as defined in types.hal
1962 * Valid errors returned:
1964 * RadioError:RADIO_NOT_AVAILABLE
1966 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
1969 * @param info Response info struct containing response type, serial no. and error
1971 * Valid errors returned:
1973 * RadioError:RADIO_NOT_AVAILABLE
1974 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1976 oneway setDataProfileResponse(RadioResponseInfo info);
1979 * @param info Response info struct containing response type, serial no. and error
1981 * Valid errors returned:
1983 * RadioError:RADIO_NOT_AVAILABLE
1984 * RadioError:OPERATION_NOT_ALLOWED
1985 * RadioError:NO_MEMORY
1986 * RadioError:INTERNAL_ERR
1987 * RadioError:SYSTEM_ERR
1988 * RadioError:REQUEST_NOT_SUPPORTED
1990 oneway requestShutdownResponse(RadioResponseInfo info);
1993 * @param info Response info struct containing response type, serial no. and error
1994 * @param rc Radio capability as defined by RadioCapability in types.hal
1996 * Valid errors returned:
1998 * RadioError:RADIO_NOT_AVAILABLE
1999 * RadioError:OPERATION_NOT_ALLOWED
2000 * RadioError:INVALID_STATE
2001 * RadioError:REQUEST_NOT_SUPPORTED
2003 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2006 * @param info Response info struct containing response type, serial no. and error
2007 * @param rc Radio capability as defined by RadioCapability in types.hal used to
2008 * feedback return status
2010 * Valid errors returned:
2011 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
2012 * RadioError:RADIO_NOT_AVAILABLE
2013 * RadioError:OPERATION_NOT_ALLOWED
2014 * RadioError:NO_MEMORY
2015 * RadioError:INTERNAL_ERR
2016 * RadioError:SYSTEM_ERR
2017 * RadioError:INVALID_ARGUMENTS
2018 * RadioError:MODEM_ERR
2019 * RadioError:INVALID_STATE
2020 * RadioError:REQUEST_NOT_SUPPORTED
2022 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2025 * @param info Response info struct containing response type, serial no. and error
2026 * @param statusInfo LceStatusInfo indicating LCE status
2028 * Valid errors returned:
2030 * RadioError:RADIO_NOT_AVAILABLE
2031 * RadioError:LCE_NOT_SUPPORTED
2032 * RadioError:INTERNAL_ERR
2033 * RadioError:REQUEST_NOT_SUPPORTED
2035 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2038 * @param info Response info struct containing response type, serial no. and error
2039 * @param statusInfo LceStatusInfo indicating LCE status
2041 * Valid errors returned:
2043 * RadioError:RADIO_NOT_AVAILABLE
2044 * RadioError:LCE_NOT_SUPPORTED
2046 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2049 * @param info Response info struct containing response type, serial no. and error
2050 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
2052 * Valid errors returned:
2054 * RadioError:RADIO_NOT_AVAILABLE
2055 * RadioError:LCE_NOT_SUPPORTED
2057 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
2060 * @param info Response info struct containing response type, serial no. and error
2061 * @param activityInfo modem activity information
2063 * Valid errors returned:
2065 * RadioError:RADIO_NOT_AVAILABLE
2066 * RadioError:NO_MEMORY
2067 * RadioError:INTERNAL_ERR
2068 * RadioError:SYSTEM_ERR
2069 * RadioError:MODEM_ERR
2070 * RadioError:NOT_PROVISIONED
2072 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
2075 * @param info Response info struct containing response type, serial no. and error
2076 * @param numAllowed number of allowed carriers which have been set correctly.
2077 * On success, it must match the length of list Carriers->allowedCarriers.
2078 * if Length of allowed carriers list is 0, numAllowed = 0.
2080 * Valid errors returned:
2082 * RadioError:RADIO_NOT_AVAILABLE
2083 * RadioError:INVALID_ARGUMENTS
2084 * RadioError:REQUEST_NOT_SUPPORTED
2086 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
2089 * Expected modem behavior:
2090 * Return list of allowed carriers, and if all carriers are allowed.
2092 * @param info Response info struct containing response type, serial no. and error
2093 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
2094 * If false, consider "carriers" struct
2095 * @param carriers Carrier restriction information.
2097 * Valid errors returned:
2099 * RadioError:RADIO_NOT_AVAILABLE
2100 * RadioError:REQUEST_NOT_SUPPORTED
2102 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
2103 CarrierRestrictions carriers);
2106 * @param info Response info struct containing response type, serial no. and error
2108 * Valid errors returned:
2110 * RadioError:RADIO_NOT_AVAILABLE
2111 * RadioError:NO_MEMORY
2112 * RadioError:INTERNAL_ERR
2113 * RadioError:SYSTEM_ERR
2114 * RadioError:INVALID_ARGUMENTS
2115 * RadioError:REQUEST_NOT_SUPPORTED
2117 oneway sendDeviceStateResponse(RadioResponseInfo info);
2120 * @param info Response info struct containing response type, serial no. and error
2122 * Valid errors returned:
2124 * RadioError:INVALID_ARGUMENTS
2125 * RadioError:RADIO_NOT_AVAILABLE
2126 * RadioError:NO_MEMORY
2127 * RadioError:INTERNAL_ERR
2128 * RadioError:SYSTEM_ERR
2129 * RadioError:REQUEST_NOT_SUPPORTED
2131 oneway setIndicationFilterResponse(RadioResponseInfo info);
2134 * @param info Response info struct containing response type, serial no. and error
2136 * Valid errors returned:
2138 * RadioError:RADIO_NOT_AVAILABLE
2139 * RadioError:REQUEST_NOT_SUPPORTED
2140 * RadioError:INVALID_ARGUMENTS
2142 oneway setSimCardPowerResponse(RadioResponseInfo info);
2145 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
2146 * radio request which take long time to respond.
2147 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
2149 * @param serial Serial no. of the request whose acknowledgement is sent.
2151 oneway acknowledgeRequest(int32_t serial);