Jayachandran C | 262b606 | 2020-07-22 15:53:58 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2020 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.6; |
| 18 | |
allenwtsu | 1c3dcd3 | 2020-09-25 17:58:01 +0800 | [diff] [blame] | 19 | |
| 20 | import @1.0::CdmaSmsMessage; |
| 21 | import @1.0::GsmSmsMessage; |
Jordan Liu | e4f5f02 | 2020-10-21 16:28:40 -0700 | [diff] [blame] | 22 | import @1.1::CardPowerState; |
Jayachandran C | 9bc276b | 2020-07-24 00:46:58 -0700 | [diff] [blame] | 23 | import @1.2::DataRequestReason; |
ThiƩbaud Weksteen | 5ae16f3 | 2020-08-21 16:46:07 +0200 | [diff] [blame] | 24 | import @1.4::RadioAccessFamily; |
Jayachandran C | 262b606 | 2020-07-22 15:53:58 -0700 | [diff] [blame] | 25 | import @1.5::IRadio; |
Jayachandran C | 9bc276b | 2020-07-24 00:46:58 -0700 | [diff] [blame] | 26 | import @1.5::AccessNetwork; |
| 27 | import @1.5::DataProfileInfo; |
| 28 | import @1.5::LinkAddress; |
Jayachandran C | 262b606 | 2020-07-22 15:53:58 -0700 | [diff] [blame] | 29 | |
| 30 | /** |
| 31 | * This interface is used by telephony and telecom to talk to cellular radio. |
| 32 | * All the functions have minimum one parameter: |
| 33 | * serial: which corresponds to serial no. of request. Serial numbers must only be memorized for the |
| 34 | * duration of a method call. If clients provide colliding serials (including passing the same |
| 35 | * serial to different methods), multiple responses (one for each method call) must still be served. |
Jayachandran C | 9bc276b | 2020-07-24 00:46:58 -0700 | [diff] [blame] | 36 | * setResponseFunctions must work with @1.6::IRadioResponse and @1.6::IRadioIndication. |
Jayachandran C | 262b606 | 2020-07-22 15:53:58 -0700 | [diff] [blame] | 37 | */ |
| 38 | interface IRadio extends @1.5::IRadio { |
Jayachandran C | 9bc276b | 2020-07-24 00:46:58 -0700 | [diff] [blame] | 39 | /** |
Tim Lin | e29df60 | 2020-09-26 22:43:24 +0800 | [diff] [blame] | 40 | * Toggle radio on and off (for "airplane" mode) |
| 41 | * If the radio is turned off/on the radio modem subsystem |
| 42 | * is expected return to an initialized state. For instance, |
| 43 | * any voice and data calls must be terminated and all associated |
| 44 | * lists emptied. |
| 45 | * |
| 46 | * When setting radio power on to exit from airplane mode to place an emergency call on this |
| 47 | * logical modem, powerOn, forEmergencyCall and preferredForEmergencyCall must be true. In |
| 48 | * this case, this modem is optimized to scan only emergency call bands, until: |
| 49 | * 1) Emergency call is completed; or |
| 50 | * 2) Another setRadioPower_1_5 is issued with forEmergencyCall being false or |
| 51 | * preferredForEmergencyCall being false; or |
| 52 | * 3) Timeout after 30 seconds if dial or emergencyDial is not called. |
| 53 | * Once one of these conditions is reached, the modem should move into normal operation. |
| 54 | * |
| 55 | * @param serial Serial number of request. |
| 56 | * @param powerOn To turn on radio -> on = true, to turn off radio -> on = false. |
| 57 | * @param forEmergencyCall To indication to radio if this request is due to emergency call. |
| 58 | * No effect if powerOn is false. |
| 59 | * @param preferredForEmergencyCall indicate whether the following emergency call will be sent |
| 60 | * on this modem or not. No effect if forEmergencyCall is false, or powerOn is false. |
| 61 | * |
| 62 | * Response callback is IRadioConfigResponse. setRadioPowerResponse_1_6. |
| 63 | |
| 64 | * Note this API is the same as the 1.5 |
| 65 | */ |
| 66 | oneway setRadioPower_1_6(int32_t serial, bool powerOn, bool forEmergencyCall, |
| 67 | bool preferredForEmergencyCall); |
| 68 | |
| 69 | /** |
Jayachandran C | 9bc276b | 2020-07-24 00:46:58 -0700 | [diff] [blame] | 70 | * Returns the data call list. An entry is added when a setupDataCall() is issued and removed |
| 71 | * on a deactivateDataCall(). The list is emptied when setRadioPower() off/on issued or when |
| 72 | * the vendor HAL or modem crashes. |
| 73 | * |
| 74 | * @param serial Serial number of request. |
| 75 | * |
| 76 | * Response function is IRadioResponse.getDataCallListResponse_1_6() |
| 77 | */ |
| 78 | oneway getDataCallList_1_6(int32_t serial); |
| 79 | |
| 80 | /** |
| 81 | * Setup a packet data connection. If DataCallResponse.status returns DataCallFailCause:NONE, |
| 82 | * the data connection must be added to data calls and a unsolDataCallListChanged() must be |
| 83 | * sent. The call remains until removed by subsequent unsolDataCallIstChanged(). It may be |
| 84 | * lost due to many factors, including deactivateDataCall() being issued, the radio powered |
| 85 | * off, reception lost or even transient factors like congestion. This data call list is |
| 86 | * returned by getDataCallList() and dataCallListChanged(). |
| 87 | * |
| 88 | * The Radio is expected to: |
| 89 | * - Create one data call context. |
| 90 | * - Create and configure a dedicated interface for the context. |
| 91 | * - The interface must be point to point. |
| 92 | * - The interface is configured with one or more addresses and is capable of sending and |
| 93 | * receiving packets. The format is IP address with optional "/" prefix length |
| 94 | * (The format is defined in RFC-4291 section 2.3). For example, "192.0.1.3", |
| 95 | * "192.0.1.11/16", or "2001:db8::1/64". Typically one IPv4 or one IPv6 or one of each. If |
| 96 | * the prefix length is absent, then the addresses are assumed to be point to point with |
| 97 | * IPv4 with prefix length 32 or IPv6 with prefix length 128. |
| 98 | * - Must not modify routing configuration related to this interface; routing management is |
| 99 | * exclusively within the purview of the Android OS. |
| 100 | * - Support simultaneous data call contexts up to DataRegStateResult.maxDataCalls specified |
| 101 | * in the response of getDataRegistrationState. |
| 102 | * |
| 103 | * @param serial Serial number of request. |
| 104 | * @param accessNetwork The access network to setup the data call. If the data connection cannot |
| 105 | * be established on the specified access network then it should be responded with an error. |
| 106 | * @param dataProfileInfo Data profile info. |
| 107 | * @param roamingAllowed Indicates whether or not data roaming is allowed by the user. |
| 108 | * @param reason The request reason. Must be DataRequestReason:NORMAL or |
| 109 | * DataRequestReason:HANDOVER. |
| 110 | * @param addresses If the reason is DataRequestReason:HANDOVER, this indicates the list of link |
| 111 | * addresses of the existing data connection. This parameter must be ignored unless reason |
| 112 | * is DataRequestReason:HANDOVER. |
| 113 | * @param dnses If the reason is DataRequestReason:HANDOVER, this indicates the list of DNS |
| 114 | * addresses of the existing data connection. The format is defined in RFC-4291 section 2.2. |
| 115 | * For example, "192.0.1.3" or "2001:db8::1". This parameter must be ignored unless reason |
| 116 | * is DataRequestReason:HANDOVER. |
Daniel Bright | 3c72fba | 2020-11-03 14:56:23 -0800 | [diff] [blame] | 117 | * @param pduSessionId The pdu session id to be used for this data call. A value of 0 means |
| 118 | * no pdu session id was attached to this call. |
| 119 | * Reference: 3GPP TS 24.007 section 11.2.3.1b |
Jayachandran C | 9bc276b | 2020-07-24 00:46:58 -0700 | [diff] [blame] | 120 | * |
| 121 | * Response function is IRadioResponse.setupDataCallResponse_1_6() |
| 122 | * |
| 123 | * Note this API is the same as the 1.5 |
| 124 | */ |
| 125 | oneway setupDataCall_1_6(int32_t serial, AccessNetwork accessNetwork, |
| 126 | DataProfileInfo dataProfileInfo, bool roamingAllowed, |
Daniel Bright | 3c72fba | 2020-11-03 14:56:23 -0800 | [diff] [blame] | 127 | DataRequestReason reason, vec<LinkAddress> addresses, vec<string> dnses, |
| 128 | int32_t pduSessionId); |
allenwtsu | 1c3dcd3 | 2020-09-25 17:58:01 +0800 | [diff] [blame] | 129 | |
| 130 | /** |
| 131 | * Send an SMS message |
| 132 | * |
| 133 | * @param serial Serial number of request. |
| 134 | * @param message GsmSmsMessage as defined in types.hal |
| 135 | * |
| 136 | * Response function is IRadioResponse.sendSmsResponse_1_6() |
| 137 | * |
| 138 | * Note this API is the same as the 1.0 |
| 139 | * |
| 140 | * Based on the return error, caller decides to resend if sending sms |
| 141 | * fails. RadioError:SMS_SEND_FAIL_RETRY means retry (i.e. error cause is 332) |
| 142 | * and RadioError:GENERIC_FAILURE means no retry (i.e. error cause is 500) |
| 143 | */ |
| 144 | oneway sendSms_1_6(int32_t serial, GsmSmsMessage message); |
| 145 | |
| 146 | /** |
| 147 | * Send an SMS message. Identical to sendSms_1_6, |
| 148 | * except that more messages are expected to be sent soon. If possible, |
| 149 | * keep SMS relay protocol link open (eg TS 27.005 AT+CMMS command) |
| 150 | * |
| 151 | * @param serial Serial number of request. |
| 152 | * @param message GsmSmsMessage as defined in types.hal |
| 153 | * |
| 154 | * Response function is IRadioResponse.sendSMSExpectMoreResponse_1_6() |
| 155 | * |
| 156 | * Note this API is the same as the 1.0 |
| 157 | * |
| 158 | * Based on the return error, caller decides to resend if sending sms |
| 159 | * fails. RadioError:SMS_SEND_FAIL_RETRY means retry (i.e. error cause is 332) |
| 160 | * and RadioError:GENERIC_FAILURE means no retry (i.e. error cause is 500) |
| 161 | */ |
| 162 | oneway sendSMSExpectMore_1_6(int32_t serial, GsmSmsMessage message); |
| 163 | |
| 164 | /** |
| 165 | * Send a CDMA SMS message |
| 166 | * |
| 167 | * @param serial Serial number of request. |
| 168 | * @param sms Cdma Sms to be sent described by CdmaSmsMessage in types.hal |
| 169 | * |
| 170 | * Response callback is IRadioResponse.sendCdmaSmsResponse_1_6() |
| 171 | * |
| 172 | * Note this API is the same as the 1.0 |
| 173 | * |
| 174 | */ |
| 175 | oneway sendCdmaSms_1_6(int32_t serial, CdmaSmsMessage sms); |
| 176 | |
| 177 | /** |
| 178 | * Send an SMS message. Identical to sendCdmaSms_1_6, |
| 179 | * except that more messages are expected to be sent soon. |
| 180 | * |
| 181 | * @param serial Serial number of request. |
| 182 | * @param sms Cdma Sms to be sent described by CdmaSmsMessage in types.hal |
| 183 | * |
| 184 | * Response callback is IRadioResponse.sendCdmaSMSExpectMoreResponse_1_6() |
| 185 | * |
| 186 | * Note this API is the same as the 1.5 |
| 187 | * |
| 188 | */ |
| 189 | oneway sendCdmaSmsExpectMore_1_6(int32_t serial, CdmaSmsMessage sms); |
Sooraj Sasindran | a9d461b | 2020-08-14 11:00:11 -0700 | [diff] [blame] | 190 | |
| 191 | /** |
Jordan Liu | e4f5f02 | 2020-10-21 16:28:40 -0700 | [diff] [blame] | 192 | * Set SIM card power state. |
| 193 | * Request is used to power off or power on the card. It should not generate |
| 194 | * a CardState.CARDSTATE_ABSENT indication, since the SIM is still physically |
| 195 | * inserted. |
| 196 | * |
| 197 | * @param serial Serial number of request |
| 198 | * @param powerUp POWER_DOWN if powering down the SIM card, |
| 199 | * POWER_UP if powering up the SIM card, |
| 200 | * POWER_UP_PASS_THROUGH if powering up the SIM card in |
| 201 | * pass through mode. |
| 202 | * |
| 203 | * When SIM card is in POWER_UP_PASS_THROUGH, the modem does not send |
| 204 | * any command to it (for example SELECT of MF, or TERMINAL |
| 205 | * CAPABILITY), and the SIM card is controlled completely by Telephony |
| 206 | * sending APDUs directly. The SIM card state must be |
| 207 | * RIL_CARDSTATE_PRESENT and the number of card apps will be 0. |
| 208 | * No new error code is generated. Emergency calls are supported in |
| 209 | * the same way as if the SIM card is absent. |
| 210 | * Pass-through mode is valid only for the specific card session where |
| 211 | * it is activated, and normal behavior occurs at the next SIM |
| 212 | * initialization, unless POWER_UP_PASS_THROUGH is requested again. |
| 213 | * |
| 214 | * The device is required to power down the SIM card before it can |
| 215 | * switch the mode between POWER_UP and POWER_UP_PASS_THROUGH. |
| 216 | * At device power up, the SIM interface is powered up automatically. |
| 217 | * Each subsequent request to this method is processed only after the |
| 218 | * completion of the previous one. |
| 219 | * |
Jordan Liu | 8ca952e | 2020-11-09 15:47:21 -0800 | [diff] [blame] | 220 | * When the SIM is in POWER_DOWN, the modem should send an empty vector of |
| 221 | * AppStatus in CardStatus.applications. If a SIM in the POWER_DOWN state |
| 222 | * is removed and a new SIM is inserted, the new SIM should be in POWER_UP |
| 223 | * mode by default. If the device is turned off or restarted while the SIM |
| 224 | * is in POWER_DOWN, then the SIM should turn on normally in POWER_UP mode |
| 225 | * when the device turns back on. |
| 226 | * |
Jordan Liu | e4f5f02 | 2020-10-21 16:28:40 -0700 | [diff] [blame] | 227 | * Response callback is IRadioResponse.setSimCardPowerResponse_1_6(). |
| 228 | * Note that this differs from setSimCardPower_1_1 in that the response |
| 229 | * callback should only be sent once the device has finished executing |
| 230 | * the request (the SIM has finished powering on or off). |
| 231 | */ |
| 232 | oneway setSimCardPower_1_6(int32_t serial, CardPowerState powerUp); |
| 233 | |
| 234 | /** |
Sooraj Sasindran | a9d461b | 2020-08-14 11:00:11 -0700 | [diff] [blame] | 235 | * Enable or disable E-UTRA-NR dual connectivity. If disabled then UE will not connect |
| 236 | * to secondary carrier. |
| 237 | * |
| 238 | * @param serial Serial number of request. |
| 239 | * @param nrDualConnectivityState expected NR dual connectivity state. |
| 240 | * 1. Enable NR dual connectivity {NrDualConnectivityState:ENABLE} |
| 241 | * 2. Disable NR dual connectivity {NrDualConnectivityState:DISABLE} |
| 242 | * 3. Disable NR dual connectivity and force secondary cell to be released |
| 243 | * {NrDualConnectivityState:DISABLE_IMMEDIATE} |
| 244 | |
Sooraj Sasindran | e9525fd | 2020-11-03 20:46:57 -0800 | [diff] [blame] | 245 | * Response callback is IRadioResponse.setNRDualConnectivityStateResponse() |
Sooraj Sasindran | a9d461b | 2020-08-14 11:00:11 -0700 | [diff] [blame] | 246 | */ |
Sooraj Sasindran | e9525fd | 2020-11-03 20:46:57 -0800 | [diff] [blame] | 247 | oneway setNrDualConnectivityState(int32_t serial, |
Sooraj Sasindran | a9d461b | 2020-08-14 11:00:11 -0700 | [diff] [blame] | 248 | NrDualConnectivityState nrDualConnectivityState); |
| 249 | |
| 250 | /** |
| 251 | * Is E-UTRA-NR Dual Connectivity enabled |
| 252 | * |
| 253 | * @param serial Serial number of request. |
| 254 | * Response callback is IRadioResponse.isNRDualConnectivityEnabledResponse() |
| 255 | */ |
| 256 | oneway isNrDualConnectivityEnabled(int32_t serial); |
Daniel Bright | 15cc34a | 2020-10-26 11:34:53 -0700 | [diff] [blame] | 257 | |
| 258 | /** |
| 259 | * Reserves an unallocated pdu session id from the pool of ids. |
| 260 | * |
| 261 | * The allocated id is returned in the response. |
| 262 | * |
| 263 | * When the id is no longer needed, call releasePduSessionId to |
| 264 | * return it to the pool. |
| 265 | * |
| 266 | * Reference: 3GPP TS 24.007 section 11.2.3.1b |
| 267 | * |
| 268 | * @param serial Serial number of request. |
| 269 | * |
| 270 | * Response function is IRadioResponse.allocatePduSessionIdResponse() |
| 271 | */ |
| 272 | oneway allocatePduSessionId(int32_t serial); |
| 273 | |
| 274 | /** |
| 275 | * Releases a pdu session id that was previously allocated using |
| 276 | * allocatePduSessionId. |
| 277 | * |
| 278 | * Reference: 3GPP TS 24.007 section 11.2.3.1b |
| 279 | * @param serial Serial number of request. |
| 280 | * @param id Pdu session id to release. |
| 281 | * |
| 282 | * Response function is IRadioResponse.releasePduSessionIdResponse() |
| 283 | */ |
| 284 | oneway releasePduSessionId(int32_t serial, int32_t id); |
| 285 | |
| 286 | /** |
| 287 | * Indicates that a handover to the IWLAN transport has begun. |
| 288 | * |
| 289 | * Any resources being transferred to the IWlan transport cannot be released while a |
| 290 | * handover is underway. For example, if a pdu session id needs to be |
| 291 | * transferred to IWlan, then, the modem should not release the id while |
| 292 | * the handover is in progress. |
| 293 | * |
| 294 | * If a handover was unsuccessful, then the framework calls IRadio::cancelHandover. |
| 295 | * The modem retains ownership over any of the resources being transferred to IWlan. |
| 296 | * |
| 297 | * If a handover was successful, the framework calls IRadio::deactivateDataCall with reason |
| 298 | * HANDOVER. The IWlan transport now owns the transferred resources and is responsible for |
| 299 | * releasing them. |
| 300 | * |
| 301 | * @param serial Serial number of request. |
| 302 | * @param id callId The identifier of the data call which is provided in SetupDataCallResult |
| 303 | * |
Daniel Bright | 3c72fba | 2020-11-03 14:56:23 -0800 | [diff] [blame] | 304 | * Response function is IRadioResponse.startHandoverResponse() |
Daniel Bright | 15cc34a | 2020-10-26 11:34:53 -0700 | [diff] [blame] | 305 | */ |
Daniel Bright | 3c72fba | 2020-11-03 14:56:23 -0800 | [diff] [blame] | 306 | oneway startHandover(int32_t serial, int32_t callId); |
Daniel Bright | 15cc34a | 2020-10-26 11:34:53 -0700 | [diff] [blame] | 307 | |
| 308 | /** |
Daniel Bright | 3c72fba | 2020-11-03 14:56:23 -0800 | [diff] [blame] | 309 | * Indicates that a handover was cancelled after a call to IRadio::startHandover. |
Daniel Bright | 15cc34a | 2020-10-26 11:34:53 -0700 | [diff] [blame] | 310 | * |
| 311 | * Since the handover was unsuccessful, the modem retains ownership over any of the resources |
| 312 | * being transferred and is still responsible for releasing them. |
| 313 | * |
| 314 | * @param serial Serial number of request. |
| 315 | * @param id callId The identifier of the data call which is provided in SetupDataCallResult |
| 316 | * |
| 317 | * Response function is IRadioResponse.cancelHandoverResponse() |
| 318 | */ |
| 319 | oneway cancelHandover(int32_t serial, int32_t callId); |
ThiƩbaud Weksteen | 5ae16f3 | 2020-08-21 16:46:07 +0200 | [diff] [blame] | 320 | |
| 321 | /** |
| 322 | * Requests to set the network type for searching and registering. |
| 323 | * |
| 324 | * Instruct the radio to *only* accept the types of network provided. This |
| 325 | * is stronger than setPreferredNetworkType which is a suggestion. |
| 326 | * |
| 327 | * @param serial Serial number of request. |
| 328 | * @param networkTypeBitmap a 32-bit bearer bitmap of RadioAccessFamily |
| 329 | * |
| 330 | * Response callbask is IRadioResponse.setNetworkTypeBitmapResponse() |
| 331 | */ |
| 332 | oneway setAllowedNetworkTypeBitmap( |
| 333 | uint32_t serial, bitfield<RadioAccessFamily> networkTypeBitmap); |
Jack Nudelman | 5cd9414 | 2020-09-24 14:23:35 -0700 | [diff] [blame] | 334 | |
| 335 | /** |
| 336 | * Control data throttling at modem. |
| 337 | * - DataThrottlingAction:NO_DATA_THROTTLING should clear any existing |
| 338 | * data throttling within the requested completion window. |
| 339 | * - DataThrottlingAction:THROTTLE_SECONDARY_CARRIER: Remove any existing |
| 340 | * throttling on anchor carrier and achieve maximum data throttling on |
| 341 | * secondary carrier within the requested completion window. |
| 342 | * - DataThrottlingAction:THROTTLE_ANCHOR_CARRIER: disable secondary |
| 343 | * carrier and achieve maximum data throttling on anchor carrier by |
| 344 | * requested completion window. |
| 345 | * - DataThrottlingAction:HOLD: Immediately hold on to current level of |
| 346 | * throttling. |
| 347 | * |
| 348 | * @param serial Serial number of request. |
| 349 | * @param dataThrottlingAction DataThrottlingAction as defined in types.hal |
| 350 | * @param completionWindowSecs window, in seconds, in which the requested |
| 351 | * throttling action has to be achieved. This must be 0 when |
| 352 | * dataThrottlingAction is DataThrottlingAction:HOLD. |
| 353 | * |
| 354 | * Response function is IRadioResponse.setDataThrottlingResponse() |
| 355 | */ |
| 356 | oneway setDataThrottling(int32_t serial, |
| 357 | DataThrottlingAction dataThrottlingAction, |
| 358 | int32_t completionWindowSecs); |
Sarah Chin | f69abcf | 2020-11-18 13:40:15 -0800 | [diff] [blame] | 359 | |
| 360 | /** |
| 361 | * Get which bands the modem's background scan is acting on. |
| 362 | * |
| 363 | * @param serial Serial number of request. |
| 364 | * |
| 365 | * Response callback is IRadioResponse.getSystemSelectionChannelsResponse() |
| 366 | */ |
| 367 | oneway getSystemSelectionChannels(int32_t serial); |
Hui Wang | fb20250 | 2020-11-13 04:30:18 +0000 | [diff] [blame] | 368 | |
Mingming Cai | da0d983 | 2020-11-05 17:56:57 -0800 | [diff] [blame^] | 369 | /** |
| 370 | * Request all of the current cell information known to the radio. The radio |
| 371 | * must return list of all current cells, including the neighboring cells. If for a particular |
| 372 | * cell information isn't known then the appropriate unknown value will be returned. |
| 373 | * This does not cause or change the rate of unsolicited cellInfoList(). |
| 374 | * |
| 375 | * This is identitcal to getCellInfoList in V1.0, but it requests updated version of CellInfo. |
| 376 | * |
| 377 | * @param serial Serial number of request. |
| 378 | * |
| 379 | * Response callback is IRadioResponse.getCellInfoListResponse() |
| 380 | */ |
| 381 | oneway getCellInfoList_1_6(int32_t serial); |
| 382 | |
Hui Wang | fb20250 | 2020-11-13 04:30:18 +0000 | [diff] [blame] | 383 | /** |
| 384 | * Request current voice registration state. |
| 385 | * |
| 386 | * @param serial Serial number of request. |
| 387 | * |
| 388 | * Response function is IRadioResponse.getVoiceRegistrationStateResponse_1_6() |
| 389 | */ |
| 390 | oneway getVoiceRegistrationState_1_6(int32_t serial); |
| 391 | |
| 392 | /** |
| 393 | * Request current data registration state. |
| 394 | * |
| 395 | * @param serial Serial number of request. |
| 396 | * |
| 397 | * Response function is IRadioResponse.getDataRegistrationStateResponse_1_6() |
| 398 | */ |
| 399 | oneway getDataRegistrationState_1_6(int32_t serial); |
Jayachandran C | 262b606 | 2020-07-22 15:53:58 -0700 | [diff] [blame] | 400 | }; |