blob: 8697e57d91c745cc87501e015680a7f2a3fb80ae [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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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)
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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)
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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)
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
204 * RadioError:MODE_NOT_SUPPORTED
205 * RadioError:ABORTED
sqian159ec7f2017-04-25 18:00:34 -0700206 * RadioError:SYSTEM_ERR
207 * RadioError:REQUEST_NOT_SUPPORTED
208 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -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)
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
sqian01d37ff2017-06-21 14:51:25 -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
540 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -0700541 * RadioError:INTERNAL_ERR
542 * RadioError:REQUEST_NOT_SUPPORTED
543 * RadioError:INVALID_MODEM_STATE
544 * RadioError:NETWORK_NOT_READY
545 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -0700546 * RadioError:NO_RESOURCES
547 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700548 */
549 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
550
Andreas Huber675ae492017-03-28 14:40:58 -0700551 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800552 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700553 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
554 *
555 * Valid errors returned:
556 * RadioError:NONE
557 * RadioError:RADIO_NOT_AVAILABLE
558 * RadioError:SMS_SEND_FAIL_RETRY
559 * RadioError:NETWORK_REJECT
560 * RadioError:INVALID_STATE
561 * RadioError:INVALID_ARGUMENTS
562 * RadioError:NO_MEMORY
563 * RadioError:REQUEST_RATE_LIMITED
564 * RadioError:INVALID_SMS_FORMAT
565 * RadioError:SYSTEM_ERR
566 * RadioError:FDN_CHECK_FAILURE
567 * RadioError:ENCODING_ERR
568 * RadioError:INVALID_SMSC_ADDRESS
569 * RadioError:MODEM_ERR
570 * RadioError:NETWORK_ERR
571 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -0700572 * RadioError:INTERNAL_ERR
573 * RadioError:REQUEST_NOT_SUPPORTED
574 * RadioError:INVALID_MODEM_STATE
575 * RadioError:NETWORK_NOT_READY
576 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -0700577 * RadioError:NO_RESOURCES
578 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700579 */
580 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
581
Andreas Huber675ae492017-03-28 14:40:58 -0700582 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800583 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700584 * @param dcResponse SetupDataCallResult defined in types.hal
585 *
586 * Valid errors returned:
587 * RadioError:NONE must be returned on both success and failure of setup with the
588 * DataCallResponse.status containing the actual status
589 * For all other errors the DataCallResponse is ignored.
Sanket Padawe76372492016-10-27 13:20:49 -0700590 * RadioError:RADIO_NOT_AVAILABLE
591 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
592 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
593 * RadioError:REQUEST_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700594 * RadioError:INVALID_ARGUMENTS
sqian01d37ff2017-06-21 14:51:25 -0700595 * RadioError:INTERNAL_ERR
596 * RadioError:NO_MEMORY
597 * RadioError:NO_RESOURCES
598 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700599 */
600 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
601
Andreas Huber675ae492017-03-28 14:40:58 -0700602 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800603 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -0700604 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
Sanket Padawe76372492016-10-27 13:20:49 -0700605 *
606 * Valid errors returned:
607 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700608 * RadioError:RADIO_NOT_AVAILABLE
609 * RadioError:SIM_PIN2
610 * RadioError:SIM_PUK2
sqian01d37ff2017-06-21 14:51:25 -0700611 * RadioError:INTERNAL_ERR
612 * RadioError:NO_MEMORY
613 * RadioError:NO_RESOURCES
614 * RadioError:CANCELLED
615 * RadioError:INVALID_SIM_STATE
616 * RadioError:SIM_ERR
617 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700618 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800619 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
Sanket Padawe76372492016-10-27 13:20:49 -0700620
Andreas Huber675ae492017-03-28 14:40:58 -0700621 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800622 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700623 *
624 * Valid errors returned:
625 * RadioError:NONE
626 * RadioError:RADIO_NOT_AVAILABLE
627 * RadioError:FDN_CHECK_FAILURE
628 * RadioError:USSD_MODIFIED_TO_DIAL
629 * RadioError:USSD_MODIFIED_TO_SS
630 * RadioError:USSD_MODIFIED_TO_USSD
631 * RadioError:SIM_BUSY
632 * RadioError:OPERATION_NOT_ALLOWED
633 * RadioError:INVALID_ARGUMENTS
634 * RadioError:NO_MEMORY
635 * RadioError:MODEM_ERR
636 * RadioError:INTERNAL_ERR
637 * RadioError:ABORTED
638 * RadioError:SYSTEM_ERR
639 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700640 * RadioError:REQUEST_NOT_SUPPORTED
641 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -0700642 * RadioError:NO_RESOURCES
643 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700644 */
645 oneway sendUssdResponse(RadioResponseInfo info);
646
Andreas Huber675ae492017-03-28 14:40:58 -0700647 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800648 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700649 *
650 * Valid errors returned:
651 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700652 * RadioError:RADIO_NOT_AVAILABLE
653 * RadioError:SIM_BUSY
654 * RadioError:OPERATION_NOT_ALLOWED
655 * RadioError:MODEM_ERR
656 * RadioError:INTERNAL_ERR
657 * RadioError:NO_MEMORY
658 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700659 * RadioError:INVALID_ARGUMENTS
660 * RadioError:SYSTEM_ERR
661 * RadioError:REQUEST_NOT_SUPPORTED
662 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -0700663 * RadioError:NO_RESOURCES
664 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700665 */
666 oneway cancelPendingUssdResponse(RadioResponseInfo info);
667
Andreas Huber675ae492017-03-28 14:40:58 -0700668 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800669 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700670 * @param n is "n" parameter from TS 27.007 7.7
671 * @param m is "m" parameter from TS 27.007 7.7
672 *
673 * Valid errors returned:
674 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700675 * RadioError:RADIO_NOT_AVAILABLE
676 * RadioError:SS_MODIFIED_TO_DIAL
677 * RadioError:SS_MODIFIED_TO_USSD
678 * RadioError:SS_MODIFIED_TO_SS
679 * RadioError:NO_MEMORY
680 * RadioError:MODEM_ERR
681 * RadioError:INTERNAL_ERR
682 * RadioError:FDN_CHECK_FAILURE
683 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700684 * RadioError:REQUEST_NOT_SUPPORTED
685 * RadioError:INVALID_ARGUMENTS
sqian01d37ff2017-06-21 14:51:25 -0700686 * RadioError:NO_RESOURCES
687 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700688 */
689 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
690
Andreas Huber675ae492017-03-28 14:40:58 -0700691 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800692 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700693 *
694 * Valid errors returned:
695 * RadioError:NONE
696 * RadioError:INVALID_ARGUMENTS
697 * RadioError:RADIO_NOT_AVAILABLE
698 * RadioError:SS_MODIFIED_TO_DIAL
699 * RadioError:SS_MODIFIED_TO_USSD
700 * RadioError:SS_MODIFIED_TO_SS
sqian159ec7f2017-04-25 18:00:34 -0700701 * RadioError:NO_MEMORY
702 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700703 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700704 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700705 * RadioError:NO_RESOURCES
706 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700707 */
708 oneway setClirResponse(RadioResponseInfo info);
709
Andreas Huber675ae492017-03-28 14:40:58 -0700710 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800711 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700712 * @param callForwardInfos points to a vector of CallForwardInfo, one for
713 * each distinct registered phone number.
714 *
715 * For example, if data is forwarded to +18005551212 and voice is forwarded
716 * to +18005559999, then two separate CallForwardInfo's must be returned
717 *
718 * If, however, both data and voice are forwarded to +18005551212, then
719 * a single CallForwardInfo must be returned with the service class
720 * set to "data + voice = 3")
721 *
722 * Valid errors returned:
723 * RadioError:NONE
724 * RadioError:RADIO_NOT_AVAILABLE
725 * RadioError:SS_MODIFIED_TO_DIAL
726 * RadioError:SS_MODIFIED_TO_USSD
727 * RadioError:SS_MODIFIED_TO_SS
728 * RadioError:INVALID_ARGUMENTS
729 * RadioError:NO_MEMORY
730 * RadioError:SYSTEM_ERR
731 * RadioError:MODEM_ERR
732 * RadioError:INTERNAL_ERR
733 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700734 * RadioError:REQUEST_NOT_SUPPORTED
735 * RadioError:SYSTEM_ERR
sqian01d37ff2017-06-21 14:51:25 -0700736 * RadioError:NO_RESOURCES
737 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700738 */
739 oneway getCallForwardStatusResponse(RadioResponseInfo info,
740 vec<CallForwardInfo> callForwardInfos);
741
Andreas Huber675ae492017-03-28 14:40:58 -0700742 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800743 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700744 *
745 * Valid errors returned:
746 * RadioError:NONE
747 * RadioError:RADIO_NOT_AVAILABLE
748 * RadioError:SS_MODIFIED_TO_DIAL
749 * RadioError:SS_MODIFIED_TO_USSD
750 * RadioError:SS_MODIFIED_TO_SS
751 * RadioError:INVALID_ARGUMENTS
752 * RadioError:NO_MEMORY
753 * RadioError:SYSTEM_ERR
754 * RadioError:MODEM_ERR
755 * RadioError:INTERNAL_ERR
756 * RadioError:INVALID_STATE
757 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700758 * RadioError:REQUEST_NOT_SUPPORTED
759 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -0700760 * RadioError:NO_RESOURCES
761 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700762 */
763 oneway setCallForwardResponse(RadioResponseInfo info);
764
Andreas Huber675ae492017-03-28 14:40:58 -0700765 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800766 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700767 * @param enable If current call waiting state is disabled, enable = false else true
768 * @param serviceClass If enable, then callWaitingResp[1]
769 * must follow, with the TS 27.007 service class bit vector of services
770 * for which call waiting is enabled.
771 * For example, if callWaitingResp[0] is 1 and
772 * callWaitingResp[1] is 3, then call waiting is enabled for data
773 * and voice and disabled for everything else.
774 *
775 * Valid errors returned:
776 * RadioError:NONE
777 * RadioError:RADIO_NOT_AVAILABLE
778 * RadioError:SS_MODIFIED_TO_DIAL
779 * RadioError:SS_MODIFIED_TO_USSD
780 * RadioError:SS_MODIFIED_TO_SS
781 * RadioError:INVALID_ARGUMENTS
782 * RadioError:NO_MEMORY
783 * RadioError:MODEM_ERR
784 * RadioError:INTERNAL_ERR
785 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700786 * RadioError:INTERNAL_ERR
787 * RadioError:SYSTEM_ERR
788 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700789 * RadioError:NO_RESOURCES
790 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700791 */
792 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
793
Andreas Huber675ae492017-03-28 14:40:58 -0700794 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800795 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700796 *
797 * Valid errors returned:
798 * RadioError:NONE
799 * RadioError:RADIO_NOT_AVAILABLE
800 * RadioError:SS_MODIFIED_TO_DIAL
801 * RadioError:SS_MODIFIED_TO_USSD
802 * RadioError:SS_MODIFIED_TO_SS
803 * RadioError:INVALID_ARGUMENTS
804 * RadioError:NO_MEMORY
805 * RadioError:MODEM_ERR
806 * RadioError:INTERNAL_ERR
807 * RadioError:INVALID_STATE
808 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700809 * RadioError:SYSTEM_ERR
810 * RadioError:REQUEST_NOT_SUPPORTED
811 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -0700812 * RadioError:NO_RESOURCES
813 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700814 */
815 oneway setCallWaitingResponse(RadioResponseInfo info);
816
Andreas Huber675ae492017-03-28 14:40:58 -0700817 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800818 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700819 *
820 * Valid errors returned:
821 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700822 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -0700823 * RadioError:INTERNAL_ERR
824 * RadioError:NO_MEMORY
825 * RadioError:NO_RESOURCES
826 * RadioError:CANCELLED
827 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700828 */
829 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
830
Andreas Huber675ae492017-03-28 14:40:58 -0700831 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800832 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700833 *
834 * Valid errors returned:
835 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700836 * RadioError:RADIO_NOT_AVAILABLE
837 * RadioError:INVALID_STATE
838 * RadioError:NO_MEMORY
839 * RadioError:SYSTEM_ERR
840 * RadioError:MODEM_ERR
841 * RadioError:INTERNAL_ERR
842 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700843 * RadioError:INVALID_ARGUMENTS
844 * RadioError:SYSTEM_ERR
845 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700846 * RadioError:NO_RESOURCES
847 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700848 */
849 oneway acceptCallResponse(RadioResponseInfo info);
850
Andreas Huber675ae492017-03-28 14:40:58 -0700851 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800852 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700853 *
854 * Valid errors returned:
855 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700856 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700857 * RadioError:INVALID_CALL_ID
858 * RadioError:INVALID_STATE
859 * RadioError:INVALID_ARGUMENTS
860 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700861 * RadioError:INTERNAL_ERR
862 * RadioError:NO_MEMORY
863 * RadioError:NO_RESOURCES
864 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700865 */
866 oneway deactivateDataCallResponse(RadioResponseInfo info);
867
Andreas Huber675ae492017-03-28 14:40:58 -0700868 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800869 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700870 * @param response 0 is the TS 27.007 service class bit vector of
871 * services for which the specified barring facility
872 * is active. "0" means "disabled for all"
873 *
874 * Valid errors returned:
875 * RadioError:NONE
876 * RadioError:RADIO_NOT_AVAILABLE
877 * RadioError:SS_MODIFIED_TO_DIAL
878 * RadioError:SS_MODIFIED_TO_USSD
879 * RadioError:SS_MODIFIED_TO_SS
880 * RadioError:INVALID_ARGUMENTS
881 * RadioError:NO_MEMORY
882 * RadioError:MODEM_ERR
883 * RadioError:INTERNAL_ERR
884 * RadioError:SYSTEM_ERR
885 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700886 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700887 * RadioError:NO_RESOURCES
888 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700889 */
890 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
891
Andreas Huber675ae492017-03-28 14:40:58 -0700892 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800893 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700894 * @param retry 0 is the number of retries remaining, or -1 if unknown
895 *
896 * Valid errors returned:
897 * RadioError:NONE
898 * RadioError:RADIO_NOT_AVAILABLE
899 * RadioError:SS_MODIFIED_TO_DIAL
900 * RadioError:SS_MODIFIED_TO_USSD
901 * RadioError:SS_MODIFIED_TO_SS
902 * RadioError:INVALID_ARGUMENTS
903 * RadioError:NO_MEMORY
904 * RadioError:MODEM_ERR
905 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -0700906 * RadioError:SYSTEM_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700907 * RadioError:INVALID_STATE
908 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700909 * RadioError:REQUEST_NOT_SUPPORTED
910 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -0700911 * RadioError:NO_RESOURCES
912 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700913 */
914 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
915
Andreas Huber675ae492017-03-28 14:40:58 -0700916 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800917 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700918 *
919 * Valid errors returned:
920 * RadioError:NONE
921 * RadioError:RADIO_NOT_AVAILABLE
922 * RadioError:SS_MODIFIED_TO_DIAL
923 * RadioError:SS_MODIFIED_TO_USSD
924 * RadioError:SS_MODIFIED_TO_SS
925 * RadioError:INVALID_ARGUMENTS
926 * RadioError:NO_MEMORY
927 * RadioError:MODEM_ERR
928 * RadioError:INTERNAL_ERR
929 * RadioError:SYSTEM_ERR
930 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700931 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700932 * RadioError:NO_RESOURCES
933 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700934 */
935 oneway setBarringPasswordResponse(RadioResponseInfo info);
936
Andreas Huber675ae492017-03-28 14:40:58 -0700937 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800938 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700939 * @param selection false for automatic selection, true for manual selection
940 *
941 * Valid errors returned:
942 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700943 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700944 * RadioError:NO_MEMORY
945 * RadioError:INTERNAL_ERR
946 * RadioError:SYSTEM_ERR
947 * RadioError:INVALID_ARGUMENTS
948 * RadioError:MODEM_ERR
949 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700950 * RadioError:NO_RESOURCES
951 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700952 */
953 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
954
Andreas Huber675ae492017-03-28 14:40:58 -0700955 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800956 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700957 *
958 * Valid errors returned:
959 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700960 * RadioError:RADIO_NOT_AVAILABLE
961 * RadioError:ILLEGAL_SIM_OR_ME
962 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700963 * RadioError:NO_MEMORY
964 * RadioError:INTERNAL_ERR
965 * RadioError:SYSTEM_ERR
966 * RadioError:INVALID_ARGUMENTS
967 * RadioError:MODEM_ERR
968 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700969 * RadioError:NO_RESOURCES
970 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700971 *
972 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
973 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700974 */
975 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
976
Andreas Huber675ae492017-03-28 14:40:58 -0700977 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800978 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700979 *
980 * Valid errors returned:
981 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700982 * RadioError:RADIO_NOT_AVAILABLE
983 * RadioError:ILLEGAL_SIM_OR_ME
984 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700985 * RadioError:INVALID_STATE
986 * RadioError:NO_MEMORY
987 * RadioError:INTERNAL_ERR
988 * RadioError:SYSTEM_ERR
989 * RadioError:INVALID_ARGUMENTS
990 * RadioError:MODEM_ERR
991 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -0700992 * RadioError:NO_RESOURCES
993 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700994 *
995 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
996 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700997 */
998 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
999
Andreas Huber675ae492017-03-28 14:40:58 -07001000 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001001 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001002 * @param networkInfos List of network operator information as OperatorInfos defined in
1003 * types.hal
1004 *
1005 * Valid errors returned:
1006 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -07001007 * RadioError:RADIO_NOT_AVAILABLE
1008 * RadioError:OPERATION_NOT_ALLOWED
Jayachandran Cfbb1ea52017-03-13 19:23:52 -07001009 * RadioError:ABORTED
1010 * RadioError:DEVICE_IN_USE
1011 * RadioError:INTERNAL_ERR
1012 * RadioError:NO_MEMORY
1013 * RadioError:MODEM_ERR
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001014 * RadioError:REQUEST_NOT_SUPPORTED
1015 * RadioError:CANCELLED
sqian01d37ff2017-06-21 14:51:25 -07001016 * RadioError:NO_RESOURCES
1017 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -07001018 */
1019 oneway getAvailableNetworksResponse(RadioResponseInfo info,
1020 vec<OperatorInfo> networkInfos);
1021
Andreas Huber675ae492017-03-28 14:40:58 -07001022 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001023 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001024 *
1025 * Valid errors returned:
1026 * RadioError:NONE
1027 * RadioError:RADIO_NOT_AVAILABLE
1028 * RadioError:INVALID_ARGUMENTS
1029 * RadioError:NO_RESOURCES
1030 * RadioError:NO_MEMORY
1031 * RadioError:SYSTEM_ERR
1032 * RadioError:MODEM_ERR
1033 * RadioError:INTERNAL_ERR
1034 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001035 * RadioError:SYSTEM_ERR
1036 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001037 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001038 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001039 */
1040 oneway startDtmfResponse(RadioResponseInfo info);
1041
Andreas Huber675ae492017-03-28 14:40:58 -07001042 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001043 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001044 *
1045 * Valid errors returned:
1046 * RadioError:NONE
1047 * RadioError:RADIO_NOT_AVAILABLE
1048 * RadioError:INVALID_ARGUMENTS
1049 * RadioError:NO_RESOURCES
1050 * RadioError:NO_MEMORY
1051 * RadioError:INVALID_ARGUMENTS
1052 * RadioError:SYSTEM_ERR
1053 * RadioError:MODEM_ERR
1054 * RadioError:INTERNAL_ERR
1055 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -07001056 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001057 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001058 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001059 */
1060 oneway stopDtmfResponse(RadioResponseInfo info);
1061
Andreas Huber675ae492017-03-28 14:40:58 -07001062 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001063 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001064 * @param version string containing version string for log reporting
1065 *
1066 * Valid errors returned:
1067 * RadioError:NONE
1068 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001069 * RadioError:EMPTY_RECORD
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001070 * RadioError:NO_MEMORY
1071 * RadioError:INTERNAL_ERR
1072 * RadioError:SYSTEM_ERR
1073 * RadioError:MODEM_ERR
1074 * RadioError:NOT_PROVISIONED
1075 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001076 * RadioError:NO_RESOURCES
1077 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001078 */
1079 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
1080
Andreas Huber675ae492017-03-28 14:40:58 -07001081 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001082 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001083 *
1084 * Valid errors returned:
1085 * RadioError:NONE
1086 * RadioError:RADIO_NOT_AVAILABLE
1087 * RadioError:INVALID_ARGUMENTS
1088 * RadioError:INVALID_STATE
1089 * RadioError:NO_RESOURCES
1090 * RadioError:NO_MEMORY
1091 * RadioError:MODEM_ERR
1092 * RadioError:SYSTEM_ERR
1093 * RadioError:INTERNAL_ERR
1094 * RadioError:INVALID_CALL_ID
1095 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001096 * RadioError:REQUEST_NOT_SUPPORTED
1097 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -07001098 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001099 */
1100 oneway separateConnectionResponse(RadioResponseInfo info);
1101
Andreas Huber675ae492017-03-28 14:40:58 -07001102 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001103 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001104 *
1105 * Valid errors returned:
1106 * RadioError:NONE
1107 * RadioError:RADIO_NOT_AVAILABLE
1108 * RadioError:INVALID_ARGUMENTS
1109 * RadioError:NO_MEMORY
1110 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001111 * RadioError:INTERNAL_ERR
1112 * RadioError:SYSTEM_ERR
1113 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001114 * RadioError:NO_RESOURCES
1115 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001116 */
1117 oneway setMuteResponse(RadioResponseInfo info);
1118
Andreas Huber675ae492017-03-28 14:40:58 -07001119 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001120 * @param info Response info struct containing response type, serial no. and error
1121 * @param enable true for "mute enabled" and false for "mute disabled"
Sanket Padawe76372492016-10-27 13:20:49 -07001122 *
1123 * Valid errors returned:
1124 * RadioError:NONE
1125 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001126 * RadioError:SS_MODIFIED_TO_DIAL
1127 * RadioError:SS_MODIFIED_TO_USSD
1128 * RadioError:SS_MODIFIED_TO_SS
1129 * RadioError:NO_MEMORY
1130 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -07001131 * RadioError:INVALID_ARGUMENTS
1132 * RadioError:INTERNAL_ERR
1133 * RadioError:SYSTEM_ERR
1134 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001135 * RadioError:NO_RESOURCES
1136 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001137 */
1138 oneway getMuteResponse(RadioResponseInfo info, bool enable);
1139
Andreas Huber675ae492017-03-28 14:40:58 -07001140 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001141 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001142 * @param status indicates CLIP status
1143 *
1144 * Valid errors returned:
1145 * RadioError:NONE
1146 * RadioError:RADIO_NOT_AVAILABLE
1147 * RadioError:INVALID_ARGUMENTS
1148 * RadioError:NO_MEMORY
1149 * RadioError:SYSTEM_ERR
1150 * RadioError:MODEM_ERR
1151 * RadioError:INTERNAL_ERR
1152 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -07001153 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001154 * RadioError:NO_RESOURCES
1155 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001156 */
1157 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
1158
Andreas Huber675ae492017-03-28 14:40:58 -07001159 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001160 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001161 * @param dcResponse List of DataCallResult as defined in types.hal
1162 *
1163 * Valid errors returned:
1164 * RadioError:NONE
1165 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07001166 * RadioError:INTERNAL_ERR
1167 * RadioError:NO_MEMORY
1168 * RadioError:NO_RESOURCES
1169 * RadioError:CANCELLED
1170 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001171 */
1172 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
1173
Andreas Huber675ae492017-03-28 14:40:58 -07001174 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001175 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001176 *
1177 * Valid errors returned:
1178 * RadioError:NONE
1179 * RadioError:RADIO_NOT_AVAILABLE
1180 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -07001181 * RadioError:SIM_BUSY
1182 * RadioError:NO_MEMORY
1183 * RadioError:SYSTEM_ERR
1184 * RadioError:MODEM_ERR
1185 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -07001186 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001187 * RadioError:NO_RESOURCES
1188 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001189 */
1190 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
1191
Andreas Huber675ae492017-03-28 14:40:58 -07001192 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001193 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001194 * @param index record index where the message is stored
1195 *
1196 * Valid errors returned:
1197 * RadioError:NONE
sqian01d37ff2017-06-21 14:51:25 -07001198 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001199 * RadioError:SIM_FULL
1200 * RadioError:INVALID_ARGUMENTS
1201 * RadioError:INVALID_SMS_FORMAT
1202 * RadioError:INTERNAL_ERR
1203 * RadioError:MODEM_ERR
1204 * RadioError:ENCODING_ERR
1205 * RadioError:NO_MEMORY
1206 * RadioError:NO_RESOURCES
1207 * RadioError:INVALID_MODEM_STATE
1208 * RadioError:MODE_NOT_SUPPORTED
1209 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001210 * RadioError:RADIO_NOT_AVAILABLE
1211 * RadioError:SYSTEM_ERR
1212 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001213 * RadioError:CANCELLED
1214 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001215 */
1216 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
1217
Andreas Huber675ae492017-03-28 14:40:58 -07001218 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001219 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001220 *
1221 * Valid errors returned:
1222 * RadioError:NONE
sqian01d37ff2017-06-21 14:51:25 -07001223 * RadioError:RADIO_NOT_AVAILABLE
1224 * RadioError:SIM_FULL
Sanket Padawe76372492016-10-27 13:20:49 -07001225 * RadioError:INVALID_ARGUMENTS
1226 * RadioError:NO_MEMORY
Sanket Padawe76372492016-10-27 13:20:49 -07001227 * RadioError:SYSTEM_ERR
1228 * RadioError:MODEM_ERR
1229 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001230 * RadioError:INTERNAL_ERR
1231 * RadioError:RADIO_NOT_AVAILABLE
1232 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001233 * RadioError:NO_RESOURCES
1234 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001235 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001236 */
1237 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1238
Andreas Huber675ae492017-03-28 14:40:58 -07001239 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001240 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001241 *
1242 * Valid errors returned:
1243 * RadioError:NONE
1244 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001245 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001246 * RadioError:NO_MEMORY
1247 * RadioError:INTERNAL_ERR
1248 * RadioError:SYSTEM_ERR
1249 * RadioError:INVALID_ARGUMENTS
1250 * RadioError:MODEM_ERR
1251 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001252 * RadioError:NO_RESOURCES
1253 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001254 */
1255 oneway setBandModeResponse(RadioResponseInfo info);
1256
Andreas Huber675ae492017-03-28 14:40:58 -07001257 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001258 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001259 * @param bandModes List of RadioBandMode listing supported modes
1260 *
1261 * Valid errors returned:
1262 * RadioError:NONE
1263 * RadioError:RADIO_NOT_AVAILABLE
1264 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001265 * RadioError:NO_MEMORY
1266 * RadioError:INTERNAL_ERR
1267 * RadioError:SYSTEM_ERR
1268 * RadioError:MODEM_ERR
1269 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001270 * RadioError:NO_RESOURCES
1271 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -07001272 */
1273 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1274
Andreas Huber675ae492017-03-28 14:40:58 -07001275 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001276 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001277 * @param commandResponse SAT/USAT response in hexadecimal format
1278 * string starting with first byte of response
1279 *
1280 * Valid errors returned:
1281 * RadioError:NONE
1282 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001283 * RadioError:SIM_BUSY
1284 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001285 * RadioError:INTERNAL_ERR
1286 * RadioError:NO_MEMORY
1287 * RadioError:NO_RESOURCES
1288 * RadioError:CANCELLED
1289 * RadioError:INVALID_ARGUMENTS
1290 * RadioError:MODEM_ERR
1291 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001292 */
1293 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1294
Andreas Huber675ae492017-03-28 14:40:58 -07001295 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001296 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001297 *
1298 * Valid errors returned:
1299 * RadioError:NONE
1300 * RadioError:RADIO_NOT_AVAILABLE
1301 * RadioError:INVALID_ARGUMENTS
1302 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001303 * RadioError:INTERNAL_ERR
1304 * RadioError:NO_MEMORY
1305 * RadioError:NO_RESOURCES
1306 * RadioError:CANCELLED
1307 * RadioError:INVALID_MODEM_STATE
1308 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001309 */
1310 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
Sanket Padawed52335c2016-11-03 16:46:32 -07001311
Andreas Huber675ae492017-03-28 14:40:58 -07001312 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001313 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001314 *
1315 * Valid errors returned:
1316 * RadioError:NONE
sqian01d37ff2017-06-21 14:51:25 -07001317 * RadioError:RADIO_NOT_AVAILABLE
sqian284c53c2017-05-16 20:29:19 -07001318 * RadioError:NO_MEMORY
1319 * RadioError:INTERNAL_ERR
1320 * RadioError:SYSTEM_ERR
1321 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001322 * RadioError:INVALID_ARGUMENTS
sqian01d37ff2017-06-21 14:51:25 -07001323 * RadioError:NO_RESOURCES
1324 * RadioError:CANCELLED
1325 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001326 */
1327 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1328
Andreas Huber675ae492017-03-28 14:40:58 -07001329 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001330 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001331 *
1332 * Valid errors returned:
1333 * RadioError:NONE
1334 * RadioError:RADIO_NOT_AVAILABLE
1335 * RadioError:INVALID_ARGUMENTS
1336 * RadioError:INVALID_STATE
1337 * RadioError:NO_RESOURCES
1338 * RadioError:NO_MEMORY
1339 * RadioError:SYSTEM_ERR
1340 * RadioError:MODEM_ERR
1341 * RadioError:INTERNAL_ERR
1342 * RadioError:INVALID_CALL_ID
1343 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001344 * RadioError:REQUEST_NOT_SUPPORTED
1345 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -07001346 * RadioError:NO_RESOURCES
1347 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001348 */
1349 oneway explicitCallTransferResponse(RadioResponseInfo info);
1350
Andreas Huber675ae492017-03-28 14:40:58 -07001351 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001352 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001353 *
1354 * Valid errors returned:
1355 * RadioError:NONE
1356 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001357 * RadioError:OPERATION_NOT_ALLOWED
1358 * RadioError:MODE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001359 * RadioError:NO_MEMORY
1360 * RadioError:INTERNAL_ERR
1361 * RadioError:SYSTEM_ERR
1362 * RadioError:INVALID_ARGUMENTS
1363 * RadioError:MODEM_ERR
1364 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001365 * RadioError:NO_RESOURCES
1366 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001367 */
1368 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
1369
Andreas Huber675ae492017-03-28 14:40:58 -07001370 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001371 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001372 * @param nwType RadioPreferredNetworkType defined in types.hal
1373 *
1374 * Valid errors returned:
1375 * RadioError:NONE
1376 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001377 * RadioError:NO_MEMORY
1378 * RadioError:INTERNAL_ERR
1379 * RadioError:SYSTEM_ERR
1380 * RadioError:INVALID_ARGUMENTS
1381 * RadioError:MODEM_ERR
1382 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001383 * RadioError:NO_RESOURCES
1384 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001385 */
1386 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1387 PreferredNetworkType nwType);
1388
Andreas Huber675ae492017-03-28 14:40:58 -07001389 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001390 * @param info Response info struct containing response type, serial no. and error
1391 * @param cells Vector of neighboring radio cell
Sanket Padawed52335c2016-11-03 16:46:32 -07001392 *
1393 * Valid errors returned:
1394 * RadioError:NONE
1395 * RadioError:RADIO_NOT_AVAILABLE
1396 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001397 * RadioError:NO_MEMORY
1398 * RadioError:INTERNAL_ERR
1399 * RadioError:SYSTEM_ERR
1400 * RadioError:MODEM_ERR
1401 * RadioError:NO_NETWORK_FOUND
1402 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001403 * RadioError:NO_RESOURCES
1404 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001405 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001406 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
Sanket Padawed52335c2016-11-03 16:46:32 -07001407
Andreas Huber675ae492017-03-28 14:40:58 -07001408 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001409 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001410 *
1411 * Valid errors returned:
1412 * RadioError:NONE
1413 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001414 * RadioError:NO_MEMORY
1415 * RadioError:INTERNAL_ERR
1416 * RadioError:SYSTEM_ERR
1417 * RadioError:INVALID_ARGUMENTS
1418 * RadioError:MODEM_ERR
1419 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001420 * RadioError:NO_RESOURCES
1421 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001422 */
1423 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1424
Andreas Huber675ae492017-03-28 14:40:58 -07001425 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001426 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001427 *
1428 * Valid errors returned:
1429 * RadioError:NONE
1430 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001431 * RadioError:SIM_ABSENT
1432 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07001433 * RadioError:INTERNAL_ERR
1434 * RadioError:NO_MEMORY
1435 * RadioError:NO_RESOURCES
1436 * RadioError:CANCELLED
1437 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001438 */
1439 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1440
Andreas Huber675ae492017-03-28 14:40:58 -07001441 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001442 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001443 *
1444 * Valid errors returned:
1445 * RadioError:NONE
1446 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001447 * RadioError:NO_MEMORY
1448 * RadioError:INTERNAL_ERR
1449 * RadioError:SYSTEM_ERR
1450 * RadioError:INVALID_ARGUMENTS
1451 * RadioError:MODEM_ERR
1452 * RadioError:REQUEST_NOT_SUPPORTED
1453 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001454 * RadioError:NO_RESOURCES
1455 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001456 */
1457 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1458
Andreas Huber675ae492017-03-28 14:40:58 -07001459 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001460 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001461 * @param type CdmaRoamingType defined in types.hal
1462 *
1463 * Valid errors returned:
1464 * RadioError:NONE
1465 * RadioError:RADIO_NOT_AVAILABLE
1466 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001467 * RadioError:NO_MEMORY
1468 * RadioError:INTERNAL_ERR
1469 * RadioError:SYSTEM_ERR
1470 * RadioError:MODEM_ERR
1471 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001472 * RadioError:NO_RESOURCES
1473 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001474 */
1475 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1476
Andreas Huber675ae492017-03-28 14:40:58 -07001477 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001478 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001479 *
1480 * Valid errors returned:
1481 * RadioError:NONE
1482 * RadioError:RADIO_NOT_AVAILABLE
1483 * RadioError:INVALID_ARGUMENTS
1484 * RadioError:MODEM_ERR
1485 * RadioError:INTERNAL_ERR
1486 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001487 * RadioError:SYSTEM_ERR
1488 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001489 * RadioError:NO_RESOURCES
1490 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001491 */
1492 oneway setTTYModeResponse(RadioResponseInfo info);
1493
Andreas Huber675ae492017-03-28 14:40:58 -07001494 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001495 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001496 * @param mode TtyMode
1497 *
1498 * Valid errors returned:
1499 * RadioError:NONE
1500 * RadioError:RADIO_NOT_AVAILABLE
1501 * RadioError:INVALID_ARGUMENTS
1502 * RadioError:MODEM_ERR
1503 * RadioError:INTERNAL_ERR
1504 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001505 * RadioError:SYSTEM_ERR
1506 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001507 * RadioError:NO_RESOURCES
1508 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001509 */
1510 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1511
Andreas Huber675ae492017-03-28 14:40:58 -07001512 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001513 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001514 *
1515 * Valid errors returned:
1516 * RadioError:NONE
1517 * RadioError:RADIO_NOT_AVAILABLE
1518 * RadioError:INVALID_ARGUMENTS
1519 * RadioError:MODEM_ERR
1520 * RadioError:INTERNAL_ERR
1521 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001522 * RadioError:SYSTEM_ERR
1523 * RadioError:REQUEST_NOT_SUPPORTED
1524 * RadioError:INVALID_CALL_ID
sqian01d37ff2017-06-21 14:51:25 -07001525 * RadioError:NO_RESOURCES
1526 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001527 */
1528 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1529
Andreas Huber675ae492017-03-28 14:40:58 -07001530 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001531 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001532 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1533 * true for Enhanced Privacy Mode (Private Long Code Mask)
1534 *
1535 * Valid errors:
1536 * RadioError:NONE
1537 * RadioError:RADIO_NOT_AVAILABLE
1538 * RadioError:INVALID_ARGUMENTS
1539 * RadioError:MODEM_ERR
1540 * RadioError:INTERNAL_ERR
1541 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001542 * RadioError:SYSTEM_ERR
1543 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001544 * RadioError:NO_RESOURCES
1545 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001546 */
1547 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1548
Andreas Huber675ae492017-03-28 14:40:58 -07001549 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07001550 * Response callback for IRadio.sendCDMAFeatureCode()
1551 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001552 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001553 *
1554 * Valid errors returned:
1555 * RadioError:NONE
1556 * RadioError:RADIO_NOT_AVAILABLE
1557 * RadioError:INVALID_ARGUMENTS
1558 * RadioError:NO_MEMORY
1559 * RadioError:INTERNAL_ERR
1560 * RadioError:SYSTEM_ERR
1561 * RadioError:MODEM_ERR
1562 * RadioError:INVALID_CALL_ID
1563 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001564 * RadioError:REQUEST_NOT_SUPPORTED
1565 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -07001566 * RadioError:NO_RESOURCES
1567 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001568 */
1569 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1570
Andreas Huber675ae492017-03-28 14:40:58 -07001571 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001572 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001573 *
1574 * Valid errors returned:
1575 * RadioError:NONE
1576 * RadioError:RADIO_NOT_AVAILABLE
1577 * RadioError:INVALID_ARGUMENTS
1578 * RadioError:NO_MEMORY
1579 * RadioError:INTERNAL_ERR
1580 * RadioError:SYSTEM_ERR
1581 * RadioError:MODEM_ERR
1582 * RadioError:INVALID_CALL_ID
1583 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001584 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001585 * RadioError:NO_RESOURCES
1586 * RadioError:CANCELLED
1587 * RadioError:INVALID_MODEM_STATE
sqian08e90552017-06-01 12:39:22 -07001588 * RadioError:MODE_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001589 */
1590 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1591
Andreas Huber675ae492017-03-28 14:40:58 -07001592 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001593 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001594 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1595 *
1596 * Valid errors returned:
1597 * RadioError:NONE
1598 * RadioError:RADIO_NOT_AVAILABLE
1599 * RadioError:INVALID_ARGUMENTS
1600 * RadioError:SMS_SEND_FAIL_RETRY
1601 * RadioError:NETWORK_REJECT
1602 * RadioError:INVALID_STATE
1603 * RadioError:NO_MEMORY
1604 * RadioError:REQUEST_RATE_LIMITED
1605 * RadioError:INVALID_SMS_FORMAT
1606 * RadioError:SYSTEM_ERR
1607 * RadioError:FDN_CHECK_FAILURE
1608 * RadioError:MODEM_ERR
1609 * RadioError:NETWORK_ERR
1610 * RadioError:ENCODING_ERR
1611 * RadioError:INVALID_SMSC_ADDRESS
1612 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -07001613 * RadioError:INTERNAL_ERR
1614 * RadioError:SYSTEM_ERR
1615 * RadioError:REQUEST_NOT_SUPPORTED
1616 * RadioError:OPERATION_NOT_ALLOWED
1617 * RadioError:ENCODING_ERR
sqian01d37ff2017-06-21 14:51:25 -07001618 * RadioError:NO_RESOURCES
1619 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001620 */
1621 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1622
Andreas Huber675ae492017-03-28 14:40:58 -07001623 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001624 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001625 *
1626 * Valid errors returned:
1627 * RadioError:NONE
1628 * RadioError:RADIO_NOT_AVAILABLE
1629 * RadioError:INVALID_ARGUMENTS
1630 * RadioError:NO_SMS_TO_ACK
1631 * RadioError:INVALID_STATE
1632 * RadioError:NO_MEMORY
1633 * RadioError:REQUEST_RATE_LIMITED
1634 * RadioError:SYSTEM_ERR
1635 * RadioError:MODEM_ERR
1636 * RadioError:MODE_NOT_SUPPORTED
1637 * RadioError:NETWORK_NOT_READY
1638 * RadioError:INVALID_MODEM_STATE
sqian159ec7f2017-04-25 18:00:34 -07001639 * RadioError:INTERNAL_ERR
1640 * RadioError:REQUEST_NOT_SUPPORTED
1641 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001642 * RadioError:NO_RESOURCES
1643 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001644 */
1645 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1646
Andreas Huber675ae492017-03-28 14:40:58 -07001647 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001648 * @param info Response info struct containing response type, serial no. and error
1649 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001650 *
1651 * Valid errors returned:
1652 * RadioError:NONE
1653 * RadioError:RADIO_NOT_AVAILABLE
1654 * RadioError:INVALID_ARGUMENTS
1655 * RadioError:INVALID_STATE
1656 * RadioError:NO_MEMORY
1657 * RadioError:REQUEST_RATE_LIMITED
1658 * RadioError:SYSTEM_ERR
1659 * RadioError:MODEM_ERR
1660 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001661 * RadioError:INTERNAL_ERR
1662 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001663 * RadioError:NO_RESOURCES
1664 * RadioError:CANCELLED
1665 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001666 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001667 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1668 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001669
Andreas Huber675ae492017-03-28 14:40:58 -07001670 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001671 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001672 *
1673 * Valid errors returned:
1674 * RadioError:NONE
1675 * RadioError:RADIO_NOT_AVAILABLE
1676 * RadioError:INVALID_ARGUMENTS
1677 * RadioError:INVALID_STATE
1678 * RadioError:NO_MEMORY
1679 * RadioError:REQUEST_RATE_LIMITED
1680 * RadioError:SYSTEM_ERR
1681 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001682 * RadioError:INTERNAL_ERR
1683 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001684 * RadioError:NO_RESOURCES
1685 * RadioError:CANCELLED
1686 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001687 */
1688 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1689
Andreas Huber675ae492017-03-28 14:40:58 -07001690 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001691 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001692 *
1693 * Valid errors returned:
1694 * RadioError:NONE
1695 * RadioError:RADIO_NOT_AVAILABLE
1696 * RadioError:INVALID_ARGUMENTS
1697 * RadioError:INVALID_STATE
1698 * RadioError:NO_MEMORY
1699 * RadioError:REQUEST_RATE_LIMITED
1700 * RadioError:SYSTEM_ERR
1701 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001702 * RadioError:INTERNAL_ERR
1703 * RadioError:REQUEST_NOT_SUPPORTED
1704 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001705 * RadioError:NO_RESOURCES
1706 * RadioError:CANCELLED
1707 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001708 */
1709 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1710
Andreas Huber675ae492017-03-28 14:40:58 -07001711 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001712 * @param info Response info struct containing response type, serial no. and error
1713 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001714 *
1715 * Valid errors returned:
1716 * RadioError:NONE
1717 * RadioError:RADIO_NOT_AVAILABLE
1718 * RadioError:INVALID_ARGUMENTS
1719 * RadioError:INVALID_STATE
1720 * RadioError:NO_MEMORY
1721 * RadioError:REQUEST_RATE_LIMITED
1722 * RadioError:SYSTEM_ERR
1723 * RadioError:MODEM_ERR
1724 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001725 * RadioError:INTERNAL_ERR
1726 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001727 * RadioError:NO_RESOURCES
1728 * RadioError:CANCELLED
1729 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001730 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001731 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1732 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001733
Andreas Huber675ae492017-03-28 14:40:58 -07001734 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001735 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001736 *
1737 * Valid errors returned:
1738 * RadioError:NONE
1739 * RadioError:RADIO_NOT_AVAILABLE
1740 * RadioError:INVALID_ARGUMENTS
1741 * RadioError:INVALID_STATE
1742 * RadioError:NO_MEMORY
1743 * RadioError:REQUEST_RATE_LIMITED
1744 * RadioError:SYSTEM_ERR
1745 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001746 * RadioError:INTERNAL_ERR
1747 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001748 * RadioError:NO_RESOURCES
1749 * RadioError:CANCELLED
1750 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001751 */
1752 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1753
Andreas Huber675ae492017-03-28 14:40:58 -07001754 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001755 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001756 *
1757 * Valid errors returned:
1758 * RadioError:NONE
1759 * RadioError:RADIO_NOT_AVAILABLE
1760 * RadioError:INVALID_ARGUMENTS
1761 * RadioError:INVALID_STATE
1762 * RadioError:NO_MEMORY
1763 * RadioError:REQUEST_RATE_LIMITED
1764 * RadioError:SYSTEM_ERR
1765 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001766 * RadioError:INTERNAL_ERR
1767 * RadioError:REQUEST_NOT_SUPPORTED
1768 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001769 * RadioError:NO_RESOURCES
1770 * RadioError:CANCELLED
1771 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001772 */
1773 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1774
Andreas Huber675ae492017-03-28 14:40:58 -07001775 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001776 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001777 * @param mdn MDN if CDMA subscription is available
1778 * @param hSid is a comma separated list of H_SID (Home SID) if
1779 * CDMA subscription is available, in decimal format
1780 * @param hNid is a comma separated list of H_NID (Home NID) if
1781 * CDMA subscription is available, in decimal format
1782 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1783 * @param prl PRL version if CDMA subscription is available
1784 *
1785 * Valid errors returned:
1786 * RadioError:NONE
1787 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001788 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001789 * RadioError:NO_MEMORY
1790 * RadioError:INTERNAL_ERR
1791 * RadioError:SYSTEM_ERR
1792 * RadioError:INVALID_ARGUMENTS
1793 * RadioError:MODEM_ERR
1794 * RadioError:NOT_PROVISIONED
1795 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001796 * RadioError:NO_RESOURCES
1797 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001798 */
1799 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1800 string hNid, string min, string prl);
1801
Andreas Huber675ae492017-03-28 14:40:58 -07001802 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001803 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001804 * @param index record index where the cmda sms message is stored
1805 *
1806 * Valid errors returned:
1807 * RadioError:NONE
1808 * RadioError:RADIO_NOT_AVAILABLE
1809 * RadioError:INVALID_ARGUMENTS
1810 * RadioError:INVALID_SMS_FORMAT
1811 * RadioError:SIM_FULL
1812 * RadioError:INTERNAL_ERR
1813 * RadioError:MODEM_ERR
1814 * RadioError:ENCODING_ERR
1815 * RadioError:NO_MEMORY
1816 * RadioError:NO_RESOURCES
1817 * RadioError:INVALID_MODEM_STATE
1818 * RadioError:MODE_NOT_SUPPORTED
1819 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001820 * RadioError:SYSTEM_ERR
1821 * RadioError:REQUEST_NOT_SUPPORTED
1822 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001823 * RadioError:NO_RESOURCES
1824 * RadioError:CANCELLED
1825 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001826 */
1827 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1828
Andreas Huber675ae492017-03-28 14:40:58 -07001829 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001830 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001831 *
1832 * Valid errors returned:
1833 * RadioError:NONE
1834 * RadioError:RADIO_NOT_AVAILABLE
1835 * RadioError:INVALID_ARGUMENTS
1836 * RadioError:NO_MEMORY
Sanket Padawed52335c2016-11-03 16:46:32 -07001837 * RadioError:SYSTEM_ERR
1838 * RadioError:MODEM_ERR
1839 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001840 * RadioError:INTERNAL_ERR
1841 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001842 * RadioError:OPERATION_NOT_ALLOWED
1843 * RadioError:NO_RESOURCES
1844 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001845 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001846 */
1847 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1848
Andreas Huber675ae492017-03-28 14:40:58 -07001849 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001850 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001851 * @param imei IMEI if GSM subscription is available
1852 * @param imeisv IMEISV if GSM subscription is available
1853 * @param esn ESN if CDMA subscription is available
1854 * @param meid MEID if CDMA subscription is available
1855 *
1856 * Valid errors returned:
1857 * RadioError:NONE
1858 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001859 * RadioError:NO_MEMORY
1860 * RadioError:INTERNAL_ERR
1861 * RadioError:SYSTEM_ERR
1862 * RadioError:INVALID_ARGUMENTS
1863 * RadioError:MODEM_ERR
1864 * RadioError:NOT_PROVISIONED
sqian01d37ff2017-06-21 14:51:25 -07001865 * RadioError:NO_RESOURCES
1866 * RadioError:CANCELLED
1867 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001868 *
1869 * If a empty string value is returned for any of the device id, it means that there was error
1870 * accessing the device.
1871 *
1872 */
1873 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1874 string esn, string meid);
1875
Andreas Huber675ae492017-03-28 14:40:58 -07001876 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001877 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001878 *
1879 * Valid errors returned:
1880 * RadioError:NONE
1881 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001882 * RadioError:OPERATION_NO_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001883 * RadioError:INTERNAL_ERR
1884 * RadioError:NO_MEMORY
1885 * RadioError:SYSTEM_ERR
1886 * RadioError:INVALID_ARGUMENTS
1887 * RadioError:MODEM_ERR
1888 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001889 * RadioError:NO_RESOURCES
1890 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001891 */
1892 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1893
Andreas Huber675ae492017-03-28 14:40:58 -07001894 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001895 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001896 * @param smsc Short Message Service Center address on the device
1897 *
1898 * Valid errors returned:
1899 * RadioError:NONE
1900 * RadioError:RADIO_NOT_AVAILABLE
1901 * RadioError:INVALID_ARGUMENTS
1902 * RadioError:INTERNAL_ERR
1903 * RadioError:NO_MEMORY
1904 * RadioError:SYSTEM_ERR
1905 * RadioError:REQUEST_RATE_LIMITED
1906 * RadioError:MODEM_ERR
1907 * RadioError:INVALID_MODEM_STATE
1908 * RadioError:NOT_PROVISIONED
sqian159ec7f2017-04-25 18:00:34 -07001909 * RadioError:REQUEST_NOT_SUPPORTED
1910 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001911 * RadioError:NO_RESOURCES
1912 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001913 */
1914 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1915
Andreas Huber675ae492017-03-28 14:40:58 -07001916 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001917 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001918 *
1919 * Valid errors returned:
1920 * RadioError:NONE
1921 * RadioError:RADIO_NOT_AVAILABLE
1922 * RadioError:INVALID_ARGUMENTS
1923 * RadioError:INVALID_SMS_FORMAT
1924 * RadioError:NO_MEMORY
1925 * RadioError:SYSTEM_ERR
1926 * RadioError:REQUEST_RATE_LIMITED
1927 * RadioError:MODEM_ERR
1928 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001929 * RadioError:INTERNAL_ERR
1930 * RadioError:REQUEST_NOT_SUPPORTED
1931 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07001932 * RadioError:NO_RESOURCES
1933 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001934 */
1935 oneway setSmscAddressResponse(RadioResponseInfo info);
1936
Andreas Huber675ae492017-03-28 14:40:58 -07001937 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001938 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001939 *
1940 * Valid errors returned:
1941 * RadioError:NONE
1942 * RadioError:RADIO_NOT_AVAILABLE
1943 * RadioError:INVALID_ARGUMENTS
1944 * RadioError:NO_MEMORY
1945 * RadioError:SYSTEM_ERR
1946 * RadioError:REQUEST_RATE_LIMITED
1947 * RadioError:MODEM_ERR
1948 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001949 * RadioError:INTERNAL_ERR
1950 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07001951 * RadioError:NO_RESOURCES
1952 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001953 */
1954 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1955
Andreas Huber675ae492017-03-28 14:40:58 -07001956 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001957 * @param info Response info struct containing response type, serial no. and error
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001958 *
1959 * Valid errors returned:
1960 * RadioError:NONE
1961 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07001962 * RadioError:INTERNAL_ERR
1963 * RadioError:NO_MEMORY
1964 * RadioError:NO_RESOURCES
1965 * RadioError:CANCELLED
1966 * RadioError:REQUEST_NOT_SUPPORTED
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001967 */
1968 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1969
Andreas Huber675ae492017-03-28 14:40:58 -07001970 /**
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001971 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001972 * @param source CDMA subscription source
1973 *
1974 * Valid errors returned:
1975 * RadioError:NONE
1976 * RadioError:RADIO_NOT_AVAILABLE
1977 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07001978 * RadioError:INTERNAL_ERR
1979 * RadioError:NO_MEMORY
1980 * RadioError:NO_RESOURCES
1981 * RadioError:CANCELLED
1982 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001983 */
1984 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1985
Andreas Huber675ae492017-03-28 14:40:58 -07001986 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001987 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001988 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1989 *
1990 * Valid errors returned:
1991 * RadioError:NONE
1992 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07001993 * RadioError:INTERNAL_ERR
1994 * RadioError:NO_MEMORY
1995 * RadioError:NO_RESOURCES
1996 * RadioError:CANCELLED
1997 * RadioError:INVALID_MODEM_STATE
1998 * RadioError:INVALID_ARGUMENTS
1999 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002000 */
2001 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
2002
Andreas Huber675ae492017-03-28 14:40:58 -07002003 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002004 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002005 *
2006 * Valid errors returned:
2007 * RadioError:NONE
2008 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002009 * RadioError:INTERNAL_ERR
2010 * RadioError:NO_MEMORY
2011 * RadioError:NO_RESOURCES
2012 * RadioError:CANCELLED
2013 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002014 */
2015 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
2016
Andreas Huber675ae492017-03-28 14:40:58 -07002017 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002018 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002019 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
2020 *
2021 * Valid errors returned:
2022 * RadioError:NONE
2023 * RadioError:RADIO_NOT_AVAILABLE
2024 * RadioError:SIM_BUSY
2025 * RadioError:OPERATION_NOT_ALLOWED
sqian01d37ff2017-06-21 14:51:25 -07002026 * RadioError:INTERNAL_ERR
2027 * RadioError:NO_MEMORY
2028 * RadioError:NO_RESOURCES
2029 * RadioError:CANCELLED
2030 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002031 */
2032 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
2033
Andreas Huber675ae492017-03-28 14:40:58 -07002034 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002035 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002036 * @param rat Current voice RAT
2037 *
2038 * Valid errors returned:
2039 * RadioError:NONE
2040 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002041 * RadioError:INTERNAL_ERR
2042 * RadioError:NO_MEMORY
2043 * RadioError:NO_RESOURCES
2044 * RadioError:CANCELLED
2045 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002046 */
2047 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
2048
Andreas Huber675ae492017-03-28 14:40:58 -07002049 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002050 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002051 * @param cellInfo List of current cell information known to radio
2052 *
2053 * Valid errors returned:
2054 * RadioError:NONE
2055 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002056 * RadioError:NO_MEMORY
2057 * RadioError:INTERNAL_ERR
2058 * RadioError:SYSTEM_ERR
2059 * RadioError:MODEM_ERR
2060 * RadioError:NO_NETWORK_FOUND
2061 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002062 * RadioError:NO_RESOURCES
2063 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002064 */
2065 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
2066
Andreas Huber675ae492017-03-28 14:40:58 -07002067 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002068 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002069 *
2070 * Valid errors returned:
2071 * RadioError:NONE
2072 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002073 * RadioError:NO_MEMORY
2074 * RadioError:INTERNAL_ERR
2075 * RadioError:SYSTEM_ERR
2076 * RadioError:INVALID_ARGUMENTS
sqian01d37ff2017-06-21 14:51:25 -07002077 * RadioError:NO_RESOURCES
2078 * RadioError:CANCELLED
2079 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002080 */
2081 oneway setCellInfoListRateResponse(RadioResponseInfo info);
2082
Andreas Huber675ae492017-03-28 14:40:58 -07002083 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002084 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002085 *
2086 * Valid errors returned:
2087 * RadioError:NONE
2088 * RadioError:RADIO_NOT_AVAILABLE
2089 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002090 * RadioError:NO_MEMORY
2091 * RadioError:INTERNAL_ERR
2092 * RadioError:SYSTEM_ERR
2093 * RadioError:MODEM_ERR
2094 * RadioError:INVALID_ARGUMENTS
2095 * RadioError:NOT_PROVISIONED
2096 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002097 * RadioError:NO_RESOURCES
2098 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002099 */
2100 oneway setInitialAttachApnResponse(RadioResponseInfo info);
2101
Andreas Huber675ae492017-03-28 14:40:58 -07002102 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002103 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002104 * @param isRegistered false = not registered, true = registered
2105 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
2106 * isRegistered is true.
2107 *
2108 * Valid errors returned:
2109 * RadioError:NONE
2110 * RadioError:RADIO_NOT_AVAILABLE
sqian08e90552017-06-01 12:39:22 -07002111 * RadioError:INTERNAL_ERR
sqian01d37ff2017-06-21 14:51:25 -07002112 * RadioError:NO_MEMORY
2113 * RadioError:NO_RESOURCES
2114 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07002115 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -07002116 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002117 */
2118 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
2119 RadioTechnologyFamily ratFamily);
2120
Andreas Huber675ae492017-03-28 14:40:58 -07002121 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002122 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002123 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
2124 *
2125 * Valid errors returned:
2126 * RadioError:NONE
2127 * RadioError:RADIO_NOT_AVAILABLE
2128 * RadioError:SMS_SEND_FAIL_RETRY
2129 * RadioError:FDN_CHECK_FAILURE
2130 * RadioError:NETWORK_REJECT
2131 * RadioError:INVALID_ARGUMENTS
2132 * RadioError:INVALID_STATE
2133 * RadioError:NO_MEMORY
2134 * RadioError:INVALID_SMS_FORMAT
2135 * RadioError:SYSTEM_ERR
2136 * RadioError:REQUEST_RATE_LIMITED
2137 * RadioError:MODEM_ERR
2138 * RadioError:NETWORK_ERR
2139 * RadioError:ENCODING_ERR
2140 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -07002141 * RadioError:INTERNAL_ERR
2142 * RadioError:REQUEST_NOT_SUPPORTED
2143 * RadioError:NETWORK_NOT_READY
sqian01d37ff2017-06-21 14:51:25 -07002144 * RadioError:NO_RESOURCES
2145 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002146 */
2147 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
2148
Andreas Huber675ae492017-03-28 14:40:58 -07002149 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002150 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002151 * @param result IccIoResult as defined in types.hal
2152 *
2153 * Valid errors returned:
2154 * RadioError:NONE
2155 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002156 * RadioError:INTERNAL_ERR
2157 * RadioError:NO_MEMORY
2158 * RadioError:NO_RESOURCES
2159 * RadioError:CANCELLED
2160 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002161 */
2162 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
2163
Andreas Huber675ae492017-03-28 14:40:58 -07002164 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002165 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002166 * @param channelId session id of the logical channel.
2167 * @param selectResponse Contains the select response for the open channel command with one
2168 * byte per integer
2169 *
2170 * Valid errors returned:
2171 * RadioError:NONE
2172 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07002173 * RadioError:MISSING_RESOURCE
2174 * RadioError:NO_SUCH_ELEMENT
sqian01d37ff2017-06-21 14:51:25 -07002175 * RadioError:INTERNAL_ERR
2176 * RadioError:NO_MEMORY
2177 * RadioError:NO_RESOURCES
2178 * RadioError:CANCELLED
2179 * RadioError:SIM_ERR
2180 * RadioError:INVALID_SIM_STATE
2181 * RadioError:MISSING_RESOURCE
2182 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002183 */
2184 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
2185 vec<int8_t> selectResponse);
2186
Andreas Huber675ae492017-03-28 14:40:58 -07002187 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002188 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002189 *
2190 * Valid errors returned:
2191 * RadioError:NONE
2192 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002193 * RadioError:INTERNAL_ERR
2194 * RadioError:NO_MEMORY
2195 * RadioError:NO_RESOURCES
2196 * RadioError:CANCELLED
2197 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002198 */
2199 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
2200
Andreas Huber675ae492017-03-28 14:40:58 -07002201 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002202 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002203 * @param result IccIoResult as defined in types.hal
2204 *
2205 * Valid errors returned:
2206 * RadioError:NONE
2207 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002208 * RadioError:INTERNAL_ERR
2209 * RadioError:NO_MEMORY
2210 * RadioError:NO_RESOURCES
2211 * RadioError:CANCELLED
2212 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002213 */
2214 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
2215
Andreas Huber675ae492017-03-28 14:40:58 -07002216 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002217 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002218 * @param result string containing the contents of the NV item
2219 *
2220 * Valid errors returned:
2221 * RadioError:NONE
2222 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002223 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002224 */
2225 oneway nvReadItemResponse(RadioResponseInfo info, string result);
2226
Andreas Huber675ae492017-03-28 14:40:58 -07002227 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002228 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002229 *
2230 * Valid errors returned:
2231 * RadioError:NONE
2232 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002233 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002234 */
2235 oneway nvWriteItemResponse(RadioResponseInfo info);
2236
Andreas Huber675ae492017-03-28 14:40:58 -07002237 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002238 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002239 *
2240 * Valid errors returned:
2241 * RadioError:NONE
2242 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002243 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002244 */
2245 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
2246
Andreas Huber675ae492017-03-28 14:40:58 -07002247 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002248 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002249 *
2250 * Valid errors returned:
2251 * RadioError:NONE
2252 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002253 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002254 */
2255 oneway nvResetConfigResponse(RadioResponseInfo info);
2256
Andreas Huber675ae492017-03-28 14:40:58 -07002257 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002258 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002259 *
2260 * Valid errors returned:
2261 * RadioError:NONE
2262 * RadioError:RADIO_NOT_AVAILABLE
2263 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002264 * RadioError:NO_MEMORY
2265 * RadioError:INTERNAL_ERR
2266 * RadioError:SYSTEM_ERR
2267 * RadioError:MODEM_ERR
2268 * RadioError:INVALID_ARGUMENTS
2269 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002270 * RadioError:NO_RESOURCES
2271 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002272 */
2273 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
2274
Andreas Huber675ae492017-03-28 14:40:58 -07002275 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002276 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002277 *
2278 * Valid errors returned:
2279 * RadioError:NONE
2280 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002281 * RadioError:NO_MEMORY
2282 * RadioError:INTERNAL_ERR
2283 * RadioError:SYSTEM_ERR
2284 * RadioError:MODEM_ERR
2285 * RadioError:INVALID_ARGUMENTS
2286 * RadioError:DEVICE_IN_USE
2287 * RadioError:INVALID_MODEM_STATE
sqian01d37ff2017-06-21 14:51:25 -07002288 * RadioError:NO_RESOURCES
2289 * RadioError:CANCELLED
2290 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002291 */
2292 oneway setDataAllowedResponse(RadioResponseInfo info);
2293
Andreas Huber675ae492017-03-28 14:40:58 -07002294 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002295 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002296 * @param config Array of HardwareConfig of the radio.
2297 *
2298 * Valid errors returned:
2299 * RadioError:NONE
2300 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002301 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002302 */
2303 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
2304
Andreas Huber675ae492017-03-28 14:40:58 -07002305 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002306 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002307 * @param result IccIoResult as defined in types.hal
2308 *
2309 * Valid errors returned:
2310 * RadioError:NONE
2311 * RadioError:RADIO_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002312 * RadioError:INTERNAL_ERR
2313 * RadioError:NO_MEMORY
2314 * RadioError:NO_RESOURCES
2315 * RadioError:CANCELLED
2316 * RadioError:INVALID_MODEM_STATE
2317 * RadioError:SIM_ERR
2318 * RadioError:INVALID_ARGUMENTS
2319 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002320 */
2321 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
2322
Andreas Huber675ae492017-03-28 14:40:58 -07002323 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002324 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002325 *
2326 * Valid errors returned:
2327 * RadioError:NONE
2328 * RadioError:RADIO_NOT_AVAILABLE
2329 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian01d37ff2017-06-21 14:51:25 -07002330 * RadioError:INTERNAL_ERR
2331 * RadioError:NO_MEMORY
2332 * RadioError:NO_RESOURCES
2333 * RadioError:CANCELLED
2334 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002335 */
2336 oneway setDataProfileResponse(RadioResponseInfo info);
2337
Andreas Huber675ae492017-03-28 14:40:58 -07002338 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002339 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002340 *
2341 * Valid errors returned:
2342 * RadioError:NONE
2343 * RadioError:RADIO_NOT_AVAILABLE
2344 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002345 * RadioError:NO_MEMORY
2346 * RadioError:INTERNAL_ERR
2347 * RadioError:SYSTEM_ERR
2348 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002349 * RadioError:NO_RESOURCES
2350 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002351 */
2352 oneway requestShutdownResponse(RadioResponseInfo info);
2353
Andreas Huber675ae492017-03-28 14:40:58 -07002354 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002355 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002356 * @param rc Radio capability as defined by RadioCapability in types.hal
2357 *
2358 * Valid errors returned:
2359 * RadioError:NONE
2360 * RadioError:RADIO_NOT_AVAILABLE
2361 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002362 * RadioError:INVALID_STATE
2363 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002364 * RadioError:INTERNAL_ERR
2365 * RadioError:NO_MEMORY
2366 * RadioError:NO_RESOURCES
2367 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002368 */
2369 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2370
Andreas Huber675ae492017-03-28 14:40:58 -07002371 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002372 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002373 * @param rc Radio capability as defined by RadioCapability in types.hal used to
2374 * feedback return status
2375 *
2376 * Valid errors returned:
2377 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
2378 * RadioError:RADIO_NOT_AVAILABLE
2379 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002380 * RadioError:NO_MEMORY
2381 * RadioError:INTERNAL_ERR
2382 * RadioError:SYSTEM_ERR
2383 * RadioError:INVALID_ARGUMENTS
2384 * RadioError:MODEM_ERR
2385 * RadioError:INVALID_STATE
2386 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002387 * RadioError:NO_RESOURCES
2388 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002389 */
2390 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2391
Andreas Huber675ae492017-03-28 14:40:58 -07002392 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002393 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002394 * @param statusInfo LceStatusInfo indicating LCE status
2395 *
2396 * Valid errors returned:
2397 * RadioError:NONE
2398 * RadioError:RADIO_NOT_AVAILABLE
2399 * RadioError:LCE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002400 * RadioError:INTERNAL_ERR
2401 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002402 * RadioError:NO_MEMORY
2403 * RadioError:NO_RESOURCES
2404 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002405 */
2406 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2407
Andreas Huber675ae492017-03-28 14:40:58 -07002408 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002409 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002410 * @param statusInfo LceStatusInfo indicating LCE status
2411 *
2412 * Valid errors returned:
2413 * RadioError:NONE
2414 * RadioError:RADIO_NOT_AVAILABLE
2415 * RadioError:LCE_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002416 * RadioError:INTERNAL_ERR
2417 * RadioError:NO_MEMORY
2418 * RadioError:NO_RESOURCES
2419 * RadioError:CANCELLED
2420 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002421 */
2422 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2423
Andreas Huber675ae492017-03-28 14:40:58 -07002424 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002425 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002426 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
2427 *
2428 * Valid errors returned:
2429 * RadioError:NONE
2430 * RadioError:RADIO_NOT_AVAILABLE
2431 * RadioError:LCE_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07002432 * RadioError:INTERNAL_ERR
sqian01d37ff2017-06-21 14:51:25 -07002433 * RadioError:NO_MEMORY
2434 * RadioError:NO_RESOURCES
2435 * RadioError:CANCELLED
2436 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002437 */
2438 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
2439
Andreas Huber675ae492017-03-28 14:40:58 -07002440 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002441 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002442 * @param activityInfo modem activity information
2443 *
2444 * Valid errors returned:
2445 * RadioError:NONE
2446 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002447 * RadioError:NO_MEMORY
2448 * RadioError:INTERNAL_ERR
2449 * RadioError:SYSTEM_ERR
2450 * RadioError:MODEM_ERR
2451 * RadioError:NOT_PROVISIONED
sqian01d37ff2017-06-21 14:51:25 -07002452 * RadioError:NO_RESOURCES
2453 * RadioError:CANCELLED
2454 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002455 */
2456 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
2457
Andreas Huber675ae492017-03-28 14:40:58 -07002458 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002459 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002460 * @param numAllowed number of allowed carriers which have been set correctly.
2461 * On success, it must match the length of list Carriers->allowedCarriers.
2462 * if Length of allowed carriers list is 0, numAllowed = 0.
2463 *
2464 * Valid errors returned:
2465 * RadioError:NONE
2466 * RadioError:RADIO_NOT_AVAILABLE
2467 * RadioError:INVALID_ARGUMENTS
2468 * RadioError:REQUEST_NOT_SUPPORTED
2469 */
2470 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
2471
Andreas Huber675ae492017-03-28 14:40:58 -07002472 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07002473 * Expected modem behavior:
2474 * Return list of allowed carriers, and if all carriers are allowed.
2475 *
Sanket Padawe865834e2016-12-28 16:04:10 -08002476 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002477 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
2478 * If false, consider "carriers" struct
2479 * @param carriers Carrier restriction information.
2480 *
2481 * Valid errors returned:
2482 * RadioError:NONE
2483 * RadioError:RADIO_NOT_AVAILABLE
2484 * RadioError:REQUEST_NOT_SUPPORTED
2485 */
2486 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
2487 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002488
Andreas Huber675ae492017-03-28 14:40:58 -07002489 /**
Jack Yued7ef812017-01-24 11:56:52 -08002490 * @param info Response info struct containing response type, serial no. and error
2491 *
2492 * Valid errors returned:
2493 * RadioError:NONE
2494 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002495 * RadioError:NO_MEMORY
2496 * RadioError:INTERNAL_ERR
2497 * RadioError:SYSTEM_ERR
2498 * RadioError:INVALID_ARGUMENTS
2499 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002500 * RadioError:NO_RESOURCES
2501 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002502 */
2503 oneway sendDeviceStateResponse(RadioResponseInfo info);
2504
Andreas Huber675ae492017-03-28 14:40:58 -07002505 /**
Jack Yued7ef812017-01-24 11:56:52 -08002506 * @param info Response info struct containing response type, serial no. and error
2507 *
2508 * Valid errors returned:
2509 * RadioError:NONE
2510 * RadioError:INVALID_ARGUMENTS
2511 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002512 * RadioError:NO_MEMORY
2513 * RadioError:INTERNAL_ERR
2514 * RadioError:SYSTEM_ERR
2515 * RadioError:REQUEST_NOT_SUPPORTED
sqian01d37ff2017-06-21 14:51:25 -07002516 * RadioError:NO_RESOURCES
2517 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002518 */
2519 oneway setIndicationFilterResponse(RadioResponseInfo info);
2520
Andreas Huber675ae492017-03-28 14:40:58 -07002521 /**
Jack Yua2118692017-02-15 15:31:34 -08002522 * @param info Response info struct containing response type, serial no. and error
2523 *
2524 * Valid errors returned:
2525 * RadioError:NONE
2526 * RadioError:RADIO_NOT_AVAILABLE
2527 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yua2118692017-02-15 15:31:34 -08002528 * RadioError:INVALID_ARGUMENTS
sqian01d37ff2017-06-21 14:51:25 -07002529 * RadioError:INTERNAL_ERR
2530 * RadioError:NO_MEMORY
2531 * RadioError:NO_RESOURCES
2532 * RadioError:CANCELLED
Jack Yua2118692017-02-15 15:31:34 -08002533 */
2534 oneway setSimCardPowerResponse(RadioResponseInfo info);
2535
Andreas Huber675ae492017-03-28 14:40:58 -07002536 /**
Jack Yued7ef812017-01-24 11:56:52 -08002537 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002538 * radio request which take long time to respond.
2539 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
2540 *
2541 * @param serial Serial no. of the request whose acknowledgement is sent.
2542 */
Sanket Padawe865834e2016-12-28 16:04:10 -08002543 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07002544};