blob: 27945cb07faf0ccddc1c89389f832445a03742cd [file] [log] [blame]
Sanket Padawe76372492016-10-27 13:20:49 -07001/*
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
17package android.hardware.radio@1.0;
18
Andreas Huber675ae492017-03-28 14:40:58 -070019/**
Sanket Padawe76372492016-10-27 13:20:49 -070020 * 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 */
24interface IRadioResponse {
Andreas Huber675ae492017-03-28 14:40:58 -070025 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080026 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070027 * @param cardStatus ICC card status as defined by CardStatus in types.hal
28 *
29 * Valid errors returned:
30 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -070031 * RadioError:RADIO_NOT_AVAILABLE
32 * RadioError:INTERNAL_ERR
33 * RadioError:NO_MEMORY
34 * RadioError:NO_RESOURCES
35 * RadioError:CANCELLED
36 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070037 */
Sanket Padawe865834e2016-12-28 16:04:10 -080038 oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus);
Sanket Padawe76372492016-10-27 13:20:49 -070039
Andreas Huber675ae492017-03-28 14:40:58 -070040 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080041 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070042 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
43 *
44 * Valid errors returned:
45 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070046 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070047 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -070048 * RadioError:INTERNAL_ERR
49 * RadioError:NO_MEMORY
50 * RadioError:NO_RESOURCES
51 * RadioError:CANCELLED
52 * RadioError:INVALID_ARGUMENTS
53 * RadioError:INVALID_SIM_STATE
54 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070055 */
56 oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
57
Andreas Huber675ae492017-03-28 14:40:58 -070058 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080059 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070060 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
61 *
62 * Valid errors returned:
63 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070064 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070065 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -070066 * RadioError:INTERNAL_ERR
67 * RadioError:NO_MEMORY
68 * RadioError:NO_RESOURCES
69 * RadioError:CANCELLED
70 * RadioError:INVALID_ARGUMENTS
71 * RadioError:INVALID_SIM_STATE
72 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070073 */
74 oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
75
Andreas Huber675ae492017-03-28 14:40:58 -070076 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080077 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070078 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
79 *
80 * Valid errors returned:
81 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070082 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070083 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -070084 * RadioError:INTERNAL_ERR
85 * RadioError:NO_MEMORY
86 * RadioError:NO_RESOURCES
87 * RadioError:CANCELLED
88 * RadioError:INVALID_ARGUMENTS
89 * RadioError:INVALID_SIM_STATE
90 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070091 */
92 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
93
Andreas Huber675ae492017-03-28 14:40:58 -070094 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080095 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070096 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
97 * Valid errors returned:
98 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070099 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700100 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -0700101 * RadioError:INTERNAL_ERR
102 * RadioError:NO_MEMORY
103 * RadioError:NO_RESOURCES
104 * RadioError:CANCELLED
105 * RadioError:INVALID_ARGUMENTS
106 * RadioError:INVALID_SIM_STATE
107 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700108 */
109 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
110
Andreas Huber675ae492017-03-28 14:40:58 -0700111 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800112 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700113 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
114 *
115 * Valid errors returned:
116 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700117 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700118 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -0700119 * RadioError:INTERNAL_ERR
120 * RadioError:NO_MEMORY
121 * RadioError:NO_RESOURCES
122 * RadioError:CANCELLED
123 * RadioError:INVALID_ARGUMENTS
124 * RadioError:INVALID_SIM_STATE
125 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700126 */
127 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
128
Andreas Huber675ae492017-03-28 14:40:58 -0700129 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800130 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700131 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
132 *
133 * Valid errors returned:
134 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700135 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700136 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
sqian6381ac42017-06-09 12:10:43 -0700137 * RadioError:INTERNAL_ERR
138 * RadioError:NO_MEMORY
139 * RadioError:NO_RESOURCES
140 * RadioError:CANCELLED
141 * RadioError:INVALID_ARGUMENTS
142 * RadioError:INVALID_SIM_STATE
143 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700144 */
145 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
146
Andreas Huber675ae492017-03-28 14:40:58 -0700147 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800148 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700149 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
150 *
151 * Valid errors returned:
152 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -0700153 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700154 * RadioError:PASSWORD_INCORRECT (code is invalid)
sqian284c53c2017-05-16 20:29:19 -0700155 * RadioError:NO_MEMORY
156 * RadioError:INVALID_SIM_STATE
157 * RadioError:INTERNAL_ERR
158 * RadioError:SYSTEM_ERR
159 * RadioError:MODEM_ERR
160 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700161 * RadioError:NO_RESOURCES
162 * RadioError:CANCELLED
163 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700164 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700165 */
166 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
167
Andreas Huber675ae492017-03-28 14:40:58 -0700168 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800169 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700170 * @param calls Current call list
171 *
172 * Valid errors returned:
173 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700174 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700175 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700176 * RadioError:INTERNAL_ERR
177 * RadioError:SYSTEM_ERR
178 * RadioError:INVALID_ARGUMENTS
179 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700180 * RadioError:NO_RESOURCES
181 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700182 */
183 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
184
Andreas Huber675ae492017-03-28 14:40:58 -0700185 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800186 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700187 *
188 * Valid errors returned:
189 * RadioError:NONE
190 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700191 * RadioError:DIAL_MODIFIED_TO_USSD
192 * RadioError:DIAL_MODIFIED_TO_SS
193 * RadioError:DIAL_MODIFIED_TO_DIAL
194 * RadioError:INVALID_ARGUMENTS
195 * RadioError:NO_MEMORY
196 * RadioError:INVALID_STATE
197 * RadioError:NO_RESOURCES
198 * RadioError:INTERNAL_ERR
199 * RadioError:FDN_CHECK_FAILURE
200 * RadioError:MODEM_ERR
201 * RadioError:NO_SUBSCRIPTION
202 * RadioError:NO_NETWORK_FOUND
203 * RadioError:INVALID_CALL_ID
204 * RadioError:DEVICE_IN_USE
Naina Nalluri236e8e42017-07-17 11:56:42 -0700205 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -0700206 * RadioError:ABORTED
sqian159ec7f2017-04-25 18:00:34 -0700207 * RadioError:SYSTEM_ERR
208 * RadioError:REQUEST_NOT_SUPPORTED
209 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700210 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700211 */
212 oneway dialResponse(RadioResponseInfo info);
213
Andreas Huber675ae492017-03-28 14:40:58 -0700214 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800215 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700216 * @param imsi String containing the IMSI
217 *
218 * Valid errors returned:
219 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700220 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
sqian6381ac42017-06-09 12:10:43 -0700221 * RadioError:INTERNAL_ERR
222 * RadioError:NO_MEMORY
223 * RadioError:NO_RESOURCES
224 * RadioError:CANCELLED
225 * RadioError:INVALID_SIM_STATE
226 * RadioError:SIM_ERR
227 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700228 */
229 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
230
Andreas Huber675ae492017-03-28 14:40:58 -0700231 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800232 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700233 *
234 * Valid errors returned:
235 * RadioError:NONE
236 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
237 * RadioError:INVALID_ARGUMENTS
238 * RadioError:NO_MEMORY
239 * RadioError:INVALID_STATE
240 * RadioError:MODEM_ERR
241 * RadioError:INTERNAL_ERR
242 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -0700243 * RadioError:NO_RESOURCES
244 * RadioError:CANCELLED
245 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700246 */
247 oneway hangupConnectionResponse(RadioResponseInfo info);
248
Andreas Huber675ae492017-03-28 14:40:58 -0700249 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800250 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700251 *
252 * Valid errors returned:
253 * RadioError:NONE
254 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
255 * RadioError:INVALID_STATE
256 * RadioError:NO_MEMORY
257 * RadioError:MODEM_ERR
258 * RadioError:INTERNAL_ERR
259 * RadioError:INVALID_CALL_ID
260 * RadioError:NO_RESOURCES
261 * RadioError:OPERATION_NOT_ALLOWED
262 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700263 * RadioError:SYSTEM_ERR
264 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700265 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700266 */
267 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
268
Andreas Huber675ae492017-03-28 14:40:58 -0700269 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800270 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700271 *
272 * Valid errors returned:
273 * RadioError:NONE
274 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
275 * RadioError:INVALID_STATE
276 * RadioError:NO_MEMORY
277 * RadioError:MODEM_ERR
278 * RadioError:INTERNAL_ERR
279 * RadioError:INVALID_CALL_ID
280 * RadioError:NO_RESOURCES
281 * RadioError:OPERATION_NOT_ALLOWED
282 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700283 * RadioError:SYSTEM_ERR
284 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700285 * RadioError:NO_RESOURCES
286 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700287 */
288 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
289
Andreas Huber675ae492017-03-28 14:40:58 -0700290 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800291 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700292 *
293 * Valid errors returned:
294 * RadioError:NONE
295 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
296 * RadioError:INVALID_STATE
297 * RadioError:NO_MEMORY
298 * RadioError:MODEM_ERR
299 * RadioError:INTERNAL_ERR
300 * RadioError:INVALID_STATE
301 * RadioError:INVALID_CALL_ID
302 * RadioError:OPERATION_NOT_ALLOWED
303 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700304 * RadioError:SYSTEM_ERR
305 * RadioError:REQUEST_NOT_SUPPORTED
306 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700307 * RadioError:NO_RESOURCES
308 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700309 */
310 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
311
Andreas Huber675ae492017-03-28 14:40:58 -0700312 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800313 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700314 *
315 * Valid errors returned:
316 * RadioError:NONE
317 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
318 * RadioError:NO_MEMORY
319 * RadioError:MODEM_ERR
320 * RadioError:INTERNAL_ERR
321 * RadioError:INVALID_STATE
322 * RadioError:INVALID_CALL_ID
323 * RadioError:OPERATION_NOT_ALLOWED
324 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700325 * RadioError:SYSTEM_ERR
326 * RadioError:REQUEST_NOT_SUPPORTED
327 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700328 * RadioError:NO_RESOURCES
329 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700330 */
331 oneway conferenceResponse(RadioResponseInfo info);
332
Andreas Huber675ae492017-03-28 14:40:58 -0700333 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800334 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700335 *
336 * Valid errors returned:
337 * RadioError:NONE
338 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
339 * RadioError:INVALID_STATE
340 * RadioError:NO_RESOURCES
341 * RadioError:NO_MEMORY
342 * RadioError:MODEM_ERR
343 * RadioError:INTERNAL_ERR
344 * RadioError:INVALID_CALL_ID
345 * RadioError:OPERATION_NOT_ALLOWED
346 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700347 * RadioError:SYSTEM_ERR
348 * RadioError:REQUEST_NOT_SUPPORTED
349 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700350 * RadioError:NO_RESOURCES
351 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700352 */
353 oneway rejectCallResponse(RadioResponseInfo info);
354
Andreas Huber675ae492017-03-28 14:40:58 -0700355 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800356 * @param info Response info struct containing response type, serial no. and error
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700357 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
Sanket Padawe76372492016-10-27 13:20:49 -0700358 *
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700359 * The vendor cause code must be used for debugging purpose only.
360 * The implementation must return one of the values of LastCallFailCause
361 * as mentioned below
362 *
363 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
364 * where possible.
365 * CDMA failure reasons codes for the possible call failure scenarios
366 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
367 * Any of the following reason codes if the call is failed or dropped due to reason
368 * mentioned with in the braces.
369 * LastCallFailCause:RADIO_OFF (Radio is OFF)
370 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
371 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
372 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
373 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
374 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
375 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
376 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
377 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
378 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
379 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
380 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
381 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
382 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
383 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
384 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
Sanket Padawe76372492016-10-27 13:20:49 -0700385 *
386 * If the implementation does not have access to the exact cause codes,
387 * then it must return one of the values listed in LastCallFailCause,
388 * as the UI layer needs to distinguish these cases for tone generation or
389 * error notification.
390 *
391 * Valid errors returned:
392 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700393 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700394 * RadioError:RADIO_NOT_AVAILABLE
395 * RadioError:SYSTEM_ERR
396 * RadioError:INVALID_ARGUMENTS
397 * RadioError:INTERNAL_ERR
398 * RadioError:MODEM_ERR
399 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700400 * RadioError:NO_MEMORY
401 * RadioError:NO_RESOURCES
402 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700403 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800404 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
405 LastCallFailCauseInfo failCauseinfo);
Sanket Padawe76372492016-10-27 13:20:49 -0700406
Andreas Huber675ae492017-03-28 14:40:58 -0700407 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800408 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700409 * @param sigStrength Current signal strength
410 *
411 * Valid errors returned:
412 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700413 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700414 * RadioError:NO_MEMORY
415 * RadioError:INTERNAL_ERR
416 * RadioError:SYSTEM_ERR
417 * RadioError:MODEM_ERR
418 * RadioError:NOT_PROVISIONED
419 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700420 * RadioError:NO_RESOURCES
421 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700422 */
423 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
424
Andreas Huber675ae492017-03-28 14:40:58 -0700425 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800426 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700427 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
428 * in types.hal
429 *
430 * Valid errors returned:
431 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700432 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700433 * RadioError:INTERNAL_ERR
434 * RadioError:NO_MEMORY
435 * RadioError:NO_RESOURCES
436 * RadioError:CANCELLED
437 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700438 */
439 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
440 VoiceRegStateResult voiceRegResponse);
441
Andreas Huber675ae492017-03-28 14:40:58 -0700442 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800443 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700444 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
445 * types.hal
446 *
447 * Valid errors returned:
448 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700449 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700450 * RadioError:NO_MEMORY
451 * RadioError:INTERNAL_ERR
452 * RadioError:SYSTEM_ERR
453 * RadioError:MODEM_ERR
454 * RadioError:NOT_PROVISIONED
455 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700456 * RadioError:NO_RESOURCES
457 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700458 */
459 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
460 DataRegStateResult dataRegResponse);
461
Andreas Huber675ae492017-03-28 14:40:58 -0700462 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800463 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700464 * @param longName is long alpha ONS or EONS or empty string if unregistered
465 * @param shortName is short alpha ONS or EONS or empty string if unregistered
466 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
467 *
468 * Valid errors returned:
469 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700470 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700471 * RadioError:NO_MEMORY
472 * RadioError:INTERNAL_ERR
473 * RadioError:SYSTEM_ERR
474 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700475 * RadioError:NO_RESOURCES
476 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700477 */
478 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
479 string numeric);
480
Andreas Huber675ae492017-03-28 14:40:58 -0700481 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800482 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700483 *
484 * Valid errors returned:
485 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700486 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700487 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700488 * RadioError:INVALID_STATE
489 * RadioError:NO_MEMORY
490 * RadioError:INTERNAL_ERR
491 * RadioError:SYSTEM_ERR
492 * RadioError:INVALID_ARGUMENTS
493 * RadioError:MODEM_ERR
494 * RadioError:DEVICE_IN_USE
495 * RadioError:OPERATION_NOT_ALLOWED
496 * RadioError:INVALID_MODEM_STATE
497 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700498 * RadioError:NO_RESOURCES
499 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700500 */
501 oneway setRadioPowerResponse(RadioResponseInfo info);
502
Andreas Huber675ae492017-03-28 14:40:58 -0700503 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800504 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700505 *
506 * Valid errors returned:
507 * RadioError:NONE
508 * RadioError:RADIO_NOT_AVAILABLE
509 * RadioError:INVALID_ARGUMENTS
510 * RadioError:NO_RESOURCES
511 * RadioError:NO_MEMORY
512 * RadioError:MODEM_ERR
513 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700514 * RadioError:INTERNAL_ERR
515 * RadioError:SYSTEM_ERR
516 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700517 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -0700518 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700519 */
520 oneway sendDtmfResponse(RadioResponseInfo info);
521
Andreas Huber675ae492017-03-28 14:40:58 -0700522 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800523 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700524 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
525 *
526 * Valid errors returned:
527 * RadioError:NONE
528 * RadioError:RADIO_NOT_AVAILABLE
529 * RadioError:SMS_SEND_FAIL_RETRY
530 * RadioError:NETWORK_REJECT
531 * RadioError:INVALID_STATE
532 * RadioError:INVALID_ARGUMENTS
533 * RadioError:NO_MEMORY
534 * RadioError:REQUEST_RATE_LIMITED
535 * RadioError:INVALID_SMS_FORMAT
536 * RadioError:SYSTEM_ERR
537 * RadioError:ENCODING_ERR
538 * RadioError:INVALID_SMSC_ADDRESS
539 * RadioError:MODEM_ERR
540 * RadioError:NETWORK_ERR
sqian159ec7f2017-04-25 18:00:34 -0700541 * RadioError:INTERNAL_ERR
542 * RadioError:REQUEST_NOT_SUPPORTED
543 * RadioError:INVALID_MODEM_STATE
544 * RadioError:NETWORK_NOT_READY
545 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -0700546 * RadioError:NO_RESOURCES
547 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700548 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700549 */
550 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
551
Andreas Huber675ae492017-03-28 14:40:58 -0700552 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800553 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700554 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
555 *
556 * Valid errors returned:
557 * RadioError:NONE
558 * RadioError:RADIO_NOT_AVAILABLE
559 * RadioError:SMS_SEND_FAIL_RETRY
560 * RadioError:NETWORK_REJECT
561 * RadioError:INVALID_STATE
562 * RadioError:INVALID_ARGUMENTS
563 * RadioError:NO_MEMORY
564 * RadioError:REQUEST_RATE_LIMITED
565 * RadioError:INVALID_SMS_FORMAT
566 * RadioError:SYSTEM_ERR
567 * RadioError:FDN_CHECK_FAILURE
568 * RadioError:ENCODING_ERR
569 * RadioError:INVALID_SMSC_ADDRESS
570 * RadioError:MODEM_ERR
571 * RadioError:NETWORK_ERR
sqian159ec7f2017-04-25 18:00:34 -0700572 * RadioError:INTERNAL_ERR
573 * RadioError:REQUEST_NOT_SUPPORTED
574 * RadioError:INVALID_MODEM_STATE
575 * RadioError:NETWORK_NOT_READY
576 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -0700577 * RadioError:NO_RESOURCES
578 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700579 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700580 */
581 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
582
Andreas Huber675ae492017-03-28 14:40:58 -0700583 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800584 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700585 * @param dcResponse SetupDataCallResult defined in types.hal
586 *
587 * Valid errors returned:
588 * RadioError:NONE must be returned on both success and failure of setup with the
589 * DataCallResponse.status containing the actual status
590 * For all other errors the DataCallResponse is ignored.
Sanket Padawe76372492016-10-27 13:20:49 -0700591 * RadioError:RADIO_NOT_AVAILABLE
592 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
593 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
594 * RadioError:REQUEST_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700595 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700596 * RadioError:INTERNAL_ERR
597 * RadioError:NO_MEMORY
598 * RadioError:NO_RESOURCES
599 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700600 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700601 */
602 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
603
Andreas Huber675ae492017-03-28 14:40:58 -0700604 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800605 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -0700606 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
Sanket Padawe76372492016-10-27 13:20:49 -0700607 *
608 * Valid errors returned:
609 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700610 * RadioError:RADIO_NOT_AVAILABLE
611 * RadioError:SIM_PIN2
612 * RadioError:SIM_PUK2
sqian6381ac42017-06-09 12:10:43 -0700613 * RadioError:INTERNAL_ERR
614 * RadioError:NO_MEMORY
615 * RadioError:NO_RESOURCES
616 * RadioError:CANCELLED
617 * RadioError:INVALID_SIM_STATE
618 * RadioError:SIM_ERR
619 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700620 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800621 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
Sanket Padawe76372492016-10-27 13:20:49 -0700622
Andreas Huber675ae492017-03-28 14:40:58 -0700623 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800624 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700625 *
626 * Valid errors returned:
627 * RadioError:NONE
628 * RadioError:RADIO_NOT_AVAILABLE
629 * RadioError:FDN_CHECK_FAILURE
630 * RadioError:USSD_MODIFIED_TO_DIAL
631 * RadioError:USSD_MODIFIED_TO_SS
632 * RadioError:USSD_MODIFIED_TO_USSD
633 * RadioError:SIM_BUSY
634 * RadioError:OPERATION_NOT_ALLOWED
635 * RadioError:INVALID_ARGUMENTS
636 * RadioError:NO_MEMORY
637 * RadioError:MODEM_ERR
638 * RadioError:INTERNAL_ERR
639 * RadioError:ABORTED
640 * RadioError:SYSTEM_ERR
641 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700642 * RadioError:REQUEST_NOT_SUPPORTED
643 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700644 * RadioError:NO_RESOURCES
645 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700646 */
647 oneway sendUssdResponse(RadioResponseInfo info);
648
Andreas Huber675ae492017-03-28 14:40:58 -0700649 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800650 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700651 *
652 * Valid errors returned:
653 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700654 * RadioError:RADIO_NOT_AVAILABLE
655 * RadioError:SIM_BUSY
656 * RadioError:OPERATION_NOT_ALLOWED
657 * RadioError:MODEM_ERR
658 * RadioError:INTERNAL_ERR
659 * RadioError:NO_MEMORY
660 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700661 * RadioError:INVALID_ARGUMENTS
662 * RadioError:SYSTEM_ERR
663 * RadioError:REQUEST_NOT_SUPPORTED
664 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700665 * RadioError:NO_RESOURCES
666 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700667 */
668 oneway cancelPendingUssdResponse(RadioResponseInfo info);
669
Andreas Huber675ae492017-03-28 14:40:58 -0700670 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800671 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700672 * @param n is "n" parameter from TS 27.007 7.7
673 * @param m is "m" parameter from TS 27.007 7.7
674 *
675 * Valid errors returned:
676 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700677 * RadioError:RADIO_NOT_AVAILABLE
678 * RadioError:SS_MODIFIED_TO_DIAL
679 * RadioError:SS_MODIFIED_TO_USSD
680 * RadioError:SS_MODIFIED_TO_SS
681 * RadioError:NO_MEMORY
682 * RadioError:MODEM_ERR
683 * RadioError:INTERNAL_ERR
684 * RadioError:FDN_CHECK_FAILURE
685 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700686 * RadioError:REQUEST_NOT_SUPPORTED
687 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700688 * RadioError:NO_RESOURCES
689 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700690 */
691 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
692
Andreas Huber675ae492017-03-28 14:40:58 -0700693 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800694 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700695 *
696 * Valid errors returned:
697 * RadioError:NONE
698 * RadioError:INVALID_ARGUMENTS
699 * RadioError:RADIO_NOT_AVAILABLE
700 * RadioError:SS_MODIFIED_TO_DIAL
701 * RadioError:SS_MODIFIED_TO_USSD
702 * RadioError:SS_MODIFIED_TO_SS
sqian159ec7f2017-04-25 18:00:34 -0700703 * RadioError:NO_MEMORY
704 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700705 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700706 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700707 * RadioError:NO_RESOURCES
708 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700709 */
710 oneway setClirResponse(RadioResponseInfo info);
711
Andreas Huber675ae492017-03-28 14:40:58 -0700712 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800713 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700714 * @param callForwardInfos points to a vector of CallForwardInfo, one for
715 * each distinct registered phone number.
716 *
717 * For example, if data is forwarded to +18005551212 and voice is forwarded
718 * to +18005559999, then two separate CallForwardInfo's must be returned
719 *
720 * If, however, both data and voice are forwarded to +18005551212, then
721 * a single CallForwardInfo must be returned with the service class
722 * set to "data + voice = 3")
723 *
724 * Valid errors returned:
725 * RadioError:NONE
726 * RadioError:RADIO_NOT_AVAILABLE
727 * RadioError:SS_MODIFIED_TO_DIAL
728 * RadioError:SS_MODIFIED_TO_USSD
729 * RadioError:SS_MODIFIED_TO_SS
730 * RadioError:INVALID_ARGUMENTS
731 * RadioError:NO_MEMORY
732 * RadioError:SYSTEM_ERR
733 * RadioError:MODEM_ERR
734 * RadioError:INTERNAL_ERR
735 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700736 * RadioError:REQUEST_NOT_SUPPORTED
737 * RadioError:SYSTEM_ERR
sqian6381ac42017-06-09 12:10:43 -0700738 * RadioError:NO_RESOURCES
739 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700740 */
741 oneway getCallForwardStatusResponse(RadioResponseInfo info,
742 vec<CallForwardInfo> callForwardInfos);
743
Andreas Huber675ae492017-03-28 14:40:58 -0700744 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800745 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700746 *
747 * Valid errors returned:
748 * RadioError:NONE
749 * RadioError:RADIO_NOT_AVAILABLE
750 * RadioError:SS_MODIFIED_TO_DIAL
751 * RadioError:SS_MODIFIED_TO_USSD
752 * RadioError:SS_MODIFIED_TO_SS
753 * RadioError:INVALID_ARGUMENTS
754 * RadioError:NO_MEMORY
755 * RadioError:SYSTEM_ERR
756 * RadioError:MODEM_ERR
757 * RadioError:INTERNAL_ERR
758 * RadioError:INVALID_STATE
759 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700760 * RadioError:REQUEST_NOT_SUPPORTED
761 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700762 * RadioError:NO_RESOURCES
763 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700764 */
765 oneway setCallForwardResponse(RadioResponseInfo info);
766
Andreas Huber675ae492017-03-28 14:40:58 -0700767 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800768 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700769 * @param enable If current call waiting state is disabled, enable = false else true
770 * @param serviceClass If enable, then callWaitingResp[1]
771 * must follow, with the TS 27.007 service class bit vector of services
772 * for which call waiting is enabled.
773 * For example, if callWaitingResp[0] is 1 and
774 * callWaitingResp[1] is 3, then call waiting is enabled for data
775 * and voice and disabled for everything else.
776 *
777 * Valid errors returned:
778 * RadioError:NONE
779 * RadioError:RADIO_NOT_AVAILABLE
780 * RadioError:SS_MODIFIED_TO_DIAL
781 * RadioError:SS_MODIFIED_TO_USSD
782 * RadioError:SS_MODIFIED_TO_SS
783 * RadioError:INVALID_ARGUMENTS
784 * RadioError:NO_MEMORY
785 * RadioError:MODEM_ERR
786 * RadioError:INTERNAL_ERR
787 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700788 * RadioError:INTERNAL_ERR
789 * RadioError:SYSTEM_ERR
790 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700791 * RadioError:NO_RESOURCES
792 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700793 */
794 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
795
Andreas Huber675ae492017-03-28 14:40:58 -0700796 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800797 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700798 *
799 * Valid errors returned:
800 * RadioError:NONE
801 * RadioError:RADIO_NOT_AVAILABLE
802 * RadioError:SS_MODIFIED_TO_DIAL
803 * RadioError:SS_MODIFIED_TO_USSD
804 * RadioError:SS_MODIFIED_TO_SS
805 * RadioError:INVALID_ARGUMENTS
806 * RadioError:NO_MEMORY
807 * RadioError:MODEM_ERR
808 * RadioError:INTERNAL_ERR
809 * RadioError:INVALID_STATE
810 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700811 * RadioError:SYSTEM_ERR
812 * RadioError:REQUEST_NOT_SUPPORTED
813 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700814 * RadioError:NO_RESOURCES
815 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700816 */
817 oneway setCallWaitingResponse(RadioResponseInfo info);
818
Andreas Huber675ae492017-03-28 14:40:58 -0700819 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800820 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700821 *
822 * Valid errors returned:
823 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700824 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700825 * RadioError:INTERNAL_ERR
826 * RadioError:NO_MEMORY
827 * RadioError:NO_RESOURCES
828 * RadioError:CANCELLED
829 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700830 */
831 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
832
Andreas Huber675ae492017-03-28 14:40:58 -0700833 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800834 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700835 *
836 * Valid errors returned:
837 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700838 * RadioError:RADIO_NOT_AVAILABLE
839 * RadioError:INVALID_STATE
840 * RadioError:NO_MEMORY
841 * RadioError:SYSTEM_ERR
842 * RadioError:MODEM_ERR
843 * RadioError:INTERNAL_ERR
844 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700845 * RadioError:INVALID_ARGUMENTS
846 * RadioError:SYSTEM_ERR
847 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700848 * RadioError:NO_RESOURCES
849 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700850 */
851 oneway acceptCallResponse(RadioResponseInfo info);
852
Andreas Huber675ae492017-03-28 14:40:58 -0700853 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800854 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700855 *
856 * Valid errors returned:
857 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700858 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700859 * RadioError:INVALID_CALL_ID
860 * RadioError:INVALID_STATE
861 * RadioError:INVALID_ARGUMENTS
862 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700863 * RadioError:INTERNAL_ERR
864 * RadioError:NO_MEMORY
865 * RadioError:NO_RESOURCES
866 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700867 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700868 */
869 oneway deactivateDataCallResponse(RadioResponseInfo info);
870
Andreas Huber675ae492017-03-28 14:40:58 -0700871 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800872 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700873 * @param response 0 is the TS 27.007 service class bit vector of
874 * services for which the specified barring facility
875 * is active. "0" means "disabled for all"
876 *
877 * Valid errors returned:
878 * RadioError:NONE
879 * RadioError:RADIO_NOT_AVAILABLE
880 * RadioError:SS_MODIFIED_TO_DIAL
881 * RadioError:SS_MODIFIED_TO_USSD
882 * RadioError:SS_MODIFIED_TO_SS
883 * RadioError:INVALID_ARGUMENTS
884 * RadioError:NO_MEMORY
885 * RadioError:MODEM_ERR
886 * RadioError:INTERNAL_ERR
887 * RadioError:SYSTEM_ERR
888 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700889 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700890 * RadioError:NO_RESOURCES
891 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700892 */
893 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
894
Andreas Huber675ae492017-03-28 14:40:58 -0700895 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800896 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700897 * @param retry 0 is the number of retries remaining, or -1 if unknown
898 *
899 * Valid errors returned:
900 * RadioError:NONE
901 * RadioError:RADIO_NOT_AVAILABLE
902 * RadioError:SS_MODIFIED_TO_DIAL
903 * RadioError:SS_MODIFIED_TO_USSD
904 * RadioError:SS_MODIFIED_TO_SS
905 * RadioError:INVALID_ARGUMENTS
906 * RadioError:NO_MEMORY
907 * RadioError:MODEM_ERR
908 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -0700909 * RadioError:SYSTEM_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700910 * RadioError:INVALID_STATE
911 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700912 * RadioError:REQUEST_NOT_SUPPORTED
913 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700914 * RadioError:NO_RESOURCES
915 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700916 */
917 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
918
Andreas Huber675ae492017-03-28 14:40:58 -0700919 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800920 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700921 *
922 * Valid errors returned:
923 * RadioError:NONE
924 * RadioError:RADIO_NOT_AVAILABLE
925 * RadioError:SS_MODIFIED_TO_DIAL
926 * RadioError:SS_MODIFIED_TO_USSD
927 * RadioError:SS_MODIFIED_TO_SS
928 * RadioError:INVALID_ARGUMENTS
929 * RadioError:NO_MEMORY
930 * RadioError:MODEM_ERR
931 * RadioError:INTERNAL_ERR
932 * RadioError:SYSTEM_ERR
933 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700934 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700935 * RadioError:NO_RESOURCES
936 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700937 */
938 oneway setBarringPasswordResponse(RadioResponseInfo info);
939
Andreas Huber675ae492017-03-28 14:40:58 -0700940 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800941 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700942 * @param selection false for automatic selection, true for manual selection
943 *
944 * Valid errors returned:
945 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700946 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700947 * RadioError:NO_MEMORY
948 * RadioError:INTERNAL_ERR
949 * RadioError:SYSTEM_ERR
950 * RadioError:INVALID_ARGUMENTS
951 * RadioError:MODEM_ERR
952 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700953 * RadioError:NO_RESOURCES
954 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700955 */
956 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
957
Andreas Huber675ae492017-03-28 14:40:58 -0700958 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800959 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700960 *
961 * Valid errors returned:
962 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700963 * RadioError:RADIO_NOT_AVAILABLE
964 * RadioError:ILLEGAL_SIM_OR_ME
965 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700966 * RadioError:NO_MEMORY
967 * RadioError:INTERNAL_ERR
968 * RadioError:SYSTEM_ERR
969 * RadioError:INVALID_ARGUMENTS
970 * RadioError:MODEM_ERR
971 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700972 * RadioError:NO_RESOURCES
973 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700974 *
975 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
976 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700977 */
978 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
979
Andreas Huber675ae492017-03-28 14:40:58 -0700980 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800981 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700982 *
983 * Valid errors returned:
984 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700985 * RadioError:RADIO_NOT_AVAILABLE
986 * RadioError:ILLEGAL_SIM_OR_ME
987 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700988 * RadioError:INVALID_STATE
989 * RadioError:NO_MEMORY
990 * RadioError:INTERNAL_ERR
991 * RadioError:SYSTEM_ERR
992 * RadioError:INVALID_ARGUMENTS
993 * RadioError:MODEM_ERR
994 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700995 * RadioError:NO_RESOURCES
996 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700997 *
998 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
999 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -07001000 */
1001 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
1002
Andreas Huber675ae492017-03-28 14:40:58 -07001003 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001004 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001005 * @param networkInfos List of network operator information as OperatorInfos defined in
1006 * types.hal
1007 *
1008 * Valid errors returned:
1009 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -07001010 * RadioError:RADIO_NOT_AVAILABLE
1011 * RadioError:OPERATION_NOT_ALLOWED
Jayachandran Cfbb1ea52017-03-13 19:23:52 -07001012 * RadioError:ABORTED
1013 * RadioError:DEVICE_IN_USE
1014 * RadioError:INTERNAL_ERR
1015 * RadioError:NO_MEMORY
1016 * RadioError:MODEM_ERR
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001017 * RadioError:REQUEST_NOT_SUPPORTED
1018 * RadioError:CANCELLED
sqian6381ac42017-06-09 12:10:43 -07001019 * RadioError:NO_RESOURCES
1020 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -07001021 */
1022 oneway getAvailableNetworksResponse(RadioResponseInfo info,
1023 vec<OperatorInfo> networkInfos);
1024
Andreas Huber675ae492017-03-28 14:40:58 -07001025 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001026 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001027 *
1028 * Valid errors returned:
1029 * RadioError:NONE
1030 * RadioError:RADIO_NOT_AVAILABLE
1031 * RadioError:INVALID_ARGUMENTS
1032 * RadioError:NO_RESOURCES
1033 * RadioError:NO_MEMORY
1034 * RadioError:SYSTEM_ERR
1035 * RadioError:MODEM_ERR
1036 * RadioError:INTERNAL_ERR
1037 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001038 * RadioError:SYSTEM_ERR
1039 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001040 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001041 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001042 */
1043 oneway startDtmfResponse(RadioResponseInfo info);
1044
Andreas Huber675ae492017-03-28 14:40:58 -07001045 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001046 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001047 *
1048 * Valid errors returned:
1049 * RadioError:NONE
1050 * RadioError:RADIO_NOT_AVAILABLE
1051 * RadioError:INVALID_ARGUMENTS
1052 * RadioError:NO_RESOURCES
1053 * RadioError:NO_MEMORY
1054 * RadioError:INVALID_ARGUMENTS
1055 * RadioError:SYSTEM_ERR
1056 * RadioError:MODEM_ERR
1057 * RadioError:INTERNAL_ERR
1058 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001059 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001060 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001061 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001062 */
1063 oneway stopDtmfResponse(RadioResponseInfo info);
1064
Andreas Huber675ae492017-03-28 14:40:58 -07001065 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001066 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001067 * @param version string containing version string for log reporting
1068 *
1069 * Valid errors returned:
1070 * RadioError:NONE
1071 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001072 * RadioError:EMPTY_RECORD
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001073 * RadioError:NO_MEMORY
1074 * RadioError:INTERNAL_ERR
1075 * RadioError:SYSTEM_ERR
1076 * RadioError:MODEM_ERR
1077 * RadioError:NOT_PROVISIONED
1078 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001079 * RadioError:NO_RESOURCES
1080 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001081 */
1082 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
1083
Andreas Huber675ae492017-03-28 14:40:58 -07001084 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001085 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001086 *
1087 * Valid errors returned:
1088 * RadioError:NONE
1089 * RadioError:RADIO_NOT_AVAILABLE
1090 * RadioError:INVALID_ARGUMENTS
1091 * RadioError:INVALID_STATE
1092 * RadioError:NO_RESOURCES
1093 * RadioError:NO_MEMORY
1094 * RadioError:MODEM_ERR
1095 * RadioError:SYSTEM_ERR
1096 * RadioError:INTERNAL_ERR
1097 * RadioError:INVALID_CALL_ID
1098 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001099 * RadioError:REQUEST_NOT_SUPPORTED
1100 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001101 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001102 */
1103 oneway separateConnectionResponse(RadioResponseInfo info);
1104
Andreas Huber675ae492017-03-28 14:40:58 -07001105 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001106 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001107 *
1108 * Valid errors returned:
1109 * RadioError:NONE
1110 * RadioError:RADIO_NOT_AVAILABLE
1111 * RadioError:INVALID_ARGUMENTS
1112 * RadioError:NO_MEMORY
1113 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001114 * RadioError:INTERNAL_ERR
1115 * RadioError:SYSTEM_ERR
1116 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001117 * RadioError:NO_RESOURCES
1118 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001119 */
1120 oneway setMuteResponse(RadioResponseInfo info);
1121
Andreas Huber675ae492017-03-28 14:40:58 -07001122 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001123 * @param info Response info struct containing response type, serial no. and error
1124 * @param enable true for "mute enabled" and false for "mute disabled"
Sanket Padawe76372492016-10-27 13:20:49 -07001125 *
1126 * Valid errors returned:
1127 * RadioError:NONE
1128 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001129 * RadioError:SS_MODIFIED_TO_DIAL
1130 * RadioError:SS_MODIFIED_TO_USSD
1131 * RadioError:SS_MODIFIED_TO_SS
1132 * RadioError:NO_MEMORY
1133 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001134 * RadioError:INVALID_ARGUMENTS
1135 * RadioError:INTERNAL_ERR
1136 * RadioError:SYSTEM_ERR
1137 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001138 * RadioError:NO_RESOURCES
1139 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001140 */
1141 oneway getMuteResponse(RadioResponseInfo info, bool enable);
1142
Andreas Huber675ae492017-03-28 14:40:58 -07001143 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001144 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001145 * @param status indicates CLIP status
1146 *
1147 * Valid errors returned:
1148 * RadioError:NONE
1149 * RadioError:RADIO_NOT_AVAILABLE
1150 * RadioError:INVALID_ARGUMENTS
1151 * RadioError:NO_MEMORY
1152 * RadioError:SYSTEM_ERR
1153 * RadioError:MODEM_ERR
1154 * RadioError:INTERNAL_ERR
1155 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -07001156 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001157 * RadioError:NO_RESOURCES
1158 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001159 */
1160 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
1161
Andreas Huber675ae492017-03-28 14:40:58 -07001162 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001163 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001164 * @param dcResponse List of DataCallResult as defined in types.hal
1165 *
1166 * Valid errors returned:
1167 * RadioError:NONE
1168 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001169 * RadioError:INTERNAL_ERR
1170 * RadioError:NO_MEMORY
1171 * RadioError:NO_RESOURCES
1172 * RadioError:CANCELLED
1173 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001174 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001175 */
1176 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
1177
Andreas Huber675ae492017-03-28 14:40:58 -07001178 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001179 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001180 *
1181 * Valid errors returned:
1182 * RadioError:NONE
1183 * RadioError:RADIO_NOT_AVAILABLE
1184 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -07001185 * RadioError:SIM_BUSY
1186 * RadioError:NO_MEMORY
1187 * RadioError:SYSTEM_ERR
1188 * RadioError:MODEM_ERR
1189 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -07001190 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001191 * RadioError:NO_RESOURCES
1192 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001193 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001194 */
1195 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
1196
Andreas Huber675ae492017-03-28 14:40:58 -07001197 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001198 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001199 * @param index record index where the message is stored
1200 *
1201 * Valid errors returned:
1202 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001203 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001204 * RadioError:SIM_FULL
1205 * RadioError:INVALID_ARGUMENTS
1206 * RadioError:INVALID_SMS_FORMAT
1207 * RadioError:INTERNAL_ERR
1208 * RadioError:MODEM_ERR
1209 * RadioError:ENCODING_ERR
1210 * RadioError:NO_MEMORY
1211 * RadioError:NO_RESOURCES
1212 * RadioError:INVALID_MODEM_STATE
Naina Nalluri236e8e42017-07-17 11:56:42 -07001213 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -07001214 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001215 * RadioError:RADIO_NOT_AVAILABLE
1216 * RadioError:SYSTEM_ERR
1217 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001218 * RadioError:CANCELLED
1219 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001220 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001221 */
1222 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
1223
Andreas Huber675ae492017-03-28 14:40:58 -07001224 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001225 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001226 *
1227 * Valid errors returned:
1228 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001229 * RadioError:RADIO_NOT_AVAILABLE
1230 * RadioError:SIM_FULL
Sanket Padawe76372492016-10-27 13:20:49 -07001231 * RadioError:INVALID_ARGUMENTS
1232 * RadioError:NO_MEMORY
Sanket Padawe76372492016-10-27 13:20:49 -07001233 * RadioError:SYSTEM_ERR
1234 * RadioError:MODEM_ERR
1235 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001236 * RadioError:INTERNAL_ERR
1237 * RadioError:RADIO_NOT_AVAILABLE
1238 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001239 * RadioError:NO_RESOURCES
1240 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001241 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001242 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001243 */
1244 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1245
Andreas Huber675ae492017-03-28 14:40:58 -07001246 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001247 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001248 *
1249 * Valid errors returned:
1250 * RadioError:NONE
1251 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001252 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001253 * RadioError:NO_MEMORY
1254 * RadioError:INTERNAL_ERR
1255 * RadioError:SYSTEM_ERR
1256 * RadioError:INVALID_ARGUMENTS
1257 * RadioError:MODEM_ERR
1258 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001259 * RadioError:NO_RESOURCES
1260 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001261 */
1262 oneway setBandModeResponse(RadioResponseInfo info);
1263
Andreas Huber675ae492017-03-28 14:40:58 -07001264 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001265 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001266 * @param bandModes List of RadioBandMode listing supported modes
1267 *
1268 * Valid errors returned:
1269 * RadioError:NONE
1270 * RadioError:RADIO_NOT_AVAILABLE
1271 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001272 * RadioError:NO_MEMORY
1273 * RadioError:INTERNAL_ERR
1274 * RadioError:SYSTEM_ERR
1275 * RadioError:MODEM_ERR
1276 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001277 * RadioError:NO_RESOURCES
1278 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001279 */
1280 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1281
Andreas Huber675ae492017-03-28 14:40:58 -07001282 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001283 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001284 * @param commandResponse SAT/USAT response in hexadecimal format
1285 * string starting with first byte of response
1286 *
1287 * Valid errors returned:
1288 * RadioError:NONE
1289 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001290 * RadioError:SIM_BUSY
1291 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001292 * RadioError:INTERNAL_ERR
1293 * RadioError:NO_MEMORY
1294 * RadioError:NO_RESOURCES
1295 * RadioError:CANCELLED
1296 * RadioError:INVALID_ARGUMENTS
1297 * RadioError:MODEM_ERR
1298 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07001299 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001300 */
1301 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1302
Andreas Huber675ae492017-03-28 14:40:58 -07001303 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001304 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001305 *
1306 * Valid errors returned:
1307 * RadioError:NONE
1308 * RadioError:RADIO_NOT_AVAILABLE
1309 * RadioError:INVALID_ARGUMENTS
1310 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001311 * RadioError:INTERNAL_ERR
1312 * RadioError:NO_MEMORY
1313 * RadioError:NO_RESOURCES
1314 * RadioError:CANCELLED
1315 * RadioError:INVALID_MODEM_STATE
1316 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07001317 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001318 */
1319 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
Sanket Padawed52335c2016-11-03 16:46:32 -07001320
Andreas Huber675ae492017-03-28 14:40:58 -07001321 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001322 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001323 *
1324 * Valid errors returned:
1325 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001326 * RadioError:RADIO_NOT_AVAILABLE
sqian284c53c2017-05-16 20:29:19 -07001327 * RadioError:NO_MEMORY
1328 * RadioError:INTERNAL_ERR
1329 * RadioError:SYSTEM_ERR
1330 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001331 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07001332 * RadioError:NO_RESOURCES
1333 * RadioError:CANCELLED
1334 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07001335 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001336 */
1337 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1338
Andreas Huber675ae492017-03-28 14:40:58 -07001339 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001340 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001341 *
1342 * Valid errors returned:
1343 * RadioError:NONE
1344 * RadioError:RADIO_NOT_AVAILABLE
1345 * RadioError:INVALID_ARGUMENTS
1346 * RadioError:INVALID_STATE
1347 * RadioError:NO_RESOURCES
1348 * RadioError:NO_MEMORY
1349 * RadioError:SYSTEM_ERR
1350 * RadioError:MODEM_ERR
1351 * RadioError:INTERNAL_ERR
1352 * RadioError:INVALID_CALL_ID
1353 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001354 * RadioError:REQUEST_NOT_SUPPORTED
1355 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001356 * RadioError:NO_RESOURCES
1357 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001358 */
1359 oneway explicitCallTransferResponse(RadioResponseInfo info);
1360
Andreas Huber675ae492017-03-28 14:40:58 -07001361 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001362 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001363 *
1364 * Valid errors returned:
1365 * RadioError:NONE
1366 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001367 * RadioError:OPERATION_NOT_ALLOWED
1368 * RadioError:MODE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001369 * RadioError:NO_MEMORY
1370 * RadioError:INTERNAL_ERR
1371 * RadioError:SYSTEM_ERR
1372 * RadioError:INVALID_ARGUMENTS
1373 * RadioError:MODEM_ERR
1374 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001375 * RadioError:NO_RESOURCES
1376 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001377 */
1378 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1379
Andreas Huber675ae492017-03-28 14:40:58 -07001380 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001381 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001382 * @param nwType RadioPreferredNetworkType defined in types.hal
1383 *
1384 * Valid errors returned:
1385 * RadioError:NONE
1386 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001387 * RadioError:NO_MEMORY
1388 * RadioError:INTERNAL_ERR
1389 * RadioError:SYSTEM_ERR
1390 * RadioError:INVALID_ARGUMENTS
1391 * RadioError:MODEM_ERR
1392 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001393 * RadioError:NO_RESOURCES
1394 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001395 */
1396 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1397 PreferredNetworkType nwType);
1398
Andreas Huber675ae492017-03-28 14:40:58 -07001399 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001400 * @param info Response info struct containing response type, serial no. and error
1401 * @param cells Vector of neighboring radio cell
Sanket Padawed52335c2016-11-03 16:46:32 -07001402 *
1403 * Valid errors returned:
1404 * RadioError:NONE
1405 * RadioError:RADIO_NOT_AVAILABLE
1406 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001407 * RadioError:NO_MEMORY
1408 * RadioError:INTERNAL_ERR
1409 * RadioError:SYSTEM_ERR
1410 * RadioError:MODEM_ERR
1411 * RadioError:NO_NETWORK_FOUND
1412 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001413 * RadioError:NO_RESOURCES
1414 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001415 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001416 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
Sanket Padawed52335c2016-11-03 16:46:32 -07001417
Andreas Huber675ae492017-03-28 14:40:58 -07001418 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001419 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001420 *
1421 * Valid errors returned:
1422 * RadioError:NONE
1423 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001424 * RadioError:NO_MEMORY
1425 * RadioError:INTERNAL_ERR
1426 * RadioError:SYSTEM_ERR
1427 * RadioError:INVALID_ARGUMENTS
1428 * RadioError:MODEM_ERR
1429 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001430 * RadioError:NO_RESOURCES
1431 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001432 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001433 */
1434 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1435
Andreas Huber675ae492017-03-28 14:40:58 -07001436 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001437 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001438 *
1439 * Valid errors returned:
1440 * RadioError:NONE
1441 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001442 * RadioError:SIM_ABSENT
1443 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001444 * RadioError:INTERNAL_ERR
1445 * RadioError:NO_MEMORY
1446 * RadioError:NO_RESOURCES
1447 * RadioError:CANCELLED
1448 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001449 */
1450 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1451
Andreas Huber675ae492017-03-28 14:40:58 -07001452 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001453 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001454 *
1455 * Valid errors returned:
1456 * RadioError:NONE
1457 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001458 * RadioError:NO_MEMORY
1459 * RadioError:INTERNAL_ERR
1460 * RadioError:SYSTEM_ERR
1461 * RadioError:INVALID_ARGUMENTS
1462 * RadioError:MODEM_ERR
1463 * RadioError:REQUEST_NOT_SUPPORTED
1464 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001465 * RadioError:NO_RESOURCES
1466 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001467 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001468 */
1469 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1470
Andreas Huber675ae492017-03-28 14:40:58 -07001471 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001472 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001473 * @param type CdmaRoamingType defined in types.hal
1474 *
1475 * Valid errors returned:
1476 * RadioError:NONE
1477 * RadioError:RADIO_NOT_AVAILABLE
1478 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001479 * RadioError:NO_MEMORY
1480 * RadioError:INTERNAL_ERR
1481 * RadioError:SYSTEM_ERR
1482 * RadioError:MODEM_ERR
1483 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001484 * RadioError:NO_RESOURCES
1485 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001486 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001487 */
1488 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1489
Andreas Huber675ae492017-03-28 14:40:58 -07001490 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001491 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001492 *
1493 * Valid errors returned:
1494 * RadioError:NONE
1495 * RadioError:RADIO_NOT_AVAILABLE
1496 * RadioError:INVALID_ARGUMENTS
1497 * RadioError:MODEM_ERR
1498 * RadioError:INTERNAL_ERR
1499 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001500 * RadioError:SYSTEM_ERR
1501 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001502 * RadioError:NO_RESOURCES
1503 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001504 */
1505 oneway setTTYModeResponse(RadioResponseInfo info);
1506
Andreas Huber675ae492017-03-28 14:40:58 -07001507 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001508 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001509 * @param mode TtyMode
1510 *
1511 * Valid errors returned:
1512 * RadioError:NONE
1513 * RadioError:RADIO_NOT_AVAILABLE
1514 * RadioError:INVALID_ARGUMENTS
1515 * RadioError:MODEM_ERR
1516 * RadioError:INTERNAL_ERR
1517 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001518 * RadioError:SYSTEM_ERR
1519 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001520 * RadioError:NO_RESOURCES
1521 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001522 */
1523 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1524
Andreas Huber675ae492017-03-28 14:40:58 -07001525 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001526 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001527 *
1528 * Valid errors returned:
1529 * RadioError:NONE
1530 * RadioError:RADIO_NOT_AVAILABLE
1531 * RadioError:INVALID_ARGUMENTS
1532 * RadioError:MODEM_ERR
1533 * RadioError:INTERNAL_ERR
1534 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001535 * RadioError:SYSTEM_ERR
1536 * RadioError:REQUEST_NOT_SUPPORTED
1537 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -07001538 * RadioError:NO_RESOURCES
1539 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001540 */
1541 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1542
Andreas Huber675ae492017-03-28 14:40:58 -07001543 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001544 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001545 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1546 * true for Enhanced Privacy Mode (Private Long Code Mask)
1547 *
1548 * Valid errors:
1549 * RadioError:NONE
1550 * RadioError:RADIO_NOT_AVAILABLE
1551 * RadioError:INVALID_ARGUMENTS
1552 * RadioError:MODEM_ERR
1553 * RadioError:INTERNAL_ERR
1554 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001555 * RadioError:SYSTEM_ERR
1556 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001557 * RadioError:NO_RESOURCES
1558 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001559 */
1560 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1561
Andreas Huber675ae492017-03-28 14:40:58 -07001562 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07001563 * Response callback for IRadio.sendCDMAFeatureCode()
1564 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001565 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001566 *
1567 * Valid errors returned:
1568 * RadioError:NONE
1569 * RadioError:RADIO_NOT_AVAILABLE
1570 * RadioError:INVALID_ARGUMENTS
1571 * RadioError:NO_MEMORY
1572 * RadioError:INTERNAL_ERR
1573 * RadioError:SYSTEM_ERR
1574 * RadioError:MODEM_ERR
1575 * RadioError:INVALID_CALL_ID
1576 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001577 * RadioError:REQUEST_NOT_SUPPORTED
1578 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001579 * RadioError:NO_RESOURCES
1580 * RadioError:CANCELLED
Naina Nalluri236e8e42017-07-17 11:56:42 -07001581 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001582 */
1583 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1584
Andreas Huber675ae492017-03-28 14:40:58 -07001585 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001586 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001587 *
1588 * Valid errors returned:
1589 * RadioError:NONE
1590 * RadioError:RADIO_NOT_AVAILABLE
1591 * RadioError:INVALID_ARGUMENTS
1592 * RadioError:NO_MEMORY
1593 * RadioError:INTERNAL_ERR
1594 * RadioError:SYSTEM_ERR
1595 * RadioError:MODEM_ERR
1596 * RadioError:INVALID_CALL_ID
1597 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001598 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001599 * RadioError:NO_RESOURCES
1600 * RadioError:CANCELLED
1601 * RadioError:INVALID_MODEM_STATE
Naina Nalluri236e8e42017-07-17 11:56:42 -07001602 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001603 */
1604 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1605
Andreas Huber675ae492017-03-28 14:40:58 -07001606 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001607 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001608 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1609 *
1610 * Valid errors returned:
1611 * RadioError:NONE
1612 * RadioError:RADIO_NOT_AVAILABLE
1613 * RadioError:INVALID_ARGUMENTS
1614 * RadioError:SMS_SEND_FAIL_RETRY
1615 * RadioError:NETWORK_REJECT
1616 * RadioError:INVALID_STATE
1617 * RadioError:NO_MEMORY
1618 * RadioError:REQUEST_RATE_LIMITED
1619 * RadioError:INVALID_SMS_FORMAT
1620 * RadioError:SYSTEM_ERR
1621 * RadioError:FDN_CHECK_FAILURE
1622 * RadioError:MODEM_ERR
1623 * RadioError:NETWORK_ERR
1624 * RadioError:ENCODING_ERR
1625 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001626 * RadioError:INTERNAL_ERR
1627 * RadioError:SYSTEM_ERR
1628 * RadioError:REQUEST_NOT_SUPPORTED
1629 * RadioError:OPERATION_NOT_ALLOWED
1630 * RadioError:ENCODING_ERR
sqian6381ac42017-06-09 12:10:43 -07001631 * RadioError:NO_RESOURCES
1632 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001633 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001634 */
1635 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1636
Andreas Huber675ae492017-03-28 14:40:58 -07001637 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001638 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001639 *
1640 * Valid errors returned:
1641 * RadioError:NONE
1642 * RadioError:RADIO_NOT_AVAILABLE
1643 * RadioError:INVALID_ARGUMENTS
1644 * RadioError:NO_SMS_TO_ACK
1645 * RadioError:INVALID_STATE
1646 * RadioError:NO_MEMORY
1647 * RadioError:REQUEST_RATE_LIMITED
1648 * RadioError:SYSTEM_ERR
1649 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001650 * RadioError:NETWORK_NOT_READY
1651 * RadioError:INVALID_MODEM_STATE
sqian159ec7f2017-04-25 18:00:34 -07001652 * RadioError:INTERNAL_ERR
1653 * RadioError:REQUEST_NOT_SUPPORTED
1654 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001655 * RadioError:NO_RESOURCES
1656 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001657 */
1658 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1659
Andreas Huber675ae492017-03-28 14:40:58 -07001660 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001661 * @param info Response info struct containing response type, serial no. and error
1662 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001663 *
1664 * Valid errors returned:
1665 * RadioError:NONE
1666 * RadioError:RADIO_NOT_AVAILABLE
1667 * RadioError:INVALID_ARGUMENTS
1668 * RadioError:INVALID_STATE
1669 * RadioError:NO_MEMORY
1670 * RadioError:REQUEST_RATE_LIMITED
1671 * RadioError:SYSTEM_ERR
1672 * RadioError:MODEM_ERR
1673 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001674 * RadioError:INTERNAL_ERR
1675 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001676 * RadioError:NO_RESOURCES
1677 * RadioError:CANCELLED
1678 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001679 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001680 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1681 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001682
Andreas Huber675ae492017-03-28 14:40:58 -07001683 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001684 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001685 *
1686 * Valid errors returned:
1687 * RadioError:NONE
1688 * RadioError:RADIO_NOT_AVAILABLE
1689 * RadioError:INVALID_ARGUMENTS
1690 * RadioError:INVALID_STATE
1691 * RadioError:NO_MEMORY
1692 * RadioError:REQUEST_RATE_LIMITED
1693 * RadioError:SYSTEM_ERR
1694 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001695 * RadioError:INTERNAL_ERR
1696 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001697 * RadioError:NO_RESOURCES
1698 * RadioError:CANCELLED
1699 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001700 */
1701 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1702
Andreas Huber675ae492017-03-28 14:40:58 -07001703 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001704 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001705 *
1706 * Valid errors returned:
1707 * RadioError:NONE
1708 * RadioError:RADIO_NOT_AVAILABLE
1709 * RadioError:INVALID_ARGUMENTS
1710 * RadioError:INVALID_STATE
1711 * RadioError:NO_MEMORY
1712 * RadioError:REQUEST_RATE_LIMITED
1713 * RadioError:SYSTEM_ERR
1714 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001715 * RadioError:INTERNAL_ERR
1716 * RadioError:REQUEST_NOT_SUPPORTED
1717 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001718 * RadioError:NO_RESOURCES
1719 * RadioError:CANCELLED
1720 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001721 */
1722 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1723
Andreas Huber675ae492017-03-28 14:40:58 -07001724 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001725 * @param info Response info struct containing response type, serial no. and error
1726 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001727 *
1728 * Valid errors returned:
1729 * RadioError:NONE
1730 * RadioError:RADIO_NOT_AVAILABLE
1731 * RadioError:INVALID_ARGUMENTS
1732 * RadioError:INVALID_STATE
1733 * RadioError:NO_MEMORY
1734 * RadioError:REQUEST_RATE_LIMITED
1735 * RadioError:SYSTEM_ERR
1736 * RadioError:MODEM_ERR
1737 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001738 * RadioError:INTERNAL_ERR
1739 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001740 * RadioError:NO_RESOURCES
1741 * RadioError:CANCELLED
1742 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001743 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001744 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1745 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001746
Andreas Huber675ae492017-03-28 14:40:58 -07001747 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001748 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001749 *
1750 * Valid errors returned:
1751 * RadioError:NONE
1752 * RadioError:RADIO_NOT_AVAILABLE
1753 * RadioError:INVALID_ARGUMENTS
1754 * RadioError:INVALID_STATE
1755 * RadioError:NO_MEMORY
1756 * RadioError:REQUEST_RATE_LIMITED
1757 * RadioError:SYSTEM_ERR
1758 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001759 * RadioError:INTERNAL_ERR
1760 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001761 * RadioError:NO_RESOURCES
1762 * RadioError:CANCELLED
1763 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001764 */
1765 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1766
Andreas Huber675ae492017-03-28 14:40:58 -07001767 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001768 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001769 *
1770 * Valid errors returned:
1771 * RadioError:NONE
1772 * RadioError:RADIO_NOT_AVAILABLE
1773 * RadioError:INVALID_ARGUMENTS
1774 * RadioError:INVALID_STATE
1775 * RadioError:NO_MEMORY
1776 * RadioError:REQUEST_RATE_LIMITED
1777 * RadioError:SYSTEM_ERR
1778 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001779 * RadioError:INTERNAL_ERR
1780 * RadioError:REQUEST_NOT_SUPPORTED
1781 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001782 * RadioError:NO_RESOURCES
1783 * RadioError:CANCELLED
1784 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001785 */
1786 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1787
Andreas Huber675ae492017-03-28 14:40:58 -07001788 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001789 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001790 * @param mdn MDN if CDMA subscription is available
1791 * @param hSid is a comma separated list of H_SID (Home SID) if
1792 * CDMA subscription is available, in decimal format
1793 * @param hNid is a comma separated list of H_NID (Home NID) if
1794 * CDMA subscription is available, in decimal format
1795 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1796 * @param prl PRL version if CDMA subscription is available
1797 *
1798 * Valid errors returned:
1799 * RadioError:NONE
1800 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001801 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001802 * RadioError:NO_MEMORY
1803 * RadioError:INTERNAL_ERR
1804 * RadioError:SYSTEM_ERR
1805 * RadioError:INVALID_ARGUMENTS
1806 * RadioError:MODEM_ERR
1807 * RadioError:NOT_PROVISIONED
1808 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001809 * RadioError:NO_RESOURCES
1810 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001811 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001812 */
1813 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1814 string hNid, string min, string prl);
1815
Andreas Huber675ae492017-03-28 14:40:58 -07001816 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001817 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001818 * @param index record index where the cmda sms message is stored
1819 *
1820 * Valid errors returned:
1821 * RadioError:NONE
1822 * RadioError:RADIO_NOT_AVAILABLE
1823 * RadioError:INVALID_ARGUMENTS
1824 * RadioError:INVALID_SMS_FORMAT
1825 * RadioError:SIM_FULL
1826 * RadioError:INTERNAL_ERR
1827 * RadioError:MODEM_ERR
1828 * RadioError:ENCODING_ERR
1829 * RadioError:NO_MEMORY
1830 * RadioError:NO_RESOURCES
1831 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001832 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001833 * RadioError:SYSTEM_ERR
1834 * RadioError:REQUEST_NOT_SUPPORTED
1835 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001836 * RadioError:NO_RESOURCES
1837 * RadioError:CANCELLED
1838 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001839 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001840 */
1841 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1842
Andreas Huber675ae492017-03-28 14:40:58 -07001843 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001844 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001845 *
1846 * Valid errors returned:
1847 * RadioError:NONE
1848 * RadioError:RADIO_NOT_AVAILABLE
1849 * RadioError:INVALID_ARGUMENTS
1850 * RadioError:NO_MEMORY
Sanket Padawed52335c2016-11-03 16:46:32 -07001851 * RadioError:SYSTEM_ERR
1852 * RadioError:MODEM_ERR
1853 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001854 * RadioError:INTERNAL_ERR
1855 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001856 * RadioError:OPERATION_NOT_ALLOWED
1857 * RadioError:NO_RESOURCES
1858 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001859 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001860 * RadioError:OPERATION_NOT_ALLOWED
1861 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001862 */
1863 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1864
Andreas Huber675ae492017-03-28 14:40:58 -07001865 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001866 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001867 * @param imei IMEI if GSM subscription is available
1868 * @param imeisv IMEISV if GSM subscription is available
1869 * @param esn ESN if CDMA subscription is available
1870 * @param meid MEID if CDMA subscription is available
1871 *
1872 * Valid errors returned:
1873 * RadioError:NONE
1874 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001875 * RadioError:NO_MEMORY
1876 * RadioError:INTERNAL_ERR
1877 * RadioError:SYSTEM_ERR
1878 * RadioError:INVALID_ARGUMENTS
1879 * RadioError:MODEM_ERR
1880 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07001881 * RadioError:NO_RESOURCES
1882 * RadioError:CANCELLED
1883 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001884 *
1885 * If a empty string value is returned for any of the device id, it means that there was error
1886 * accessing the device.
1887 *
1888 */
1889 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1890 string esn, string meid);
1891
Andreas Huber675ae492017-03-28 14:40:58 -07001892 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001893 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001894 *
1895 * Valid errors returned:
1896 * RadioError:NONE
1897 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001898 * RadioError:OPERATION_NO_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001899 * RadioError:INTERNAL_ERR
1900 * RadioError:NO_MEMORY
1901 * RadioError:SYSTEM_ERR
1902 * RadioError:INVALID_ARGUMENTS
1903 * RadioError:MODEM_ERR
1904 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001905 * RadioError:NO_RESOURCES
1906 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001907 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001908 */
1909 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1910
Andreas Huber675ae492017-03-28 14:40:58 -07001911 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001912 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001913 * @param smsc Short Message Service Center address on the device
1914 *
1915 * Valid errors returned:
1916 * RadioError:NONE
1917 * RadioError:RADIO_NOT_AVAILABLE
1918 * RadioError:INVALID_ARGUMENTS
1919 * RadioError:INTERNAL_ERR
1920 * RadioError:NO_MEMORY
1921 * RadioError:SYSTEM_ERR
1922 * RadioError:REQUEST_RATE_LIMITED
1923 * RadioError:MODEM_ERR
1924 * RadioError:INVALID_MODEM_STATE
1925 * RadioError:NOT_PROVISIONED
sqian159ec7f2017-04-25 18:00:34 -07001926 * RadioError:REQUEST_NOT_SUPPORTED
1927 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001928 * RadioError:NO_RESOURCES
1929 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001930 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001931 */
1932 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1933
Andreas Huber675ae492017-03-28 14:40:58 -07001934 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001935 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001936 *
1937 * Valid errors returned:
1938 * RadioError:NONE
1939 * RadioError:RADIO_NOT_AVAILABLE
1940 * RadioError:INVALID_ARGUMENTS
1941 * RadioError:INVALID_SMS_FORMAT
1942 * RadioError:NO_MEMORY
1943 * RadioError:SYSTEM_ERR
1944 * RadioError:REQUEST_RATE_LIMITED
1945 * RadioError:MODEM_ERR
1946 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001947 * RadioError:INTERNAL_ERR
1948 * RadioError:REQUEST_NOT_SUPPORTED
1949 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001950 * RadioError:NO_RESOURCES
1951 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001952 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001953 */
1954 oneway setSmscAddressResponse(RadioResponseInfo info);
1955
Andreas Huber675ae492017-03-28 14:40:58 -07001956 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001957 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001958 *
1959 * Valid errors returned:
1960 * RadioError:NONE
1961 * RadioError:RADIO_NOT_AVAILABLE
1962 * RadioError:INVALID_ARGUMENTS
1963 * RadioError:NO_MEMORY
1964 * RadioError:SYSTEM_ERR
1965 * RadioError:REQUEST_RATE_LIMITED
1966 * RadioError:MODEM_ERR
1967 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001968 * RadioError:INTERNAL_ERR
1969 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001970 * RadioError:NO_RESOURCES
1971 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001972 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001973 */
1974 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1975
Andreas Huber675ae492017-03-28 14:40:58 -07001976 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001977 * @param info Response info struct containing response type, serial no. and error
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001978 *
1979 * Valid errors returned:
1980 * RadioError:NONE
1981 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001982 * RadioError:INTERNAL_ERR
1983 * RadioError:NO_MEMORY
1984 * RadioError:NO_RESOURCES
1985 * RadioError:CANCELLED
1986 * RadioError:REQUEST_NOT_SUPPORTED
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001987 */
1988 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1989
Andreas Huber675ae492017-03-28 14:40:58 -07001990 /**
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001991 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001992 * @param source CDMA subscription source
1993 *
1994 * Valid errors returned:
1995 * RadioError:NONE
1996 * RadioError:RADIO_NOT_AVAILABLE
1997 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001998 * RadioError:INTERNAL_ERR
1999 * RadioError:NO_MEMORY
2000 * RadioError:NO_RESOURCES
2001 * RadioError:CANCELLED
2002 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07002003 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002004 */
2005 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
2006
Andreas Huber675ae492017-03-28 14:40:58 -07002007 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002008 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002009 * @param response response string of the challenge/response algo for ISIM auth in base64 format
2010 *
2011 * Valid errors returned:
2012 * RadioError:NONE
2013 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002014 * RadioError:INTERNAL_ERR
2015 * RadioError:NO_MEMORY
2016 * RadioError:NO_RESOURCES
2017 * RadioError:CANCELLED
2018 * RadioError:INVALID_MODEM_STATE
2019 * RadioError:INVALID_ARGUMENTS
2020 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07002021 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002022 */
2023 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
2024
Andreas Huber675ae492017-03-28 14:40:58 -07002025 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002026 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002027 *
2028 * Valid errors returned:
2029 * RadioError:NONE
2030 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002031 * RadioError:INTERNAL_ERR
2032 * RadioError:NO_MEMORY
2033 * RadioError:NO_RESOURCES
2034 * RadioError:CANCELLED
2035 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002036 */
2037 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
2038
Andreas Huber675ae492017-03-28 14:40:58 -07002039 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002040 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002041 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
2042 *
2043 * Valid errors returned:
2044 * RadioError:NONE
2045 * RadioError:RADIO_NOT_AVAILABLE
2046 * RadioError:SIM_BUSY
2047 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07002048 * RadioError:INTERNAL_ERR
2049 * RadioError:NO_MEMORY
2050 * RadioError:NO_RESOURCES
2051 * RadioError:CANCELLED
2052 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002053 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002054 */
2055 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
2056
Andreas Huber675ae492017-03-28 14:40:58 -07002057 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002058 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002059 * @param rat Current voice RAT
2060 *
2061 * Valid errors returned:
2062 * RadioError:NONE
2063 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002064 * RadioError:INTERNAL_ERR
2065 * RadioError:NO_MEMORY
2066 * RadioError:NO_RESOURCES
2067 * RadioError:CANCELLED
2068 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002069 */
2070 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
2071
Andreas Huber675ae492017-03-28 14:40:58 -07002072 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002073 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002074 * @param cellInfo List of current cell information known to radio
2075 *
2076 * Valid errors returned:
2077 * RadioError:NONE
2078 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002079 * RadioError:NO_MEMORY
2080 * RadioError:INTERNAL_ERR
2081 * RadioError:SYSTEM_ERR
2082 * RadioError:MODEM_ERR
2083 * RadioError:NO_NETWORK_FOUND
2084 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002085 * RadioError:NO_RESOURCES
2086 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002087 */
2088 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
2089
Andreas Huber675ae492017-03-28 14:40:58 -07002090 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002091 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002092 *
2093 * Valid errors returned:
2094 * RadioError:NONE
2095 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002096 * RadioError:NO_MEMORY
2097 * RadioError:INTERNAL_ERR
2098 * RadioError:SYSTEM_ERR
2099 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002100 * RadioError:NO_RESOURCES
2101 * RadioError:CANCELLED
2102 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002103 */
2104 oneway setCellInfoListRateResponse(RadioResponseInfo info);
2105
Andreas Huber675ae492017-03-28 14:40:58 -07002106 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002107 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002108 *
2109 * Valid errors returned:
2110 * RadioError:NONE
2111 * RadioError:RADIO_NOT_AVAILABLE
2112 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002113 * RadioError:NO_MEMORY
2114 * RadioError:INTERNAL_ERR
2115 * RadioError:SYSTEM_ERR
2116 * RadioError:MODEM_ERR
2117 * RadioError:INVALID_ARGUMENTS
2118 * RadioError:NOT_PROVISIONED
2119 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002120 * RadioError:NO_RESOURCES
2121 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002122 */
2123 oneway setInitialAttachApnResponse(RadioResponseInfo info);
2124
Andreas Huber675ae492017-03-28 14:40:58 -07002125 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002126 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002127 * @param isRegistered false = not registered, true = registered
2128 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
2129 * isRegistered is true.
2130 *
2131 * Valid errors returned:
2132 * RadioError:NONE
2133 * RadioError:RADIO_NOT_AVAILABLE
sqian08e90552017-06-01 12:39:22 -07002134 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002135 * RadioError:NO_MEMORY
2136 * RadioError:NO_RESOURCES
2137 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07002138 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002139 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002140 */
2141 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
2142 RadioTechnologyFamily ratFamily);
2143
Andreas Huber675ae492017-03-28 14:40:58 -07002144 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002145 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002146 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
2147 *
2148 * Valid errors returned:
2149 * RadioError:NONE
2150 * RadioError:RADIO_NOT_AVAILABLE
2151 * RadioError:SMS_SEND_FAIL_RETRY
2152 * RadioError:FDN_CHECK_FAILURE
2153 * RadioError:NETWORK_REJECT
2154 * RadioError:INVALID_ARGUMENTS
2155 * RadioError:INVALID_STATE
2156 * RadioError:NO_MEMORY
2157 * RadioError:INVALID_SMS_FORMAT
2158 * RadioError:SYSTEM_ERR
2159 * RadioError:REQUEST_RATE_LIMITED
2160 * RadioError:MODEM_ERR
2161 * RadioError:NETWORK_ERR
2162 * RadioError:ENCODING_ERR
Naina Nalluri236e8e42017-07-17 11:56:42 -07002163 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07002164 * RadioError:INTERNAL_ERR
2165 * RadioError:REQUEST_NOT_SUPPORTED
2166 * RadioError:NETWORK_NOT_READY
sqian6381ac42017-06-09 12:10:43 -07002167 * RadioError:NO_RESOURCES
2168 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002169 */
2170 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
2171
Andreas Huber675ae492017-03-28 14:40:58 -07002172 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002173 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002174 * @param result IccIoResult as defined in types.hal
2175 *
2176 * Valid errors returned:
2177 * RadioError:NONE
2178 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002179 * RadioError:INTERNAL_ERR
2180 * RadioError:NO_MEMORY
2181 * RadioError:NO_RESOURCES
2182 * RadioError:CANCELLED
2183 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002184 */
2185 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
2186
Andreas Huber675ae492017-03-28 14:40:58 -07002187 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002188 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002189 * @param channelId session id of the logical channel.
2190 * @param selectResponse Contains the select response for the open channel command with one
2191 * byte per integer
2192 *
2193 * Valid errors returned:
2194 * RadioError:NONE
2195 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07002196 * RadioError:MISSING_RESOURCE
2197 * RadioError:NO_SUCH_ELEMENT
sqian6381ac42017-06-09 12:10:43 -07002198 * RadioError:INTERNAL_ERR
2199 * RadioError:NO_MEMORY
2200 * RadioError:NO_RESOURCES
2201 * RadioError:CANCELLED
2202 * RadioError:SIM_ERR
2203 * RadioError:INVALID_SIM_STATE
2204 * RadioError:MISSING_RESOURCE
2205 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002206 */
2207 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
2208 vec<int8_t> selectResponse);
2209
Andreas Huber675ae492017-03-28 14:40:58 -07002210 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002211 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002212 *
2213 * Valid errors returned:
2214 * RadioError:NONE
2215 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002216 * RadioError:INTERNAL_ERR
2217 * RadioError:NO_MEMORY
2218 * RadioError:NO_RESOURCES
2219 * RadioError:CANCELLED
2220 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002221 */
2222 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
2223
Andreas Huber675ae492017-03-28 14:40:58 -07002224 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002225 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002226 * @param result IccIoResult as defined in types.hal
2227 *
2228 * Valid errors returned:
2229 * RadioError:NONE
2230 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002231 * RadioError:INTERNAL_ERR
2232 * RadioError:NO_MEMORY
2233 * RadioError:NO_RESOURCES
2234 * RadioError:CANCELLED
2235 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002236 */
2237 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
2238
Andreas Huber675ae492017-03-28 14:40:58 -07002239 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002240 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002241 * @param result string containing the contents of the NV item
2242 *
2243 * Valid errors returned:
2244 * RadioError:NONE
2245 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002246 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002247 */
2248 oneway nvReadItemResponse(RadioResponseInfo info, string result);
2249
Andreas Huber675ae492017-03-28 14:40:58 -07002250 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002251 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002252 *
2253 * Valid errors returned:
2254 * RadioError:NONE
2255 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002256 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002257 */
2258 oneway nvWriteItemResponse(RadioResponseInfo info);
2259
Andreas Huber675ae492017-03-28 14:40:58 -07002260 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002261 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002262 *
2263 * Valid errors returned:
2264 * RadioError:NONE
2265 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002266 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002267 */
2268 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
2269
Andreas Huber675ae492017-03-28 14:40:58 -07002270 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002271 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002272 *
2273 * Valid errors returned:
2274 * RadioError:NONE
2275 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002276 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002277 */
2278 oneway nvResetConfigResponse(RadioResponseInfo info);
2279
Andreas Huber675ae492017-03-28 14:40:58 -07002280 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002281 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002282 *
2283 * Valid errors returned:
2284 * RadioError:NONE
2285 * RadioError:RADIO_NOT_AVAILABLE
2286 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002287 * RadioError:NO_MEMORY
2288 * RadioError:INTERNAL_ERR
2289 * RadioError:SYSTEM_ERR
2290 * RadioError:MODEM_ERR
2291 * RadioError:INVALID_ARGUMENTS
2292 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002293 * RadioError:NO_RESOURCES
2294 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002295 */
2296 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
2297
Andreas Huber675ae492017-03-28 14:40:58 -07002298 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002299 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002300 *
2301 * Valid errors returned:
2302 * RadioError:NONE
2303 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002304 * RadioError:NO_MEMORY
2305 * RadioError:INTERNAL_ERR
2306 * RadioError:SYSTEM_ERR
2307 * RadioError:MODEM_ERR
2308 * RadioError:INVALID_ARGUMENTS
2309 * RadioError:DEVICE_IN_USE
2310 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002311 * RadioError:NO_RESOURCES
2312 * RadioError:CANCELLED
2313 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002314 */
2315 oneway setDataAllowedResponse(RadioResponseInfo info);
2316
Andreas Huber675ae492017-03-28 14:40:58 -07002317 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002318 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002319 * @param config Array of HardwareConfig of the radio.
2320 *
2321 * Valid errors returned:
2322 * RadioError:NONE
2323 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002324 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002325 */
2326 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
2327
Andreas Huber675ae492017-03-28 14:40:58 -07002328 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002329 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002330 * @param result IccIoResult as defined in types.hal
2331 *
2332 * Valid errors returned:
2333 * RadioError:NONE
2334 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002335 * RadioError:INTERNAL_ERR
2336 * RadioError:NO_MEMORY
2337 * RadioError:NO_RESOURCES
2338 * RadioError:CANCELLED
2339 * RadioError:INVALID_MODEM_STATE
2340 * RadioError:SIM_ERR
2341 * RadioError:INVALID_ARGUMENTS
2342 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002343 */
2344 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
2345
Andreas Huber675ae492017-03-28 14:40:58 -07002346 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002347 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002348 *
2349 * Valid errors returned:
2350 * RadioError:NONE
2351 * RadioError:RADIO_NOT_AVAILABLE
2352 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002353 * RadioError:INTERNAL_ERR
2354 * RadioError:NO_MEMORY
2355 * RadioError:NO_RESOURCES
2356 * RadioError:CANCELLED
2357 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002358 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002359 */
2360 oneway setDataProfileResponse(RadioResponseInfo info);
2361
Andreas Huber675ae492017-03-28 14:40:58 -07002362 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002363 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002364 *
2365 * Valid errors returned:
2366 * RadioError:NONE
2367 * RadioError:RADIO_NOT_AVAILABLE
2368 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002369 * RadioError:NO_MEMORY
2370 * RadioError:INTERNAL_ERR
2371 * RadioError:SYSTEM_ERR
2372 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002373 * RadioError:NO_RESOURCES
2374 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002375 */
2376 oneway requestShutdownResponse(RadioResponseInfo info);
2377
Andreas Huber675ae492017-03-28 14:40:58 -07002378 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002379 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002380 * @param rc Radio capability as defined by RadioCapability in types.hal
2381 *
2382 * Valid errors returned:
2383 * RadioError:NONE
2384 * RadioError:RADIO_NOT_AVAILABLE
2385 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002386 * RadioError:INVALID_STATE
2387 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002388 * RadioError:INTERNAL_ERR
2389 * RadioError:NO_MEMORY
2390 * RadioError:NO_RESOURCES
2391 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002392 */
2393 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2394
Andreas Huber675ae492017-03-28 14:40:58 -07002395 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002396 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002397 * @param rc Radio capability as defined by RadioCapability in types.hal used to
2398 * feedback return status
2399 *
2400 * Valid errors returned:
2401 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
2402 * RadioError:RADIO_NOT_AVAILABLE
2403 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002404 * RadioError:NO_MEMORY
2405 * RadioError:INTERNAL_ERR
2406 * RadioError:SYSTEM_ERR
2407 * RadioError:INVALID_ARGUMENTS
2408 * RadioError:MODEM_ERR
2409 * RadioError:INVALID_STATE
2410 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002411 * RadioError:NO_RESOURCES
2412 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002413 */
2414 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2415
Andreas Huber675ae492017-03-28 14:40:58 -07002416 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002417 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002418 * @param statusInfo LceStatusInfo indicating LCE status
2419 *
2420 * Valid errors returned:
2421 * RadioError:NONE
2422 * RadioError:RADIO_NOT_AVAILABLE
2423 * RadioError:LCE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002424 * RadioError:INTERNAL_ERR
2425 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002426 * RadioError:NO_MEMORY
2427 * RadioError:NO_RESOURCES
2428 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002429 */
2430 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2431
Andreas Huber675ae492017-03-28 14:40:58 -07002432 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002433 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002434 * @param statusInfo LceStatusInfo indicating LCE status
2435 *
2436 * Valid errors returned:
2437 * RadioError:NONE
2438 * RadioError:RADIO_NOT_AVAILABLE
2439 * RadioError:LCE_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002440 * RadioError:INTERNAL_ERR
2441 * RadioError:NO_MEMORY
2442 * RadioError:NO_RESOURCES
2443 * RadioError:CANCELLED
2444 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002445 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002446 */
2447 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2448
Andreas Huber675ae492017-03-28 14:40:58 -07002449 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002450 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002451 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
2452 *
2453 * Valid errors returned:
2454 * RadioError:NONE
2455 * RadioError:RADIO_NOT_AVAILABLE
2456 * RadioError:LCE_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07002457 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002458 * RadioError:NO_MEMORY
2459 * RadioError:NO_RESOURCES
2460 * RadioError:CANCELLED
2461 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002462 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002463 */
2464 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
2465
Andreas Huber675ae492017-03-28 14:40:58 -07002466 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002467 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002468 * @param activityInfo modem activity information
2469 *
2470 * Valid errors returned:
2471 * RadioError:NONE
2472 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002473 * RadioError:NO_MEMORY
2474 * RadioError:INTERNAL_ERR
2475 * RadioError:SYSTEM_ERR
2476 * RadioError:MODEM_ERR
2477 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07002478 * RadioError:NO_RESOURCES
2479 * RadioError:CANCELLED
2480 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002481 */
2482 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
2483
Andreas Huber675ae492017-03-28 14:40:58 -07002484 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002485 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002486 * @param numAllowed number of allowed carriers which have been set correctly.
2487 * On success, it must match the length of list Carriers->allowedCarriers.
2488 * if Length of allowed carriers list is 0, numAllowed = 0.
2489 *
2490 * Valid errors returned:
2491 * RadioError:NONE
2492 * RadioError:RADIO_NOT_AVAILABLE
2493 * RadioError:INVALID_ARGUMENTS
2494 * RadioError:REQUEST_NOT_SUPPORTED
2495 */
2496 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
2497
Andreas Huber675ae492017-03-28 14:40:58 -07002498 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07002499 * Expected modem behavior:
2500 * Return list of allowed carriers, and if all carriers are allowed.
2501 *
Sanket Padawe865834e2016-12-28 16:04:10 -08002502 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002503 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
2504 * If false, consider "carriers" struct
2505 * @param carriers Carrier restriction information.
2506 *
2507 * Valid errors returned:
2508 * RadioError:NONE
2509 * RadioError:RADIO_NOT_AVAILABLE
2510 * RadioError:REQUEST_NOT_SUPPORTED
2511 */
2512 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
2513 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002514
Andreas Huber675ae492017-03-28 14:40:58 -07002515 /**
Jack Yued7ef812017-01-24 11:56:52 -08002516 * @param info Response info struct containing response type, serial no. and error
2517 *
2518 * Valid errors returned:
2519 * RadioError:NONE
2520 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002521 * RadioError:NO_MEMORY
2522 * RadioError:INTERNAL_ERR
2523 * RadioError:SYSTEM_ERR
2524 * RadioError:INVALID_ARGUMENTS
2525 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002526 * RadioError:NO_RESOURCES
2527 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002528 */
2529 oneway sendDeviceStateResponse(RadioResponseInfo info);
2530
Andreas Huber675ae492017-03-28 14:40:58 -07002531 /**
Jack Yued7ef812017-01-24 11:56:52 -08002532 * @param info Response info struct containing response type, serial no. and error
2533 *
2534 * Valid errors returned:
2535 * RadioError:NONE
2536 * RadioError:INVALID_ARGUMENTS
2537 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002538 * RadioError:NO_MEMORY
2539 * RadioError:INTERNAL_ERR
2540 * RadioError:SYSTEM_ERR
2541 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002542 * RadioError:NO_RESOURCES
2543 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002544 */
2545 oneway setIndicationFilterResponse(RadioResponseInfo info);
2546
Andreas Huber675ae492017-03-28 14:40:58 -07002547 /**
Jack Yua2118692017-02-15 15:31:34 -08002548 * @param info Response info struct containing response type, serial no. and error
2549 *
2550 * Valid errors returned:
2551 * RadioError:NONE
2552 * RadioError:RADIO_NOT_AVAILABLE
2553 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yua2118692017-02-15 15:31:34 -08002554 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002555 * RadioError:INTERNAL_ERR
2556 * RadioError:NO_MEMORY
2557 * RadioError:NO_RESOURCES
2558 * RadioError:CANCELLED
Jack Yua2118692017-02-15 15:31:34 -08002559 */
2560 oneway setSimCardPowerResponse(RadioResponseInfo info);
2561
Andreas Huber675ae492017-03-28 14:40:58 -07002562 /**
Jack Yued7ef812017-01-24 11:56:52 -08002563 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002564 * radio request which take long time to respond.
2565 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
2566 *
2567 * @param serial Serial no. of the request whose acknowledgement is sent.
2568 */
Sanket Padawe865834e2016-12-28 16:04:10 -08002569 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07002570};