blob: c1b16b7b8361e57d1128c9d7c65b3b87c8502b9c [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
sqian4ed0a212018-07-09 14:45:12 -070091 * RadioError:SIM_PUK2
Sanket Padawe76372492016-10-27 13:20:49 -070092 */
93 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
94
Andreas Huber675ae492017-03-28 14:40:58 -070095 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080096 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070097 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
98 * Valid errors returned:
99 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700100 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700101 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -0700102 * RadioError:INTERNAL_ERR
103 * RadioError:NO_MEMORY
104 * RadioError:NO_RESOURCES
105 * RadioError:CANCELLED
106 * RadioError:INVALID_ARGUMENTS
107 * RadioError:INVALID_SIM_STATE
108 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700109 */
110 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
111
Andreas Huber675ae492017-03-28 14:40:58 -0700112 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800113 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700114 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
115 *
116 * Valid errors returned:
117 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700118 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700119 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -0700120 * RadioError:INTERNAL_ERR
121 * RadioError:NO_MEMORY
122 * RadioError:NO_RESOURCES
123 * RadioError:CANCELLED
124 * RadioError:INVALID_ARGUMENTS
125 * RadioError:INVALID_SIM_STATE
126 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700127 */
128 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
129
Andreas Huber675ae492017-03-28 14:40:58 -0700130 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800131 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700132 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
133 *
134 * Valid errors returned:
135 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700136 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700137 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
sqian6381ac42017-06-09 12:10:43 -0700138 * RadioError:INTERNAL_ERR
139 * RadioError:NO_MEMORY
140 * RadioError:NO_RESOURCES
141 * RadioError:CANCELLED
142 * RadioError:INVALID_ARGUMENTS
143 * RadioError:INVALID_SIM_STATE
144 * RadioError:REQUEST_NOT_SUPPORTED
sqian4ed0a212018-07-09 14:45:12 -0700145 * RadioError:SIM_PUK2
Sanket Padawe76372492016-10-27 13:20:49 -0700146 */
147 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
148
Andreas Huber675ae492017-03-28 14:40:58 -0700149 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800150 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700151 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
152 *
153 * Valid errors returned:
154 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -0700155 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700156 * RadioError:PASSWORD_INCORRECT (code is invalid)
sqian284c53c2017-05-16 20:29:19 -0700157 * RadioError:NO_MEMORY
158 * RadioError:INVALID_SIM_STATE
159 * RadioError:INTERNAL_ERR
160 * RadioError:SYSTEM_ERR
161 * RadioError:MODEM_ERR
162 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700163 * RadioError:NO_RESOURCES
164 * RadioError:CANCELLED
165 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700166 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700167 */
168 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
169
Andreas Huber675ae492017-03-28 14:40:58 -0700170 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800171 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700172 * @param calls Current call list
173 *
174 * Valid errors returned:
175 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700176 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700177 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700178 * RadioError:INTERNAL_ERR
179 * RadioError:SYSTEM_ERR
180 * RadioError:INVALID_ARGUMENTS
181 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700182 * RadioError:NO_RESOURCES
183 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700184 */
185 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
186
Andreas Huber675ae492017-03-28 14:40:58 -0700187 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800188 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700189 *
190 * Valid errors returned:
191 * RadioError:NONE
192 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700193 * RadioError:DIAL_MODIFIED_TO_USSD
194 * RadioError:DIAL_MODIFIED_TO_SS
195 * RadioError:DIAL_MODIFIED_TO_DIAL
196 * RadioError:INVALID_ARGUMENTS
197 * RadioError:NO_MEMORY
198 * RadioError:INVALID_STATE
199 * RadioError:NO_RESOURCES
200 * RadioError:INTERNAL_ERR
201 * RadioError:FDN_CHECK_FAILURE
202 * RadioError:MODEM_ERR
203 * RadioError:NO_SUBSCRIPTION
204 * RadioError:NO_NETWORK_FOUND
205 * RadioError:INVALID_CALL_ID
206 * RadioError:DEVICE_IN_USE
Naina Nalluri236e8e42017-07-17 11:56:42 -0700207 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -0700208 * RadioError:ABORTED
sqian159ec7f2017-04-25 18:00:34 -0700209 * RadioError:SYSTEM_ERR
210 * RadioError:REQUEST_NOT_SUPPORTED
211 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700212 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700213 */
214 oneway dialResponse(RadioResponseInfo info);
215
Andreas Huber675ae492017-03-28 14:40:58 -0700216 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800217 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700218 * @param imsi String containing the IMSI
219 *
220 * Valid errors returned:
221 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700222 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
sqian6381ac42017-06-09 12:10:43 -0700223 * RadioError:INTERNAL_ERR
224 * RadioError:NO_MEMORY
225 * RadioError:NO_RESOURCES
226 * RadioError:CANCELLED
227 * RadioError:INVALID_SIM_STATE
228 * RadioError:SIM_ERR
229 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700230 */
231 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
232
Andreas Huber675ae492017-03-28 14:40:58 -0700233 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800234 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700235 *
236 * Valid errors returned:
237 * RadioError:NONE
238 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
239 * RadioError:INVALID_ARGUMENTS
240 * RadioError:NO_MEMORY
241 * RadioError:INVALID_STATE
242 * RadioError:MODEM_ERR
243 * RadioError:INTERNAL_ERR
244 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -0700245 * RadioError:NO_RESOURCES
246 * RadioError:CANCELLED
247 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700248 */
249 oneway hangupConnectionResponse(RadioResponseInfo info);
250
Andreas Huber675ae492017-03-28 14:40:58 -0700251 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800252 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700253 *
254 * Valid errors returned:
255 * RadioError:NONE
256 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
257 * RadioError:INVALID_STATE
258 * RadioError:NO_MEMORY
259 * RadioError:MODEM_ERR
260 * RadioError:INTERNAL_ERR
261 * RadioError:INVALID_CALL_ID
262 * RadioError:NO_RESOURCES
263 * RadioError:OPERATION_NOT_ALLOWED
264 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700265 * RadioError:SYSTEM_ERR
266 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700267 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700268 */
269 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
270
Andreas Huber675ae492017-03-28 14:40:58 -0700271 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800272 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700273 *
274 * Valid errors returned:
275 * RadioError:NONE
276 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
277 * RadioError:INVALID_STATE
278 * RadioError:NO_MEMORY
279 * RadioError:MODEM_ERR
280 * RadioError:INTERNAL_ERR
281 * RadioError:INVALID_CALL_ID
282 * RadioError:NO_RESOURCES
283 * RadioError:OPERATION_NOT_ALLOWED
284 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700285 * RadioError:SYSTEM_ERR
286 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700287 * RadioError:NO_RESOURCES
288 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700289 */
290 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
291
Andreas Huber675ae492017-03-28 14:40:58 -0700292 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800293 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700294 *
295 * Valid errors returned:
296 * RadioError:NONE
297 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
298 * RadioError:INVALID_STATE
299 * RadioError:NO_MEMORY
300 * RadioError:MODEM_ERR
301 * RadioError:INTERNAL_ERR
302 * RadioError:INVALID_STATE
303 * RadioError:INVALID_CALL_ID
304 * RadioError:OPERATION_NOT_ALLOWED
305 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700306 * RadioError:SYSTEM_ERR
307 * RadioError:REQUEST_NOT_SUPPORTED
308 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700309 * RadioError:NO_RESOURCES
310 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700311 */
312 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
313
Andreas Huber675ae492017-03-28 14:40:58 -0700314 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800315 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700316 *
317 * Valid errors returned:
318 * RadioError:NONE
319 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
320 * RadioError:NO_MEMORY
321 * RadioError:MODEM_ERR
322 * RadioError:INTERNAL_ERR
323 * RadioError:INVALID_STATE
324 * RadioError:INVALID_CALL_ID
325 * RadioError:OPERATION_NOT_ALLOWED
326 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700327 * RadioError:SYSTEM_ERR
328 * RadioError:REQUEST_NOT_SUPPORTED
329 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700330 * RadioError:NO_RESOURCES
331 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700332 */
333 oneway conferenceResponse(RadioResponseInfo info);
334
Andreas Huber675ae492017-03-28 14:40:58 -0700335 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800336 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700337 *
338 * Valid errors returned:
339 * RadioError:NONE
340 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
341 * RadioError:INVALID_STATE
342 * RadioError:NO_RESOURCES
343 * RadioError:NO_MEMORY
344 * RadioError:MODEM_ERR
345 * RadioError:INTERNAL_ERR
346 * RadioError:INVALID_CALL_ID
347 * RadioError:OPERATION_NOT_ALLOWED
348 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700349 * RadioError:SYSTEM_ERR
350 * RadioError:REQUEST_NOT_SUPPORTED
351 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700352 * RadioError:NO_RESOURCES
353 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700354 */
355 oneway rejectCallResponse(RadioResponseInfo info);
356
Andreas Huber675ae492017-03-28 14:40:58 -0700357 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800358 * @param info Response info struct containing response type, serial no. and error
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700359 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
Sanket Padawe76372492016-10-27 13:20:49 -0700360 *
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700361 * The vendor cause code must be used for debugging purpose only.
362 * The implementation must return one of the values of LastCallFailCause
363 * as mentioned below
364 *
365 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
366 * where possible.
367 * CDMA failure reasons codes for the possible call failure scenarios
368 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
369 * Any of the following reason codes if the call is failed or dropped due to reason
370 * mentioned with in the braces.
371 * LastCallFailCause:RADIO_OFF (Radio is OFF)
372 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
373 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
374 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
375 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
376 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
377 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
378 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
379 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
380 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
381 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
382 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
383 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
384 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
385 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
386 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
Sanket Padawe76372492016-10-27 13:20:49 -0700387 *
388 * If the implementation does not have access to the exact cause codes,
389 * then it must return one of the values listed in LastCallFailCause,
390 * as the UI layer needs to distinguish these cases for tone generation or
391 * error notification.
392 *
393 * Valid errors returned:
394 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700395 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700396 * RadioError:RADIO_NOT_AVAILABLE
397 * RadioError:SYSTEM_ERR
398 * RadioError:INVALID_ARGUMENTS
399 * RadioError:INTERNAL_ERR
400 * RadioError:MODEM_ERR
401 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700402 * RadioError:NO_MEMORY
403 * RadioError:NO_RESOURCES
404 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700405 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800406 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
407 LastCallFailCauseInfo failCauseinfo);
Sanket Padawe76372492016-10-27 13:20:49 -0700408
Andreas Huber675ae492017-03-28 14:40:58 -0700409 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800410 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700411 * @param sigStrength Current signal strength
412 *
413 * Valid errors returned:
414 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700415 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700416 * RadioError:NO_MEMORY
417 * RadioError:INTERNAL_ERR
418 * RadioError:SYSTEM_ERR
419 * RadioError:MODEM_ERR
420 * RadioError:NOT_PROVISIONED
421 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700422 * RadioError:NO_RESOURCES
423 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700424 */
425 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
426
Andreas Huber675ae492017-03-28 14:40:58 -0700427 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800428 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700429 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
430 * in types.hal
431 *
432 * Valid errors returned:
433 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700434 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700435 * RadioError:INTERNAL_ERR
436 * RadioError:NO_MEMORY
437 * RadioError:NO_RESOURCES
438 * RadioError:CANCELLED
439 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700440 */
441 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
442 VoiceRegStateResult voiceRegResponse);
443
Andreas Huber675ae492017-03-28 14:40:58 -0700444 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800445 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700446 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
447 * types.hal
448 *
449 * Valid errors returned:
450 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700451 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700452 * RadioError:NO_MEMORY
453 * RadioError:INTERNAL_ERR
454 * RadioError:SYSTEM_ERR
455 * RadioError:MODEM_ERR
456 * RadioError:NOT_PROVISIONED
457 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700458 * RadioError:NO_RESOURCES
459 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700460 */
461 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
462 DataRegStateResult dataRegResponse);
463
Andreas Huber675ae492017-03-28 14:40:58 -0700464 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800465 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700466 * @param longName is long alpha ONS or EONS or empty string if unregistered
467 * @param shortName is short alpha ONS or EONS or empty string if unregistered
468 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
469 *
470 * Valid errors returned:
471 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700472 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700473 * RadioError:NO_MEMORY
474 * RadioError:INTERNAL_ERR
475 * RadioError:SYSTEM_ERR
476 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700477 * RadioError:NO_RESOURCES
478 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700479 */
480 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
481 string numeric);
482
Andreas Huber675ae492017-03-28 14:40:58 -0700483 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800484 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700485 *
486 * Valid errors returned:
487 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700488 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700489 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700490 * RadioError:INVALID_STATE
491 * RadioError:NO_MEMORY
492 * RadioError:INTERNAL_ERR
493 * RadioError:SYSTEM_ERR
494 * RadioError:INVALID_ARGUMENTS
495 * RadioError:MODEM_ERR
496 * RadioError:DEVICE_IN_USE
497 * RadioError:OPERATION_NOT_ALLOWED
498 * RadioError:INVALID_MODEM_STATE
499 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700500 * RadioError:NO_RESOURCES
501 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700502 */
503 oneway setRadioPowerResponse(RadioResponseInfo info);
504
Andreas Huber675ae492017-03-28 14:40:58 -0700505 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800506 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700507 *
508 * Valid errors returned:
509 * RadioError:NONE
510 * RadioError:RADIO_NOT_AVAILABLE
511 * RadioError:INVALID_ARGUMENTS
512 * RadioError:NO_RESOURCES
513 * RadioError:NO_MEMORY
514 * RadioError:MODEM_ERR
515 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700516 * RadioError:INTERNAL_ERR
517 * RadioError:SYSTEM_ERR
518 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700519 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -0700520 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700521 */
522 oneway sendDtmfResponse(RadioResponseInfo info);
523
Andreas Huber675ae492017-03-28 14:40:58 -0700524 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800525 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700526 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
527 *
528 * Valid errors returned:
529 * RadioError:NONE
530 * RadioError:RADIO_NOT_AVAILABLE
531 * RadioError:SMS_SEND_FAIL_RETRY
532 * RadioError:NETWORK_REJECT
533 * RadioError:INVALID_STATE
534 * RadioError:INVALID_ARGUMENTS
535 * RadioError:NO_MEMORY
536 * RadioError:REQUEST_RATE_LIMITED
537 * RadioError:INVALID_SMS_FORMAT
538 * RadioError:SYSTEM_ERR
539 * RadioError:ENCODING_ERR
540 * RadioError:INVALID_SMSC_ADDRESS
541 * RadioError:MODEM_ERR
542 * RadioError:NETWORK_ERR
sqian159ec7f2017-04-25 18:00:34 -0700543 * RadioError:INTERNAL_ERR
544 * RadioError:REQUEST_NOT_SUPPORTED
545 * RadioError:INVALID_MODEM_STATE
546 * RadioError:NETWORK_NOT_READY
547 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -0700548 * RadioError:NO_RESOURCES
549 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700550 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700551 */
552 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
553
Andreas Huber675ae492017-03-28 14:40:58 -0700554 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800555 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700556 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
557 *
558 * Valid errors returned:
559 * RadioError:NONE
560 * RadioError:RADIO_NOT_AVAILABLE
561 * RadioError:SMS_SEND_FAIL_RETRY
562 * RadioError:NETWORK_REJECT
563 * RadioError:INVALID_STATE
564 * RadioError:INVALID_ARGUMENTS
565 * RadioError:NO_MEMORY
566 * RadioError:REQUEST_RATE_LIMITED
567 * RadioError:INVALID_SMS_FORMAT
568 * RadioError:SYSTEM_ERR
569 * RadioError:FDN_CHECK_FAILURE
570 * RadioError:ENCODING_ERR
571 * RadioError:INVALID_SMSC_ADDRESS
572 * RadioError:MODEM_ERR
573 * RadioError:NETWORK_ERR
sqian159ec7f2017-04-25 18:00:34 -0700574 * RadioError:INTERNAL_ERR
575 * RadioError:REQUEST_NOT_SUPPORTED
576 * RadioError:INVALID_MODEM_STATE
577 * RadioError:NETWORK_NOT_READY
578 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -0700579 * RadioError:NO_RESOURCES
580 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700581 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700582 */
583 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
584
Andreas Huber675ae492017-03-28 14:40:58 -0700585 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800586 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700587 * @param dcResponse SetupDataCallResult defined in types.hal
588 *
589 * Valid errors returned:
590 * RadioError:NONE must be returned on both success and failure of setup with the
591 * DataCallResponse.status containing the actual status
592 * For all other errors the DataCallResponse is ignored.
Sanket Padawe76372492016-10-27 13:20:49 -0700593 * RadioError:RADIO_NOT_AVAILABLE
594 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
595 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
596 * RadioError:REQUEST_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700597 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700598 * RadioError:INTERNAL_ERR
599 * RadioError:NO_MEMORY
600 * RadioError:NO_RESOURCES
601 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700602 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700603 */
604 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
605
Andreas Huber675ae492017-03-28 14:40:58 -0700606 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800607 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -0700608 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
Sanket Padawe76372492016-10-27 13:20:49 -0700609 *
610 * Valid errors returned:
611 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700612 * RadioError:RADIO_NOT_AVAILABLE
613 * RadioError:SIM_PIN2
614 * RadioError:SIM_PUK2
sqian6381ac42017-06-09 12:10:43 -0700615 * RadioError:INTERNAL_ERR
616 * RadioError:NO_MEMORY
617 * RadioError:NO_RESOURCES
618 * RadioError:CANCELLED
619 * RadioError:INVALID_SIM_STATE
620 * RadioError:SIM_ERR
621 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700622 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800623 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
Sanket Padawe76372492016-10-27 13:20:49 -0700624
Andreas Huber675ae492017-03-28 14:40:58 -0700625 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800626 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700627 *
628 * Valid errors returned:
629 * RadioError:NONE
630 * RadioError:RADIO_NOT_AVAILABLE
631 * RadioError:FDN_CHECK_FAILURE
632 * RadioError:USSD_MODIFIED_TO_DIAL
633 * RadioError:USSD_MODIFIED_TO_SS
634 * RadioError:USSD_MODIFIED_TO_USSD
635 * RadioError:SIM_BUSY
636 * RadioError:OPERATION_NOT_ALLOWED
637 * RadioError:INVALID_ARGUMENTS
638 * RadioError:NO_MEMORY
639 * RadioError:MODEM_ERR
640 * RadioError:INTERNAL_ERR
641 * RadioError:ABORTED
642 * RadioError:SYSTEM_ERR
643 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700644 * RadioError:REQUEST_NOT_SUPPORTED
645 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700646 * RadioError:NO_RESOURCES
647 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700648 */
649 oneway sendUssdResponse(RadioResponseInfo info);
650
Andreas Huber675ae492017-03-28 14:40:58 -0700651 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800652 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700653 *
654 * Valid errors returned:
655 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700656 * RadioError:RADIO_NOT_AVAILABLE
657 * RadioError:SIM_BUSY
658 * RadioError:OPERATION_NOT_ALLOWED
659 * RadioError:MODEM_ERR
660 * RadioError:INTERNAL_ERR
661 * RadioError:NO_MEMORY
662 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700663 * RadioError:INVALID_ARGUMENTS
664 * RadioError:SYSTEM_ERR
665 * RadioError:REQUEST_NOT_SUPPORTED
666 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700667 * RadioError:NO_RESOURCES
668 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700669 */
670 oneway cancelPendingUssdResponse(RadioResponseInfo info);
671
Andreas Huber675ae492017-03-28 14:40:58 -0700672 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800673 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700674 * @param n is "n" parameter from TS 27.007 7.7
675 * @param m is "m" parameter from TS 27.007 7.7
676 *
677 * Valid errors returned:
678 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700679 * RadioError:RADIO_NOT_AVAILABLE
680 * RadioError:SS_MODIFIED_TO_DIAL
681 * RadioError:SS_MODIFIED_TO_USSD
682 * RadioError:SS_MODIFIED_TO_SS
683 * RadioError:NO_MEMORY
684 * RadioError:MODEM_ERR
685 * RadioError:INTERNAL_ERR
686 * RadioError:FDN_CHECK_FAILURE
687 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700688 * RadioError:REQUEST_NOT_SUPPORTED
689 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700690 * RadioError:NO_RESOURCES
691 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700692 */
693 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
694
Andreas Huber675ae492017-03-28 14:40:58 -0700695 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800696 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700697 *
698 * Valid errors returned:
699 * RadioError:NONE
700 * RadioError:INVALID_ARGUMENTS
701 * RadioError:RADIO_NOT_AVAILABLE
702 * RadioError:SS_MODIFIED_TO_DIAL
703 * RadioError:SS_MODIFIED_TO_USSD
704 * RadioError:SS_MODIFIED_TO_SS
sqian159ec7f2017-04-25 18:00:34 -0700705 * RadioError:NO_MEMORY
706 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700707 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700708 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700709 * RadioError:NO_RESOURCES
710 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700711 */
712 oneway setClirResponse(RadioResponseInfo info);
713
Andreas Huber675ae492017-03-28 14:40:58 -0700714 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800715 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700716 * @param callForwardInfos points to a vector of CallForwardInfo, one for
717 * each distinct registered phone number.
718 *
719 * For example, if data is forwarded to +18005551212 and voice is forwarded
720 * to +18005559999, then two separate CallForwardInfo's must be returned
721 *
722 * If, however, both data and voice are forwarded to +18005551212, then
723 * a single CallForwardInfo must be returned with the service class
724 * set to "data + voice = 3")
725 *
726 * Valid errors returned:
727 * RadioError:NONE
728 * RadioError:RADIO_NOT_AVAILABLE
729 * RadioError:SS_MODIFIED_TO_DIAL
730 * RadioError:SS_MODIFIED_TO_USSD
731 * RadioError:SS_MODIFIED_TO_SS
732 * RadioError:INVALID_ARGUMENTS
733 * RadioError:NO_MEMORY
734 * RadioError:SYSTEM_ERR
735 * RadioError:MODEM_ERR
736 * RadioError:INTERNAL_ERR
737 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700738 * RadioError:REQUEST_NOT_SUPPORTED
739 * RadioError:SYSTEM_ERR
sqian6381ac42017-06-09 12:10:43 -0700740 * RadioError:NO_RESOURCES
741 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700742 */
743 oneway getCallForwardStatusResponse(RadioResponseInfo info,
744 vec<CallForwardInfo> callForwardInfos);
745
Andreas Huber675ae492017-03-28 14:40:58 -0700746 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800747 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700748 *
749 * Valid errors returned:
750 * RadioError:NONE
751 * RadioError:RADIO_NOT_AVAILABLE
752 * RadioError:SS_MODIFIED_TO_DIAL
753 * RadioError:SS_MODIFIED_TO_USSD
754 * RadioError:SS_MODIFIED_TO_SS
755 * RadioError:INVALID_ARGUMENTS
756 * RadioError:NO_MEMORY
757 * RadioError:SYSTEM_ERR
758 * RadioError:MODEM_ERR
759 * RadioError:INTERNAL_ERR
760 * RadioError:INVALID_STATE
761 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700762 * RadioError:REQUEST_NOT_SUPPORTED
763 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700764 * RadioError:NO_RESOURCES
765 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700766 */
767 oneway setCallForwardResponse(RadioResponseInfo info);
768
Andreas Huber675ae492017-03-28 14:40:58 -0700769 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800770 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700771 * @param enable If current call waiting state is disabled, enable = false else true
772 * @param serviceClass If enable, then callWaitingResp[1]
773 * must follow, with the TS 27.007 service class bit vector of services
774 * for which call waiting is enabled.
775 * For example, if callWaitingResp[0] is 1 and
776 * callWaitingResp[1] is 3, then call waiting is enabled for data
777 * and voice and disabled for everything else.
778 *
779 * Valid errors returned:
780 * RadioError:NONE
781 * RadioError:RADIO_NOT_AVAILABLE
782 * RadioError:SS_MODIFIED_TO_DIAL
783 * RadioError:SS_MODIFIED_TO_USSD
784 * RadioError:SS_MODIFIED_TO_SS
785 * RadioError:INVALID_ARGUMENTS
786 * RadioError:NO_MEMORY
787 * RadioError:MODEM_ERR
788 * RadioError:INTERNAL_ERR
789 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700790 * RadioError:INTERNAL_ERR
791 * RadioError:SYSTEM_ERR
792 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700793 * RadioError:NO_RESOURCES
794 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700795 */
796 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
797
Andreas Huber675ae492017-03-28 14:40:58 -0700798 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800799 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700800 *
801 * Valid errors returned:
802 * RadioError:NONE
803 * RadioError:RADIO_NOT_AVAILABLE
804 * RadioError:SS_MODIFIED_TO_DIAL
805 * RadioError:SS_MODIFIED_TO_USSD
806 * RadioError:SS_MODIFIED_TO_SS
807 * RadioError:INVALID_ARGUMENTS
808 * RadioError:NO_MEMORY
809 * RadioError:MODEM_ERR
810 * RadioError:INTERNAL_ERR
811 * RadioError:INVALID_STATE
812 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700813 * RadioError:SYSTEM_ERR
814 * RadioError:REQUEST_NOT_SUPPORTED
815 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700816 * RadioError:NO_RESOURCES
817 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700818 */
819 oneway setCallWaitingResponse(RadioResponseInfo info);
820
Andreas Huber675ae492017-03-28 14:40:58 -0700821 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800822 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700823 *
824 * Valid errors returned:
825 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700826 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700827 * RadioError:INTERNAL_ERR
828 * RadioError:NO_MEMORY
829 * RadioError:NO_RESOURCES
830 * RadioError:CANCELLED
831 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700832 */
833 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
834
Andreas Huber675ae492017-03-28 14:40:58 -0700835 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800836 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700837 *
838 * Valid errors returned:
839 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700840 * RadioError:RADIO_NOT_AVAILABLE
841 * RadioError:INVALID_STATE
842 * RadioError:NO_MEMORY
843 * RadioError:SYSTEM_ERR
844 * RadioError:MODEM_ERR
845 * RadioError:INTERNAL_ERR
846 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700847 * RadioError:INVALID_ARGUMENTS
848 * RadioError:SYSTEM_ERR
849 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700850 * RadioError:NO_RESOURCES
851 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700852 */
853 oneway acceptCallResponse(RadioResponseInfo info);
854
Andreas Huber675ae492017-03-28 14:40:58 -0700855 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800856 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700857 *
858 * Valid errors returned:
859 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700860 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700861 * RadioError:INVALID_CALL_ID
862 * RadioError:INVALID_STATE
863 * RadioError:INVALID_ARGUMENTS
864 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700865 * RadioError:INTERNAL_ERR
866 * RadioError:NO_MEMORY
867 * RadioError:NO_RESOURCES
868 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -0700869 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -0700870 */
871 oneway deactivateDataCallResponse(RadioResponseInfo info);
872
Andreas Huber675ae492017-03-28 14:40:58 -0700873 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800874 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700875 * @param response 0 is the TS 27.007 service class bit vector of
876 * services for which the specified barring facility
877 * is active. "0" means "disabled for all"
878 *
879 * Valid errors returned:
880 * RadioError:NONE
881 * RadioError:RADIO_NOT_AVAILABLE
882 * RadioError:SS_MODIFIED_TO_DIAL
883 * RadioError:SS_MODIFIED_TO_USSD
884 * RadioError:SS_MODIFIED_TO_SS
885 * RadioError:INVALID_ARGUMENTS
886 * RadioError:NO_MEMORY
887 * RadioError:MODEM_ERR
888 * RadioError:INTERNAL_ERR
889 * RadioError:SYSTEM_ERR
890 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700891 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700892 * RadioError:NO_RESOURCES
893 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700894 */
895 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
896
Andreas Huber675ae492017-03-28 14:40:58 -0700897 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800898 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700899 * @param retry 0 is the number of retries remaining, or -1 if unknown
900 *
901 * Valid errors returned:
902 * RadioError:NONE
903 * RadioError:RADIO_NOT_AVAILABLE
904 * RadioError:SS_MODIFIED_TO_DIAL
905 * RadioError:SS_MODIFIED_TO_USSD
906 * RadioError:SS_MODIFIED_TO_SS
907 * RadioError:INVALID_ARGUMENTS
908 * RadioError:NO_MEMORY
909 * RadioError:MODEM_ERR
910 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -0700911 * RadioError:SYSTEM_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700912 * RadioError:INVALID_STATE
913 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700914 * RadioError:REQUEST_NOT_SUPPORTED
915 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700916 * RadioError:NO_RESOURCES
917 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700918 */
919 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
920
Andreas Huber675ae492017-03-28 14:40:58 -0700921 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800922 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700923 *
924 * Valid errors returned:
925 * RadioError:NONE
926 * RadioError:RADIO_NOT_AVAILABLE
927 * RadioError:SS_MODIFIED_TO_DIAL
928 * RadioError:SS_MODIFIED_TO_USSD
929 * RadioError:SS_MODIFIED_TO_SS
930 * RadioError:INVALID_ARGUMENTS
931 * RadioError:NO_MEMORY
932 * RadioError:MODEM_ERR
933 * RadioError:INTERNAL_ERR
934 * RadioError:SYSTEM_ERR
935 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700936 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700937 * RadioError:NO_RESOURCES
938 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700939 */
940 oneway setBarringPasswordResponse(RadioResponseInfo info);
941
Andreas Huber675ae492017-03-28 14:40:58 -0700942 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800943 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700944 * @param selection false for automatic selection, true for manual selection
945 *
946 * Valid errors returned:
947 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700948 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700949 * RadioError:NO_MEMORY
950 * RadioError:INTERNAL_ERR
951 * RadioError:SYSTEM_ERR
952 * RadioError:INVALID_ARGUMENTS
953 * RadioError:MODEM_ERR
954 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700955 * RadioError:NO_RESOURCES
956 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700957 */
958 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
959
Andreas Huber675ae492017-03-28 14:40:58 -0700960 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800961 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700962 *
963 * Valid errors returned:
964 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700965 * RadioError:RADIO_NOT_AVAILABLE
966 * RadioError:ILLEGAL_SIM_OR_ME
967 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700968 * RadioError:NO_MEMORY
969 * RadioError:INTERNAL_ERR
970 * RadioError:SYSTEM_ERR
971 * RadioError:INVALID_ARGUMENTS
972 * RadioError:MODEM_ERR
973 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700974 * RadioError:NO_RESOURCES
975 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700976 *
977 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
978 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700979 */
980 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
981
Andreas Huber675ae492017-03-28 14:40:58 -0700982 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800983 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700984 *
985 * Valid errors returned:
986 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700987 * RadioError:RADIO_NOT_AVAILABLE
988 * RadioError:ILLEGAL_SIM_OR_ME
989 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700990 * RadioError:INVALID_STATE
991 * RadioError:NO_MEMORY
992 * RadioError:INTERNAL_ERR
993 * RadioError:SYSTEM_ERR
994 * RadioError:INVALID_ARGUMENTS
995 * RadioError:MODEM_ERR
996 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700997 * RadioError:NO_RESOURCES
998 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700999 *
1000 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
1001 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -07001002 */
1003 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
1004
Andreas Huber675ae492017-03-28 14:40:58 -07001005 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001006 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001007 * @param networkInfos List of network operator information as OperatorInfos defined in
1008 * types.hal
1009 *
1010 * Valid errors returned:
1011 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -07001012 * RadioError:RADIO_NOT_AVAILABLE
1013 * RadioError:OPERATION_NOT_ALLOWED
Jayachandran Cfbb1ea52017-03-13 19:23:52 -07001014 * RadioError:ABORTED
1015 * RadioError:DEVICE_IN_USE
1016 * RadioError:INTERNAL_ERR
1017 * RadioError:NO_MEMORY
1018 * RadioError:MODEM_ERR
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001019 * RadioError:REQUEST_NOT_SUPPORTED
1020 * RadioError:CANCELLED
sqian6381ac42017-06-09 12:10:43 -07001021 * RadioError:NO_RESOURCES
1022 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -07001023 */
1024 oneway getAvailableNetworksResponse(RadioResponseInfo info,
1025 vec<OperatorInfo> networkInfos);
1026
Andreas Huber675ae492017-03-28 14:40:58 -07001027 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001028 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001029 *
1030 * Valid errors returned:
1031 * RadioError:NONE
1032 * RadioError:RADIO_NOT_AVAILABLE
1033 * RadioError:INVALID_ARGUMENTS
1034 * RadioError:NO_RESOURCES
1035 * RadioError:NO_MEMORY
1036 * RadioError:SYSTEM_ERR
1037 * RadioError:MODEM_ERR
1038 * RadioError:INTERNAL_ERR
1039 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001040 * RadioError:SYSTEM_ERR
1041 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001042 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001043 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001044 */
1045 oneway startDtmfResponse(RadioResponseInfo info);
1046
Andreas Huber675ae492017-03-28 14:40:58 -07001047 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001048 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001049 *
1050 * Valid errors returned:
1051 * RadioError:NONE
1052 * RadioError:RADIO_NOT_AVAILABLE
1053 * RadioError:INVALID_ARGUMENTS
1054 * RadioError:NO_RESOURCES
1055 * RadioError:NO_MEMORY
1056 * RadioError:INVALID_ARGUMENTS
1057 * RadioError:SYSTEM_ERR
1058 * RadioError:MODEM_ERR
1059 * RadioError:INTERNAL_ERR
1060 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001061 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001062 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001063 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001064 */
1065 oneway stopDtmfResponse(RadioResponseInfo info);
1066
Andreas Huber675ae492017-03-28 14:40:58 -07001067 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001068 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001069 * @param version string containing version string for log reporting
1070 *
1071 * Valid errors returned:
1072 * RadioError:NONE
1073 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001074 * RadioError:EMPTY_RECORD
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001075 * RadioError:NO_MEMORY
1076 * RadioError:INTERNAL_ERR
1077 * RadioError:SYSTEM_ERR
1078 * RadioError:MODEM_ERR
1079 * RadioError:NOT_PROVISIONED
1080 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001081 * RadioError:NO_RESOURCES
1082 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001083 */
1084 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
1085
Andreas Huber675ae492017-03-28 14:40:58 -07001086 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001087 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001088 *
1089 * Valid errors returned:
1090 * RadioError:NONE
1091 * RadioError:RADIO_NOT_AVAILABLE
1092 * RadioError:INVALID_ARGUMENTS
1093 * RadioError:INVALID_STATE
1094 * RadioError:NO_RESOURCES
1095 * RadioError:NO_MEMORY
1096 * RadioError:MODEM_ERR
1097 * RadioError:SYSTEM_ERR
1098 * RadioError:INTERNAL_ERR
1099 * RadioError:INVALID_CALL_ID
1100 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001101 * RadioError:REQUEST_NOT_SUPPORTED
1102 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001103 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001104 */
1105 oneway separateConnectionResponse(RadioResponseInfo info);
1106
Andreas Huber675ae492017-03-28 14:40:58 -07001107 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001108 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001109 *
1110 * Valid errors returned:
1111 * RadioError:NONE
1112 * RadioError:RADIO_NOT_AVAILABLE
1113 * RadioError:INVALID_ARGUMENTS
1114 * RadioError:NO_MEMORY
1115 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001116 * RadioError:INTERNAL_ERR
1117 * RadioError:SYSTEM_ERR
1118 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001119 * RadioError:NO_RESOURCES
1120 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001121 */
1122 oneway setMuteResponse(RadioResponseInfo info);
1123
Andreas Huber675ae492017-03-28 14:40:58 -07001124 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001125 * @param info Response info struct containing response type, serial no. and error
1126 * @param enable true for "mute enabled" and false for "mute disabled"
Sanket Padawe76372492016-10-27 13:20:49 -07001127 *
1128 * Valid errors returned:
1129 * RadioError:NONE
1130 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001131 * RadioError:SS_MODIFIED_TO_DIAL
1132 * RadioError:SS_MODIFIED_TO_USSD
1133 * RadioError:SS_MODIFIED_TO_SS
1134 * RadioError:NO_MEMORY
1135 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001136 * RadioError:INVALID_ARGUMENTS
1137 * RadioError:INTERNAL_ERR
1138 * RadioError:SYSTEM_ERR
1139 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001140 * RadioError:NO_RESOURCES
1141 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001142 */
1143 oneway getMuteResponse(RadioResponseInfo info, bool enable);
1144
Andreas Huber675ae492017-03-28 14:40:58 -07001145 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001146 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001147 * @param status indicates CLIP status
1148 *
1149 * Valid errors returned:
1150 * RadioError:NONE
1151 * RadioError:RADIO_NOT_AVAILABLE
1152 * RadioError:INVALID_ARGUMENTS
1153 * RadioError:NO_MEMORY
1154 * RadioError:SYSTEM_ERR
1155 * RadioError:MODEM_ERR
1156 * RadioError:INTERNAL_ERR
1157 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -07001158 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001159 * RadioError:NO_RESOURCES
1160 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001161 */
1162 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
1163
Andreas Huber675ae492017-03-28 14:40:58 -07001164 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001165 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001166 * @param dcResponse List of DataCallResult as defined in types.hal
1167 *
1168 * Valid errors returned:
1169 * RadioError:NONE
1170 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001171 * RadioError:INTERNAL_ERR
1172 * RadioError:NO_MEMORY
1173 * RadioError:NO_RESOURCES
1174 * RadioError:CANCELLED
1175 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001176 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001177 */
1178 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
1179
Andreas Huber675ae492017-03-28 14:40:58 -07001180 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001181 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001182 *
1183 * Valid errors returned:
1184 * RadioError:NONE
1185 * RadioError:RADIO_NOT_AVAILABLE
1186 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -07001187 * RadioError:SIM_BUSY
1188 * RadioError:NO_MEMORY
1189 * RadioError:SYSTEM_ERR
1190 * RadioError:MODEM_ERR
1191 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -07001192 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001193 * RadioError:NO_RESOURCES
1194 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001195 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001196 */
1197 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
1198
Andreas Huber675ae492017-03-28 14:40:58 -07001199 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001200 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001201 * @param index record index where the message is stored
1202 *
1203 * Valid errors returned:
1204 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001205 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001206 * RadioError:SIM_FULL
1207 * RadioError:INVALID_ARGUMENTS
1208 * RadioError:INVALID_SMS_FORMAT
1209 * RadioError:INTERNAL_ERR
1210 * RadioError:MODEM_ERR
1211 * RadioError:ENCODING_ERR
1212 * RadioError:NO_MEMORY
1213 * RadioError:NO_RESOURCES
1214 * RadioError:INVALID_MODEM_STATE
Naina Nalluri236e8e42017-07-17 11:56:42 -07001215 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -07001216 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001217 * RadioError:RADIO_NOT_AVAILABLE
1218 * RadioError:SYSTEM_ERR
1219 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001220 * RadioError:CANCELLED
1221 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001222 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001223 */
1224 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
1225
Andreas Huber675ae492017-03-28 14:40:58 -07001226 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001227 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001228 *
1229 * Valid errors returned:
1230 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001231 * RadioError:RADIO_NOT_AVAILABLE
1232 * RadioError:SIM_FULL
Sanket Padawe76372492016-10-27 13:20:49 -07001233 * RadioError:INVALID_ARGUMENTS
1234 * RadioError:NO_MEMORY
Sanket Padawe76372492016-10-27 13:20:49 -07001235 * RadioError:SYSTEM_ERR
1236 * RadioError:MODEM_ERR
1237 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001238 * RadioError:INTERNAL_ERR
1239 * RadioError:RADIO_NOT_AVAILABLE
1240 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001241 * RadioError:NO_RESOURCES
1242 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001243 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001244 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001245 */
1246 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1247
Andreas Huber675ae492017-03-28 14:40:58 -07001248 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001249 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001250 *
1251 * Valid errors returned:
1252 * RadioError:NONE
1253 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001254 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001255 * RadioError:NO_MEMORY
1256 * RadioError:INTERNAL_ERR
1257 * RadioError:SYSTEM_ERR
1258 * RadioError:INVALID_ARGUMENTS
1259 * RadioError:MODEM_ERR
1260 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001261 * RadioError:NO_RESOURCES
1262 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001263 */
1264 oneway setBandModeResponse(RadioResponseInfo info);
1265
Andreas Huber675ae492017-03-28 14:40:58 -07001266 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001267 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001268 * @param bandModes List of RadioBandMode listing supported modes
1269 *
1270 * Valid errors returned:
1271 * RadioError:NONE
1272 * RadioError:RADIO_NOT_AVAILABLE
1273 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001274 * RadioError:NO_MEMORY
1275 * RadioError:INTERNAL_ERR
1276 * RadioError:SYSTEM_ERR
1277 * RadioError:MODEM_ERR
1278 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001279 * RadioError:NO_RESOURCES
1280 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001281 */
1282 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1283
Andreas Huber675ae492017-03-28 14:40:58 -07001284 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001285 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001286 * @param commandResponse SAT/USAT response in hexadecimal format
1287 * string starting with first byte of response
1288 *
1289 * Valid errors returned:
1290 * RadioError:NONE
1291 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001292 * RadioError:SIM_BUSY
1293 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001294 * RadioError:INTERNAL_ERR
1295 * RadioError:NO_MEMORY
1296 * RadioError:NO_RESOURCES
1297 * RadioError:CANCELLED
1298 * RadioError:INVALID_ARGUMENTS
1299 * RadioError:MODEM_ERR
1300 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07001301 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001302 */
1303 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1304
Andreas Huber675ae492017-03-28 14:40:58 -07001305 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001306 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001307 *
1308 * Valid errors returned:
1309 * RadioError:NONE
1310 * RadioError:RADIO_NOT_AVAILABLE
1311 * RadioError:INVALID_ARGUMENTS
1312 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001313 * RadioError:INTERNAL_ERR
1314 * RadioError:NO_MEMORY
1315 * RadioError:NO_RESOURCES
1316 * RadioError:CANCELLED
1317 * RadioError:INVALID_MODEM_STATE
1318 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07001319 * RadioError:SIM_ABSENT
Sanket Padawe76372492016-10-27 13:20:49 -07001320 */
1321 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
Sanket Padawed52335c2016-11-03 16:46:32 -07001322
Andreas Huber675ae492017-03-28 14:40:58 -07001323 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001324 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001325 *
1326 * Valid errors returned:
1327 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001328 * RadioError:RADIO_NOT_AVAILABLE
sqian284c53c2017-05-16 20:29:19 -07001329 * RadioError:NO_MEMORY
1330 * RadioError:INTERNAL_ERR
1331 * RadioError:SYSTEM_ERR
1332 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001333 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07001334 * RadioError:NO_RESOURCES
1335 * RadioError:CANCELLED
1336 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07001337 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001338 */
1339 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1340
Andreas Huber675ae492017-03-28 14:40:58 -07001341 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001342 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001343 *
1344 * Valid errors returned:
1345 * RadioError:NONE
1346 * RadioError:RADIO_NOT_AVAILABLE
1347 * RadioError:INVALID_ARGUMENTS
1348 * RadioError:INVALID_STATE
1349 * RadioError:NO_RESOURCES
1350 * RadioError:NO_MEMORY
1351 * RadioError:SYSTEM_ERR
1352 * RadioError:MODEM_ERR
1353 * RadioError:INTERNAL_ERR
1354 * RadioError:INVALID_CALL_ID
1355 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001356 * RadioError:REQUEST_NOT_SUPPORTED
1357 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001358 * RadioError:NO_RESOURCES
1359 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001360 */
1361 oneway explicitCallTransferResponse(RadioResponseInfo info);
1362
Andreas Huber675ae492017-03-28 14:40:58 -07001363 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001364 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001365 *
1366 * Valid errors returned:
1367 * RadioError:NONE
1368 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001369 * RadioError:OPERATION_NOT_ALLOWED
1370 * RadioError:MODE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001371 * RadioError:NO_MEMORY
1372 * RadioError:INTERNAL_ERR
1373 * RadioError:SYSTEM_ERR
1374 * RadioError:INVALID_ARGUMENTS
1375 * RadioError:MODEM_ERR
1376 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001377 * RadioError:NO_RESOURCES
1378 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001379 */
1380 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1381
Andreas Huber675ae492017-03-28 14:40:58 -07001382 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001383 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001384 * @param nwType RadioPreferredNetworkType defined in types.hal
1385 *
1386 * Valid errors returned:
1387 * RadioError:NONE
1388 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001389 * RadioError:NO_MEMORY
1390 * RadioError:INTERNAL_ERR
1391 * RadioError:SYSTEM_ERR
1392 * RadioError:INVALID_ARGUMENTS
1393 * RadioError:MODEM_ERR
1394 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001395 * RadioError:NO_RESOURCES
1396 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001397 */
1398 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1399 PreferredNetworkType nwType);
1400
Andreas Huber675ae492017-03-28 14:40:58 -07001401 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001402 * @param info Response info struct containing response type, serial no. and error
1403 * @param cells Vector of neighboring radio cell
Sanket Padawed52335c2016-11-03 16:46:32 -07001404 *
1405 * Valid errors returned:
1406 * RadioError:NONE
1407 * RadioError:RADIO_NOT_AVAILABLE
1408 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001409 * RadioError:NO_MEMORY
1410 * RadioError:INTERNAL_ERR
1411 * RadioError:SYSTEM_ERR
1412 * RadioError:MODEM_ERR
1413 * RadioError:NO_NETWORK_FOUND
1414 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001415 * RadioError:NO_RESOURCES
1416 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001417 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001418 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
Sanket Padawed52335c2016-11-03 16:46:32 -07001419
Andreas Huber675ae492017-03-28 14:40:58 -07001420 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001421 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001422 *
1423 * Valid errors returned:
1424 * RadioError:NONE
1425 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001426 * RadioError:NO_MEMORY
1427 * RadioError:INTERNAL_ERR
1428 * RadioError:SYSTEM_ERR
1429 * RadioError:INVALID_ARGUMENTS
1430 * RadioError:MODEM_ERR
1431 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001432 * RadioError:NO_RESOURCES
1433 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001434 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001435 */
1436 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1437
Andreas Huber675ae492017-03-28 14:40:58 -07001438 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001439 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001440 *
1441 * Valid errors returned:
1442 * RadioError:NONE
1443 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001444 * RadioError:SIM_ABSENT
1445 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001446 * RadioError:INTERNAL_ERR
1447 * RadioError:NO_MEMORY
1448 * RadioError:NO_RESOURCES
1449 * RadioError:CANCELLED
1450 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001451 */
1452 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1453
Andreas Huber675ae492017-03-28 14:40:58 -07001454 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001455 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001456 *
1457 * Valid errors returned:
1458 * RadioError:NONE
1459 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001460 * RadioError:NO_MEMORY
1461 * RadioError:INTERNAL_ERR
1462 * RadioError:SYSTEM_ERR
1463 * RadioError:INVALID_ARGUMENTS
1464 * RadioError:MODEM_ERR
1465 * RadioError:REQUEST_NOT_SUPPORTED
1466 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001467 * RadioError:NO_RESOURCES
1468 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001469 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001470 */
1471 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1472
Andreas Huber675ae492017-03-28 14:40:58 -07001473 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001474 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001475 * @param type CdmaRoamingType defined in types.hal
1476 *
1477 * Valid errors returned:
1478 * RadioError:NONE
1479 * RadioError:RADIO_NOT_AVAILABLE
1480 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001481 * RadioError:NO_MEMORY
1482 * RadioError:INTERNAL_ERR
1483 * RadioError:SYSTEM_ERR
1484 * RadioError:MODEM_ERR
1485 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001486 * RadioError:NO_RESOURCES
1487 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001488 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001489 */
1490 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1491
Andreas Huber675ae492017-03-28 14:40:58 -07001492 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001493 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001494 *
1495 * Valid errors returned:
1496 * RadioError:NONE
1497 * RadioError:RADIO_NOT_AVAILABLE
1498 * RadioError:INVALID_ARGUMENTS
1499 * RadioError:MODEM_ERR
1500 * RadioError:INTERNAL_ERR
1501 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001502 * RadioError:SYSTEM_ERR
1503 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001504 * RadioError:NO_RESOURCES
1505 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001506 */
1507 oneway setTTYModeResponse(RadioResponseInfo info);
1508
Andreas Huber675ae492017-03-28 14:40:58 -07001509 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001510 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001511 * @param mode TtyMode
1512 *
1513 * Valid errors returned:
1514 * RadioError:NONE
1515 * RadioError:RADIO_NOT_AVAILABLE
1516 * RadioError:INVALID_ARGUMENTS
1517 * RadioError:MODEM_ERR
1518 * RadioError:INTERNAL_ERR
1519 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001520 * RadioError:SYSTEM_ERR
1521 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001522 * RadioError:NO_RESOURCES
1523 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001524 */
1525 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1526
Andreas Huber675ae492017-03-28 14:40:58 -07001527 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001528 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001529 *
1530 * Valid errors returned:
1531 * RadioError:NONE
1532 * RadioError:RADIO_NOT_AVAILABLE
1533 * RadioError:INVALID_ARGUMENTS
1534 * RadioError:MODEM_ERR
1535 * RadioError:INTERNAL_ERR
1536 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001537 * RadioError:SYSTEM_ERR
1538 * RadioError:REQUEST_NOT_SUPPORTED
1539 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -07001540 * RadioError:NO_RESOURCES
1541 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001542 */
1543 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1544
Andreas Huber675ae492017-03-28 14:40:58 -07001545 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001546 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001547 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1548 * true for Enhanced Privacy Mode (Private Long Code Mask)
1549 *
1550 * Valid errors:
1551 * RadioError:NONE
1552 * RadioError:RADIO_NOT_AVAILABLE
1553 * RadioError:INVALID_ARGUMENTS
1554 * RadioError:MODEM_ERR
1555 * RadioError:INTERNAL_ERR
1556 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001557 * RadioError:SYSTEM_ERR
1558 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001559 * RadioError:NO_RESOURCES
1560 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001561 */
1562 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1563
Andreas Huber675ae492017-03-28 14:40:58 -07001564 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07001565 * Response callback for IRadio.sendCDMAFeatureCode()
1566 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001567 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001568 *
1569 * Valid errors returned:
1570 * RadioError:NONE
1571 * RadioError:RADIO_NOT_AVAILABLE
1572 * RadioError:INVALID_ARGUMENTS
1573 * RadioError:NO_MEMORY
1574 * RadioError:INTERNAL_ERR
1575 * RadioError:SYSTEM_ERR
1576 * RadioError:MODEM_ERR
1577 * RadioError:INVALID_CALL_ID
1578 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001579 * RadioError:REQUEST_NOT_SUPPORTED
1580 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001581 * RadioError:NO_RESOURCES
1582 * RadioError:CANCELLED
Naina Nalluri236e8e42017-07-17 11:56:42 -07001583 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001584 */
1585 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1586
Andreas Huber675ae492017-03-28 14:40:58 -07001587 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001588 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001589 *
1590 * Valid errors returned:
1591 * RadioError:NONE
1592 * RadioError:RADIO_NOT_AVAILABLE
1593 * RadioError:INVALID_ARGUMENTS
1594 * RadioError:NO_MEMORY
1595 * RadioError:INTERNAL_ERR
1596 * RadioError:SYSTEM_ERR
1597 * RadioError:MODEM_ERR
1598 * RadioError:INVALID_CALL_ID
1599 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001600 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001601 * RadioError:NO_RESOURCES
1602 * RadioError:CANCELLED
1603 * RadioError:INVALID_MODEM_STATE
Naina Nalluri236e8e42017-07-17 11:56:42 -07001604 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001605 */
1606 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1607
Andreas Huber675ae492017-03-28 14:40:58 -07001608 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001609 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001610 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1611 *
1612 * Valid errors returned:
1613 * RadioError:NONE
1614 * RadioError:RADIO_NOT_AVAILABLE
1615 * RadioError:INVALID_ARGUMENTS
1616 * RadioError:SMS_SEND_FAIL_RETRY
1617 * RadioError:NETWORK_REJECT
1618 * RadioError:INVALID_STATE
1619 * RadioError:NO_MEMORY
1620 * RadioError:REQUEST_RATE_LIMITED
1621 * RadioError:INVALID_SMS_FORMAT
1622 * RadioError:SYSTEM_ERR
1623 * RadioError:FDN_CHECK_FAILURE
1624 * RadioError:MODEM_ERR
1625 * RadioError:NETWORK_ERR
1626 * RadioError:ENCODING_ERR
1627 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001628 * RadioError:INTERNAL_ERR
1629 * RadioError:SYSTEM_ERR
1630 * RadioError:REQUEST_NOT_SUPPORTED
1631 * RadioError:OPERATION_NOT_ALLOWED
1632 * RadioError:ENCODING_ERR
sqian6381ac42017-06-09 12:10:43 -07001633 * RadioError:NO_RESOURCES
1634 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001635 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001636 */
1637 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1638
Andreas Huber675ae492017-03-28 14:40:58 -07001639 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001640 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001641 *
1642 * Valid errors returned:
1643 * RadioError:NONE
1644 * RadioError:RADIO_NOT_AVAILABLE
1645 * RadioError:INVALID_ARGUMENTS
1646 * RadioError:NO_SMS_TO_ACK
1647 * RadioError:INVALID_STATE
1648 * RadioError:NO_MEMORY
1649 * RadioError:REQUEST_RATE_LIMITED
1650 * RadioError:SYSTEM_ERR
1651 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001652 * RadioError:NETWORK_NOT_READY
1653 * RadioError:INVALID_MODEM_STATE
sqian159ec7f2017-04-25 18:00:34 -07001654 * RadioError:INTERNAL_ERR
1655 * RadioError:REQUEST_NOT_SUPPORTED
1656 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001657 * RadioError:NO_RESOURCES
1658 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001659 */
1660 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1661
Andreas Huber675ae492017-03-28 14:40:58 -07001662 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001663 * @param info Response info struct containing response type, serial no. and error
1664 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001665 *
1666 * Valid errors returned:
1667 * RadioError:NONE
1668 * RadioError:RADIO_NOT_AVAILABLE
1669 * RadioError:INVALID_ARGUMENTS
1670 * RadioError:INVALID_STATE
1671 * RadioError:NO_MEMORY
1672 * RadioError:REQUEST_RATE_LIMITED
1673 * RadioError:SYSTEM_ERR
1674 * RadioError:MODEM_ERR
1675 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001676 * RadioError:INTERNAL_ERR
1677 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001678 * RadioError:NO_RESOURCES
1679 * RadioError:CANCELLED
1680 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001681 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001682 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1683 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001684
Andreas Huber675ae492017-03-28 14:40:58 -07001685 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001686 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001687 *
1688 * Valid errors returned:
1689 * RadioError:NONE
1690 * RadioError:RADIO_NOT_AVAILABLE
1691 * RadioError:INVALID_ARGUMENTS
1692 * RadioError:INVALID_STATE
1693 * RadioError:NO_MEMORY
1694 * RadioError:REQUEST_RATE_LIMITED
1695 * RadioError:SYSTEM_ERR
1696 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001697 * RadioError:INTERNAL_ERR
1698 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001699 * RadioError:NO_RESOURCES
1700 * RadioError:CANCELLED
1701 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001702 */
1703 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1704
Andreas Huber675ae492017-03-28 14:40:58 -07001705 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001706 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001707 *
1708 * Valid errors returned:
1709 * RadioError:NONE
1710 * RadioError:RADIO_NOT_AVAILABLE
1711 * RadioError:INVALID_ARGUMENTS
1712 * RadioError:INVALID_STATE
1713 * RadioError:NO_MEMORY
1714 * RadioError:REQUEST_RATE_LIMITED
1715 * RadioError:SYSTEM_ERR
1716 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001717 * RadioError:INTERNAL_ERR
1718 * RadioError:REQUEST_NOT_SUPPORTED
1719 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001720 * RadioError:NO_RESOURCES
1721 * RadioError:CANCELLED
1722 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001723 */
1724 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1725
Andreas Huber675ae492017-03-28 14:40:58 -07001726 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001727 * @param info Response info struct containing response type, serial no. and error
1728 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001729 *
1730 * Valid errors returned:
1731 * RadioError:NONE
1732 * RadioError:RADIO_NOT_AVAILABLE
1733 * RadioError:INVALID_ARGUMENTS
1734 * RadioError:INVALID_STATE
1735 * RadioError:NO_MEMORY
1736 * RadioError:REQUEST_RATE_LIMITED
1737 * RadioError:SYSTEM_ERR
1738 * RadioError:MODEM_ERR
1739 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001740 * RadioError:INTERNAL_ERR
1741 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001742 * RadioError:NO_RESOURCES
1743 * RadioError:CANCELLED
1744 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001745 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001746 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1747 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001748
Andreas Huber675ae492017-03-28 14:40:58 -07001749 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001750 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001751 *
1752 * Valid errors returned:
1753 * RadioError:NONE
1754 * RadioError:RADIO_NOT_AVAILABLE
1755 * RadioError:INVALID_ARGUMENTS
1756 * RadioError:INVALID_STATE
1757 * RadioError:NO_MEMORY
1758 * RadioError:REQUEST_RATE_LIMITED
1759 * RadioError:SYSTEM_ERR
1760 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001761 * RadioError:INTERNAL_ERR
1762 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001763 * RadioError:NO_RESOURCES
1764 * RadioError:CANCELLED
1765 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001766 */
1767 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1768
Andreas Huber675ae492017-03-28 14:40:58 -07001769 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001770 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001771 *
1772 * Valid errors returned:
1773 * RadioError:NONE
1774 * RadioError:RADIO_NOT_AVAILABLE
1775 * RadioError:INVALID_ARGUMENTS
1776 * RadioError:INVALID_STATE
1777 * RadioError:NO_MEMORY
1778 * RadioError:REQUEST_RATE_LIMITED
1779 * RadioError:SYSTEM_ERR
1780 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001781 * RadioError:INTERNAL_ERR
1782 * RadioError:REQUEST_NOT_SUPPORTED
1783 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001784 * RadioError:NO_RESOURCES
1785 * RadioError:CANCELLED
1786 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001787 */
1788 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1789
Andreas Huber675ae492017-03-28 14:40:58 -07001790 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001791 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001792 * @param mdn MDN if CDMA subscription is available
1793 * @param hSid is a comma separated list of H_SID (Home SID) if
1794 * CDMA subscription is available, in decimal format
1795 * @param hNid is a comma separated list of H_NID (Home NID) if
1796 * CDMA subscription is available, in decimal format
1797 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1798 * @param prl PRL version if CDMA subscription is available
1799 *
1800 * Valid errors returned:
1801 * RadioError:NONE
1802 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001803 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001804 * RadioError:NO_MEMORY
1805 * RadioError:INTERNAL_ERR
1806 * RadioError:SYSTEM_ERR
1807 * RadioError:INVALID_ARGUMENTS
1808 * RadioError:MODEM_ERR
1809 * RadioError:NOT_PROVISIONED
1810 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001811 * RadioError:NO_RESOURCES
1812 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001813 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001814 */
1815 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1816 string hNid, string min, string prl);
1817
Andreas Huber675ae492017-03-28 14:40:58 -07001818 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001819 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001820 * @param index record index where the cmda sms message is stored
1821 *
1822 * Valid errors returned:
1823 * RadioError:NONE
1824 * RadioError:RADIO_NOT_AVAILABLE
1825 * RadioError:INVALID_ARGUMENTS
1826 * RadioError:INVALID_SMS_FORMAT
1827 * RadioError:SIM_FULL
1828 * RadioError:INTERNAL_ERR
1829 * RadioError:MODEM_ERR
1830 * RadioError:ENCODING_ERR
1831 * RadioError:NO_MEMORY
1832 * RadioError:NO_RESOURCES
1833 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001834 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001835 * RadioError:SYSTEM_ERR
1836 * RadioError:REQUEST_NOT_SUPPORTED
1837 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001838 * RadioError:NO_RESOURCES
1839 * RadioError:CANCELLED
1840 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001841 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001842 */
1843 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1844
Andreas Huber675ae492017-03-28 14:40:58 -07001845 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001846 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001847 *
1848 * Valid errors returned:
1849 * RadioError:NONE
1850 * RadioError:RADIO_NOT_AVAILABLE
1851 * RadioError:INVALID_ARGUMENTS
1852 * RadioError:NO_MEMORY
Sanket Padawed52335c2016-11-03 16:46:32 -07001853 * RadioError:SYSTEM_ERR
1854 * RadioError:MODEM_ERR
1855 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001856 * RadioError:INTERNAL_ERR
1857 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001858 * RadioError:OPERATION_NOT_ALLOWED
1859 * RadioError:NO_RESOURCES
1860 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001861 * RadioError:INVALID_MODEM_STATE
Sanket Padawe13735ea2017-07-24 14:05:05 -07001862 * RadioError:OPERATION_NOT_ALLOWED
1863 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001864 */
1865 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1866
Andreas Huber675ae492017-03-28 14:40:58 -07001867 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001868 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001869 * @param imei IMEI if GSM subscription is available
1870 * @param imeisv IMEISV if GSM subscription is available
1871 * @param esn ESN if CDMA subscription is available
1872 * @param meid MEID if CDMA subscription is available
1873 *
1874 * Valid errors returned:
1875 * RadioError:NONE
1876 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001877 * RadioError:NO_MEMORY
1878 * RadioError:INTERNAL_ERR
1879 * RadioError:SYSTEM_ERR
1880 * RadioError:INVALID_ARGUMENTS
1881 * RadioError:MODEM_ERR
1882 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07001883 * RadioError:NO_RESOURCES
1884 * RadioError:CANCELLED
1885 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001886 *
1887 * If a empty string value is returned for any of the device id, it means that there was error
1888 * accessing the device.
1889 *
1890 */
1891 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1892 string esn, string meid);
1893
Andreas Huber675ae492017-03-28 14:40:58 -07001894 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001895 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001896 *
1897 * Valid errors returned:
1898 * RadioError:NONE
1899 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001900 * RadioError:OPERATION_NO_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001901 * RadioError:INTERNAL_ERR
1902 * RadioError:NO_MEMORY
1903 * RadioError:SYSTEM_ERR
1904 * RadioError:INVALID_ARGUMENTS
1905 * RadioError:MODEM_ERR
1906 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001907 * RadioError:NO_RESOURCES
1908 * RadioError:CANCELLED
sqianbc1c9292017-10-16 14:12:40 -07001909 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001910 */
1911 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1912
Andreas Huber675ae492017-03-28 14:40:58 -07001913 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001914 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001915 * @param smsc Short Message Service Center address on the device
1916 *
1917 * Valid errors returned:
1918 * RadioError:NONE
1919 * RadioError:RADIO_NOT_AVAILABLE
1920 * RadioError:INVALID_ARGUMENTS
1921 * RadioError:INTERNAL_ERR
1922 * RadioError:NO_MEMORY
1923 * RadioError:SYSTEM_ERR
1924 * RadioError:REQUEST_RATE_LIMITED
1925 * RadioError:MODEM_ERR
1926 * RadioError:INVALID_MODEM_STATE
1927 * RadioError:NOT_PROVISIONED
sqian159ec7f2017-04-25 18:00:34 -07001928 * RadioError:REQUEST_NOT_SUPPORTED
1929 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001930 * RadioError:NO_RESOURCES
1931 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001932 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001933 */
1934 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1935
Andreas Huber675ae492017-03-28 14:40:58 -07001936 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001937 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001938 *
1939 * Valid errors returned:
1940 * RadioError:NONE
1941 * RadioError:RADIO_NOT_AVAILABLE
1942 * RadioError:INVALID_ARGUMENTS
1943 * RadioError:INVALID_SMS_FORMAT
1944 * RadioError:NO_MEMORY
1945 * RadioError:SYSTEM_ERR
1946 * RadioError:REQUEST_RATE_LIMITED
1947 * RadioError:MODEM_ERR
1948 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001949 * RadioError:INTERNAL_ERR
1950 * RadioError:REQUEST_NOT_SUPPORTED
1951 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001952 * RadioError:NO_RESOURCES
1953 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001954 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001955 */
1956 oneway setSmscAddressResponse(RadioResponseInfo info);
1957
Andreas Huber675ae492017-03-28 14:40:58 -07001958 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001959 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001960 *
1961 * Valid errors returned:
1962 * RadioError:NONE
1963 * RadioError:RADIO_NOT_AVAILABLE
1964 * RadioError:INVALID_ARGUMENTS
1965 * RadioError:NO_MEMORY
1966 * RadioError:SYSTEM_ERR
1967 * RadioError:REQUEST_RATE_LIMITED
1968 * RadioError:MODEM_ERR
1969 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001970 * RadioError:INTERNAL_ERR
1971 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001972 * RadioError:NO_RESOURCES
1973 * RadioError:CANCELLED
Sanket Padawe13735ea2017-07-24 14:05:05 -07001974 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07001975 */
1976 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1977
Andreas Huber675ae492017-03-28 14:40:58 -07001978 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001979 * @param info Response info struct containing response type, serial no. and error
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001980 *
1981 * Valid errors returned:
1982 * RadioError:NONE
1983 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001984 * RadioError:INTERNAL_ERR
1985 * RadioError:NO_MEMORY
1986 * RadioError:NO_RESOURCES
1987 * RadioError:CANCELLED
1988 * RadioError:REQUEST_NOT_SUPPORTED
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001989 */
1990 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1991
Andreas Huber675ae492017-03-28 14:40:58 -07001992 /**
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001993 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001994 * @param source CDMA subscription source
1995 *
1996 * Valid errors returned:
1997 * RadioError:NONE
1998 * RadioError:RADIO_NOT_AVAILABLE
1999 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002000 * RadioError:INTERNAL_ERR
2001 * RadioError:NO_MEMORY
2002 * RadioError:NO_RESOURCES
2003 * RadioError:CANCELLED
2004 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07002005 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002006 */
2007 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
2008
Andreas Huber675ae492017-03-28 14:40:58 -07002009 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002010 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002011 * @param response response string of the challenge/response algo for ISIM auth in base64 format
2012 *
2013 * Valid errors returned:
2014 * RadioError:NONE
2015 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002016 * RadioError:INTERNAL_ERR
2017 * RadioError:NO_MEMORY
2018 * RadioError:NO_RESOURCES
2019 * RadioError:CANCELLED
2020 * RadioError:INVALID_MODEM_STATE
2021 * RadioError:INVALID_ARGUMENTS
2022 * RadioError:REQUEST_NOT_SUPPORTED
sqianbc1c9292017-10-16 14:12:40 -07002023 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002024 */
2025 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
2026
Andreas Huber675ae492017-03-28 14:40:58 -07002027 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002028 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002029 *
2030 * Valid errors returned:
2031 * RadioError:NONE
2032 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002033 * RadioError:INTERNAL_ERR
2034 * RadioError:NO_MEMORY
2035 * RadioError:NO_RESOURCES
2036 * RadioError:CANCELLED
2037 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002038 */
2039 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
2040
Andreas Huber675ae492017-03-28 14:40:58 -07002041 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002042 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002043 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
2044 *
2045 * Valid errors returned:
2046 * RadioError:NONE
2047 * RadioError:RADIO_NOT_AVAILABLE
2048 * RadioError:SIM_BUSY
2049 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07002050 * RadioError:INTERNAL_ERR
2051 * RadioError:NO_MEMORY
2052 * RadioError:NO_RESOURCES
2053 * RadioError:CANCELLED
2054 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002055 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002056 */
2057 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
2058
Andreas Huber675ae492017-03-28 14:40:58 -07002059 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002060 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002061 * @param rat Current voice RAT
2062 *
2063 * Valid errors returned:
2064 * RadioError:NONE
2065 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002066 * RadioError:INTERNAL_ERR
2067 * RadioError:NO_MEMORY
2068 * RadioError:NO_RESOURCES
2069 * RadioError:CANCELLED
2070 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002071 */
2072 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
2073
Andreas Huber675ae492017-03-28 14:40:58 -07002074 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002075 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002076 * @param cellInfo List of current cell information known to radio
2077 *
2078 * Valid errors returned:
2079 * RadioError:NONE
2080 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002081 * RadioError:NO_MEMORY
2082 * RadioError:INTERNAL_ERR
2083 * RadioError:SYSTEM_ERR
2084 * RadioError:MODEM_ERR
2085 * RadioError:NO_NETWORK_FOUND
2086 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002087 * RadioError:NO_RESOURCES
2088 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002089 */
2090 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
2091
Andreas Huber675ae492017-03-28 14:40:58 -07002092 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002093 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002094 *
2095 * Valid errors returned:
2096 * RadioError:NONE
2097 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002098 * RadioError:NO_MEMORY
2099 * RadioError:INTERNAL_ERR
2100 * RadioError:SYSTEM_ERR
2101 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002102 * RadioError:NO_RESOURCES
2103 * RadioError:CANCELLED
2104 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002105 */
2106 oneway setCellInfoListRateResponse(RadioResponseInfo info);
2107
Andreas Huber675ae492017-03-28 14:40:58 -07002108 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002109 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002110 *
2111 * Valid errors returned:
2112 * RadioError:NONE
2113 * RadioError:RADIO_NOT_AVAILABLE
2114 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002115 * RadioError:NO_MEMORY
2116 * RadioError:INTERNAL_ERR
2117 * RadioError:SYSTEM_ERR
2118 * RadioError:MODEM_ERR
2119 * RadioError:INVALID_ARGUMENTS
2120 * RadioError:NOT_PROVISIONED
2121 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002122 * RadioError:NO_RESOURCES
2123 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002124 */
2125 oneway setInitialAttachApnResponse(RadioResponseInfo info);
2126
Andreas Huber675ae492017-03-28 14:40:58 -07002127 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002128 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002129 * @param isRegistered false = not registered, true = registered
2130 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
2131 * isRegistered is true.
2132 *
2133 * Valid errors returned:
2134 * RadioError:NONE
2135 * RadioError:RADIO_NOT_AVAILABLE
sqian08e90552017-06-01 12:39:22 -07002136 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002137 * RadioError:NO_MEMORY
2138 * RadioError:NO_RESOURCES
2139 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07002140 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002141 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002142 */
2143 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
2144 RadioTechnologyFamily ratFamily);
2145
Andreas Huber675ae492017-03-28 14:40:58 -07002146 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002147 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002148 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
2149 *
2150 * Valid errors returned:
2151 * RadioError:NONE
2152 * RadioError:RADIO_NOT_AVAILABLE
2153 * RadioError:SMS_SEND_FAIL_RETRY
2154 * RadioError:FDN_CHECK_FAILURE
2155 * RadioError:NETWORK_REJECT
2156 * RadioError:INVALID_ARGUMENTS
2157 * RadioError:INVALID_STATE
2158 * RadioError:NO_MEMORY
2159 * RadioError:INVALID_SMS_FORMAT
2160 * RadioError:SYSTEM_ERR
2161 * RadioError:REQUEST_RATE_LIMITED
2162 * RadioError:MODEM_ERR
2163 * RadioError:NETWORK_ERR
2164 * RadioError:ENCODING_ERR
Naina Nalluri236e8e42017-07-17 11:56:42 -07002165 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07002166 * RadioError:INTERNAL_ERR
2167 * RadioError:REQUEST_NOT_SUPPORTED
2168 * RadioError:NETWORK_NOT_READY
sqian6381ac42017-06-09 12:10:43 -07002169 * RadioError:NO_RESOURCES
2170 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002171 */
2172 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
2173
Andreas Huber675ae492017-03-28 14:40:58 -07002174 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002175 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002176 * @param result IccIoResult as defined in types.hal
2177 *
2178 * Valid errors returned:
2179 * RadioError:NONE
2180 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002181 * RadioError:INTERNAL_ERR
2182 * RadioError:NO_MEMORY
2183 * RadioError:NO_RESOURCES
2184 * RadioError:CANCELLED
2185 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002186 */
2187 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
2188
Andreas Huber675ae492017-03-28 14:40:58 -07002189 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002190 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002191 * @param channelId session id of the logical channel.
2192 * @param selectResponse Contains the select response for the open channel command with one
2193 * byte per integer
2194 *
2195 * Valid errors returned:
2196 * RadioError:NONE
2197 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07002198 * RadioError:MISSING_RESOURCE
2199 * RadioError:NO_SUCH_ELEMENT
sqian6381ac42017-06-09 12:10:43 -07002200 * RadioError:INTERNAL_ERR
2201 * RadioError:NO_MEMORY
2202 * RadioError:NO_RESOURCES
2203 * RadioError:CANCELLED
2204 * RadioError:SIM_ERR
2205 * RadioError:INVALID_SIM_STATE
2206 * RadioError:MISSING_RESOURCE
2207 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002208 */
2209 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
2210 vec<int8_t> selectResponse);
2211
Andreas Huber675ae492017-03-28 14:40:58 -07002212 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002213 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002214 *
2215 * Valid errors returned:
2216 * RadioError:NONE
2217 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002218 * RadioError:INTERNAL_ERR
2219 * RadioError:NO_MEMORY
2220 * RadioError:NO_RESOURCES
2221 * RadioError:CANCELLED
2222 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002223 */
2224 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
2225
Andreas Huber675ae492017-03-28 14:40:58 -07002226 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002227 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002228 * @param result IccIoResult as defined in types.hal
2229 *
2230 * Valid errors returned:
2231 * RadioError:NONE
2232 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002233 * RadioError:INTERNAL_ERR
2234 * RadioError:NO_MEMORY
2235 * RadioError:NO_RESOURCES
2236 * RadioError:CANCELLED
2237 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002238 */
2239 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
2240
Andreas Huber675ae492017-03-28 14:40:58 -07002241 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002242 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002243 * @param result string containing the contents of the NV item
2244 *
2245 * Valid errors returned:
2246 * RadioError:NONE
2247 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002248 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002249 */
2250 oneway nvReadItemResponse(RadioResponseInfo info, string result);
2251
Andreas Huber675ae492017-03-28 14:40:58 -07002252 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002253 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002254 *
2255 * Valid errors returned:
2256 * RadioError:NONE
2257 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002258 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002259 */
2260 oneway nvWriteItemResponse(RadioResponseInfo info);
2261
Andreas Huber675ae492017-03-28 14:40:58 -07002262 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002263 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002264 *
2265 * Valid errors returned:
2266 * RadioError:NONE
2267 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002268 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002269 */
2270 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
2271
Andreas Huber675ae492017-03-28 14:40:58 -07002272 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002273 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002274 *
2275 * Valid errors returned:
2276 * RadioError:NONE
2277 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002278 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002279 */
2280 oneway nvResetConfigResponse(RadioResponseInfo info);
2281
Andreas Huber675ae492017-03-28 14:40:58 -07002282 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002283 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002284 *
2285 * Valid errors returned:
2286 * RadioError:NONE
2287 * RadioError:RADIO_NOT_AVAILABLE
2288 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002289 * RadioError:NO_MEMORY
2290 * RadioError:INTERNAL_ERR
2291 * RadioError:SYSTEM_ERR
2292 * RadioError:MODEM_ERR
2293 * RadioError:INVALID_ARGUMENTS
2294 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002295 * RadioError:NO_RESOURCES
2296 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002297 */
2298 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
2299
Andreas Huber675ae492017-03-28 14:40:58 -07002300 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002301 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002302 *
2303 * Valid errors returned:
2304 * RadioError:NONE
2305 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002306 * RadioError:NO_MEMORY
2307 * RadioError:INTERNAL_ERR
2308 * RadioError:SYSTEM_ERR
2309 * RadioError:MODEM_ERR
2310 * RadioError:INVALID_ARGUMENTS
2311 * RadioError:DEVICE_IN_USE
2312 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002313 * RadioError:NO_RESOURCES
2314 * RadioError:CANCELLED
2315 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002316 */
2317 oneway setDataAllowedResponse(RadioResponseInfo info);
2318
Andreas Huber675ae492017-03-28 14:40:58 -07002319 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002320 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002321 * @param config Array of HardwareConfig of the radio.
2322 *
2323 * Valid errors returned:
2324 * RadioError:NONE
2325 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002326 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002327 */
2328 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
2329
Andreas Huber675ae492017-03-28 14:40:58 -07002330 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002331 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002332 * @param result IccIoResult as defined in types.hal
2333 *
2334 * Valid errors returned:
2335 * RadioError:NONE
2336 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002337 * RadioError:INTERNAL_ERR
2338 * RadioError:NO_MEMORY
2339 * RadioError:NO_RESOURCES
2340 * RadioError:CANCELLED
2341 * RadioError:INVALID_MODEM_STATE
2342 * RadioError:SIM_ERR
2343 * RadioError:INVALID_ARGUMENTS
2344 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002345 */
2346 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
2347
Andreas Huber675ae492017-03-28 14:40:58 -07002348 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002349 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002350 *
2351 * Valid errors returned:
2352 * RadioError:NONE
2353 * RadioError:RADIO_NOT_AVAILABLE
2354 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002355 * RadioError:INTERNAL_ERR
2356 * RadioError:NO_MEMORY
2357 * RadioError:NO_RESOURCES
2358 * RadioError:CANCELLED
2359 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002360 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002361 */
2362 oneway setDataProfileResponse(RadioResponseInfo info);
2363
Andreas Huber675ae492017-03-28 14:40:58 -07002364 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002365 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002366 *
2367 * Valid errors returned:
2368 * RadioError:NONE
2369 * RadioError:RADIO_NOT_AVAILABLE
2370 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002371 * RadioError:NO_MEMORY
2372 * RadioError:INTERNAL_ERR
2373 * RadioError:SYSTEM_ERR
2374 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002375 * RadioError:NO_RESOURCES
2376 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002377 */
2378 oneway requestShutdownResponse(RadioResponseInfo info);
2379
Andreas Huber675ae492017-03-28 14:40:58 -07002380 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002381 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002382 * @param rc Radio capability as defined by RadioCapability in types.hal
2383 *
2384 * Valid errors returned:
2385 * RadioError:NONE
2386 * RadioError:RADIO_NOT_AVAILABLE
2387 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002388 * RadioError:INVALID_STATE
2389 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002390 * RadioError:INTERNAL_ERR
2391 * RadioError:NO_MEMORY
2392 * RadioError:NO_RESOURCES
2393 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002394 */
2395 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2396
Andreas Huber675ae492017-03-28 14:40:58 -07002397 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002398 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002399 * @param rc Radio capability as defined by RadioCapability in types.hal used to
2400 * feedback return status
2401 *
2402 * Valid errors returned:
2403 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
2404 * RadioError:RADIO_NOT_AVAILABLE
2405 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002406 * RadioError:NO_MEMORY
2407 * RadioError:INTERNAL_ERR
2408 * RadioError:SYSTEM_ERR
2409 * RadioError:INVALID_ARGUMENTS
2410 * RadioError:MODEM_ERR
2411 * RadioError:INVALID_STATE
2412 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002413 * RadioError:NO_RESOURCES
2414 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002415 */
2416 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2417
Andreas Huber675ae492017-03-28 14:40:58 -07002418 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002419 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002420 * @param statusInfo LceStatusInfo indicating LCE status
2421 *
2422 * Valid errors returned:
2423 * RadioError:NONE
2424 * RadioError:RADIO_NOT_AVAILABLE
2425 * RadioError:LCE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002426 * RadioError:INTERNAL_ERR
2427 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002428 * RadioError:NO_MEMORY
2429 * RadioError:NO_RESOURCES
2430 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002431 */
2432 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2433
Andreas Huber675ae492017-03-28 14:40:58 -07002434 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002435 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002436 * @param statusInfo LceStatusInfo indicating LCE status
2437 *
2438 * Valid errors returned:
2439 * RadioError:NONE
2440 * RadioError:RADIO_NOT_AVAILABLE
2441 * RadioError:LCE_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002442 * RadioError:INTERNAL_ERR
2443 * RadioError:NO_MEMORY
2444 * RadioError:NO_RESOURCES
2445 * RadioError:CANCELLED
2446 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002447 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002448 */
2449 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2450
Andreas Huber675ae492017-03-28 14:40:58 -07002451 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002452 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002453 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
2454 *
2455 * Valid errors returned:
2456 * RadioError:NONE
2457 * RadioError:RADIO_NOT_AVAILABLE
2458 * RadioError:LCE_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07002459 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002460 * RadioError:NO_MEMORY
2461 * RadioError:NO_RESOURCES
2462 * RadioError:CANCELLED
2463 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe13735ea2017-07-24 14:05:05 -07002464 * RadioError:SIM_ABSENT
Sanket Padawed52335c2016-11-03 16:46:32 -07002465 */
2466 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
2467
Andreas Huber675ae492017-03-28 14:40:58 -07002468 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002469 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002470 * @param activityInfo modem activity information
2471 *
2472 * Valid errors returned:
2473 * RadioError:NONE
2474 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002475 * RadioError:NO_MEMORY
2476 * RadioError:INTERNAL_ERR
2477 * RadioError:SYSTEM_ERR
2478 * RadioError:MODEM_ERR
2479 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07002480 * RadioError:NO_RESOURCES
2481 * RadioError:CANCELLED
2482 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002483 */
2484 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
2485
Andreas Huber675ae492017-03-28 14:40:58 -07002486 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002487 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002488 * @param numAllowed number of allowed carriers which have been set correctly.
2489 * On success, it must match the length of list Carriers->allowedCarriers.
2490 * if Length of allowed carriers list is 0, numAllowed = 0.
2491 *
2492 * Valid errors returned:
2493 * RadioError:NONE
2494 * RadioError:RADIO_NOT_AVAILABLE
2495 * RadioError:INVALID_ARGUMENTS
2496 * RadioError:REQUEST_NOT_SUPPORTED
2497 */
2498 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
2499
Andreas Huber675ae492017-03-28 14:40:58 -07002500 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07002501 * Expected modem behavior:
2502 * Return list of allowed carriers, and if all carriers are allowed.
2503 *
Sanket Padawe865834e2016-12-28 16:04:10 -08002504 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002505 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
2506 * If false, consider "carriers" struct
2507 * @param carriers Carrier restriction information.
2508 *
2509 * Valid errors returned:
2510 * RadioError:NONE
2511 * RadioError:RADIO_NOT_AVAILABLE
2512 * RadioError:REQUEST_NOT_SUPPORTED
2513 */
2514 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
2515 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002516
Andreas Huber675ae492017-03-28 14:40:58 -07002517 /**
Jack Yued7ef812017-01-24 11:56:52 -08002518 * @param info Response info struct containing response type, serial no. and error
2519 *
2520 * Valid errors returned:
2521 * RadioError:NONE
2522 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002523 * RadioError:NO_MEMORY
2524 * RadioError:INTERNAL_ERR
2525 * RadioError:SYSTEM_ERR
2526 * RadioError:INVALID_ARGUMENTS
2527 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002528 * RadioError:NO_RESOURCES
2529 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002530 */
2531 oneway sendDeviceStateResponse(RadioResponseInfo info);
2532
Andreas Huber675ae492017-03-28 14:40:58 -07002533 /**
Jack Yued7ef812017-01-24 11:56:52 -08002534 * @param info Response info struct containing response type, serial no. and error
2535 *
2536 * Valid errors returned:
2537 * RadioError:NONE
2538 * RadioError:INVALID_ARGUMENTS
2539 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002540 * RadioError:NO_MEMORY
2541 * RadioError:INTERNAL_ERR
2542 * RadioError:SYSTEM_ERR
2543 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002544 * RadioError:NO_RESOURCES
2545 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002546 */
2547 oneway setIndicationFilterResponse(RadioResponseInfo info);
2548
Andreas Huber675ae492017-03-28 14:40:58 -07002549 /**
Jack Yua2118692017-02-15 15:31:34 -08002550 * @param info Response info struct containing response type, serial no. and error
2551 *
2552 * Valid errors returned:
2553 * RadioError:NONE
2554 * RadioError:RADIO_NOT_AVAILABLE
2555 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yua2118692017-02-15 15:31:34 -08002556 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002557 * RadioError:INTERNAL_ERR
2558 * RadioError:NO_MEMORY
2559 * RadioError:NO_RESOURCES
2560 * RadioError:CANCELLED
Jack Yua2118692017-02-15 15:31:34 -08002561 */
2562 oneway setSimCardPowerResponse(RadioResponseInfo info);
2563
Andreas Huber675ae492017-03-28 14:40:58 -07002564 /**
Jack Yued7ef812017-01-24 11:56:52 -08002565 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002566 * radio request which take long time to respond.
2567 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
2568 *
2569 * @param serial Serial no. of the request whose acknowledgement is sent.
2570 */
Sanket Padawe865834e2016-12-28 16:04:10 -08002571 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07002572};