blob: a94aac3352012a5e455b22de5f50ad7a1bf8b96f [file] [log] [blame]
Sanket Padawe76372492016-10-27 13:20:49 -07001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.radio@1.0;
18
Andreas Huber675ae492017-03-28 14:40:58 -070019/**
Sanket Padawe76372492016-10-27 13:20:49 -070020 * Interface declaring response functions to solicited radio requests.
21 * Response functions defined in this interface are as per following convention:
22 * <xyz>Response is response to IRadio.<xyz>
23 */
24interface IRadioResponse {
Andreas Huber675ae492017-03-28 14:40:58 -070025 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080026 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070027 * @param cardStatus ICC card status as defined by CardStatus in types.hal
28 *
29 * Valid errors returned:
30 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -070031 * RadioError:RADIO_NOT_AVAILABLE
32 * RadioError:INTERNAL_ERR
33 * RadioError:NO_MEMORY
34 * RadioError:NO_RESOURCES
35 * RadioError:CANCELLED
36 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070037 */
Sanket Padawe865834e2016-12-28 16:04:10 -080038 oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus);
Sanket Padawe76372492016-10-27 13:20:49 -070039
Andreas Huber675ae492017-03-28 14:40:58 -070040 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080041 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070042 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
43 *
44 * Valid errors returned:
45 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070046 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070047 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -070048 * RadioError:INTERNAL_ERR
49 * RadioError:NO_MEMORY
50 * RadioError:NO_RESOURCES
51 * RadioError:CANCELLED
52 * RadioError:INVALID_ARGUMENTS
53 * RadioError:INVALID_SIM_STATE
54 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070055 */
56 oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
57
Andreas Huber675ae492017-03-28 14:40:58 -070058 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080059 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070060 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
61 *
62 * Valid errors returned:
63 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070064 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070065 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -070066 * RadioError:INTERNAL_ERR
67 * RadioError:NO_MEMORY
68 * RadioError:NO_RESOURCES
69 * RadioError:CANCELLED
70 * RadioError:INVALID_ARGUMENTS
71 * RadioError:INVALID_SIM_STATE
72 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070073 */
74 oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
75
Andreas Huber675ae492017-03-28 14:40:58 -070076 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080077 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070078 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
79 *
80 * Valid errors returned:
81 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070082 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070083 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -070084 * RadioError:INTERNAL_ERR
85 * RadioError:NO_MEMORY
86 * RadioError:NO_RESOURCES
87 * RadioError:CANCELLED
88 * RadioError:INVALID_ARGUMENTS
89 * RadioError:INVALID_SIM_STATE
90 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070091 */
92 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
93
Andreas Huber675ae492017-03-28 14:40:58 -070094 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080095 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070096 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
97 * Valid errors returned:
98 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070099 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700100 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -0700101 * RadioError:INTERNAL_ERR
102 * RadioError:NO_MEMORY
103 * RadioError:NO_RESOURCES
104 * RadioError:CANCELLED
105 * RadioError:INVALID_ARGUMENTS
106 * RadioError:INVALID_SIM_STATE
107 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700108 */
109 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
110
Andreas Huber675ae492017-03-28 14:40:58 -0700111 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800112 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700113 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
114 *
115 * Valid errors returned:
116 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700117 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700118 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -0700119 * RadioError:INTERNAL_ERR
120 * RadioError:NO_MEMORY
121 * RadioError:NO_RESOURCES
122 * RadioError:CANCELLED
123 * RadioError:INVALID_ARGUMENTS
124 * RadioError:INVALID_SIM_STATE
125 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700126 */
127 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
128
Andreas Huber675ae492017-03-28 14:40:58 -0700129 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800130 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700131 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
132 *
133 * Valid errors returned:
134 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700135 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700136 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
sqian6381ac42017-06-09 12:10:43 -0700137 * RadioError:INTERNAL_ERR
138 * RadioError:NO_MEMORY
139 * RadioError:NO_RESOURCES
140 * RadioError:CANCELLED
141 * RadioError:INVALID_ARGUMENTS
142 * RadioError:INVALID_SIM_STATE
143 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700144 */
145 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
146
Andreas Huber675ae492017-03-28 14:40:58 -0700147 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800148 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700149 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
150 *
151 * Valid errors returned:
152 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -0700153 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700154 * RadioError:PASSWORD_INCORRECT (code is invalid)
sqian284c53c2017-05-16 20:29:19 -0700155 * RadioError:NO_MEMORY
156 * RadioError:INVALID_SIM_STATE
157 * RadioError:INTERNAL_ERR
158 * RadioError:SYSTEM_ERR
159 * RadioError:MODEM_ERR
160 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700161 * RadioError:NO_RESOURCES
162 * RadioError:CANCELLED
163 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700164 */
165 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
166
Andreas Huber675ae492017-03-28 14:40:58 -0700167 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800168 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700169 * @param calls Current call list
170 *
171 * Valid errors returned:
172 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700173 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700174 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700175 * RadioError:INTERNAL_ERR
176 * RadioError:SYSTEM_ERR
177 * RadioError:INVALID_ARGUMENTS
178 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700179 * RadioError:NO_RESOURCES
180 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700181 */
182 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
183
Andreas Huber675ae492017-03-28 14:40:58 -0700184 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800185 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700186 *
187 * Valid errors returned:
188 * RadioError:NONE
189 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700190 * RadioError:DIAL_MODIFIED_TO_USSD
191 * RadioError:DIAL_MODIFIED_TO_SS
192 * RadioError:DIAL_MODIFIED_TO_DIAL
193 * RadioError:INVALID_ARGUMENTS
194 * RadioError:NO_MEMORY
195 * RadioError:INVALID_STATE
196 * RadioError:NO_RESOURCES
197 * RadioError:INTERNAL_ERR
198 * RadioError:FDN_CHECK_FAILURE
199 * RadioError:MODEM_ERR
200 * RadioError:NO_SUBSCRIPTION
201 * RadioError:NO_NETWORK_FOUND
202 * RadioError:INVALID_CALL_ID
203 * RadioError:DEVICE_IN_USE
Naina Nalluri236e8e42017-07-17 11:56:42 -0700204 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -0700205 * RadioError:ABORTED
sqian159ec7f2017-04-25 18:00:34 -0700206 * RadioError:SYSTEM_ERR
207 * RadioError:REQUEST_NOT_SUPPORTED
208 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700209 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700210 */
211 oneway dialResponse(RadioResponseInfo info);
212
Andreas Huber675ae492017-03-28 14:40:58 -0700213 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800214 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700215 * @param imsi String containing the IMSI
216 *
217 * Valid errors returned:
218 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700219 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
sqian6381ac42017-06-09 12:10:43 -0700220 * RadioError:INTERNAL_ERR
221 * RadioError:NO_MEMORY
222 * RadioError:NO_RESOURCES
223 * RadioError:CANCELLED
224 * RadioError:INVALID_SIM_STATE
225 * RadioError:SIM_ERR
226 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700227 */
228 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
229
Andreas Huber675ae492017-03-28 14:40:58 -0700230 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800231 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700232 *
233 * Valid errors returned:
234 * RadioError:NONE
235 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
236 * RadioError:INVALID_ARGUMENTS
237 * RadioError:NO_MEMORY
238 * RadioError:INVALID_STATE
239 * RadioError:MODEM_ERR
240 * RadioError:INTERNAL_ERR
241 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -0700242 * RadioError:NO_RESOURCES
243 * RadioError:CANCELLED
244 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700245 */
246 oneway hangupConnectionResponse(RadioResponseInfo info);
247
Andreas Huber675ae492017-03-28 14:40:58 -0700248 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800249 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700250 *
251 * Valid errors returned:
252 * RadioError:NONE
253 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
254 * RadioError:INVALID_STATE
255 * RadioError:NO_MEMORY
256 * RadioError:MODEM_ERR
257 * RadioError:INTERNAL_ERR
258 * RadioError:INVALID_CALL_ID
259 * RadioError:NO_RESOURCES
260 * RadioError:OPERATION_NOT_ALLOWED
261 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700262 * RadioError:SYSTEM_ERR
263 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700264 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700265 */
266 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
267
Andreas Huber675ae492017-03-28 14:40:58 -0700268 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800269 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700270 *
271 * Valid errors returned:
272 * RadioError:NONE
273 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
274 * RadioError:INVALID_STATE
275 * RadioError:NO_MEMORY
276 * RadioError:MODEM_ERR
277 * RadioError:INTERNAL_ERR
278 * RadioError:INVALID_CALL_ID
279 * RadioError:NO_RESOURCES
280 * RadioError:OPERATION_NOT_ALLOWED
281 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700282 * RadioError:SYSTEM_ERR
283 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700284 * RadioError:NO_RESOURCES
285 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700286 */
287 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
288
Andreas Huber675ae492017-03-28 14:40:58 -0700289 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800290 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700291 *
292 * Valid errors returned:
293 * RadioError:NONE
294 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
295 * RadioError:INVALID_STATE
296 * RadioError:NO_MEMORY
297 * RadioError:MODEM_ERR
298 * RadioError:INTERNAL_ERR
299 * RadioError:INVALID_STATE
300 * RadioError:INVALID_CALL_ID
301 * RadioError:OPERATION_NOT_ALLOWED
302 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700303 * RadioError:SYSTEM_ERR
304 * RadioError:REQUEST_NOT_SUPPORTED
305 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700306 * RadioError:NO_RESOURCES
307 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700308 */
309 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
310
Andreas Huber675ae492017-03-28 14:40:58 -0700311 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800312 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700313 *
314 * Valid errors returned:
315 * RadioError:NONE
316 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
317 * RadioError:NO_MEMORY
318 * RadioError:MODEM_ERR
319 * RadioError:INTERNAL_ERR
320 * RadioError:INVALID_STATE
321 * RadioError:INVALID_CALL_ID
322 * RadioError:OPERATION_NOT_ALLOWED
323 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700324 * RadioError:SYSTEM_ERR
325 * RadioError:REQUEST_NOT_SUPPORTED
326 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700327 * RadioError:NO_RESOURCES
328 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700329 */
330 oneway conferenceResponse(RadioResponseInfo info);
331
Andreas Huber675ae492017-03-28 14:40:58 -0700332 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800333 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700334 *
335 * Valid errors returned:
336 * RadioError:NONE
337 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
338 * RadioError:INVALID_STATE
339 * RadioError:NO_RESOURCES
340 * RadioError:NO_MEMORY
341 * RadioError:MODEM_ERR
342 * RadioError:INTERNAL_ERR
343 * RadioError:INVALID_CALL_ID
344 * RadioError:OPERATION_NOT_ALLOWED
345 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700346 * RadioError:SYSTEM_ERR
347 * RadioError:REQUEST_NOT_SUPPORTED
348 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700349 * RadioError:NO_RESOURCES
350 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700351 */
352 oneway rejectCallResponse(RadioResponseInfo info);
353
Andreas Huber675ae492017-03-28 14:40:58 -0700354 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800355 * @param info Response info struct containing response type, serial no. and error
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700356 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
Sanket Padawe76372492016-10-27 13:20:49 -0700357 *
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700358 * The vendor cause code must be used for debugging purpose only.
359 * The implementation must return one of the values of LastCallFailCause
360 * as mentioned below
361 *
362 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
363 * where possible.
364 * CDMA failure reasons codes for the possible call failure scenarios
365 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
366 * Any of the following reason codes if the call is failed or dropped due to reason
367 * mentioned with in the braces.
368 * LastCallFailCause:RADIO_OFF (Radio is OFF)
369 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
370 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
371 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
372 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
373 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
374 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
375 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
376 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
377 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
378 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
379 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
380 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
381 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
382 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
383 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
Sanket Padawe76372492016-10-27 13:20:49 -0700384 *
385 * If the implementation does not have access to the exact cause codes,
386 * then it must return one of the values listed in LastCallFailCause,
387 * as the UI layer needs to distinguish these cases for tone generation or
388 * error notification.
389 *
390 * Valid errors returned:
391 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700392 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700393 * RadioError:RADIO_NOT_AVAILABLE
394 * RadioError:SYSTEM_ERR
395 * RadioError:INVALID_ARGUMENTS
396 * RadioError:INTERNAL_ERR
397 * RadioError:MODEM_ERR
398 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700399 * RadioError:NO_MEMORY
400 * RadioError:NO_RESOURCES
401 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700402 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800403 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
404 LastCallFailCauseInfo failCauseinfo);
Sanket Padawe76372492016-10-27 13:20:49 -0700405
Andreas Huber675ae492017-03-28 14:40:58 -0700406 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800407 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700408 * @param sigStrength Current signal strength
409 *
410 * Valid errors returned:
411 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700412 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700413 * RadioError:NO_MEMORY
414 * RadioError:INTERNAL_ERR
415 * RadioError:SYSTEM_ERR
416 * RadioError:MODEM_ERR
417 * RadioError:NOT_PROVISIONED
418 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700419 * RadioError:NO_RESOURCES
420 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700421 */
422 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
423
Andreas Huber675ae492017-03-28 14:40:58 -0700424 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800425 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700426 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
427 * in types.hal
428 *
429 * Valid errors returned:
430 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700431 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700432 * RadioError:INTERNAL_ERR
433 * RadioError:NO_MEMORY
434 * RadioError:NO_RESOURCES
435 * RadioError:CANCELLED
436 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700437 */
438 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
439 VoiceRegStateResult voiceRegResponse);
440
Andreas Huber675ae492017-03-28 14:40:58 -0700441 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800442 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700443 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
444 * types.hal
445 *
446 * Valid errors returned:
447 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700448 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700449 * RadioError:NO_MEMORY
450 * RadioError:INTERNAL_ERR
451 * RadioError:SYSTEM_ERR
452 * RadioError:MODEM_ERR
453 * RadioError:NOT_PROVISIONED
454 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700455 * RadioError:NO_RESOURCES
456 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700457 */
458 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
459 DataRegStateResult dataRegResponse);
460
Andreas Huber675ae492017-03-28 14:40:58 -0700461 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800462 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700463 * @param longName is long alpha ONS or EONS or empty string if unregistered
464 * @param shortName is short alpha ONS or EONS or empty string if unregistered
465 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
466 *
467 * Valid errors returned:
468 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700469 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700470 * RadioError:NO_MEMORY
471 * RadioError:INTERNAL_ERR
472 * RadioError:SYSTEM_ERR
473 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700474 * RadioError:NO_RESOURCES
475 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700476 */
477 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
478 string numeric);
479
Andreas Huber675ae492017-03-28 14:40:58 -0700480 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800481 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700482 *
483 * Valid errors returned:
484 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700485 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700486 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700487 * RadioError:INVALID_STATE
488 * RadioError:NO_MEMORY
489 * RadioError:INTERNAL_ERR
490 * RadioError:SYSTEM_ERR
491 * RadioError:INVALID_ARGUMENTS
492 * RadioError:MODEM_ERR
493 * RadioError:DEVICE_IN_USE
494 * RadioError:OPERATION_NOT_ALLOWED
495 * RadioError:INVALID_MODEM_STATE
496 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700497 * RadioError:NO_RESOURCES
498 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700499 */
500 oneway setRadioPowerResponse(RadioResponseInfo info);
501
Andreas Huber675ae492017-03-28 14:40:58 -0700502 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800503 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700504 *
505 * Valid errors returned:
506 * RadioError:NONE
507 * RadioError:RADIO_NOT_AVAILABLE
508 * RadioError:INVALID_ARGUMENTS
509 * RadioError:NO_RESOURCES
510 * RadioError:NO_MEMORY
511 * RadioError:MODEM_ERR
512 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700513 * RadioError:INTERNAL_ERR
514 * RadioError:SYSTEM_ERR
515 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700516 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -0700517 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700518 */
519 oneway sendDtmfResponse(RadioResponseInfo info);
520
Andreas Huber675ae492017-03-28 14:40:58 -0700521 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800522 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700523 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
524 *
525 * Valid errors returned:
526 * RadioError:NONE
527 * RadioError:RADIO_NOT_AVAILABLE
528 * RadioError:SMS_SEND_FAIL_RETRY
529 * RadioError:NETWORK_REJECT
530 * RadioError:INVALID_STATE
531 * RadioError:INVALID_ARGUMENTS
532 * RadioError:NO_MEMORY
533 * RadioError:REQUEST_RATE_LIMITED
534 * RadioError:INVALID_SMS_FORMAT
535 * RadioError:SYSTEM_ERR
536 * RadioError:ENCODING_ERR
537 * RadioError:INVALID_SMSC_ADDRESS
538 * RadioError:MODEM_ERR
539 * RadioError:NETWORK_ERR
sqian159ec7f2017-04-25 18:00:34 -0700540 * RadioError:INTERNAL_ERR
541 * RadioError:REQUEST_NOT_SUPPORTED
542 * RadioError:INVALID_MODEM_STATE
543 * RadioError:NETWORK_NOT_READY
544 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -0700545 * RadioError:NO_RESOURCES
546 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700547 */
548 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
549
Andreas Huber675ae492017-03-28 14:40:58 -0700550 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800551 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700552 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
553 *
554 * Valid errors returned:
555 * RadioError:NONE
556 * RadioError:RADIO_NOT_AVAILABLE
557 * RadioError:SMS_SEND_FAIL_RETRY
558 * RadioError:NETWORK_REJECT
559 * RadioError:INVALID_STATE
560 * RadioError:INVALID_ARGUMENTS
561 * RadioError:NO_MEMORY
562 * RadioError:REQUEST_RATE_LIMITED
563 * RadioError:INVALID_SMS_FORMAT
564 * RadioError:SYSTEM_ERR
565 * RadioError:FDN_CHECK_FAILURE
566 * RadioError:ENCODING_ERR
567 * RadioError:INVALID_SMSC_ADDRESS
568 * RadioError:MODEM_ERR
569 * RadioError:NETWORK_ERR
sqian159ec7f2017-04-25 18:00:34 -0700570 * RadioError:INTERNAL_ERR
571 * RadioError:REQUEST_NOT_SUPPORTED
572 * RadioError:INVALID_MODEM_STATE
573 * RadioError:NETWORK_NOT_READY
574 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -0700575 * RadioError:NO_RESOURCES
576 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700577 */
578 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
579
Andreas Huber675ae492017-03-28 14:40:58 -0700580 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800581 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700582 * @param dcResponse SetupDataCallResult defined in types.hal
583 *
584 * Valid errors returned:
585 * RadioError:NONE must be returned on both success and failure of setup with the
586 * DataCallResponse.status containing the actual status
587 * For all other errors the DataCallResponse is ignored.
Sanket Padawe76372492016-10-27 13:20:49 -0700588 * RadioError:RADIO_NOT_AVAILABLE
589 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
590 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
591 * RadioError:REQUEST_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700592 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700593 * RadioError:INTERNAL_ERR
594 * RadioError:NO_MEMORY
595 * RadioError:NO_RESOURCES
596 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700597 */
598 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
599
Andreas Huber675ae492017-03-28 14:40:58 -0700600 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800601 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -0700602 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
Sanket Padawe76372492016-10-27 13:20:49 -0700603 *
604 * Valid errors returned:
605 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700606 * RadioError:RADIO_NOT_AVAILABLE
607 * RadioError:SIM_PIN2
608 * RadioError:SIM_PUK2
sqian6381ac42017-06-09 12:10:43 -0700609 * RadioError:INTERNAL_ERR
610 * RadioError:NO_MEMORY
611 * RadioError:NO_RESOURCES
612 * RadioError:CANCELLED
613 * RadioError:INVALID_SIM_STATE
614 * RadioError:SIM_ERR
615 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700616 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800617 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
Sanket Padawe76372492016-10-27 13:20:49 -0700618
Andreas Huber675ae492017-03-28 14:40:58 -0700619 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800620 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700621 *
622 * Valid errors returned:
623 * RadioError:NONE
624 * RadioError:RADIO_NOT_AVAILABLE
625 * RadioError:FDN_CHECK_FAILURE
626 * RadioError:USSD_MODIFIED_TO_DIAL
627 * RadioError:USSD_MODIFIED_TO_SS
628 * RadioError:USSD_MODIFIED_TO_USSD
629 * RadioError:SIM_BUSY
630 * RadioError:OPERATION_NOT_ALLOWED
631 * RadioError:INVALID_ARGUMENTS
632 * RadioError:NO_MEMORY
633 * RadioError:MODEM_ERR
634 * RadioError:INTERNAL_ERR
635 * RadioError:ABORTED
636 * RadioError:SYSTEM_ERR
637 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700638 * RadioError:REQUEST_NOT_SUPPORTED
639 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700640 * RadioError:NO_RESOURCES
641 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700642 */
643 oneway sendUssdResponse(RadioResponseInfo info);
644
Andreas Huber675ae492017-03-28 14:40:58 -0700645 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800646 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700647 *
648 * Valid errors returned:
649 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700650 * RadioError:RADIO_NOT_AVAILABLE
651 * RadioError:SIM_BUSY
652 * RadioError:OPERATION_NOT_ALLOWED
653 * RadioError:MODEM_ERR
654 * RadioError:INTERNAL_ERR
655 * RadioError:NO_MEMORY
656 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700657 * RadioError:INVALID_ARGUMENTS
658 * RadioError:SYSTEM_ERR
659 * RadioError:REQUEST_NOT_SUPPORTED
660 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700661 * RadioError:NO_RESOURCES
662 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700663 */
664 oneway cancelPendingUssdResponse(RadioResponseInfo info);
665
Andreas Huber675ae492017-03-28 14:40:58 -0700666 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800667 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700668 * @param n is "n" parameter from TS 27.007 7.7
669 * @param m is "m" parameter from TS 27.007 7.7
670 *
671 * Valid errors returned:
672 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700673 * RadioError:RADIO_NOT_AVAILABLE
674 * RadioError:SS_MODIFIED_TO_DIAL
675 * RadioError:SS_MODIFIED_TO_USSD
676 * RadioError:SS_MODIFIED_TO_SS
677 * RadioError:NO_MEMORY
678 * RadioError:MODEM_ERR
679 * RadioError:INTERNAL_ERR
680 * RadioError:FDN_CHECK_FAILURE
681 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700682 * RadioError:REQUEST_NOT_SUPPORTED
683 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700684 * RadioError:NO_RESOURCES
685 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700686 */
687 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
688
Andreas Huber675ae492017-03-28 14:40:58 -0700689 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800690 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700691 *
692 * Valid errors returned:
693 * RadioError:NONE
694 * RadioError:INVALID_ARGUMENTS
695 * RadioError:RADIO_NOT_AVAILABLE
696 * RadioError:SS_MODIFIED_TO_DIAL
697 * RadioError:SS_MODIFIED_TO_USSD
698 * RadioError:SS_MODIFIED_TO_SS
sqian159ec7f2017-04-25 18:00:34 -0700699 * RadioError:NO_MEMORY
700 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700701 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700702 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700703 * RadioError:NO_RESOURCES
704 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700705 */
706 oneway setClirResponse(RadioResponseInfo info);
707
Andreas Huber675ae492017-03-28 14:40:58 -0700708 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800709 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700710 * @param callForwardInfos points to a vector of CallForwardInfo, one for
711 * each distinct registered phone number.
712 *
713 * For example, if data is forwarded to +18005551212 and voice is forwarded
714 * to +18005559999, then two separate CallForwardInfo's must be returned
715 *
716 * If, however, both data and voice are forwarded to +18005551212, then
717 * a single CallForwardInfo must be returned with the service class
718 * set to "data + voice = 3")
719 *
720 * Valid errors returned:
721 * RadioError:NONE
722 * RadioError:RADIO_NOT_AVAILABLE
723 * RadioError:SS_MODIFIED_TO_DIAL
724 * RadioError:SS_MODIFIED_TO_USSD
725 * RadioError:SS_MODIFIED_TO_SS
726 * RadioError:INVALID_ARGUMENTS
727 * RadioError:NO_MEMORY
728 * RadioError:SYSTEM_ERR
729 * RadioError:MODEM_ERR
730 * RadioError:INTERNAL_ERR
731 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700732 * RadioError:REQUEST_NOT_SUPPORTED
733 * RadioError:SYSTEM_ERR
sqian6381ac42017-06-09 12:10:43 -0700734 * RadioError:NO_RESOURCES
735 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700736 */
737 oneway getCallForwardStatusResponse(RadioResponseInfo info,
738 vec<CallForwardInfo> callForwardInfos);
739
Andreas Huber675ae492017-03-28 14:40:58 -0700740 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800741 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700742 *
743 * Valid errors returned:
744 * RadioError:NONE
745 * RadioError:RADIO_NOT_AVAILABLE
746 * RadioError:SS_MODIFIED_TO_DIAL
747 * RadioError:SS_MODIFIED_TO_USSD
748 * RadioError:SS_MODIFIED_TO_SS
749 * RadioError:INVALID_ARGUMENTS
750 * RadioError:NO_MEMORY
751 * RadioError:SYSTEM_ERR
752 * RadioError:MODEM_ERR
753 * RadioError:INTERNAL_ERR
754 * RadioError:INVALID_STATE
755 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700756 * RadioError:REQUEST_NOT_SUPPORTED
757 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700758 * RadioError:NO_RESOURCES
759 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700760 */
761 oneway setCallForwardResponse(RadioResponseInfo info);
762
Andreas Huber675ae492017-03-28 14:40:58 -0700763 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800764 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700765 * @param enable If current call waiting state is disabled, enable = false else true
766 * @param serviceClass If enable, then callWaitingResp[1]
767 * must follow, with the TS 27.007 service class bit vector of services
768 * for which call waiting is enabled.
769 * For example, if callWaitingResp[0] is 1 and
770 * callWaitingResp[1] is 3, then call waiting is enabled for data
771 * and voice and disabled for everything else.
772 *
773 * Valid errors returned:
774 * RadioError:NONE
775 * RadioError:RADIO_NOT_AVAILABLE
776 * RadioError:SS_MODIFIED_TO_DIAL
777 * RadioError:SS_MODIFIED_TO_USSD
778 * RadioError:SS_MODIFIED_TO_SS
779 * RadioError:INVALID_ARGUMENTS
780 * RadioError:NO_MEMORY
781 * RadioError:MODEM_ERR
782 * RadioError:INTERNAL_ERR
783 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700784 * RadioError:INTERNAL_ERR
785 * RadioError:SYSTEM_ERR
786 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700787 * RadioError:NO_RESOURCES
788 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700789 */
790 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
791
Andreas Huber675ae492017-03-28 14:40:58 -0700792 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800793 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700794 *
795 * Valid errors returned:
796 * RadioError:NONE
797 * RadioError:RADIO_NOT_AVAILABLE
798 * RadioError:SS_MODIFIED_TO_DIAL
799 * RadioError:SS_MODIFIED_TO_USSD
800 * RadioError:SS_MODIFIED_TO_SS
801 * RadioError:INVALID_ARGUMENTS
802 * RadioError:NO_MEMORY
803 * RadioError:MODEM_ERR
804 * RadioError:INTERNAL_ERR
805 * RadioError:INVALID_STATE
806 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700807 * RadioError:SYSTEM_ERR
808 * RadioError:REQUEST_NOT_SUPPORTED
809 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700810 * RadioError:NO_RESOURCES
811 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700812 */
813 oneway setCallWaitingResponse(RadioResponseInfo info);
814
Andreas Huber675ae492017-03-28 14:40:58 -0700815 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800816 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700817 *
818 * Valid errors returned:
819 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700820 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700821 * RadioError:INTERNAL_ERR
822 * RadioError:NO_MEMORY
823 * RadioError:NO_RESOURCES
824 * RadioError:CANCELLED
825 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700826 */
827 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
828
Andreas Huber675ae492017-03-28 14:40:58 -0700829 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800830 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700831 *
832 * Valid errors returned:
833 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700834 * RadioError:RADIO_NOT_AVAILABLE
835 * RadioError:INVALID_STATE
836 * RadioError:NO_MEMORY
837 * RadioError:SYSTEM_ERR
838 * RadioError:MODEM_ERR
839 * RadioError:INTERNAL_ERR
840 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700841 * RadioError:INVALID_ARGUMENTS
842 * RadioError:SYSTEM_ERR
843 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700844 * RadioError:NO_RESOURCES
845 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700846 */
847 oneway acceptCallResponse(RadioResponseInfo info);
848
Andreas Huber675ae492017-03-28 14:40:58 -0700849 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800850 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700851 *
852 * Valid errors returned:
853 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700854 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700855 * RadioError:INVALID_CALL_ID
856 * RadioError:INVALID_STATE
857 * RadioError:INVALID_ARGUMENTS
858 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700859 * RadioError:INTERNAL_ERR
860 * RadioError:NO_MEMORY
861 * RadioError:NO_RESOURCES
862 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700863 */
864 oneway deactivateDataCallResponse(RadioResponseInfo info);
865
Andreas Huber675ae492017-03-28 14:40:58 -0700866 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800867 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700868 * @param response 0 is the TS 27.007 service class bit vector of
869 * services for which the specified barring facility
870 * is active. "0" means "disabled for all"
871 *
872 * Valid errors returned:
873 * RadioError:NONE
874 * RadioError:RADIO_NOT_AVAILABLE
875 * RadioError:SS_MODIFIED_TO_DIAL
876 * RadioError:SS_MODIFIED_TO_USSD
877 * RadioError:SS_MODIFIED_TO_SS
878 * RadioError:INVALID_ARGUMENTS
879 * RadioError:NO_MEMORY
880 * RadioError:MODEM_ERR
881 * RadioError:INTERNAL_ERR
882 * RadioError:SYSTEM_ERR
883 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700884 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700885 * RadioError:NO_RESOURCES
886 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700887 */
888 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
889
Andreas Huber675ae492017-03-28 14:40:58 -0700890 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800891 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700892 * @param retry 0 is the number of retries remaining, or -1 if unknown
893 *
894 * Valid errors returned:
895 * RadioError:NONE
896 * RadioError:RADIO_NOT_AVAILABLE
897 * RadioError:SS_MODIFIED_TO_DIAL
898 * RadioError:SS_MODIFIED_TO_USSD
899 * RadioError:SS_MODIFIED_TO_SS
900 * RadioError:INVALID_ARGUMENTS
901 * RadioError:NO_MEMORY
902 * RadioError:MODEM_ERR
903 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -0700904 * RadioError:SYSTEM_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700905 * RadioError:INVALID_STATE
906 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700907 * RadioError:REQUEST_NOT_SUPPORTED
908 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700909 * RadioError:NO_RESOURCES
910 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700911 */
912 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
913
Andreas Huber675ae492017-03-28 14:40:58 -0700914 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800915 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700916 *
917 * Valid errors returned:
918 * RadioError:NONE
919 * RadioError:RADIO_NOT_AVAILABLE
920 * RadioError:SS_MODIFIED_TO_DIAL
921 * RadioError:SS_MODIFIED_TO_USSD
922 * RadioError:SS_MODIFIED_TO_SS
923 * RadioError:INVALID_ARGUMENTS
924 * RadioError:NO_MEMORY
925 * RadioError:MODEM_ERR
926 * RadioError:INTERNAL_ERR
927 * RadioError:SYSTEM_ERR
928 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700929 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700930 * RadioError:NO_RESOURCES
931 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700932 */
933 oneway setBarringPasswordResponse(RadioResponseInfo info);
934
Andreas Huber675ae492017-03-28 14:40:58 -0700935 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800936 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700937 * @param selection false for automatic selection, true for manual selection
938 *
939 * Valid errors returned:
940 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700941 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700942 * RadioError:NO_MEMORY
943 * RadioError:INTERNAL_ERR
944 * RadioError:SYSTEM_ERR
945 * RadioError:INVALID_ARGUMENTS
946 * RadioError:MODEM_ERR
947 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700948 * RadioError:NO_RESOURCES
949 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700950 */
951 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
952
Andreas Huber675ae492017-03-28 14:40:58 -0700953 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800954 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700955 *
956 * Valid errors returned:
957 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700958 * RadioError:RADIO_NOT_AVAILABLE
959 * RadioError:ILLEGAL_SIM_OR_ME
960 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700961 * RadioError:NO_MEMORY
962 * RadioError:INTERNAL_ERR
963 * RadioError:SYSTEM_ERR
964 * RadioError:INVALID_ARGUMENTS
965 * RadioError:MODEM_ERR
966 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700967 * RadioError:NO_RESOURCES
968 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700969 *
970 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
971 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700972 */
973 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
974
Andreas Huber675ae492017-03-28 14:40:58 -0700975 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800976 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700977 *
978 * Valid errors returned:
979 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700980 * RadioError:RADIO_NOT_AVAILABLE
981 * RadioError:ILLEGAL_SIM_OR_ME
982 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700983 * RadioError:INVALID_STATE
984 * RadioError:NO_MEMORY
985 * RadioError:INTERNAL_ERR
986 * RadioError:SYSTEM_ERR
987 * RadioError:INVALID_ARGUMENTS
988 * RadioError:MODEM_ERR
989 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700990 * RadioError:NO_RESOURCES
991 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700992 *
993 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
994 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700995 */
996 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
997
Andreas Huber675ae492017-03-28 14:40:58 -0700998 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800999 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001000 * @param networkInfos List of network operator information as OperatorInfos defined in
1001 * types.hal
1002 *
1003 * Valid errors returned:
1004 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -07001005 * RadioError:RADIO_NOT_AVAILABLE
1006 * RadioError:OPERATION_NOT_ALLOWED
Jayachandran Cfbb1ea52017-03-13 19:23:52 -07001007 * RadioError:ABORTED
1008 * RadioError:DEVICE_IN_USE
1009 * RadioError:INTERNAL_ERR
1010 * RadioError:NO_MEMORY
1011 * RadioError:MODEM_ERR
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001012 * RadioError:REQUEST_NOT_SUPPORTED
1013 * RadioError:CANCELLED
sqian6381ac42017-06-09 12:10:43 -07001014 * RadioError:NO_RESOURCES
1015 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -07001016 */
1017 oneway getAvailableNetworksResponse(RadioResponseInfo info,
1018 vec<OperatorInfo> networkInfos);
1019
Andreas Huber675ae492017-03-28 14:40:58 -07001020 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001021 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001022 *
1023 * Valid errors returned:
1024 * RadioError:NONE
1025 * RadioError:RADIO_NOT_AVAILABLE
1026 * RadioError:INVALID_ARGUMENTS
1027 * RadioError:NO_RESOURCES
1028 * RadioError:NO_MEMORY
1029 * RadioError:SYSTEM_ERR
1030 * RadioError:MODEM_ERR
1031 * RadioError:INTERNAL_ERR
1032 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001033 * RadioError:SYSTEM_ERR
1034 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001035 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001036 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001037 */
1038 oneway startDtmfResponse(RadioResponseInfo info);
1039
Andreas Huber675ae492017-03-28 14:40:58 -07001040 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001041 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001042 *
1043 * Valid errors returned:
1044 * RadioError:NONE
1045 * RadioError:RADIO_NOT_AVAILABLE
1046 * RadioError:INVALID_ARGUMENTS
1047 * RadioError:NO_RESOURCES
1048 * RadioError:NO_MEMORY
1049 * RadioError:INVALID_ARGUMENTS
1050 * RadioError:SYSTEM_ERR
1051 * RadioError:MODEM_ERR
1052 * RadioError:INTERNAL_ERR
1053 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001054 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001055 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001056 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001057 */
1058 oneway stopDtmfResponse(RadioResponseInfo info);
1059
Andreas Huber675ae492017-03-28 14:40:58 -07001060 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001061 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001062 * @param version string containing version string for log reporting
1063 *
1064 * Valid errors returned:
1065 * RadioError:NONE
1066 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001067 * RadioError:EMPTY_RECORD
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001068 * RadioError:NO_MEMORY
1069 * RadioError:INTERNAL_ERR
1070 * RadioError:SYSTEM_ERR
1071 * RadioError:MODEM_ERR
1072 * RadioError:NOT_PROVISIONED
1073 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001074 * RadioError:NO_RESOURCES
1075 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001076 */
1077 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
1078
Andreas Huber675ae492017-03-28 14:40:58 -07001079 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001080 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001081 *
1082 * Valid errors returned:
1083 * RadioError:NONE
1084 * RadioError:RADIO_NOT_AVAILABLE
1085 * RadioError:INVALID_ARGUMENTS
1086 * RadioError:INVALID_STATE
1087 * RadioError:NO_RESOURCES
1088 * RadioError:NO_MEMORY
1089 * RadioError:MODEM_ERR
1090 * RadioError:SYSTEM_ERR
1091 * RadioError:INTERNAL_ERR
1092 * RadioError:INVALID_CALL_ID
1093 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001094 * RadioError:REQUEST_NOT_SUPPORTED
1095 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001096 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001097 */
1098 oneway separateConnectionResponse(RadioResponseInfo info);
1099
Andreas Huber675ae492017-03-28 14:40:58 -07001100 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001101 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001102 *
1103 * Valid errors returned:
1104 * RadioError:NONE
1105 * RadioError:RADIO_NOT_AVAILABLE
1106 * RadioError:INVALID_ARGUMENTS
1107 * RadioError:NO_MEMORY
1108 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001109 * RadioError:INTERNAL_ERR
1110 * RadioError:SYSTEM_ERR
1111 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001112 * RadioError:NO_RESOURCES
1113 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001114 */
1115 oneway setMuteResponse(RadioResponseInfo info);
1116
Andreas Huber675ae492017-03-28 14:40:58 -07001117 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001118 * @param info Response info struct containing response type, serial no. and error
1119 * @param enable true for "mute enabled" and false for "mute disabled"
Sanket Padawe76372492016-10-27 13:20:49 -07001120 *
1121 * Valid errors returned:
1122 * RadioError:NONE
1123 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001124 * RadioError:SS_MODIFIED_TO_DIAL
1125 * RadioError:SS_MODIFIED_TO_USSD
1126 * RadioError:SS_MODIFIED_TO_SS
1127 * RadioError:NO_MEMORY
1128 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001129 * RadioError:INVALID_ARGUMENTS
1130 * RadioError:INTERNAL_ERR
1131 * RadioError:SYSTEM_ERR
1132 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001133 * RadioError:NO_RESOURCES
1134 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001135 */
1136 oneway getMuteResponse(RadioResponseInfo info, bool enable);
1137
Andreas Huber675ae492017-03-28 14:40:58 -07001138 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001139 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001140 * @param status indicates CLIP status
1141 *
1142 * Valid errors returned:
1143 * RadioError:NONE
1144 * RadioError:RADIO_NOT_AVAILABLE
1145 * RadioError:INVALID_ARGUMENTS
1146 * RadioError:NO_MEMORY
1147 * RadioError:SYSTEM_ERR
1148 * RadioError:MODEM_ERR
1149 * RadioError:INTERNAL_ERR
1150 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -07001151 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001152 * RadioError:NO_RESOURCES
1153 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001154 */
1155 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
1156
Andreas Huber675ae492017-03-28 14:40:58 -07001157 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001158 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001159 * @param dcResponse List of DataCallResult as defined in types.hal
1160 *
1161 * Valid errors returned:
1162 * RadioError:NONE
1163 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001164 * RadioError:INTERNAL_ERR
1165 * RadioError:NO_MEMORY
1166 * RadioError:NO_RESOURCES
1167 * RadioError:CANCELLED
1168 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001169 */
1170 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
1171
Andreas Huber675ae492017-03-28 14:40:58 -07001172 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001173 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001174 *
1175 * Valid errors returned:
1176 * RadioError:NONE
1177 * RadioError:RADIO_NOT_AVAILABLE
1178 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -07001179 * RadioError:SIM_BUSY
1180 * RadioError:NO_MEMORY
1181 * RadioError:SYSTEM_ERR
1182 * RadioError:MODEM_ERR
1183 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -07001184 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001185 * RadioError:NO_RESOURCES
1186 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001187 */
1188 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
1189
Andreas Huber675ae492017-03-28 14:40:58 -07001190 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001191 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001192 * @param index record index where the message is stored
1193 *
1194 * Valid errors returned:
1195 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001196 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001197 * RadioError:SIM_FULL
1198 * RadioError:INVALID_ARGUMENTS
1199 * RadioError:INVALID_SMS_FORMAT
1200 * RadioError:INTERNAL_ERR
1201 * RadioError:MODEM_ERR
1202 * RadioError:ENCODING_ERR
1203 * RadioError:NO_MEMORY
1204 * RadioError:NO_RESOURCES
1205 * RadioError:INVALID_MODEM_STATE
Naina Nalluri236e8e42017-07-17 11:56:42 -07001206 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -07001207 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001208 * RadioError:RADIO_NOT_AVAILABLE
1209 * RadioError:SYSTEM_ERR
1210 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001211 * RadioError:CANCELLED
1212 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001213 */
1214 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
1215
Andreas Huber675ae492017-03-28 14:40:58 -07001216 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001217 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001218 *
1219 * Valid errors returned:
1220 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001221 * RadioError:RADIO_NOT_AVAILABLE
1222 * RadioError:SIM_FULL
Sanket Padawe76372492016-10-27 13:20:49 -07001223 * RadioError:INVALID_ARGUMENTS
1224 * RadioError:NO_MEMORY
Sanket Padawe76372492016-10-27 13:20:49 -07001225 * RadioError:SYSTEM_ERR
1226 * RadioError:MODEM_ERR
1227 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001228 * RadioError:INTERNAL_ERR
1229 * RadioError:RADIO_NOT_AVAILABLE
1230 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001231 * RadioError:NO_RESOURCES
1232 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001233 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001234 */
1235 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1236
Andreas Huber675ae492017-03-28 14:40:58 -07001237 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001238 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001239 *
1240 * Valid errors returned:
1241 * RadioError:NONE
1242 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001243 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001244 * RadioError:NO_MEMORY
1245 * RadioError:INTERNAL_ERR
1246 * RadioError:SYSTEM_ERR
1247 * RadioError:INVALID_ARGUMENTS
1248 * RadioError:MODEM_ERR
1249 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001250 * RadioError:NO_RESOURCES
1251 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001252 */
1253 oneway setBandModeResponse(RadioResponseInfo info);
1254
Andreas Huber675ae492017-03-28 14:40:58 -07001255 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001256 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001257 * @param bandModes List of RadioBandMode listing supported modes
1258 *
1259 * Valid errors returned:
1260 * RadioError:NONE
1261 * RadioError:RADIO_NOT_AVAILABLE
1262 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001263 * RadioError:NO_MEMORY
1264 * RadioError:INTERNAL_ERR
1265 * RadioError:SYSTEM_ERR
1266 * RadioError:MODEM_ERR
1267 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001268 * RadioError:NO_RESOURCES
1269 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001270 */
1271 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1272
Andreas Huber675ae492017-03-28 14:40:58 -07001273 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001274 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001275 * @param commandResponse SAT/USAT response in hexadecimal format
1276 * string starting with first byte of response
1277 *
1278 * Valid errors returned:
1279 * RadioError:NONE
1280 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001281 * RadioError:SIM_BUSY
1282 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001283 * RadioError:INTERNAL_ERR
1284 * RadioError:NO_MEMORY
1285 * RadioError:NO_RESOURCES
1286 * RadioError:CANCELLED
1287 * RadioError:INVALID_ARGUMENTS
1288 * RadioError:MODEM_ERR
1289 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001290 */
1291 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1292
Andreas Huber675ae492017-03-28 14:40:58 -07001293 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001294 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001295 *
1296 * Valid errors returned:
1297 * RadioError:NONE
1298 * RadioError:RADIO_NOT_AVAILABLE
1299 * RadioError:INVALID_ARGUMENTS
1300 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001301 * RadioError:INTERNAL_ERR
1302 * RadioError:NO_MEMORY
1303 * RadioError:NO_RESOURCES
1304 * RadioError:CANCELLED
1305 * RadioError:INVALID_MODEM_STATE
1306 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001307 */
1308 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
Sanket Padawed52335c2016-11-03 16:46:32 -07001309
Andreas Huber675ae492017-03-28 14:40:58 -07001310 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001311 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001312 *
1313 * Valid errors returned:
1314 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -07001315 * RadioError:RADIO_NOT_AVAILABLE
sqian284c53c2017-05-16 20:29:19 -07001316 * RadioError:NO_MEMORY
1317 * RadioError:INTERNAL_ERR
1318 * RadioError:SYSTEM_ERR
1319 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001320 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07001321 * RadioError:NO_RESOURCES
1322 * RadioError:CANCELLED
1323 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001324 */
1325 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1326
Andreas Huber675ae492017-03-28 14:40:58 -07001327 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001328 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001329 *
1330 * Valid errors returned:
1331 * RadioError:NONE
1332 * RadioError:RADIO_NOT_AVAILABLE
1333 * RadioError:INVALID_ARGUMENTS
1334 * RadioError:INVALID_STATE
1335 * RadioError:NO_RESOURCES
1336 * RadioError:NO_MEMORY
1337 * RadioError:SYSTEM_ERR
1338 * RadioError:MODEM_ERR
1339 * RadioError:INTERNAL_ERR
1340 * RadioError:INVALID_CALL_ID
1341 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001342 * RadioError:REQUEST_NOT_SUPPORTED
1343 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001344 * RadioError:NO_RESOURCES
1345 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001346 */
1347 oneway explicitCallTransferResponse(RadioResponseInfo info);
1348
Andreas Huber675ae492017-03-28 14:40:58 -07001349 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001350 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001351 *
1352 * Valid errors returned:
1353 * RadioError:NONE
1354 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001355 * RadioError:OPERATION_NOT_ALLOWED
1356 * RadioError:MODE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001357 * RadioError:NO_MEMORY
1358 * RadioError:INTERNAL_ERR
1359 * RadioError:SYSTEM_ERR
1360 * RadioError:INVALID_ARGUMENTS
1361 * RadioError:MODEM_ERR
1362 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001363 * RadioError:NO_RESOURCES
1364 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001365 */
1366 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1367
Andreas Huber675ae492017-03-28 14:40:58 -07001368 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001369 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001370 * @param nwType RadioPreferredNetworkType defined in types.hal
1371 *
1372 * Valid errors returned:
1373 * RadioError:NONE
1374 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001375 * RadioError:NO_MEMORY
1376 * RadioError:INTERNAL_ERR
1377 * RadioError:SYSTEM_ERR
1378 * RadioError:INVALID_ARGUMENTS
1379 * RadioError:MODEM_ERR
1380 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001381 * RadioError:NO_RESOURCES
1382 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001383 */
1384 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1385 PreferredNetworkType nwType);
1386
Andreas Huber675ae492017-03-28 14:40:58 -07001387 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001388 * @param info Response info struct containing response type, serial no. and error
1389 * @param cells Vector of neighboring radio cell
Sanket Padawed52335c2016-11-03 16:46:32 -07001390 *
1391 * Valid errors returned:
1392 * RadioError:NONE
1393 * RadioError:RADIO_NOT_AVAILABLE
1394 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001395 * RadioError:NO_MEMORY
1396 * RadioError:INTERNAL_ERR
1397 * RadioError:SYSTEM_ERR
1398 * RadioError:MODEM_ERR
1399 * RadioError:NO_NETWORK_FOUND
1400 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001401 * RadioError:NO_RESOURCES
1402 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001403 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001404 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
Sanket Padawed52335c2016-11-03 16:46:32 -07001405
Andreas Huber675ae492017-03-28 14:40:58 -07001406 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001407 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001408 *
1409 * Valid errors returned:
1410 * RadioError:NONE
1411 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001412 * RadioError:NO_MEMORY
1413 * RadioError:INTERNAL_ERR
1414 * RadioError:SYSTEM_ERR
1415 * RadioError:INVALID_ARGUMENTS
1416 * RadioError:MODEM_ERR
1417 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001418 * RadioError:NO_RESOURCES
1419 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001420 */
1421 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1422
Andreas Huber675ae492017-03-28 14:40:58 -07001423 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001424 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001425 *
1426 * Valid errors returned:
1427 * RadioError:NONE
1428 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001429 * RadioError:SIM_ABSENT
1430 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001431 * RadioError:INTERNAL_ERR
1432 * RadioError:NO_MEMORY
1433 * RadioError:NO_RESOURCES
1434 * RadioError:CANCELLED
1435 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001436 */
1437 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1438
Andreas Huber675ae492017-03-28 14:40:58 -07001439 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001440 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001441 *
1442 * Valid errors returned:
1443 * RadioError:NONE
1444 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001445 * RadioError:NO_MEMORY
1446 * RadioError:INTERNAL_ERR
1447 * RadioError:SYSTEM_ERR
1448 * RadioError:INVALID_ARGUMENTS
1449 * RadioError:MODEM_ERR
1450 * RadioError:REQUEST_NOT_SUPPORTED
1451 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001452 * RadioError:NO_RESOURCES
1453 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001454 */
1455 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1456
Andreas Huber675ae492017-03-28 14:40:58 -07001457 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001458 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001459 * @param type CdmaRoamingType defined in types.hal
1460 *
1461 * Valid errors returned:
1462 * RadioError:NONE
1463 * RadioError:RADIO_NOT_AVAILABLE
1464 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001465 * RadioError:NO_MEMORY
1466 * RadioError:INTERNAL_ERR
1467 * RadioError:SYSTEM_ERR
1468 * RadioError:MODEM_ERR
1469 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001470 * RadioError:NO_RESOURCES
1471 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001472 */
1473 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1474
Andreas Huber675ae492017-03-28 14:40:58 -07001475 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001476 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001477 *
1478 * Valid errors returned:
1479 * RadioError:NONE
1480 * RadioError:RADIO_NOT_AVAILABLE
1481 * RadioError:INVALID_ARGUMENTS
1482 * RadioError:MODEM_ERR
1483 * RadioError:INTERNAL_ERR
1484 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001485 * RadioError:SYSTEM_ERR
1486 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001487 * RadioError:NO_RESOURCES
1488 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001489 */
1490 oneway setTTYModeResponse(RadioResponseInfo info);
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 * @param mode TtyMode
1495 *
1496 * Valid errors returned:
1497 * RadioError:NONE
1498 * RadioError:RADIO_NOT_AVAILABLE
1499 * RadioError:INVALID_ARGUMENTS
1500 * RadioError:MODEM_ERR
1501 * RadioError:INTERNAL_ERR
1502 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001503 * RadioError:SYSTEM_ERR
1504 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001505 * RadioError:NO_RESOURCES
1506 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001507 */
1508 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1509
Andreas Huber675ae492017-03-28 14:40:58 -07001510 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001511 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001512 *
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
1522 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -07001523 * RadioError:NO_RESOURCES
1524 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001525 */
1526 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1527
Andreas Huber675ae492017-03-28 14:40:58 -07001528 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001529 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001530 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1531 * true for Enhanced Privacy Mode (Private Long Code Mask)
1532 *
1533 * Valid errors:
1534 * RadioError:NONE
1535 * RadioError:RADIO_NOT_AVAILABLE
1536 * RadioError:INVALID_ARGUMENTS
1537 * RadioError:MODEM_ERR
1538 * RadioError:INTERNAL_ERR
1539 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001540 * RadioError:SYSTEM_ERR
1541 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001542 * RadioError:NO_RESOURCES
1543 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001544 */
1545 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1546
Andreas Huber675ae492017-03-28 14:40:58 -07001547 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07001548 * Response callback for IRadio.sendCDMAFeatureCode()
1549 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001550 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001551 *
1552 * Valid errors returned:
1553 * RadioError:NONE
1554 * RadioError:RADIO_NOT_AVAILABLE
1555 * RadioError:INVALID_ARGUMENTS
1556 * RadioError:NO_MEMORY
1557 * RadioError:INTERNAL_ERR
1558 * RadioError:SYSTEM_ERR
1559 * RadioError:MODEM_ERR
1560 * RadioError:INVALID_CALL_ID
1561 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001562 * RadioError:REQUEST_NOT_SUPPORTED
1563 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07001564 * RadioError:NO_RESOURCES
1565 * RadioError:CANCELLED
Naina Nalluri236e8e42017-07-17 11:56:42 -07001566 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001567 */
1568 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1569
Andreas Huber675ae492017-03-28 14:40:58 -07001570 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001571 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001572 *
1573 * Valid errors returned:
1574 * RadioError:NONE
1575 * RadioError:RADIO_NOT_AVAILABLE
1576 * RadioError:INVALID_ARGUMENTS
1577 * RadioError:NO_MEMORY
1578 * RadioError:INTERNAL_ERR
1579 * RadioError:SYSTEM_ERR
1580 * RadioError:MODEM_ERR
1581 * RadioError:INVALID_CALL_ID
1582 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001583 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001584 * RadioError:NO_RESOURCES
1585 * RadioError:CANCELLED
1586 * RadioError:INVALID_MODEM_STATE
Naina Nalluri236e8e42017-07-17 11:56:42 -07001587 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001588 */
1589 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1590
Andreas Huber675ae492017-03-28 14:40:58 -07001591 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001592 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001593 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1594 *
1595 * Valid errors returned:
1596 * RadioError:NONE
1597 * RadioError:RADIO_NOT_AVAILABLE
1598 * RadioError:INVALID_ARGUMENTS
1599 * RadioError:SMS_SEND_FAIL_RETRY
1600 * RadioError:NETWORK_REJECT
1601 * RadioError:INVALID_STATE
1602 * RadioError:NO_MEMORY
1603 * RadioError:REQUEST_RATE_LIMITED
1604 * RadioError:INVALID_SMS_FORMAT
1605 * RadioError:SYSTEM_ERR
1606 * RadioError:FDN_CHECK_FAILURE
1607 * RadioError:MODEM_ERR
1608 * RadioError:NETWORK_ERR
1609 * RadioError:ENCODING_ERR
1610 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001611 * RadioError:INTERNAL_ERR
1612 * RadioError:SYSTEM_ERR
1613 * RadioError:REQUEST_NOT_SUPPORTED
1614 * RadioError:OPERATION_NOT_ALLOWED
1615 * RadioError:ENCODING_ERR
sqian6381ac42017-06-09 12:10:43 -07001616 * RadioError:NO_RESOURCES
1617 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001618 */
1619 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1620
Andreas Huber675ae492017-03-28 14:40:58 -07001621 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001622 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001623 *
1624 * Valid errors returned:
1625 * RadioError:NONE
1626 * RadioError:RADIO_NOT_AVAILABLE
1627 * RadioError:INVALID_ARGUMENTS
1628 * RadioError:NO_SMS_TO_ACK
1629 * RadioError:INVALID_STATE
1630 * RadioError:NO_MEMORY
1631 * RadioError:REQUEST_RATE_LIMITED
1632 * RadioError:SYSTEM_ERR
1633 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001634 * RadioError:NETWORK_NOT_READY
1635 * RadioError:INVALID_MODEM_STATE
sqian159ec7f2017-04-25 18:00:34 -07001636 * RadioError:INTERNAL_ERR
1637 * RadioError:REQUEST_NOT_SUPPORTED
1638 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001639 * RadioError:NO_RESOURCES
1640 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001641 */
1642 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1643
Andreas Huber675ae492017-03-28 14:40:58 -07001644 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001645 * @param info Response info struct containing response type, serial no. and error
1646 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001647 *
1648 * Valid errors returned:
1649 * RadioError:NONE
1650 * RadioError:RADIO_NOT_AVAILABLE
1651 * RadioError:INVALID_ARGUMENTS
1652 * RadioError:INVALID_STATE
1653 * RadioError:NO_MEMORY
1654 * RadioError:REQUEST_RATE_LIMITED
1655 * RadioError:SYSTEM_ERR
1656 * RadioError:MODEM_ERR
1657 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001658 * RadioError:INTERNAL_ERR
1659 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001660 * RadioError:NO_RESOURCES
1661 * RadioError:CANCELLED
1662 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001663 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001664 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1665 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001666
Andreas Huber675ae492017-03-28 14:40:58 -07001667 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001668 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001669 *
1670 * Valid errors returned:
1671 * RadioError:NONE
1672 * RadioError:RADIO_NOT_AVAILABLE
1673 * RadioError:INVALID_ARGUMENTS
1674 * RadioError:INVALID_STATE
1675 * RadioError:NO_MEMORY
1676 * RadioError:REQUEST_RATE_LIMITED
1677 * RadioError:SYSTEM_ERR
1678 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001679 * RadioError:INTERNAL_ERR
1680 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001681 * RadioError:NO_RESOURCES
1682 * RadioError:CANCELLED
1683 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001684 */
1685 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1686
Andreas Huber675ae492017-03-28 14:40:58 -07001687 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001688 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001689 *
1690 * Valid errors returned:
1691 * RadioError:NONE
1692 * RadioError:RADIO_NOT_AVAILABLE
1693 * RadioError:INVALID_ARGUMENTS
1694 * RadioError:INVALID_STATE
1695 * RadioError:NO_MEMORY
1696 * RadioError:REQUEST_RATE_LIMITED
1697 * RadioError:SYSTEM_ERR
1698 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001699 * RadioError:INTERNAL_ERR
1700 * RadioError:REQUEST_NOT_SUPPORTED
1701 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001702 * RadioError:NO_RESOURCES
1703 * RadioError:CANCELLED
1704 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001705 */
1706 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1707
Andreas Huber675ae492017-03-28 14:40:58 -07001708 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001709 * @param info Response info struct containing response type, serial no. and error
1710 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001711 *
1712 * Valid errors returned:
1713 * RadioError:NONE
1714 * RadioError:RADIO_NOT_AVAILABLE
1715 * RadioError:INVALID_ARGUMENTS
1716 * RadioError:INVALID_STATE
1717 * RadioError:NO_MEMORY
1718 * RadioError:REQUEST_RATE_LIMITED
1719 * RadioError:SYSTEM_ERR
1720 * RadioError:MODEM_ERR
1721 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001722 * RadioError:INTERNAL_ERR
1723 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001724 * RadioError:NO_RESOURCES
1725 * RadioError:CANCELLED
1726 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001727 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001728 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1729 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001730
Andreas Huber675ae492017-03-28 14:40:58 -07001731 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001732 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001733 *
1734 * Valid errors returned:
1735 * RadioError:NONE
1736 * RadioError:RADIO_NOT_AVAILABLE
1737 * RadioError:INVALID_ARGUMENTS
1738 * RadioError:INVALID_STATE
1739 * RadioError:NO_MEMORY
1740 * RadioError:REQUEST_RATE_LIMITED
1741 * RadioError:SYSTEM_ERR
1742 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001743 * RadioError:INTERNAL_ERR
1744 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001745 * RadioError:NO_RESOURCES
1746 * RadioError:CANCELLED
1747 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001748 */
1749 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1750
Andreas Huber675ae492017-03-28 14:40:58 -07001751 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001752 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001753 *
1754 * Valid errors returned:
1755 * RadioError:NONE
1756 * RadioError:RADIO_NOT_AVAILABLE
1757 * RadioError:INVALID_ARGUMENTS
1758 * RadioError:INVALID_STATE
1759 * RadioError:NO_MEMORY
1760 * RadioError:REQUEST_RATE_LIMITED
1761 * RadioError:SYSTEM_ERR
1762 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001763 * RadioError:INTERNAL_ERR
1764 * RadioError:REQUEST_NOT_SUPPORTED
1765 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001766 * RadioError:NO_RESOURCES
1767 * RadioError:CANCELLED
1768 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001769 */
1770 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1771
Andreas Huber675ae492017-03-28 14:40:58 -07001772 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001773 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001774 * @param mdn MDN if CDMA subscription is available
1775 * @param hSid is a comma separated list of H_SID (Home SID) if
1776 * CDMA subscription is available, in decimal format
1777 * @param hNid is a comma separated list of H_NID (Home NID) if
1778 * CDMA subscription is available, in decimal format
1779 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1780 * @param prl PRL version if CDMA subscription is available
1781 *
1782 * Valid errors returned:
1783 * RadioError:NONE
1784 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001785 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001786 * RadioError:NO_MEMORY
1787 * RadioError:INTERNAL_ERR
1788 * RadioError:SYSTEM_ERR
1789 * RadioError:INVALID_ARGUMENTS
1790 * RadioError:MODEM_ERR
1791 * RadioError:NOT_PROVISIONED
1792 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001793 * RadioError:NO_RESOURCES
1794 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001795 */
1796 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1797 string hNid, string min, string prl);
1798
Andreas Huber675ae492017-03-28 14:40:58 -07001799 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001800 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001801 * @param index record index where the cmda sms message is stored
1802 *
1803 * Valid errors returned:
1804 * RadioError:NONE
1805 * RadioError:RADIO_NOT_AVAILABLE
1806 * RadioError:INVALID_ARGUMENTS
1807 * RadioError:INVALID_SMS_FORMAT
1808 * RadioError:SIM_FULL
1809 * RadioError:INTERNAL_ERR
1810 * RadioError:MODEM_ERR
1811 * RadioError:ENCODING_ERR
1812 * RadioError:NO_MEMORY
1813 * RadioError:NO_RESOURCES
1814 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001815 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001816 * RadioError:SYSTEM_ERR
1817 * RadioError:REQUEST_NOT_SUPPORTED
1818 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001819 * RadioError:NO_RESOURCES
1820 * RadioError:CANCELLED
1821 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001822 */
1823 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1824
Andreas Huber675ae492017-03-28 14:40:58 -07001825 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001826 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001827 *
1828 * Valid errors returned:
1829 * RadioError:NONE
1830 * RadioError:RADIO_NOT_AVAILABLE
1831 * RadioError:INVALID_ARGUMENTS
1832 * RadioError:NO_MEMORY
Sanket Padawed52335c2016-11-03 16:46:32 -07001833 * RadioError:SYSTEM_ERR
1834 * RadioError:MODEM_ERR
1835 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001836 * RadioError:INTERNAL_ERR
1837 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001838 * RadioError:OPERATION_NOT_ALLOWED
1839 * RadioError:NO_RESOURCES
1840 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001841 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001842 */
1843 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
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 * @param imei IMEI if GSM subscription is available
1848 * @param imeisv IMEISV if GSM subscription is available
1849 * @param esn ESN if CDMA subscription is available
1850 * @param meid MEID if CDMA subscription is available
1851 *
1852 * Valid errors returned:
1853 * RadioError:NONE
1854 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001855 * RadioError:NO_MEMORY
1856 * RadioError:INTERNAL_ERR
1857 * RadioError:SYSTEM_ERR
1858 * RadioError:INVALID_ARGUMENTS
1859 * RadioError:MODEM_ERR
1860 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07001861 * RadioError:NO_RESOURCES
1862 * RadioError:CANCELLED
1863 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001864 *
1865 * If a empty string value is returned for any of the device id, it means that there was error
1866 * accessing the device.
1867 *
1868 */
1869 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1870 string esn, string meid);
1871
Andreas Huber675ae492017-03-28 14:40:58 -07001872 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001873 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001874 *
1875 * Valid errors returned:
1876 * RadioError:NONE
1877 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001878 * RadioError:OPERATION_NO_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001879 * RadioError:INTERNAL_ERR
1880 * RadioError:NO_MEMORY
1881 * RadioError:SYSTEM_ERR
1882 * RadioError:INVALID_ARGUMENTS
1883 * RadioError:MODEM_ERR
1884 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001885 * RadioError:NO_RESOURCES
1886 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001887 */
1888 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1889
Andreas Huber675ae492017-03-28 14:40:58 -07001890 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001891 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001892 * @param smsc Short Message Service Center address on the device
1893 *
1894 * Valid errors returned:
1895 * RadioError:NONE
1896 * RadioError:RADIO_NOT_AVAILABLE
1897 * RadioError:INVALID_ARGUMENTS
1898 * RadioError:INTERNAL_ERR
1899 * RadioError:NO_MEMORY
1900 * RadioError:SYSTEM_ERR
1901 * RadioError:REQUEST_RATE_LIMITED
1902 * RadioError:MODEM_ERR
1903 * RadioError:INVALID_MODEM_STATE
1904 * RadioError:NOT_PROVISIONED
sqian159ec7f2017-04-25 18:00:34 -07001905 * RadioError:REQUEST_NOT_SUPPORTED
1906 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001907 * RadioError:NO_RESOURCES
1908 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001909 */
1910 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1911
Andreas Huber675ae492017-03-28 14:40:58 -07001912 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001913 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001914 *
1915 * Valid errors returned:
1916 * RadioError:NONE
1917 * RadioError:RADIO_NOT_AVAILABLE
1918 * RadioError:INVALID_ARGUMENTS
1919 * RadioError:INVALID_SMS_FORMAT
1920 * RadioError:NO_MEMORY
1921 * RadioError:SYSTEM_ERR
1922 * RadioError:REQUEST_RATE_LIMITED
1923 * RadioError:MODEM_ERR
1924 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001925 * RadioError:INTERNAL_ERR
1926 * RadioError:REQUEST_NOT_SUPPORTED
1927 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001928 * RadioError:NO_RESOURCES
1929 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001930 */
1931 oneway setSmscAddressResponse(RadioResponseInfo info);
1932
Andreas Huber675ae492017-03-28 14:40:58 -07001933 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001934 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001935 *
1936 * Valid errors returned:
1937 * RadioError:NONE
1938 * RadioError:RADIO_NOT_AVAILABLE
1939 * RadioError:INVALID_ARGUMENTS
1940 * RadioError:NO_MEMORY
1941 * RadioError:SYSTEM_ERR
1942 * RadioError:REQUEST_RATE_LIMITED
1943 * RadioError:MODEM_ERR
1944 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001945 * RadioError:INTERNAL_ERR
1946 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001947 * RadioError:NO_RESOURCES
1948 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001949 */
1950 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1951
Andreas Huber675ae492017-03-28 14:40:58 -07001952 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001953 * @param info Response info struct containing response type, serial no. and error
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001954 *
1955 * Valid errors returned:
1956 * RadioError:NONE
1957 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001958 * RadioError:INTERNAL_ERR
1959 * RadioError:NO_MEMORY
1960 * RadioError:NO_RESOURCES
1961 * RadioError:CANCELLED
1962 * RadioError:REQUEST_NOT_SUPPORTED
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001963 */
1964 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1965
Andreas Huber675ae492017-03-28 14:40:58 -07001966 /**
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001967 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001968 * @param source CDMA subscription source
1969 *
1970 * Valid errors returned:
1971 * RadioError:NONE
1972 * RadioError:RADIO_NOT_AVAILABLE
1973 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001974 * RadioError:INTERNAL_ERR
1975 * RadioError:NO_MEMORY
1976 * RadioError:NO_RESOURCES
1977 * RadioError:CANCELLED
1978 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001979 */
1980 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1981
Andreas Huber675ae492017-03-28 14:40:58 -07001982 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001983 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001984 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1985 *
1986 * Valid errors returned:
1987 * RadioError:NONE
1988 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001989 * RadioError:INTERNAL_ERR
1990 * RadioError:NO_MEMORY
1991 * RadioError:NO_RESOURCES
1992 * RadioError:CANCELLED
1993 * RadioError:INVALID_MODEM_STATE
1994 * RadioError:INVALID_ARGUMENTS
1995 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001996 */
1997 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
1998
Andreas Huber675ae492017-03-28 14:40:58 -07001999 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002000 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002001 *
2002 * Valid errors returned:
2003 * RadioError:NONE
2004 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002005 * RadioError:INTERNAL_ERR
2006 * RadioError:NO_MEMORY
2007 * RadioError:NO_RESOURCES
2008 * RadioError:CANCELLED
2009 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002010 */
2011 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
2012
Andreas Huber675ae492017-03-28 14:40:58 -07002013 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002014 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002015 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
2016 *
2017 * Valid errors returned:
2018 * RadioError:NONE
2019 * RadioError:RADIO_NOT_AVAILABLE
2020 * RadioError:SIM_BUSY
2021 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07002022 * RadioError:INTERNAL_ERR
2023 * RadioError:NO_MEMORY
2024 * RadioError:NO_RESOURCES
2025 * RadioError:CANCELLED
2026 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002027 */
2028 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
2029
Andreas Huber675ae492017-03-28 14:40:58 -07002030 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002031 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002032 * @param rat Current voice RAT
2033 *
2034 * Valid errors returned:
2035 * RadioError:NONE
2036 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002037 * RadioError:INTERNAL_ERR
2038 * RadioError:NO_MEMORY
2039 * RadioError:NO_RESOURCES
2040 * RadioError:CANCELLED
2041 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002042 */
2043 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
2044
Andreas Huber675ae492017-03-28 14:40:58 -07002045 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002046 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002047 * @param cellInfo List of current cell information known to radio
2048 *
2049 * Valid errors returned:
2050 * RadioError:NONE
2051 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002052 * RadioError:NO_MEMORY
2053 * RadioError:INTERNAL_ERR
2054 * RadioError:SYSTEM_ERR
2055 * RadioError:MODEM_ERR
2056 * RadioError:NO_NETWORK_FOUND
2057 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002058 * RadioError:NO_RESOURCES
2059 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002060 */
2061 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
2062
Andreas Huber675ae492017-03-28 14:40:58 -07002063 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002064 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002065 *
2066 * Valid errors returned:
2067 * RadioError:NONE
2068 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002069 * RadioError:NO_MEMORY
2070 * RadioError:INTERNAL_ERR
2071 * RadioError:SYSTEM_ERR
2072 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002073 * RadioError:NO_RESOURCES
2074 * RadioError:CANCELLED
2075 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002076 */
2077 oneway setCellInfoListRateResponse(RadioResponseInfo info);
2078
Andreas Huber675ae492017-03-28 14:40:58 -07002079 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002080 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002081 *
2082 * Valid errors returned:
2083 * RadioError:NONE
2084 * RadioError:RADIO_NOT_AVAILABLE
2085 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002086 * RadioError:NO_MEMORY
2087 * RadioError:INTERNAL_ERR
2088 * RadioError:SYSTEM_ERR
2089 * RadioError:MODEM_ERR
2090 * RadioError:INVALID_ARGUMENTS
2091 * RadioError:NOT_PROVISIONED
2092 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002093 * RadioError:NO_RESOURCES
2094 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002095 */
2096 oneway setInitialAttachApnResponse(RadioResponseInfo info);
2097
Andreas Huber675ae492017-03-28 14:40:58 -07002098 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002099 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002100 * @param isRegistered false = not registered, true = registered
2101 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
2102 * isRegistered is true.
2103 *
2104 * Valid errors returned:
2105 * RadioError:NONE
2106 * RadioError:RADIO_NOT_AVAILABLE
sqian08e90552017-06-01 12:39:22 -07002107 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002108 * RadioError:NO_MEMORY
2109 * RadioError:NO_RESOURCES
2110 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07002111 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002112 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002113 */
2114 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
2115 RadioTechnologyFamily ratFamily);
2116
Andreas Huber675ae492017-03-28 14:40:58 -07002117 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002118 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002119 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
2120 *
2121 * Valid errors returned:
2122 * RadioError:NONE
2123 * RadioError:RADIO_NOT_AVAILABLE
2124 * RadioError:SMS_SEND_FAIL_RETRY
2125 * RadioError:FDN_CHECK_FAILURE
2126 * RadioError:NETWORK_REJECT
2127 * RadioError:INVALID_ARGUMENTS
2128 * RadioError:INVALID_STATE
2129 * RadioError:NO_MEMORY
2130 * RadioError:INVALID_SMS_FORMAT
2131 * RadioError:SYSTEM_ERR
2132 * RadioError:REQUEST_RATE_LIMITED
2133 * RadioError:MODEM_ERR
2134 * RadioError:NETWORK_ERR
2135 * RadioError:ENCODING_ERR
Naina Nalluri236e8e42017-07-17 11:56:42 -07002136 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07002137 * RadioError:INTERNAL_ERR
2138 * RadioError:REQUEST_NOT_SUPPORTED
2139 * RadioError:NETWORK_NOT_READY
sqian6381ac42017-06-09 12:10:43 -07002140 * RadioError:NO_RESOURCES
2141 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002142 */
2143 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
2144
Andreas Huber675ae492017-03-28 14:40:58 -07002145 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002146 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002147 * @param result IccIoResult as defined in types.hal
2148 *
2149 * Valid errors returned:
2150 * RadioError:NONE
2151 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002152 * RadioError:INTERNAL_ERR
2153 * RadioError:NO_MEMORY
2154 * RadioError:NO_RESOURCES
2155 * RadioError:CANCELLED
2156 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002157 */
2158 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
2159
Andreas Huber675ae492017-03-28 14:40:58 -07002160 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002161 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002162 * @param channelId session id of the logical channel.
2163 * @param selectResponse Contains the select response for the open channel command with one
2164 * byte per integer
2165 *
2166 * Valid errors returned:
2167 * RadioError:NONE
2168 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07002169 * RadioError:MISSING_RESOURCE
2170 * RadioError:NO_SUCH_ELEMENT
sqian6381ac42017-06-09 12:10:43 -07002171 * RadioError:INTERNAL_ERR
2172 * RadioError:NO_MEMORY
2173 * RadioError:NO_RESOURCES
2174 * RadioError:CANCELLED
2175 * RadioError:SIM_ERR
2176 * RadioError:INVALID_SIM_STATE
2177 * RadioError:MISSING_RESOURCE
2178 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002179 */
2180 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
2181 vec<int8_t> selectResponse);
2182
Andreas Huber675ae492017-03-28 14:40:58 -07002183 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002184 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002185 *
2186 * Valid errors returned:
2187 * RadioError:NONE
2188 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002189 * RadioError:INTERNAL_ERR
2190 * RadioError:NO_MEMORY
2191 * RadioError:NO_RESOURCES
2192 * RadioError:CANCELLED
2193 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002194 */
2195 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
2196
Andreas Huber675ae492017-03-28 14:40:58 -07002197 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002198 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002199 * @param result IccIoResult as defined in types.hal
2200 *
2201 * Valid errors returned:
2202 * RadioError:NONE
2203 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002204 * RadioError:INTERNAL_ERR
2205 * RadioError:NO_MEMORY
2206 * RadioError:NO_RESOURCES
2207 * RadioError:CANCELLED
2208 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002209 */
2210 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
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 * @param result string containing the contents of the NV item
2215 *
2216 * Valid errors returned:
2217 * RadioError:NONE
2218 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002219 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002220 */
2221 oneway nvReadItemResponse(RadioResponseInfo info, string result);
2222
Andreas Huber675ae492017-03-28 14:40:58 -07002223 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002224 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002225 *
2226 * Valid errors returned:
2227 * RadioError:NONE
2228 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002229 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002230 */
2231 oneway nvWriteItemResponse(RadioResponseInfo info);
2232
Andreas Huber675ae492017-03-28 14:40:58 -07002233 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002234 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002235 *
2236 * Valid errors returned:
2237 * RadioError:NONE
2238 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002239 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002240 */
2241 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
2242
Andreas Huber675ae492017-03-28 14:40:58 -07002243 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002244 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002245 *
2246 * Valid errors returned:
2247 * RadioError:NONE
2248 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002249 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002250 */
2251 oneway nvResetConfigResponse(RadioResponseInfo info);
2252
Andreas Huber675ae492017-03-28 14:40:58 -07002253 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002254 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002255 *
2256 * Valid errors returned:
2257 * RadioError:NONE
2258 * RadioError:RADIO_NOT_AVAILABLE
2259 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002260 * RadioError:NO_MEMORY
2261 * RadioError:INTERNAL_ERR
2262 * RadioError:SYSTEM_ERR
2263 * RadioError:MODEM_ERR
2264 * RadioError:INVALID_ARGUMENTS
2265 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002266 * RadioError:NO_RESOURCES
2267 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002268 */
2269 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
2270
Andreas Huber675ae492017-03-28 14:40:58 -07002271 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002272 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002273 *
2274 * Valid errors returned:
2275 * RadioError:NONE
2276 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002277 * RadioError:NO_MEMORY
2278 * RadioError:INTERNAL_ERR
2279 * RadioError:SYSTEM_ERR
2280 * RadioError:MODEM_ERR
2281 * RadioError:INVALID_ARGUMENTS
2282 * RadioError:DEVICE_IN_USE
2283 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002284 * RadioError:NO_RESOURCES
2285 * RadioError:CANCELLED
2286 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002287 */
2288 oneway setDataAllowedResponse(RadioResponseInfo info);
2289
Andreas Huber675ae492017-03-28 14:40:58 -07002290 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002291 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002292 * @param config Array of HardwareConfig of the radio.
2293 *
2294 * Valid errors returned:
2295 * RadioError:NONE
2296 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002297 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002298 */
2299 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
2300
Andreas Huber675ae492017-03-28 14:40:58 -07002301 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002302 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002303 * @param result IccIoResult as defined in types.hal
2304 *
2305 * Valid errors returned:
2306 * RadioError:NONE
2307 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002308 * RadioError:INTERNAL_ERR
2309 * RadioError:NO_MEMORY
2310 * RadioError:NO_RESOURCES
2311 * RadioError:CANCELLED
2312 * RadioError:INVALID_MODEM_STATE
2313 * RadioError:SIM_ERR
2314 * RadioError:INVALID_ARGUMENTS
2315 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002316 */
2317 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
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 *
2322 * Valid errors returned:
2323 * RadioError:NONE
2324 * RadioError:RADIO_NOT_AVAILABLE
2325 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002326 * RadioError:INTERNAL_ERR
2327 * RadioError:NO_MEMORY
2328 * RadioError:NO_RESOURCES
2329 * RadioError:CANCELLED
2330 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002331 */
2332 oneway setDataProfileResponse(RadioResponseInfo info);
2333
Andreas Huber675ae492017-03-28 14:40:58 -07002334 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002335 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002336 *
2337 * Valid errors returned:
2338 * RadioError:NONE
2339 * RadioError:RADIO_NOT_AVAILABLE
2340 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002341 * RadioError:NO_MEMORY
2342 * RadioError:INTERNAL_ERR
2343 * RadioError:SYSTEM_ERR
2344 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002345 * RadioError:NO_RESOURCES
2346 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002347 */
2348 oneway requestShutdownResponse(RadioResponseInfo info);
2349
Andreas Huber675ae492017-03-28 14:40:58 -07002350 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002351 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002352 * @param rc Radio capability as defined by RadioCapability in types.hal
2353 *
2354 * Valid errors returned:
2355 * RadioError:NONE
2356 * RadioError:RADIO_NOT_AVAILABLE
2357 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002358 * RadioError:INVALID_STATE
2359 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002360 * RadioError:INTERNAL_ERR
2361 * RadioError:NO_MEMORY
2362 * RadioError:NO_RESOURCES
2363 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002364 */
2365 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2366
Andreas Huber675ae492017-03-28 14:40:58 -07002367 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002368 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002369 * @param rc Radio capability as defined by RadioCapability in types.hal used to
2370 * feedback return status
2371 *
2372 * Valid errors returned:
2373 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
2374 * RadioError:RADIO_NOT_AVAILABLE
2375 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002376 * RadioError:NO_MEMORY
2377 * RadioError:INTERNAL_ERR
2378 * RadioError:SYSTEM_ERR
2379 * RadioError:INVALID_ARGUMENTS
2380 * RadioError:MODEM_ERR
2381 * RadioError:INVALID_STATE
2382 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002383 * RadioError:NO_RESOURCES
2384 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002385 */
2386 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2387
Andreas Huber675ae492017-03-28 14:40:58 -07002388 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002389 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002390 * @param statusInfo LceStatusInfo indicating LCE status
2391 *
2392 * Valid errors returned:
2393 * RadioError:NONE
2394 * RadioError:RADIO_NOT_AVAILABLE
2395 * RadioError:LCE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002396 * RadioError:INTERNAL_ERR
2397 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002398 * RadioError:NO_MEMORY
2399 * RadioError:NO_RESOURCES
2400 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002401 */
2402 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2403
Andreas Huber675ae492017-03-28 14:40:58 -07002404 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002405 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002406 * @param statusInfo LceStatusInfo indicating LCE status
2407 *
2408 * Valid errors returned:
2409 * RadioError:NONE
2410 * RadioError:RADIO_NOT_AVAILABLE
2411 * RadioError:LCE_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002412 * RadioError:INTERNAL_ERR
2413 * RadioError:NO_MEMORY
2414 * RadioError:NO_RESOURCES
2415 * RadioError:CANCELLED
2416 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002417 */
2418 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2419
Andreas Huber675ae492017-03-28 14:40:58 -07002420 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002421 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002422 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
2423 *
2424 * Valid errors returned:
2425 * RadioError:NONE
2426 * RadioError:RADIO_NOT_AVAILABLE
2427 * RadioError:LCE_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07002428 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002429 * RadioError:NO_MEMORY
2430 * RadioError:NO_RESOURCES
2431 * RadioError:CANCELLED
2432 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002433 */
2434 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
2435
Andreas Huber675ae492017-03-28 14:40:58 -07002436 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002437 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002438 * @param activityInfo modem activity information
2439 *
2440 * Valid errors returned:
2441 * RadioError:NONE
2442 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002443 * RadioError:NO_MEMORY
2444 * RadioError:INTERNAL_ERR
2445 * RadioError:SYSTEM_ERR
2446 * RadioError:MODEM_ERR
2447 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07002448 * RadioError:NO_RESOURCES
2449 * RadioError:CANCELLED
2450 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002451 */
2452 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
2453
Andreas Huber675ae492017-03-28 14:40:58 -07002454 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002455 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002456 * @param numAllowed number of allowed carriers which have been set correctly.
2457 * On success, it must match the length of list Carriers->allowedCarriers.
2458 * if Length of allowed carriers list is 0, numAllowed = 0.
2459 *
2460 * Valid errors returned:
2461 * RadioError:NONE
2462 * RadioError:RADIO_NOT_AVAILABLE
2463 * RadioError:INVALID_ARGUMENTS
2464 * RadioError:REQUEST_NOT_SUPPORTED
2465 */
2466 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
2467
Andreas Huber675ae492017-03-28 14:40:58 -07002468 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07002469 * Expected modem behavior:
2470 * Return list of allowed carriers, and if all carriers are allowed.
2471 *
Sanket Padawe865834e2016-12-28 16:04:10 -08002472 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002473 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
2474 * If false, consider "carriers" struct
2475 * @param carriers Carrier restriction information.
2476 *
2477 * Valid errors returned:
2478 * RadioError:NONE
2479 * RadioError:RADIO_NOT_AVAILABLE
2480 * RadioError:REQUEST_NOT_SUPPORTED
2481 */
2482 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
2483 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002484
Andreas Huber675ae492017-03-28 14:40:58 -07002485 /**
Jack Yued7ef812017-01-24 11:56:52 -08002486 * @param info Response info struct containing response type, serial no. and error
2487 *
2488 * Valid errors returned:
2489 * RadioError:NONE
2490 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002491 * RadioError:NO_MEMORY
2492 * RadioError:INTERNAL_ERR
2493 * RadioError:SYSTEM_ERR
2494 * RadioError:INVALID_ARGUMENTS
2495 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002496 * RadioError:NO_RESOURCES
2497 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002498 */
2499 oneway sendDeviceStateResponse(RadioResponseInfo info);
2500
Andreas Huber675ae492017-03-28 14:40:58 -07002501 /**
Jack Yued7ef812017-01-24 11:56:52 -08002502 * @param info Response info struct containing response type, serial no. and error
2503 *
2504 * Valid errors returned:
2505 * RadioError:NONE
2506 * RadioError:INVALID_ARGUMENTS
2507 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002508 * RadioError:NO_MEMORY
2509 * RadioError:INTERNAL_ERR
2510 * RadioError:SYSTEM_ERR
2511 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002512 * RadioError:NO_RESOURCES
2513 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002514 */
2515 oneway setIndicationFilterResponse(RadioResponseInfo info);
2516
Andreas Huber675ae492017-03-28 14:40:58 -07002517 /**
Jack Yua2118692017-02-15 15:31:34 -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
2523 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yua2118692017-02-15 15:31:34 -08002524 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002525 * RadioError:INTERNAL_ERR
2526 * RadioError:NO_MEMORY
2527 * RadioError:NO_RESOURCES
2528 * RadioError:CANCELLED
Jack Yua2118692017-02-15 15:31:34 -08002529 */
2530 oneway setSimCardPowerResponse(RadioResponseInfo info);
2531
Andreas Huber675ae492017-03-28 14:40:58 -07002532 /**
Jack Yued7ef812017-01-24 11:56:52 -08002533 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002534 * radio request which take long time to respond.
2535 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
2536 *
2537 * @param serial Serial no. of the request whose acknowledgement is sent.
2538 */
Sanket Padawe865834e2016-12-28 16:04:10 -08002539 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07002540};