Home | History | Annotate | Download | only in 1.0
      1 /*
      2  * Copyright (C) 2016 The Android Open Source Project
      3  *
      4  * Licensed under the Apache License, Version 2.0 (the "License");
      5  * you may not use this file except in compliance with the License.
      6  * You may obtain a copy of the License at
      7  *
      8  *      http://www.apache.org/licenses/LICENSE-2.0
      9  *
     10  * Unless required by applicable law or agreed to in writing, software
     11  * distributed under the License is distributed on an "AS IS" BASIS,
     12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  * See the License for the specific language governing permissions and
     14  * limitations under the License.
     15  */
     16 
     17 package android.hardware.radio@1.0;
     18 
     19 /**
     20  * Interface declaring response functions to solicited radio requests.
     21  * Response functions defined in this interface are as per following convention:
     22  * <xyz>Response is response to IRadio.<xyz>
     23  */
     24 interface IRadioResponse {
     25     /**
     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
     28      *
     29      * Valid errors returned:
     30      *   RadioError:NONE
     31      */
     32     oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus);
     33 
     34     /**
     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.
     37      *
     38      * Valid errors returned:
     39      *   RadioError:NONE
     40      *   RadioError:RADIO_NOT_AVAILABLE (radio resetting)
     41      *   RadioError:PASSWORD_INCORRECT
     42      */
     43     oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
     44 
     45     /**
     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.
     48      *
     49      * Valid errors returned:
     50      *   RadioError:NONE
     51      *   RadioError:RADIO_NOT_AVAILABLE (radio resetting)
     52      *   RadioError:PASSWORD_INCORRECT (PUK is invalid)
     53      */
     54     oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
     55 
     56     /**
     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.
     59      *
     60      * Valid errors returned:
     61      *   RadioError:NONE
     62      *   RadioError:RADIO_NOT_AVAILABLE (radio resetting)
     63      *   RadioError:PASSWORD_INCORRECT
     64      */
     65     oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
     66 
     67     /**
     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:
     71      *   RadioError:NONE
     72      *   RadioError:RADIO_NOT_AVAILABLE (radio resetting)
     73      *   RadioError:PASSWORD_INCORRECT (PUK is invalid)
     74      */
     75     oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
     76 
     77     /**
     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.
     80      *
     81      * Valid errors returned:
     82      *   RadioError:NONE
     83      *   RadioError:RADIO_NOT_AVAILABLE (radio resetting)
     84      *   RadioError:PASSWORD_INCORRECT
     85      */
     86     oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
     87 
     88     /**
     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.
     91      *
     92      * Valid errors returned:
     93      *   RadioError:NONE
     94      *   RadioError:RADIO_NOT_AVAILABLE (radio resetting)
     95      *   RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
     96      */
     97     oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
     98 
     99     /**
    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.
    102      *
    103      * Valid errors returned:
    104      *   RadioError:NONE
    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
    112      */
    113     oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
    114 
    115     /**
    116      * @param info Response info struct containing response type, serial no. and error
    117      * @param calls Current call list
    118      *
    119      * Valid errors returned:
    120      *   RadioError:NONE
    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
    127      */
    128     oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
    129 
    130     /**
    131      * @param info Response info struct containing response type, serial no. and error
    132      *
    133      * Valid errors returned:
    134      *   RadioError:NONE
    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
    151      *   RadioError:ABORTED
    152      *   RadioError:SYSTEM_ERR
    153      *   RadioError:REQUEST_NOT_SUPPORTED
    154      *   RadioError:INVALID_MODEM_STATE
    155      */
    156     oneway dialResponse(RadioResponseInfo info);
    157 
    158     /**
    159      * @param info Response info struct containing response type, serial no. and error
    160      * @param imsi String containing the IMSI
    161      *
    162      * Valid errors returned:
    163      *   RadioError:NONE
    164      *   RadioError:RADIO_NOT_AVAILABLE (radio resetting)
    165      */
    166     oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
    167 
    168     /**
    169      * @param info Response info struct containing response type, serial no. and error
    170      *
    171      * Valid errors returned:
    172      *   RadioError:NONE
    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
    180      */
    181     oneway hangupConnectionResponse(RadioResponseInfo info);
    182 
    183     /**
    184      * @param info Response info struct containing response type, serial no. and error
    185      *
    186      * Valid errors returned:
    187      *   RadioError:NONE
    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
    199      */
    200     oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
    201 
    202     /**
    203      * @param info Response info struct containing response type, serial no. and error
    204      *
    205      * Valid errors returned:
    206      *   RadioError:NONE
    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
    218      */
    219     oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
    220 
    221     /**
    222      * @param info Response info struct containing response type, serial no. and error
    223      *
    224      * Valid errors returned:
    225      *   RadioError:NONE
    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
    238      */
    239     oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
    240 
    241     /**
    242      * @param info Response info struct containing response type, serial no. and error
    243      *
    244      * Valid errors returned:
    245      *   RadioError:NONE
    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
    257      */
    258     oneway conferenceResponse(RadioResponseInfo info);
    259 
    260     /**
    261      * @param info Response info struct containing response type, serial no. and error
    262      *
    263      * Valid errors returned:
    264      *   RadioError:NONE
    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
    277      */
    278     oneway rejectCallResponse(RadioResponseInfo info);
    279 
    280     /**
    281      * @param info Response info struct containing response type, serial no. and error
    282      * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
    283      *
    284      *   The vendor cause code must be used for debugging purpose only.
    285      *   The implementation must return one of the values of LastCallFailCause
    286      *   as mentioned below
    287      *
    288      *   GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
    289      *   where possible.
    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
    310      *
    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.
    315      *
    316      * Valid errors returned:
    317      *   RadioError:NONE
    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
    325      */
    326     oneway getLastCallFailCauseResponse(RadioResponseInfo info,
    327             LastCallFailCauseInfo failCauseinfo);
    328 
    329     /**
    330      * @param info Response info struct containing response type, serial no. and error
    331      * @param sigStrength Current signal strength
    332      *
    333      * Valid errors returned:
    334      *   RadioError:NONE
    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
    342      */
    343     oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
    344 
    345     /**
    346      * @param info Response info struct containing response type, serial no. and error
    347      * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
    348      *        in types.hal
    349      *
    350      * Valid errors returned:
    351      *   RadioError:NONE
    352      *   RadioError:RADIO_NOT_AVAILABLE
    353      */
    354     oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
    355             VoiceRegStateResult voiceRegResponse);
    356 
    357     /**
    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
    360      *        types.hal
    361      *
    362      * Valid errors returned:
    363      *   RadioError:NONE
    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
    371      */
    372     oneway getDataRegistrationStateResponse(RadioResponseInfo info,
    373             DataRegStateResult dataRegResponse);
    374 
    375     /**
    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
    380      *
    381      * Valid errors returned:
    382      *   RadioError:NONE
    383      *   RadioError:RADIO_NOT_AVAILABLE
    384      *   RadioError:NO_MEMORY
    385      *   RadioError:INTERNAL_ERR
    386      *   RadioError:SYSTEM_ERR
    387      *   RadioError:REQUEST_NOT_SUPPORTED
    388      */
    389     oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
    390             string numeric);
    391 
    392     /**
    393      * @param info Response info struct containing response type, serial no. and error
    394      *
    395      * Valid errors returned:
    396      *   RadioError:NONE
    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
    409      */
    410     oneway setRadioPowerResponse(RadioResponseInfo info);
    411 
    412     /**
    413      * @param info Response info struct containing response type, serial no. and error
    414      *
    415      * Valid errors returned:
    416      *   RadioError:NONE
    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
    426      *   RadioError:INVALID_MODEM_STATE
    427      */
    428     oneway sendDtmfResponse(RadioResponseInfo info);
    429 
    430     /**
    431      * @param info Response info struct containing response type, serial no. and error
    432      * @param sms Response to sms sent as defined by SendSmsResult in types.hal
    433      *
    434      * Valid errors returned:
    435      *   RadioError:NONE
    436      *   RadioError:RADIO_NOT_AVAILABLE
    437      *   RadioError:SMS_SEND_FAIL_RETRY
    438      *   RadioError:NETWORK_REJECT
    439      *   RadioError:INVALID_STATE
    440      *   RadioError:INVALID_ARGUMENTS
    441      *   RadioError:NO_MEMORY
    442      *   RadioError:REQUEST_RATE_LIMITED
    443      *   RadioError:INVALID_SMS_FORMAT
    444      *   RadioError:SYSTEM_ERR
    445      *   RadioError:ENCODING_ERR
    446      *   RadioError:INVALID_SMSC_ADDRESS
    447      *   RadioError:MODEM_ERR
    448      *   RadioError:NETWORK_ERR
    449      *   RadioError:MODE_NOT_SUPPORTED
    450      *   RadioError:INTERNAL_ERR
    451      *   RadioError:REQUEST_NOT_SUPPORTED
    452      *   RadioError:INVALID_MODEM_STATE
    453      *   RadioError:NETWORK_NOT_READY
    454      *   RadioError:OPERATION_NOT_ALLOWED
    455      */
    456     oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
    457 
    458     /**
    459      * @param info Response info struct containing response type, serial no. and error
    460      * @param sms Response to sms sent as defined by SendSmsResult in types.hal
    461      *
    462      * Valid errors returned:
    463      *   RadioError:NONE
    464      *   RadioError:RADIO_NOT_AVAILABLE
    465      *   RadioError:SMS_SEND_FAIL_RETRY
    466      *   RadioError:NETWORK_REJECT
    467      *   RadioError:INVALID_STATE
    468      *   RadioError:INVALID_ARGUMENTS
    469      *   RadioError:NO_MEMORY
    470      *   RadioError:REQUEST_RATE_LIMITED
    471      *   RadioError:INVALID_SMS_FORMAT
    472      *   RadioError:SYSTEM_ERR
    473      *   RadioError:FDN_CHECK_FAILURE
    474      *   RadioError:ENCODING_ERR
    475      *   RadioError:INVALID_SMSC_ADDRESS
    476      *   RadioError:MODEM_ERR
    477      *   RadioError:NETWORK_ERR
    478      *   RadioError:MODE_NOT_SUPPORTED
    479      *   RadioError:INTERNAL_ERR
    480      *   RadioError:REQUEST_NOT_SUPPORTED
    481      *   RadioError:INVALID_MODEM_STATE
    482      *   RadioError:NETWORK_NOT_READY
    483      *   RadioError:OPERATION_NOT_ALLOWED
    484      */
    485     oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
    486 
    487     /**
    488      * @param info Response info struct containing response type, serial no. and error
    489      * @param dcResponse SetupDataCallResult defined in types.hal
    490      *
    491      * Valid errors returned:
    492      *   RadioError:NONE must be returned on both success and failure of setup with the
    493      *              DataCallResponse.status containing the actual status
    494      *              For all other errors the DataCallResponse is ignored.
    495      *   RadioError:RADIO_NOT_AVAILABLE
    496      *   RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
    497      *   RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
    498      *   RadioError:REQUEST_NOT_SUPPORTED
    499      *   RadioError:INVALID_ARGUMENTS
    500      *   RadioError:REQUEST_NOT_SUPPORTED
    501      */
    502     oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
    503 
    504     /**
    505      * @param info Response info struct containing response type, serial no. and error
    506      * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
    507      *
    508      * Valid errors returned:
    509      *   RadioError:NONE
    510      *   RadioError:RADIO_NOT_AVAILABLE
    511      *   RadioError:SIM_PIN2
    512      *   RadioError:SIM_PUK2
    513      */
    514     oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
    515 
    516     /**
    517      * @param info Response info struct containing response type, serial no. and error
    518      *
    519      * Valid errors returned:
    520      *   RadioError:NONE
    521      *   RadioError:RADIO_NOT_AVAILABLE
    522      *   RadioError:FDN_CHECK_FAILURE
    523      *   RadioError:USSD_MODIFIED_TO_DIAL
    524      *   RadioError:USSD_MODIFIED_TO_SS
    525      *   RadioError:USSD_MODIFIED_TO_USSD
    526      *   RadioError:SIM_BUSY
    527      *   RadioError:OPERATION_NOT_ALLOWED
    528      *   RadioError:INVALID_ARGUMENTS
    529      *   RadioError:NO_MEMORY
    530      *   RadioError:MODEM_ERR
    531      *   RadioError:INTERNAL_ERR
    532      *   RadioError:ABORTED
    533      *   RadioError:SYSTEM_ERR
    534      *   RadioError:INVALID_STATE
    535      *   RadioError:REQUEST_NOT_SUPPORTED
    536      *   RadioError:INVALID_MODEM_STATE
    537      */
    538     oneway sendUssdResponse(RadioResponseInfo info);
    539 
    540     /**
    541      * @param info Response info struct containing response type, serial no. and error
    542      *
    543      * Valid errors returned:
    544      *   RadioError:NONE
    545      *   RadioError:RADIO_NOT_AVAILABLE
    546      *   RadioError:SIM_BUSY
    547      *   RadioError:OPERATION_NOT_ALLOWED
    548      *   RadioError:MODEM_ERR
    549      *   RadioError:INTERNAL_ERR
    550      *   RadioError:NO_MEMORY
    551      *   RadioError:INVALID_STATE
    552      *   RadioError:INVALID_ARGUMENTS
    553      *   RadioError:SYSTEM_ERR
    554      *   RadioError:REQUEST_NOT_SUPPORTED
    555      *   RadioError:INVALID_MODEM_STATE
    556      */
    557     oneway cancelPendingUssdResponse(RadioResponseInfo info);
    558 
    559     /**
    560      * @param info Response info struct containing response type, serial no. and error
    561      * @param n is "n" parameter from TS 27.007 7.7
    562      * @param m is "m" parameter from TS 27.007 7.7
    563      *
    564      * Valid errors returned:
    565      *   RadioError:NONE
    566      *   RadioError:RADIO_NOT_AVAILABLE
    567      *   RadioError:SS_MODIFIED_TO_DIAL
    568      *   RadioError:SS_MODIFIED_TO_USSD
    569      *   RadioError:SS_MODIFIED_TO_SS
    570      *   RadioError:NO_MEMORY
    571      *   RadioError:MODEM_ERR
    572      *   RadioError:INTERNAL_ERR
    573      *   RadioError:FDN_CHECK_FAILURE
    574      *   RadioError:SYSTEM_ERR
    575      *   RadioError:REQUEST_NOT_SUPPORTED
    576      *   RadioError:INVALID_ARGUMENTS
    577      */
    578     oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
    579 
    580     /**
    581      * @param info Response info struct containing response type, serial no. and error
    582      *
    583      * Valid errors returned:
    584      *   RadioError:NONE
    585      *   RadioError:INVALID_ARGUMENTS
    586      *   RadioError:RADIO_NOT_AVAILABLE
    587      *   RadioError:SS_MODIFIED_TO_DIAL
    588      *   RadioError:SS_MODIFIED_TO_USSD
    589      *   RadioError:SS_MODIFIED_TO_SS
    590      *   RadioError:NO_MEMORY
    591      *   RadioError:INTERNAL_ERR
    592      *   RadioError:SYSTEM_ERR
    593      *   RadioError:REQUEST_NOT_SUPPORTED
    594      */
    595     oneway setClirResponse(RadioResponseInfo info);
    596 
    597     /**
    598      * @param info Response info struct containing response type, serial no. and error
    599      * @param callForwardInfos points to a vector of CallForwardInfo, one for
    600      *        each distinct registered phone number.
    601      *
    602      * For example, if data is forwarded to +18005551212 and voice is forwarded
    603      * to +18005559999, then two separate CallForwardInfo's must be returned
    604      *
    605      * If, however, both data and voice are forwarded to +18005551212, then
    606      * a single CallForwardInfo must be returned with the service class
    607      * set to "data + voice = 3")
    608      *
    609      * Valid errors returned:
    610      *   RadioError:NONE
    611      *   RadioError:RADIO_NOT_AVAILABLE
    612      *   RadioError:SS_MODIFIED_TO_DIAL
    613      *   RadioError:SS_MODIFIED_TO_USSD
    614      *   RadioError:SS_MODIFIED_TO_SS
    615      *   RadioError:INVALID_ARGUMENTS
    616      *   RadioError:NO_MEMORY
    617      *   RadioError:SYSTEM_ERR
    618      *   RadioError:MODEM_ERR
    619      *   RadioError:INTERNAL_ERR
    620      *   RadioError:FDN_CHECK_FAILURE
    621      *   RadioError:REQUEST_NOT_SUPPORTED
    622      *   RadioError:SYSTEM_ERR
    623      */
    624     oneway getCallForwardStatusResponse(RadioResponseInfo info,
    625             vec<CallForwardInfo> callForwardInfos);
    626 
    627     /**
    628      * @param info Response info struct containing response type, serial no. and error
    629      *
    630      * Valid errors returned:
    631      *   RadioError:NONE
    632      *   RadioError:RADIO_NOT_AVAILABLE
    633      *   RadioError:SS_MODIFIED_TO_DIAL
    634      *   RadioError:SS_MODIFIED_TO_USSD
    635      *   RadioError:SS_MODIFIED_TO_SS
    636      *   RadioError:INVALID_ARGUMENTS
    637      *   RadioError:NO_MEMORY
    638      *   RadioError:SYSTEM_ERR
    639      *   RadioError:MODEM_ERR
    640      *   RadioError:INTERNAL_ERR
    641      *   RadioError:INVALID_STATE
    642      *   RadioError:FDN_CHECK_FAILURE
    643      *   RadioError:REQUEST_NOT_SUPPORTED
    644      *   RadioError:INVALID_MODEM_STATE
    645      */
    646     oneway setCallForwardResponse(RadioResponseInfo info);
    647 
    648     /**
    649      * @param info Response info struct containing response type, serial no. and error
    650      * @param enable If current call waiting state is disabled, enable = false else true
    651      * @param serviceClass If enable, then callWaitingResp[1]
    652      *        must follow, with the TS 27.007 service class bit vector of services
    653      *        for which call waiting is enabled.
    654      *        For example, if callWaitingResp[0] is 1 and
    655      *        callWaitingResp[1] is 3, then call waiting is enabled for data
    656      *        and voice and disabled for everything else.
    657      *
    658      * Valid errors returned:
    659      *   RadioError:NONE
    660      *   RadioError:RADIO_NOT_AVAILABLE
    661      *   RadioError:SS_MODIFIED_TO_DIAL
    662      *   RadioError:SS_MODIFIED_TO_USSD
    663      *   RadioError:SS_MODIFIED_TO_SS
    664      *   RadioError:INVALID_ARGUMENTS
    665      *   RadioError:NO_MEMORY
    666      *   RadioError:MODEM_ERR
    667      *   RadioError:INTERNAL_ERR
    668      *   RadioError:FDN_CHECK_FAILURE
    669      *   RadioError:INTERNAL_ERR
    670      *   RadioError:SYSTEM_ERR
    671      *   RadioError:REQUEST_NOT_SUPPORTED
    672      */
    673     oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
    674 
    675     /**
    676      * @param info Response info struct containing response type, serial no. and error
    677      *
    678      * Valid errors returned:
    679      *   RadioError:NONE
    680      *   RadioError:RADIO_NOT_AVAILABLE
    681      *   RadioError:SS_MODIFIED_TO_DIAL
    682      *   RadioError:SS_MODIFIED_TO_USSD
    683      *   RadioError:SS_MODIFIED_TO_SS
    684      *   RadioError:INVALID_ARGUMENTS
    685      *   RadioError:NO_MEMORY
    686      *   RadioError:MODEM_ERR
    687      *   RadioError:INTERNAL_ERR
    688      *   RadioError:INVALID_STATE
    689      *   RadioError:FDN_CHECK_FAILURE
    690      *   RadioError:SYSTEM_ERR
    691      *   RadioError:REQUEST_NOT_SUPPORTED
    692      *   RadioError:INVALID_MODEM_STATE
    693      */
    694     oneway setCallWaitingResponse(RadioResponseInfo info);
    695 
    696     /**
    697      * @param info Response info struct containing response type, serial no. and error
    698      *
    699      * Valid errors returned:
    700      *   RadioError:NONE
    701      *   RadioError:RADIO_NOT_AVAILABLE
    702      */
    703     oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
    704 
    705     /**
    706      * @param info Response info struct containing response type, serial no. and error
    707      *
    708      * Valid errors returned:
    709      *   RadioError:NONE
    710      *   RadioError:RADIO_NOT_AVAILABLE
    711      *   RadioError:INVALID_STATE
    712      *   RadioError:NO_MEMORY
    713      *   RadioError:SYSTEM_ERR
    714      *   RadioError:MODEM_ERR
    715      *   RadioError:INTERNAL_ERR
    716      *   RadioError:INVALID_CALL_ID
    717      *   RadioError:INVALID_ARGUMENTS
    718      *   RadioError:SYSTEM_ERR
    719      *   RadioError:REQUEST_NOT_SUPPORTED
    720      */
    721     oneway acceptCallResponse(RadioResponseInfo info);
    722 
    723     /**
    724      * @param info Response info struct containing response type, serial no. and error
    725      *
    726      * Valid errors returned:
    727      *   RadioError:NONE
    728      *   RadioError:RADIO_NOT_AVAILABLE
    729      *   RadioError:INVALID_CALL_ID
    730      *   RadioError:INVALID_STATE
    731      *   RadioError:INVALID_ARGUMENTS
    732      *   RadioError:REQUEST_NOT_SUPPORTED
    733      */
    734     oneway deactivateDataCallResponse(RadioResponseInfo info);
    735 
    736     /**
    737      * @param info Response info struct containing response type, serial no. and error
    738      * @param response 0 is the TS 27.007 service class bit vector of
    739      *        services for which the specified barring facility
    740      *        is active. "0" means "disabled for all"
    741      *
    742      * Valid errors returned:
    743      *   RadioError:NONE
    744      *   RadioError:RADIO_NOT_AVAILABLE
    745      *   RadioError:SS_MODIFIED_TO_DIAL
    746      *   RadioError:SS_MODIFIED_TO_USSD
    747      *   RadioError:SS_MODIFIED_TO_SS
    748      *   RadioError:INVALID_ARGUMENTS
    749      *   RadioError:NO_MEMORY
    750      *   RadioError:MODEM_ERR
    751      *   RadioError:INTERNAL_ERR
    752      *   RadioError:SYSTEM_ERR
    753      *   RadioError:FDN_CHECK_FAILURE
    754      *   RadioError:REQUEST_NOT_SUPPORTED
    755      */
    756     oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
    757 
    758     /**
    759      * @param info Response info struct containing response type, serial no. and error
    760      * @param retry 0 is the number of retries remaining, or -1 if unknown
    761      *
    762      * Valid errors returned:
    763      *   RadioError:NONE
    764      *   RadioError:RADIO_NOT_AVAILABLE
    765      *   RadioError:SS_MODIFIED_TO_DIAL
    766      *   RadioError:SS_MODIFIED_TO_USSD
    767      *   RadioError:SS_MODIFIED_TO_SS
    768      *   RadioError:INVALID_ARGUMENTS
    769      *   RadioError:NO_MEMORY
    770      *   RadioError:MODEM_ERR
    771      *   RadioError:INTERNAL_ERR
    772      *   RadioError:SYSTEM_ERR
    773      *   RadioError:INVALID_STATE
    774      *   RadioError:FDN_CHECK_FAILURE
    775      *   RadioError:REQUEST_NOT_SUPPORTED
    776      *   RadioError:INVALID_MODEM_STATE
    777      */
    778     oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
    779 
    780     /**
    781      * @param info Response info struct containing response type, serial no. and error
    782      *
    783      * Valid errors returned:
    784      *   RadioError:NONE
    785      *   RadioError:RADIO_NOT_AVAILABLE
    786      *   RadioError:SS_MODIFIED_TO_DIAL
    787      *   RadioError:SS_MODIFIED_TO_USSD
    788      *   RadioError:SS_MODIFIED_TO_SS
    789      *   RadioError:INVALID_ARGUMENTS
    790      *   RadioError:NO_MEMORY
    791      *   RadioError:MODEM_ERR
    792      *   RadioError:INTERNAL_ERR
    793      *   RadioError:SYSTEM_ERR
    794      *   RadioError:FDN_CHECK_FAILURE
    795      *   RadioError:REQUEST_NOT_SUPPORTED
    796      */
    797     oneway setBarringPasswordResponse(RadioResponseInfo info);
    798 
    799     /**
    800      * @param info Response info struct containing response type, serial no. and error
    801      * @param selection false for automatic selection, true for manual selection
    802      *
    803      * Valid errors returned:
    804      *   RadioError:NONE
    805      *   RadioError:RADIO_NOT_AVAILABLE
    806      *   RadioError:NO_MEMORY
    807      *   RadioError:INTERNAL_ERR
    808      *   RadioError:SYSTEM_ERR
    809      *   RadioError:INVALID_ARGUMENTS
    810      *   RadioError:MODEM_ERR
    811      *   RadioError:REQUEST_NOT_SUPPORTED
    812      */
    813     oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
    814 
    815     /**
    816      * @param info Response info struct containing response type, serial no. and error
    817      *
    818      * Valid errors returned:
    819      *   RadioError:NONE
    820      *   RadioError:RADIO_NOT_AVAILABLE
    821      *   RadioError:ILLEGAL_SIM_OR_ME
    822      *   RadioError:OPERATION_NOT_ALLOWED
    823      *   RadioError:NO_MEMORY
    824      *   RadioError:INTERNAL_ERR
    825      *   RadioError:SYSTEM_ERR
    826      *   RadioError:INVALID_ARGUMENTS
    827      *   RadioError:MODEM_ERR
    828      *   RadioError:REQUEST_NOT_SUPPORTED
    829      *
    830      * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
    831      * no retries needed, such as illegal SIM or ME.
    832      */
    833     oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
    834 
    835     /**
    836      * @param info Response info struct containing response type, serial no. and error
    837      *
    838      * Valid errors returned:
    839      *   RadioError:NONE
    840      *   RadioError:RADIO_NOT_AVAILABLE
    841      *   RadioError:ILLEGAL_SIM_OR_ME
    842      *   RadioError:OPERATION_NOT_ALLOWED
    843      *   RadioError:INVALID_STATE
    844      *   RadioError:NO_MEMORY
    845      *   RadioError:INTERNAL_ERR
    846      *   RadioError:SYSTEM_ERR
    847      *   RadioError:INVALID_ARGUMENTS
    848      *   RadioError:MODEM_ERR
    849      *   RadioError:REQUEST_NOT_SUPPORTED
    850      *
    851      * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
    852      * no retries needed, such as illegal SIM or ME.
    853      */
    854     oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
    855 
    856     /**
    857      * @param info Response info struct containing response type, serial no. and error
    858      * @param networkInfos List of network operator information as OperatorInfos defined in
    859      *         types.hal
    860      *
    861      * Valid errors returned:
    862      *   RadioError:NONE
    863      *   RadioError:RADIO_NOT_AVAILABLE
    864      *   RadioError:OPERATION_NOT_ALLOWED
    865      *   RadioError:ABORTED
    866      *   RadioError:DEVICE_IN_USE
    867      *   RadioError:INTERNAL_ERR
    868      *   RadioError:NO_MEMORY
    869      *   RadioError:MODEM_ERR
    870      *   RadioError:REQUEST_NOT_SUPPORTED
    871      *   RadioError:CANCELLED
    872      */
    873     oneway getAvailableNetworksResponse(RadioResponseInfo info,
    874             vec<OperatorInfo> networkInfos);
    875 
    876     /**
    877      * @param info Response info struct containing response type, serial no. and error
    878      *
    879      * Valid errors returned:
    880      *   RadioError:NONE
    881      *   RadioError:RADIO_NOT_AVAILABLE
    882      *   RadioError:INVALID_ARGUMENTS
    883      *   RadioError:NO_RESOURCES
    884      *   RadioError:NO_MEMORY
    885      *   RadioError:SYSTEM_ERR
    886      *   RadioError:MODEM_ERR
    887      *   RadioError:INTERNAL_ERR
    888      *   RadioError:INVALID_CALL_ID
    889      *   RadioError:SYSTEM_ERR
    890      *   RadioError:REQUEST_NOT_SUPPORTED
    891      *   RadioError:INVALID_MODEM_STATE
    892      */
    893     oneway startDtmfResponse(RadioResponseInfo info);
    894 
    895     /**
    896      * @param info Response info struct containing response type, serial no. and error
    897      *
    898      * Valid errors returned:
    899      *   RadioError:NONE
    900      *   RadioError:RADIO_NOT_AVAILABLE
    901      *   RadioError:INVALID_ARGUMENTS
    902      *   RadioError:NO_RESOURCES
    903      *   RadioError:NO_MEMORY
    904      *   RadioError:INVALID_ARGUMENTS
    905      *   RadioError:SYSTEM_ERR
    906      *   RadioError:MODEM_ERR
    907      *   RadioError:INTERNAL_ERR
    908      *   RadioError:INVALID_CALL_ID
    909      *   RadioError:REQUEST_NOT_SUPPORTED
    910      *   RadioError:INVALID_MODEM_STATE
    911      */
    912     oneway stopDtmfResponse(RadioResponseInfo info);
    913 
    914     /**
    915      * @param info Response info struct containing response type, serial no. and error
    916      * @param version string containing version string for log reporting
    917      *
    918      * Valid errors returned:
    919      *   RadioError:NONE
    920      *   RadioError:RADIO_NOT_AVAILABLE
    921      *   RadioError:EMPTY_RECORD
    922      *   RadioError:NO_MEMORY
    923      *   RadioError:INTERNAL_ERR
    924      *   RadioError:SYSTEM_ERR
    925      *   RadioError:MODEM_ERR
    926      *   RadioError:NOT_PROVISIONED
    927      *   RadioError:REQUEST_NOT_SUPPORTED
    928      */
    929     oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
    930 
    931     /**
    932      * @param info Response info struct containing response type, serial no. and error
    933      *
    934      * Valid errors returned:
    935      *   RadioError:NONE
    936      *   RadioError:RADIO_NOT_AVAILABLE
    937      *   RadioError:INVALID_ARGUMENTS
    938      *   RadioError:INVALID_STATE
    939      *   RadioError:NO_RESOURCES
    940      *   RadioError:NO_MEMORY
    941      *   RadioError:MODEM_ERR
    942      *   RadioError:SYSTEM_ERR
    943      *   RadioError:INTERNAL_ERR
    944      *   RadioError:INVALID_CALL_ID
    945      *   RadioError:OPERATION_NOT_ALLOWED
    946      *   RadioError:REQUEST_NOT_SUPPORTED
    947      *   RadioError:INVALID_MODEM_STATE
    948      */
    949     oneway separateConnectionResponse(RadioResponseInfo info);
    950 
    951     /**
    952      * @param info Response info struct containing response type, serial no. and error
    953      *
    954      * Valid errors returned:
    955      *   RadioError:NONE
    956      *   RadioError:RADIO_NOT_AVAILABLE
    957      *   RadioError:INVALID_ARGUMENTS
    958      *   RadioError:NO_MEMORY
    959      *   RadioError:REQUEST_RATE_LIMITED
    960      *   RadioError:INTERNAL_ERR
    961      *   RadioError:SYSTEM_ERR
    962      *   RadioError:REQUEST_NOT_SUPPORTED
    963      */
    964     oneway setMuteResponse(RadioResponseInfo info);
    965 
    966     /**
    967      * @param info Response info struct containing response type, serial no. and error
    968      * @param enable true for "mute enabled" and false for "mute disabled"
    969      *
    970      * Valid errors returned:
    971      *   RadioError:NONE
    972      *   RadioError:RADIO_NOT_AVAILABLE
    973      *   RadioError:SS_MODIFIED_TO_DIAL
    974      *   RadioError:SS_MODIFIED_TO_USSD
    975      *   RadioError:SS_MODIFIED_TO_SS
    976      *   RadioError:NO_MEMORY
    977      *   RadioError:REQUEST_RATE_LIMITED
    978      *   RadioError:INVALID_ARGUMENTS
    979      *   RadioError:INTERNAL_ERR
    980      *   RadioError:SYSTEM_ERR
    981      *   RadioError:REQUEST_NOT_SUPPORTED
    982      */
    983     oneway getMuteResponse(RadioResponseInfo info, bool enable);
    984 
    985     /**
    986      * @param info Response info struct containing response type, serial no. and error
    987      * @param status indicates CLIP status
    988      *
    989      * Valid errors returned:
    990      *   RadioError:NONE
    991      *   RadioError:RADIO_NOT_AVAILABLE
    992      *   RadioError:INVALID_ARGUMENTS
    993      *   RadioError:NO_MEMORY
    994      *   RadioError:SYSTEM_ERR
    995      *   RadioError:MODEM_ERR
    996      *   RadioError:INTERNAL_ERR
    997      *   RadioError:FDN_CHECK_FAILURE
    998      *   RadioError:REQUEST_NOT_SUPPORTED
    999      */
   1000     oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
   1001 
   1002     /**
   1003      * @param info Response info struct containing response type, serial no. and error
   1004      * @param dcResponse List of DataCallResult as defined in types.hal
   1005      *
   1006      * Valid errors returned:
   1007      *   RadioError:NONE
   1008      *   RadioError:RADIO_NOT_AVAILABLE
   1009      */
   1010     oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
   1011 
   1012     /**
   1013      * @param info Response info struct containing response type, serial no. and error
   1014      *
   1015      * Valid errors returned:
   1016      *   RadioError:NONE
   1017      *   RadioError:RADIO_NOT_AVAILABLE
   1018      *   RadioError:INVALID_ARGUMENTS
   1019      *   RadioError:SIM_BUSY
   1020      *   RadioError:NO_MEMORY
   1021      *   RadioError:SYSTEM_ERR
   1022      *   RadioError:MODEM_ERR
   1023      *   RadioError:INTERNAL_ERR
   1024      *   RadioError:REQUEST_NOT_SUPPORTED
   1025      */
   1026     oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
   1027 
   1028     /**
   1029      * @param info Response info struct containing response type, serial no. and error
   1030      * @param index record index where the message is stored
   1031      *
   1032      * Valid errors returned:
   1033      *   RadioError:NONE
   1034      *   RadioError:SIM_FULL
   1035      *   RadioError:INVALID_ARGUMENTS
   1036      *   RadioError:INVALID_SMS_FORMAT
   1037      *   RadioError:INTERNAL_ERR
   1038      *   RadioError:MODEM_ERR
   1039      *   RadioError:ENCODING_ERR
   1040      *   RadioError:NO_MEMORY
   1041      *   RadioError:NO_RESOURCES
   1042      *   RadioError:INVALID_MODEM_STATE
   1043      *   RadioError:MODE_NOT_SUPPORTED
   1044      *   RadioError:INVALID_SMSC_ADDRESS
   1045      *   RadioError:RADIO_NOT_AVAILABLE
   1046      *   RadioError:SYSTEM_ERR
   1047      *   RadioError:REQUEST_NOT_SUPPORTED
   1048      */
   1049     oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
   1050 
   1051     /**
   1052      * @param info Response info struct containing response type, serial no. and error
   1053      *
   1054      * Valid errors returned:
   1055      *   RadioError:NONE
   1056      *   RadioError:INVALID_ARGUMENTS
   1057      *   RadioError:NO_MEMORY
   1058      *   RadioError:SYSTEM_ERR
   1059      *   RadioError:MODEM_ERR
   1060      *   RadioError:NO_SUCH_ENTRY
   1061      *   RadioError:INTERNAL_ERR
   1062      *   RadioError:RADIO_NOT_AVAILABLE
   1063      *   RadioError:REQUEST_NOT_SUPPORTED
   1064      *   RadioError:INVALID_MODEM_STATE
   1065      */
   1066     oneway deleteSmsOnSimResponse(RadioResponseInfo info);
   1067 
   1068     /**
   1069      * @param info Response info struct containing response type, serial no. and error
   1070      *
   1071      * Valid errors returned:
   1072      *   RadioError:NONE
   1073      *   RadioError:RADIO_NOT_AVAILABLE
   1074      *   RadioError:OPERATION_NOT_ALLOWED
   1075      *   RadioError:NO_MEMORY
   1076      *   RadioError:INTERNAL_ERR
   1077      *   RadioError:SYSTEM_ERR
   1078      *   RadioError:INVALID_ARGUMENTS
   1079      *   RadioError:MODEM_ERR
   1080      *   RadioError:REQUEST_NOT_SUPPORTED
   1081      */
   1082     oneway setBandModeResponse(RadioResponseInfo info);
   1083 
   1084     /**
   1085      * @param info Response info struct containing response type, serial no. and error
   1086      * @param bandModes List of RadioBandMode listing supported modes
   1087      *
   1088      * Valid errors returned:
   1089      *   RadioError:NONE
   1090      *   RadioError:RADIO_NOT_AVAILABLE
   1091      *   RadioError:INVALID_ARGUMENTS
   1092      *   RadioError:NO_MEMORY
   1093      *   RadioError:INTERNAL_ERR
   1094      *   RadioError:SYSTEM_ERR
   1095      *   RadioError:MODEM_ERR
   1096      *   RadioError:REQUEST_NOT_SUPPORTED
   1097      */
   1098     oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
   1099 
   1100     /**
   1101      * @param info Response info struct containing response type, serial no. and error
   1102      * @param commandResponse SAT/USAT response in hexadecimal format
   1103      *        string starting with first byte of response
   1104      *
   1105      * Valid errors returned:
   1106      *   RadioError:NONE
   1107      *   RadioError:RADIO_NOT_AVAILABLE
   1108      *   RadioError:SIM_BUSY
   1109      *   RadioError:OPERATION_NOT_ALLOWED
   1110      */
   1111     oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
   1112 
   1113     /**
   1114      * @param info Response info struct containing response type, serial no. and error
   1115      *
   1116      * Valid errors returned:
   1117      *   RadioError:NONE
   1118      *   RadioError:RADIO_NOT_AVAILABLE
   1119      *   RadioError:INVALID_ARGUMENTS
   1120      *   RadioError:OPERATION_NOT_ALLOWED
   1121      */
   1122     oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
   1123 
   1124     /**
   1125      * @param info Response info struct containing response type, serial no. and error
   1126      *
   1127      * Valid errors returned:
   1128      *   RadioError:NONE
   1129      *   RadioError:NO_MEMORY
   1130      *   RadioError:INTERNAL_ERR
   1131      *   RadioError:SYSTEM_ERR
   1132      *   RadioError:MODEM_ERR
   1133      *   RadioError:INVALID_ARGUMENTS
   1134      */
   1135     oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
   1136 
   1137     /**
   1138      * @param info Response info struct containing response type, serial no. and error
   1139      *
   1140      * Valid errors returned:
   1141      *   RadioError:NONE
   1142      *   RadioError:RADIO_NOT_AVAILABLE
   1143      *   RadioError:INVALID_ARGUMENTS
   1144      *   RadioError:INVALID_STATE
   1145      *   RadioError:NO_RESOURCES
   1146      *   RadioError:NO_MEMORY
   1147      *   RadioError:SYSTEM_ERR
   1148      *   RadioError:MODEM_ERR
   1149      *   RadioError:INTERNAL_ERR
   1150      *   RadioError:INVALID_CALL_ID
   1151      *   RadioError:OPERATION_NOT_ALLOWED
   1152      *   RadioError:REQUEST_NOT_SUPPORTED
   1153      *   RadioError:INVALID_MODEM_STATE
   1154      */
   1155     oneway explicitCallTransferResponse(RadioResponseInfo info);
   1156 
   1157     /**
   1158      * @param info Response info struct containing response type, serial no. and error
   1159      *
   1160      * Valid errors returned:
   1161      *   RadioError:NONE
   1162      *   RadioError:RADIO_NOT_AVAILABLE
   1163      *   RadioError:OPERATION_NOT_ALLOWED
   1164      *   RadioError:MODE_NOT_SUPPORTED
   1165      *   RadioError:NO_MEMORY
   1166      *   RadioError:INTERNAL_ERR
   1167      *   RadioError:SYSTEM_ERR
   1168      *   RadioError:INVALID_ARGUMENTS
   1169      *   RadioError:MODEM_ERR
   1170      *   RadioError:REQUEST_NOT_SUPPORTED
   1171      */
   1172     oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
   1173 
   1174     /**
   1175      * @param info Response info struct containing response type, serial no. and error
   1176      * @param nwType RadioPreferredNetworkType defined in types.hal
   1177      *
   1178      * Valid errors returned:
   1179      *   RadioError:NONE
   1180      *   RadioError:RADIO_NOT_AVAILABLE
   1181      *   RadioError:NO_MEMORY
   1182      *   RadioError:INTERNAL_ERR
   1183      *   RadioError:SYSTEM_ERR
   1184      *   RadioError:INVALID_ARGUMENTS
   1185      *   RadioError:MODEM_ERR
   1186      *   RadioError:REQUEST_NOT_SUPPORTED
   1187      */
   1188     oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
   1189             PreferredNetworkType nwType);
   1190 
   1191     /**
   1192      * @param info Response info struct containing response type, serial no. and error
   1193      * @param cells Vector of neighboring radio cell
   1194      *
   1195      * Valid errors returned:
   1196      *   RadioError:NONE
   1197      *   RadioError:RADIO_NOT_AVAILABLE
   1198      *   RadioError:INVALID_ARGUMENTS
   1199      *   RadioError:NO_MEMORY
   1200      *   RadioError:INTERNAL_ERR
   1201      *   RadioError:SYSTEM_ERR
   1202      *   RadioError:MODEM_ERR
   1203      *   RadioError:NO_NETWORK_FOUND
   1204      *   RadioError:REQUEST_NOT_SUPPORTED
   1205      */
   1206     oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
   1207 
   1208     /**
   1209      * @param info Response info struct containing response type, serial no. and error
   1210      *
   1211      * Valid errors returned:
   1212      *   RadioError:NONE
   1213      *   RadioError:RADIO_NOT_AVAILABLE
   1214      *   RadioError:NO_MEMORY
   1215      *   RadioError:INTERNAL_ERR
   1216      *   RadioError:SYSTEM_ERR
   1217      *   RadioError:INVALID_ARGUMENTS
   1218      *   RadioError:MODEM_ERR
   1219      *   RadioError:REQUEST_NOT_SUPPORTED
   1220      */
   1221     oneway setLocationUpdatesResponse(RadioResponseInfo info);
   1222 
   1223     /**
   1224      * @param info Response info struct containing response type, serial no. and error
   1225      *
   1226      * Valid errors returned:
   1227      *   RadioError:NONE
   1228      *   RadioError:RADIO_NOT_AVAILABLE
   1229      *   RadioError:SIM_ABSENT
   1230      *   RadioError:SUBSCRIPTION_NOT_AVAILABLE
   1231      */
   1232     oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
   1233 
   1234     /**
   1235      * @param info Response info struct containing response type, serial no. and error
   1236      *
   1237      * Valid errors returned:
   1238      *   RadioError:NONE
   1239      *   RadioError:RADIO_NOT_AVAILABLE
   1240      *   RadioError:NO_MEMORY
   1241      *   RadioError:INTERNAL_ERR
   1242      *   RadioError:SYSTEM_ERR
   1243      *   RadioError:INVALID_ARGUMENTS
   1244      *   RadioError:MODEM_ERR
   1245      *   RadioError:REQUEST_NOT_SUPPORTED
   1246      *   RadioError:OPERATION_NOT_ALLOWED
   1247      */
   1248     oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
   1249 
   1250     /**
   1251      * @param info Response info struct containing response type, serial no. and error
   1252      * @param type CdmaRoamingType defined in types.hal
   1253      *
   1254      * Valid errors returned:
   1255      *   RadioError:NONE
   1256      *   RadioError:RADIO_NOT_AVAILABLE
   1257      *   RadioError:INVALID_ARGUMENTS
   1258      *   RadioError:NO_MEMORY
   1259      *   RadioError:INTERNAL_ERR
   1260      *   RadioError:SYSTEM_ERR
   1261      *   RadioError:MODEM_ERR
   1262      *   RadioError:REQUEST_NOT_SUPPORTED
   1263      */
   1264     oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
   1265 
   1266     /**
   1267      * @param info Response info struct containing response type, serial no. and error
   1268      *
   1269      * Valid errors returned:
   1270      *   RadioError:NONE
   1271      *   RadioError:RADIO_NOT_AVAILABLE
   1272      *   RadioError:INVALID_ARGUMENTS
   1273      *   RadioError:MODEM_ERR
   1274      *   RadioError:INTERNAL_ERR
   1275      *   RadioError:NO_MEMORY
   1276      *   RadioError:SYSTEM_ERR
   1277      *   RadioError:REQUEST_NOT_SUPPORTED
   1278      */
   1279     oneway setTTYModeResponse(RadioResponseInfo info);
   1280 
   1281     /**
   1282      * @param info Response info struct containing response type, serial no. and error
   1283      * @param mode TtyMode
   1284      *
   1285      * Valid errors returned:
   1286      *   RadioError:NONE
   1287      *   RadioError:RADIO_NOT_AVAILABLE
   1288      *   RadioError:INVALID_ARGUMENTS
   1289      *   RadioError:MODEM_ERR
   1290      *   RadioError:INTERNAL_ERR
   1291      *   RadioError:NO_MEMORY
   1292      *   RadioError:SYSTEM_ERR
   1293      *   RadioError:REQUEST_NOT_SUPPORTED
   1294      */
   1295     oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
   1296 
   1297     /**
   1298      * @param info Response info struct containing response type, serial no. and error
   1299      *
   1300      * Valid errors returned:
   1301      *   RadioError:NONE
   1302      *   RadioError:RADIO_NOT_AVAILABLE
   1303      *   RadioError:INVALID_ARGUMENTS
   1304      *   RadioError:MODEM_ERR
   1305      *   RadioError:INTERNAL_ERR
   1306      *   RadioError:NO_MEMORY
   1307      *   RadioError:SYSTEM_ERR
   1308      *   RadioError:REQUEST_NOT_SUPPORTED
   1309      *   RadioError:INVALID_CALL_ID
   1310      */
   1311     oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
   1312 
   1313     /**
   1314      * @param info Response info struct containing response type, serial no. and error
   1315      * @param enable false for Standard Privacy Mode (Public Long Code Mask)
   1316      *        true for Enhanced Privacy Mode (Private Long Code Mask)
   1317      *
   1318      * Valid errors:
   1319      *   RadioError:NONE
   1320      *   RadioError:RADIO_NOT_AVAILABLE
   1321      *   RadioError:INVALID_ARGUMENTS
   1322      *   RadioError:MODEM_ERR
   1323      *   RadioError:INTERNAL_ERR
   1324      *   RadioError:NO_MEMORY
   1325      *   RadioError:SYSTEM_ERR
   1326      *   RadioError:REQUEST_NOT_SUPPORTED
   1327      */
   1328     oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
   1329 
   1330     /**
   1331      * Response callback for IRadio.sendCDMAFeatureCode()
   1332      *
   1333      * @param info Response info struct containing response type, serial no. and error
   1334      *
   1335      * Valid errors returned:
   1336      *   RadioError:NONE
   1337      *   RadioError:RADIO_NOT_AVAILABLE
   1338      *   RadioError:INVALID_ARGUMENTS
   1339      *   RadioError:NO_MEMORY
   1340      *   RadioError:INTERNAL_ERR
   1341      *   RadioError:SYSTEM_ERR
   1342      *   RadioError:MODEM_ERR
   1343      *   RadioError:INVALID_CALL_ID
   1344      *   RadioError:INVALID_STATE
   1345      *   RadioError:REQUEST_NOT_SUPPORTED
   1346      *   RadioError:INVALID_MODEM_STATE
   1347      */
   1348     oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
   1349 
   1350     /**
   1351      * @param info Response info struct containing response type, serial no. and error
   1352      *
   1353      * Valid errors returned:
   1354      *   RadioError:NONE
   1355      *   RadioError:RADIO_NOT_AVAILABLE
   1356      *   RadioError:INVALID_ARGUMENTS
   1357      *   RadioError:NO_MEMORY
   1358      *   RadioError:INTERNAL_ERR
   1359      *   RadioError:SYSTEM_ERR
   1360      *   RadioError:MODEM_ERR
   1361      *   RadioError:INVALID_CALL_ID
   1362      *   RadioError:INVALID_STATE
   1363      *   RadioError:REQUEST_NOT_SUPPORTED
   1364      *   RadioError:MODE_NOT_SUPPORTED
   1365      */
   1366     oneway sendBurstDtmfResponse(RadioResponseInfo info);
   1367 
   1368     /**
   1369      * @param info Response info struct containing response type, serial no. and error
   1370      * @param sms Sms result struct as defined by SendSmsResult in types.hal
   1371      *
   1372      * Valid errors returned:
   1373      *   RadioError:NONE
   1374      *   RadioError:RADIO_NOT_AVAILABLE
   1375      *   RadioError:INVALID_ARGUMENTS
   1376      *   RadioError:SMS_SEND_FAIL_RETRY
   1377      *   RadioError:NETWORK_REJECT
   1378      *   RadioError:INVALID_STATE
   1379      *   RadioError:NO_MEMORY
   1380      *   RadioError:REQUEST_RATE_LIMITED
   1381      *   RadioError:INVALID_SMS_FORMAT
   1382      *   RadioError:SYSTEM_ERR
   1383      *   RadioError:FDN_CHECK_FAILURE
   1384      *   RadioError:MODEM_ERR
   1385      *   RadioError:NETWORK_ERR
   1386      *   RadioError:ENCODING_ERR
   1387      *   RadioError:INVALID_SMSC_ADDRESS
   1388      *   RadioError:MODE_NOT_SUPPORTED
   1389      *   RadioError:INTERNAL_ERR
   1390      *   RadioError:SYSTEM_ERR
   1391      *   RadioError:REQUEST_NOT_SUPPORTED
   1392      *   RadioError:OPERATION_NOT_ALLOWED
   1393      *   RadioError:ENCODING_ERR
   1394      */
   1395     oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
   1396 
   1397     /**
   1398      * @param info Response info struct containing response type, serial no. and error
   1399      *
   1400      * Valid errors returned:
   1401      *   RadioError:NONE
   1402      *   RadioError:RADIO_NOT_AVAILABLE
   1403      *   RadioError:INVALID_ARGUMENTS
   1404      *   RadioError:NO_SMS_TO_ACK
   1405      *   RadioError:INVALID_STATE
   1406      *   RadioError:NO_MEMORY
   1407      *   RadioError:REQUEST_RATE_LIMITED
   1408      *   RadioError:SYSTEM_ERR
   1409      *   RadioError:MODEM_ERR
   1410      *   RadioError:MODE_NOT_SUPPORTED
   1411      *   RadioError:NETWORK_NOT_READY
   1412      *   RadioError:INVALID_MODEM_STATE
   1413      *   RadioError:INTERNAL_ERR
   1414      *   RadioError:REQUEST_NOT_SUPPORTED
   1415      *   RadioError:OPERATION_NOT_ALLOWED
   1416      */
   1417     oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
   1418 
   1419     /**
   1420      * @param info Response info struct containing response type, serial no. and error
   1421      * @param configs Vector of GSM/WCDMA Cell broadcast configs
   1422      *
   1423      * Valid errors returned:
   1424      *   RadioError:NONE
   1425      *   RadioError:RADIO_NOT_AVAILABLE
   1426      *   RadioError:INVALID_ARGUMENTS
   1427      *   RadioError:INVALID_STATE
   1428      *   RadioError:NO_MEMORY
   1429      *   RadioError:REQUEST_RATE_LIMITED
   1430      *   RadioError:SYSTEM_ERR
   1431      *   RadioError:MODEM_ERR
   1432      *   RadioError:NO_RESOURCES
   1433      *   RadioError:INTERNAL_ERR
   1434      *   RadioError:REQUEST_NOT_SUPPORTED
   1435      */
   1436     oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
   1437             vec<GsmBroadcastSmsConfigInfo> configs);
   1438 
   1439     /**
   1440      * @param info Response info struct containing response type, serial no. and error
   1441      *
   1442      * Valid errors returned:
   1443      *   RadioError:NONE
   1444      *   RadioError:RADIO_NOT_AVAILABLE
   1445      *   RadioError:INVALID_ARGUMENTS
   1446      *   RadioError:INVALID_STATE
   1447      *   RadioError:NO_MEMORY
   1448      *   RadioError:REQUEST_RATE_LIMITED
   1449      *   RadioError:SYSTEM_ERR
   1450      *   RadioError:MODEM_ERR
   1451      *   RadioError:INTERNAL_ERR
   1452      *   RadioError:REQUEST_NOT_SUPPORTED
   1453      */
   1454     oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
   1455 
   1456     /**
   1457      * @param info Response info struct containing response type, serial no. and error
   1458      *
   1459      * Valid errors returned:
   1460      *   RadioError:NONE
   1461      *   RadioError:RADIO_NOT_AVAILABLE
   1462      *   RadioError:INVALID_ARGUMENTS
   1463      *   RadioError:INVALID_STATE
   1464      *   RadioError:NO_MEMORY
   1465      *   RadioError:REQUEST_RATE_LIMITED
   1466      *   RadioError:SYSTEM_ERR
   1467      *   RadioError:MODEM_ERR
   1468      *   RadioError:INTERNAL_ERR
   1469      *   RadioError:REQUEST_NOT_SUPPORTED
   1470      *   RadioError:OPERATION_NOT_ALLOWED
   1471      */
   1472     oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
   1473 
   1474     /**
   1475      * @param info Response info struct containing response type, serial no. and error
   1476      * @param configs Vector of CDMA Broadcast SMS configs.
   1477      *
   1478      * Valid errors returned:
   1479      *   RadioError:NONE
   1480      *   RadioError:RADIO_NOT_AVAILABLE
   1481      *   RadioError:INVALID_ARGUMENTS
   1482      *   RadioError:INVALID_STATE
   1483      *   RadioError:NO_MEMORY
   1484      *   RadioError:REQUEST_RATE_LIMITED
   1485      *   RadioError:SYSTEM_ERR
   1486      *   RadioError:MODEM_ERR
   1487      *   RadioError:NO_RESOURCES
   1488      *   RadioError:INTERNAL_ERR
   1489      *   RadioError:REQUEST_NOT_SUPPORTED
   1490      */
   1491     oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
   1492             vec<CdmaBroadcastSmsConfigInfo> configs);
   1493 
   1494     /**
   1495      * @param info Response info struct containing response type, serial no. and error
   1496      *
   1497      * Valid errors returned:
   1498      *   RadioError:NONE
   1499      *   RadioError:RADIO_NOT_AVAILABLE
   1500      *   RadioError:INVALID_ARGUMENTS
   1501      *   RadioError:INVALID_STATE
   1502      *   RadioError:NO_MEMORY
   1503      *   RadioError:REQUEST_RATE_LIMITED
   1504      *   RadioError:SYSTEM_ERR
   1505      *   RadioError:MODEM_ERR
   1506      *   RadioError:INTERNAL_ERR
   1507      *   RadioError:REQUEST_NOT_SUPPORTED
   1508      */
   1509     oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
   1510 
   1511     /**
   1512      * @param info Response info struct containing response type, serial no. and error
   1513      *
   1514      * Valid errors returned:
   1515      *   RadioError:NONE
   1516      *   RadioError:RADIO_NOT_AVAILABLE
   1517      *   RadioError:INVALID_ARGUMENTS
   1518      *   RadioError:INVALID_STATE
   1519      *   RadioError:NO_MEMORY
   1520      *   RadioError:REQUEST_RATE_LIMITED
   1521      *   RadioError:SYSTEM_ERR
   1522      *   RadioError:MODEM_ERR
   1523      *   RadioError:INTERNAL_ERR
   1524      *   RadioError:REQUEST_NOT_SUPPORTED
   1525      *   RadioError:OPERATION_NOT_ALLOWED
   1526      */
   1527     oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
   1528 
   1529     /**
   1530      * @param info Response info struct containing response type, serial no. and error
   1531      * @param mdn MDN if CDMA subscription is available
   1532      * @param hSid is a comma separated list of H_SID (Home SID) if
   1533      *        CDMA subscription is available, in decimal format
   1534      * @param hNid is a comma separated list of H_NID (Home NID) if
   1535      *        CDMA subscription is available, in decimal format
   1536      * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
   1537      * @param prl PRL version if CDMA subscription is available
   1538      *
   1539      * Valid errors returned:
   1540      *   RadioError:NONE
   1541      *   RadioError:RADIO_NOT_AVAILABLE
   1542      *   RadioError:SUBSCRIPTION_NOT_AVAILABLE
   1543      *   RadioError:NO_MEMORY
   1544      *   RadioError:INTERNAL_ERR
   1545      *   RadioError:SYSTEM_ERR
   1546      *   RadioError:INVALID_ARGUMENTS
   1547      *   RadioError:MODEM_ERR
   1548      *   RadioError:NOT_PROVISIONED
   1549      *   RadioError:REQUEST_NOT_SUPPORTED
   1550      */
   1551     oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
   1552             string hNid, string min, string prl);
   1553 
   1554     /**
   1555      * @param info Response info struct containing response type, serial no. and error
   1556      * @param index record index where the cmda sms message is stored
   1557      *
   1558      * Valid errors returned:
   1559      *   RadioError:NONE
   1560      *   RadioError:RADIO_NOT_AVAILABLE
   1561      *   RadioError:INVALID_ARGUMENTS
   1562      *   RadioError:INVALID_SMS_FORMAT
   1563      *   RadioError:SIM_FULL
   1564      *   RadioError:INTERNAL_ERR
   1565      *   RadioError:MODEM_ERR
   1566      *   RadioError:ENCODING_ERR
   1567      *   RadioError:NO_MEMORY
   1568      *   RadioError:NO_RESOURCES
   1569      *   RadioError:INVALID_MODEM_STATE
   1570      *   RadioError:MODE_NOT_SUPPORTED
   1571      *   RadioError:INVALID_SMSC_ADDRESS
   1572      *   RadioError:SYSTEM_ERR
   1573      *   RadioError:REQUEST_NOT_SUPPORTED
   1574      *   RadioError:OPERATION_NOT_ALLOWED
   1575      */
   1576     oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
   1577 
   1578     /**
   1579      * @param info Response info struct containing response type, serial no. and error
   1580      *
   1581      * Valid errors returned:
   1582      *   RadioError:NONE
   1583      *   RadioError:RADIO_NOT_AVAILABLE
   1584      *   RadioError:INVALID_ARGUMENTS
   1585      *   RadioError:NO_MEMORY
   1586      *   RadioError:SYSTEM_ERR
   1587      *   RadioError:MODEM_ERR
   1588      *   RadioError:NO_SUCH_ENTRY
   1589      *   RadioError:INTERNAL_ERR
   1590      *   RadioError:REQUEST_NOT_SUPPORTED
   1591      *   RadioError:INVALID_MODEM_STATE
   1592      */
   1593     oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
   1594 
   1595     /**
   1596      * @param info Response info struct containing response type, serial no. and error
   1597      * @param imei IMEI if GSM subscription is available
   1598      * @param imeisv IMEISV if GSM subscription is available
   1599      * @param esn ESN if CDMA subscription is available
   1600      * @param meid MEID if CDMA subscription is available
   1601      *
   1602      * Valid errors returned:
   1603      *   RadioError:NONE
   1604      *   RadioError:RADIO_NOT_AVAILABLE
   1605      *   RadioError:NO_MEMORY
   1606      *   RadioError:INTERNAL_ERR
   1607      *   RadioError:SYSTEM_ERR
   1608      *   RadioError:INVALID_ARGUMENTS
   1609      *   RadioError:MODEM_ERR
   1610      *   RadioError:NOT_PROVISIONED
   1611      *
   1612      * If a empty string value is returned for any of the device id, it means that there was error
   1613      * accessing the device.
   1614      *
   1615      */
   1616     oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
   1617             string esn, string meid);
   1618 
   1619     /**
   1620      * @param info Response info struct containing response type, serial no. and error
   1621      *
   1622      * Valid errors returned:
   1623      *   RadioError:NONE
   1624      *   RadioError:RADIO_NOT_AVAILABLE
   1625      *   RadioError:OPERATION_NO_ALLOWED
   1626      *   RadioError:INTERNAL_ERR
   1627      *   RadioError:NO_MEMORY
   1628      *   RadioError:SYSTEM_ERR
   1629      *   RadioError:INVALID_ARGUMENTS
   1630      *   RadioError:MODEM_ERR
   1631      *   RadioError:REQUEST_NOT_SUPPORTED
   1632      */
   1633     oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
   1634 
   1635     /**
   1636      * @param info Response info struct containing response type, serial no. and error
   1637      * @param smsc Short Message Service Center address on the device
   1638      *
   1639      * Valid errors returned:
   1640      *   RadioError:NONE
   1641      *   RadioError:RADIO_NOT_AVAILABLE
   1642      *   RadioError:INVALID_ARGUMENTS
   1643      *   RadioError:INTERNAL_ERR
   1644      *   RadioError:NO_MEMORY
   1645      *   RadioError:SYSTEM_ERR
   1646      *   RadioError:REQUEST_RATE_LIMITED
   1647      *   RadioError:MODEM_ERR
   1648      *   RadioError:INVALID_MODEM_STATE
   1649      *   RadioError:NOT_PROVISIONED
   1650      *   RadioError:REQUEST_NOT_SUPPORTED
   1651      *   RadioError:OPERATION_NOT_ALLOWED
   1652      */
   1653     oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
   1654 
   1655     /**
   1656      * @param info Response info struct containing response type, serial no. and error
   1657      *
   1658      * Valid errors returned:
   1659      *   RadioError:NONE
   1660      *   RadioError:RADIO_NOT_AVAILABLE
   1661      *   RadioError:INVALID_ARGUMENTS
   1662      *   RadioError:INVALID_SMS_FORMAT
   1663      *   RadioError:NO_MEMORY
   1664      *   RadioError:SYSTEM_ERR
   1665      *   RadioError:REQUEST_RATE_LIMITED
   1666      *   RadioError:MODEM_ERR
   1667      *   RadioError:NO_RESOURCES
   1668      *   RadioError:INTERNAL_ERR
   1669      *   RadioError:REQUEST_NOT_SUPPORTED
   1670      *   RadioError:OPERATION_NOT_ALLOWED
   1671      */
   1672     oneway setSmscAddressResponse(RadioResponseInfo info);
   1673 
   1674     /**
   1675      * @param info Response info struct containing response type, serial no. and error
   1676      *
   1677      * Valid errors returned:
   1678      *   RadioError:NONE
   1679      *   RadioError:RADIO_NOT_AVAILABLE
   1680      *   RadioError:INVALID_ARGUMENTS
   1681      *   RadioError:NO_MEMORY
   1682      *   RadioError:SYSTEM_ERR
   1683      *   RadioError:REQUEST_RATE_LIMITED
   1684      *   RadioError:MODEM_ERR
   1685      *   RadioError:INVALID_STATE
   1686      *   RadioError:INTERNAL_ERR
   1687      *   RadioError:REQUEST_NOT_SUPPORTED
   1688      */
   1689     oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
   1690 
   1691     /**
   1692      * @param info Response info struct containing response type, serial no. and error
   1693      *
   1694      * Valid errors returned:
   1695      *   RadioError:NONE
   1696      *   RadioError:RADIO_NOT_AVAILABLE
   1697      */
   1698     oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
   1699 
   1700     /**
   1701      * @param info Response info struct containing response type, serial no. and error
   1702      * @param source CDMA subscription source
   1703      *
   1704      * Valid errors returned:
   1705      *   RadioError:NONE
   1706      *   RadioError:RADIO_NOT_AVAILABLE
   1707      *   RadioError:SUBSCRIPTION_NOT_AVAILABLE
   1708      */
   1709     oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
   1710 
   1711     /**
   1712      * @param info Response info struct containing response type, serial no. and error
   1713      * @param response response string of the challenge/response algo for ISIM auth in base64 format
   1714      *
   1715      * Valid errors returned:
   1716      *   RadioError:NONE
   1717      *   RadioError:RADIO_NOT_AVAILABLE
   1718      */
   1719     oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
   1720 
   1721     /**
   1722      * @param info Response info struct containing response type, serial no. and error
   1723      *
   1724      * Valid errors returned:
   1725      *   RadioError:NONE
   1726      *   RadioError:RADIO_NOT_AVAILABLE
   1727      */
   1728     oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
   1729 
   1730     /**
   1731      * @param info Response info struct containing response type, serial no. and error
   1732      * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
   1733      *
   1734      * Valid errors returned:
   1735      *   RadioError:NONE
   1736      *   RadioError:RADIO_NOT_AVAILABLE
   1737      *   RadioError:SIM_BUSY
   1738      *   RadioError:OPERATION_NOT_ALLOWED
   1739      */
   1740     oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
   1741 
   1742     /**
   1743      * @param info Response info struct containing response type, serial no. and error
   1744      * @param rat Current voice RAT
   1745      *
   1746      * Valid errors returned:
   1747      *   RadioError:NONE
   1748      *   RadioError:RADIO_NOT_AVAILABLE
   1749      */
   1750     oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
   1751 
   1752     /**
   1753      * @param info Response info struct containing response type, serial no. and error
   1754      * @param cellInfo List of current cell information known to radio
   1755      *
   1756      * Valid errors returned:
   1757      *   RadioError:NONE
   1758      *   RadioError:RADIO_NOT_AVAILABLE
   1759      *   RadioError:NO_MEMORY
   1760      *   RadioError:INTERNAL_ERR
   1761      *   RadioError:SYSTEM_ERR
   1762      *   RadioError:MODEM_ERR
   1763      *   RadioError:NO_NETWORK_FOUND
   1764      *   RadioError:REQUEST_NOT_SUPPORTED
   1765      */
   1766     oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
   1767 
   1768     /**
   1769      * @param info Response info struct containing response type, serial no. and error
   1770      *
   1771      * Valid errors returned:
   1772      *   RadioError:NONE
   1773      *   RadioError:RADIO_NOT_AVAILABLE
   1774      *   RadioError:NO_MEMORY
   1775      *   RadioError:INTERNAL_ERR
   1776      *   RadioError:SYSTEM_ERR
   1777      *   RadioError:INVALID_ARGUMENTS
   1778      */
   1779     oneway setCellInfoListRateResponse(RadioResponseInfo info);
   1780 
   1781     /**
   1782      * @param info Response info struct containing response type, serial no. and error
   1783      *
   1784      * Valid errors returned:
   1785      *   RadioError:NONE
   1786      *   RadioError:RADIO_NOT_AVAILABLE
   1787      *   RadioError:SUBSCRIPTION_NOT_AVAILABLE
   1788      *   RadioError:NO_MEMORY
   1789      *   RadioError:INTERNAL_ERR
   1790      *   RadioError:SYSTEM_ERR
   1791      *   RadioError:MODEM_ERR
   1792      *   RadioError:INVALID_ARGUMENTS
   1793      *   RadioError:NOT_PROVISIONED
   1794      *   RadioError:REQUEST_NOT_SUPPORTED
   1795      */
   1796     oneway setInitialAttachApnResponse(RadioResponseInfo info);
   1797 
   1798     /**
   1799      * @param info Response info struct containing response type, serial no. and error
   1800      * @param isRegistered false = not registered, true = registered
   1801      * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
   1802      *        isRegistered is true.
   1803      *
   1804      * Valid errors returned:
   1805      *   RadioError:NONE
   1806      *   RadioError:RADIO_NOT_AVAILABLE
   1807      *   RadioError:NO_MEMORY
   1808      *   RadioError:INTERNAL_ERR
   1809      *   RadioError:SYSTEM_ERR
   1810      *   RadioError:REQUEST_NOT_SUPPORTED
   1811      *   RadioError:MODEM_ERR
   1812      *   RadioError:INVALID_MODEM_STATE
   1813      */
   1814     oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
   1815             RadioTechnologyFamily ratFamily);
   1816 
   1817     /**
   1818      * @param info Response info struct containing response type, serial no. and error
   1819      * @param sms Response to sms sent as defined by SendSmsResult in types.hal
   1820      *
   1821      * Valid errors returned:
   1822      *   RadioError:NONE
   1823      *   RadioError:RADIO_NOT_AVAILABLE
   1824      *   RadioError:SMS_SEND_FAIL_RETRY
   1825      *   RadioError:FDN_CHECK_FAILURE
   1826      *   RadioError:NETWORK_REJECT
   1827      *   RadioError:INVALID_ARGUMENTS
   1828      *   RadioError:INVALID_STATE
   1829      *   RadioError:NO_MEMORY
   1830      *   RadioError:INVALID_SMS_FORMAT
   1831      *   RadioError:SYSTEM_ERR
   1832      *   RadioError:REQUEST_RATE_LIMITED
   1833      *   RadioError:MODEM_ERR
   1834      *   RadioError:NETWORK_ERR
   1835      *   RadioError:ENCODING_ERR
   1836      *   RadioError:MODE_NOT_SUPPORTED
   1837      *   RadioError:INTERNAL_ERR
   1838      *   RadioError:REQUEST_NOT_SUPPORTED
   1839      *   RadioError:NETWORK_NOT_READY
   1840      */
   1841     oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
   1842 
   1843     /**
   1844      * @param info Response info struct containing response type, serial no. and error
   1845      * @param result IccIoResult as defined in types.hal
   1846      *
   1847      * Valid errors returned:
   1848      *   RadioError:NONE
   1849      *   RadioError:RADIO_NOT_AVAILABLE
   1850      */
   1851     oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
   1852 
   1853     /**
   1854      * @param info Response info struct containing response type, serial no. and error
   1855      * @param channelId session id of the logical channel.
   1856      * @param selectResponse Contains the select response for the open channel command with one
   1857      *        byte per integer
   1858      *
   1859      * Valid errors returned:
   1860      *   RadioError:NONE
   1861      *   RadioError:RADIO_NOT_AVAILABLE
   1862      *   RadioError:MISSING_RESOURCE
   1863      *   RadioError:NO_SUCH_ELEMENT
   1864      */
   1865     oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
   1866             vec<int8_t> selectResponse);
   1867 
   1868     /**
   1869      * @param info Response info struct containing response type, serial no. and error
   1870      *
   1871      * Valid errors returned:
   1872      *   RadioError:NONE
   1873      *   RadioError:RADIO_NOT_AVAILABLE
   1874      */
   1875     oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
   1876 
   1877     /**
   1878      * @param info Response info struct containing response type, serial no. and error
   1879      * @param result IccIoResult as defined in types.hal
   1880      *
   1881      * Valid errors returned:
   1882      *   RadioError:NONE
   1883      *   RadioError:RADIO_NOT_AVAILABLE
   1884      */
   1885     oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
   1886 
   1887     /**
   1888      * @param info Response info struct containing response type, serial no. and error
   1889      * @param result string containing the contents of the NV item
   1890      *
   1891      * Valid errors returned:
   1892      *   RadioError:NONE
   1893      *   RadioError:RADIO_NOT_AVAILABLE
   1894      */
   1895     oneway nvReadItemResponse(RadioResponseInfo info, string result);
   1896 
   1897     /**
   1898      * @param info Response info struct containing response type, serial no. and error
   1899      *
   1900      * Valid errors returned:
   1901      *   RadioError:NONE
   1902      *   RadioError:RADIO_NOT_AVAILABLE
   1903      */
   1904     oneway nvWriteItemResponse(RadioResponseInfo info);
   1905 
   1906     /**
   1907      * @param info Response info struct containing response type, serial no. and error
   1908      *
   1909      * Valid errors returned:
   1910      *   RadioError:NONE
   1911      *   RadioError:RADIO_NOT_AVAILABLE
   1912      */
   1913     oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
   1914 
   1915     /**
   1916      * @param info Response info struct containing response type, serial no. and error
   1917      *
   1918      * Valid errors returned:
   1919      *   RadioError:NONE
   1920      *   RadioError:RADIO_NOT_AVAILABLE
   1921      */
   1922     oneway nvResetConfigResponse(RadioResponseInfo info);
   1923 
   1924     /**
   1925      * @param info Response info struct containing response type, serial no. and error
   1926      *
   1927      * Valid errors returned:
   1928      *   RadioError:NONE
   1929      *   RadioError:RADIO_NOT_AVAILABLE
   1930      *   RadioError:SUBSCRIPTION_NOT_SUPPORTED
   1931      *   RadioError:NO_MEMORY
   1932      *   RadioError:INTERNAL_ERR
   1933      *   RadioError:SYSTEM_ERR
   1934      *   RadioError:MODEM_ERR
   1935      *   RadioError:INVALID_ARGUMENTS
   1936      *   RadioError:REQUEST_NOT_SUPPORTED
   1937      */
   1938     oneway setUiccSubscriptionResponse(RadioResponseInfo info);
   1939 
   1940     /**
   1941      * @param info Response info struct containing response type, serial no. and error
   1942      *
   1943      * Valid errors returned:
   1944      *   RadioError:NONE
   1945      *   RadioError:RADIO_NOT_AVAILABLE
   1946      *   RadioError:NO_MEMORY
   1947      *   RadioError:INTERNAL_ERR
   1948      *   RadioError:SYSTEM_ERR
   1949      *   RadioError:MODEM_ERR
   1950      *   RadioError:INVALID_ARGUMENTS
   1951      *   RadioError:DEVICE_IN_USE
   1952      *   RadioError:INVALID_MODEM_STATE
   1953      */
   1954     oneway setDataAllowedResponse(RadioResponseInfo info);
   1955 
   1956     /**
   1957      * @param info Response info struct containing response type, serial no. and error
   1958      * @param config Array of HardwareConfig of the radio.
   1959      *
   1960      * Valid errors returned:
   1961      *   RadioError:NONE
   1962      *   RadioError:RADIO_NOT_AVAILABLE
   1963      */
   1964     oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
   1965 
   1966     /**
   1967      * @param info Response info struct containing response type, serial no. and error
   1968      * @param result IccIoResult as defined in types.hal
   1969      *
   1970      * Valid errors returned:
   1971      *   RadioError:NONE
   1972      *   RadioError:RADIO_NOT_AVAILABLE
   1973      */
   1974     oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
   1975 
   1976     /**
   1977      * @param info Response info struct containing response type, serial no. and error
   1978      *
   1979      * Valid errors returned:
   1980      *   RadioError:NONE
   1981      *   RadioError:RADIO_NOT_AVAILABLE
   1982      *   RadioError:SUBSCRIPTION_NOT_AVAILABLE
   1983      */
   1984     oneway setDataProfileResponse(RadioResponseInfo info);
   1985 
   1986     /**
   1987      * @param info Response info struct containing response type, serial no. and error
   1988      *
   1989      * Valid errors returned:
   1990      *   RadioError:NONE
   1991      *   RadioError:RADIO_NOT_AVAILABLE
   1992      *   RadioError:OPERATION_NOT_ALLOWED
   1993      *   RadioError:NO_MEMORY
   1994      *   RadioError:INTERNAL_ERR
   1995      *   RadioError:SYSTEM_ERR
   1996      *   RadioError:REQUEST_NOT_SUPPORTED
   1997      */
   1998     oneway requestShutdownResponse(RadioResponseInfo info);
   1999 
   2000     /**
   2001      * @param info Response info struct containing response type, serial no. and error
   2002      * @param rc Radio capability as defined by RadioCapability in types.hal
   2003      *
   2004      * Valid errors returned:
   2005      *   RadioError:NONE
   2006      *   RadioError:RADIO_NOT_AVAILABLE
   2007      *   RadioError:OPERATION_NOT_ALLOWED
   2008      *   RadioError:INVALID_STATE
   2009      *   RadioError:REQUEST_NOT_SUPPORTED
   2010      */
   2011     oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
   2012 
   2013     /**
   2014      * @param info Response info struct containing response type, serial no. and error
   2015      * @param rc Radio capability as defined by RadioCapability in types.hal used to
   2016      *        feedback return status
   2017      *
   2018      * Valid errors returned:
   2019      *   RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
   2020      *   RadioError:RADIO_NOT_AVAILABLE
   2021      *   RadioError:OPERATION_NOT_ALLOWED
   2022      *   RadioError:NO_MEMORY
   2023      *   RadioError:INTERNAL_ERR
   2024      *   RadioError:SYSTEM_ERR
   2025      *   RadioError:INVALID_ARGUMENTS
   2026      *   RadioError:MODEM_ERR
   2027      *   RadioError:INVALID_STATE
   2028      *   RadioError:REQUEST_NOT_SUPPORTED
   2029      */
   2030     oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
   2031 
   2032     /**
   2033      * @param info Response info struct containing response type, serial no. and error
   2034      * @param statusInfo LceStatusInfo indicating LCE status
   2035      *
   2036      * Valid errors returned:
   2037      *   RadioError:NONE
   2038      *   RadioError:RADIO_NOT_AVAILABLE
   2039      *   RadioError:LCE_NOT_SUPPORTED
   2040      *   RadioError:INTERNAL_ERR
   2041      *   RadioError:REQUEST_NOT_SUPPORTED
   2042      */
   2043     oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
   2044 
   2045     /**
   2046      * @param info Response info struct containing response type, serial no. and error
   2047      * @param statusInfo LceStatusInfo indicating LCE status
   2048      *
   2049      * Valid errors returned:
   2050      *   RadioError:NONE
   2051      *   RadioError:RADIO_NOT_AVAILABLE
   2052      *   RadioError:LCE_NOT_SUPPORTED
   2053      */
   2054     oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
   2055 
   2056     /**
   2057      * @param info Response info struct containing response type, serial no. and error
   2058      * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
   2059      *
   2060      * Valid errors returned:
   2061      *   RadioError:NONE
   2062      *   RadioError:RADIO_NOT_AVAILABLE
   2063      *   RadioError:LCE_NOT_SUPPORTED
   2064      *   RadioError:INTERNAL_ERR
   2065      */
   2066     oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
   2067 
   2068     /**
   2069      * @param info Response info struct containing response type, serial no. and error
   2070      * @param activityInfo modem activity information
   2071      *
   2072      * Valid errors returned:
   2073      *   RadioError:NONE
   2074      *   RadioError:RADIO_NOT_AVAILABLE
   2075      *   RadioError:NO_MEMORY
   2076      *   RadioError:INTERNAL_ERR
   2077      *   RadioError:SYSTEM_ERR
   2078      *   RadioError:MODEM_ERR
   2079      *   RadioError:NOT_PROVISIONED
   2080      */
   2081     oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
   2082 
   2083     /**
   2084      * @param info Response info struct containing response type, serial no. and error
   2085      * @param numAllowed number of allowed carriers which have been set correctly.
   2086      *        On success, it must match the length of list Carriers->allowedCarriers.
   2087      *        if Length of allowed carriers list is 0, numAllowed = 0.
   2088      *
   2089      * Valid errors returned:
   2090      *   RadioError:NONE
   2091      *   RadioError:RADIO_NOT_AVAILABLE
   2092      *   RadioError:INVALID_ARGUMENTS
   2093      *   RadioError:REQUEST_NOT_SUPPORTED
   2094      */
   2095     oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
   2096 
   2097     /**
   2098      * Expected modem behavior:
   2099      *  Return list of allowed carriers, and if all carriers are allowed.
   2100      *
   2101      * @param info Response info struct containing response type, serial no. and error
   2102      * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
   2103      *        If false, consider "carriers" struct
   2104      * @param carriers Carrier restriction information.
   2105      *
   2106      * Valid errors returned:
   2107      *   RadioError:NONE
   2108      *   RadioError:RADIO_NOT_AVAILABLE
   2109      *   RadioError:REQUEST_NOT_SUPPORTED
   2110      */
   2111     oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
   2112             CarrierRestrictions carriers);
   2113 
   2114     /**
   2115      * @param info Response info struct containing response type, serial no. and error
   2116      *
   2117      * Valid errors returned:
   2118      *   RadioError:NONE
   2119      *   RadioError:RADIO_NOT_AVAILABLE
   2120      *   RadioError:NO_MEMORY
   2121      *   RadioError:INTERNAL_ERR
   2122      *   RadioError:SYSTEM_ERR
   2123      *   RadioError:INVALID_ARGUMENTS
   2124      *   RadioError:REQUEST_NOT_SUPPORTED
   2125      */
   2126     oneway sendDeviceStateResponse(RadioResponseInfo info);
   2127 
   2128     /**
   2129      * @param info Response info struct containing response type, serial no. and error
   2130      *
   2131      * Valid errors returned:
   2132      *   RadioError:NONE
   2133      *   RadioError:INVALID_ARGUMENTS
   2134      *   RadioError:RADIO_NOT_AVAILABLE
   2135      *   RadioError:NO_MEMORY
   2136      *   RadioError:INTERNAL_ERR
   2137      *   RadioError:SYSTEM_ERR
   2138      *   RadioError:REQUEST_NOT_SUPPORTED
   2139      */
   2140     oneway setIndicationFilterResponse(RadioResponseInfo info);
   2141 
   2142     /**
   2143      * @param info Response info struct containing response type, serial no. and error
   2144      *
   2145      * Valid errors returned:
   2146      *   RadioError:NONE
   2147      *   RadioError:RADIO_NOT_AVAILABLE
   2148      *   RadioError:REQUEST_NOT_SUPPORTED
   2149      *   RadioError:INVALID_ARGUMENTS
   2150      */
   2151     oneway setSimCardPowerResponse(RadioResponseInfo info);
   2152 
   2153     /**
   2154      * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
   2155      * radio request which take long time to respond.
   2156      * For more details, refer https://source.android.com/devices/tech/connect/ril.html
   2157      *
   2158      * @param serial Serial no. of the request whose acknowledgement is sent.
   2159      */
   2160     oneway acknowledgeRequest(int32_t serial);
   2161 };
   2162