blob: 9f19169f07b2c075066e2026cbeba9a1a2d2a866 [file] [log] [blame]
Sanket Padawe76372492016-10-27 13:20:49 -07001/*
2 * Copyright (C) 2016 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.radio@1.0;
18
Andreas Huber675ae492017-03-28 14:40:58 -070019/**
Sanket Padawe76372492016-10-27 13:20:49 -070020 * Interface declaring response functions to solicited radio requests.
21 * Response functions defined in this interface are as per following convention:
22 * <xyz>Response is response to IRadio.<xyz>
23 */
24interface IRadioResponse {
Andreas Huber675ae492017-03-28 14:40:58 -070025 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080026 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070027 * @param cardStatus ICC card status as defined by CardStatus in types.hal
28 *
29 * Valid errors returned:
30 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -070031 * RadioError:RADIO_NOT_AVAILABLE
32 * RadioError:INTERNAL_ERR
33 * RadioError:NO_MEMORY
34 * RadioError:NO_RESOURCES
35 * RadioError:CANCELLED
36 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070037 */
Sanket Padawe865834e2016-12-28 16:04:10 -080038 oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus);
Sanket Padawe76372492016-10-27 13:20:49 -070039
Andreas Huber675ae492017-03-28 14:40:58 -070040 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080041 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070042 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
43 *
44 * Valid errors returned:
45 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070046 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070047 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -070048 * RadioError:INTERNAL_ERR
49 * RadioError:NO_MEMORY
50 * RadioError:NO_RESOURCES
51 * RadioError:CANCELLED
52 * RadioError:INVALID_ARGUMENTS
53 * RadioError:INVALID_SIM_STATE
54 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070055 */
56 oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
57
Andreas Huber675ae492017-03-28 14:40:58 -070058 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080059 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070060 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
61 *
62 * Valid errors returned:
63 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070064 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070065 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -070066 * RadioError:INTERNAL_ERR
67 * RadioError:NO_MEMORY
68 * RadioError:NO_RESOURCES
69 * RadioError:CANCELLED
70 * RadioError:INVALID_ARGUMENTS
71 * RadioError:INVALID_SIM_STATE
72 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070073 */
74 oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
75
Andreas Huber675ae492017-03-28 14:40:58 -070076 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080077 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070078 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
79 *
80 * Valid errors returned:
81 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070082 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070083 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -070084 * RadioError:INTERNAL_ERR
85 * RadioError:NO_MEMORY
86 * RadioError:NO_RESOURCES
87 * RadioError:CANCELLED
88 * RadioError:INVALID_ARGUMENTS
89 * RadioError:INVALID_SIM_STATE
90 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -070091 */
92 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
93
Andreas Huber675ae492017-03-28 14:40:58 -070094 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080095 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070096 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
97 * Valid errors returned:
98 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070099 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700100 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
sqian6381ac42017-06-09 12:10:43 -0700101 * RadioError:INTERNAL_ERR
102 * RadioError:NO_MEMORY
103 * RadioError:NO_RESOURCES
104 * RadioError:CANCELLED
105 * RadioError:INVALID_ARGUMENTS
106 * RadioError:INVALID_SIM_STATE
107 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700108 */
109 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
110
Andreas Huber675ae492017-03-28 14:40:58 -0700111 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800112 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700113 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
114 *
115 * Valid errors returned:
116 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700117 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700118 * RadioError:PASSWORD_INCORRECT
sqian6381ac42017-06-09 12:10:43 -0700119 * RadioError:INTERNAL_ERR
120 * RadioError:NO_MEMORY
121 * RadioError:NO_RESOURCES
122 * RadioError:CANCELLED
123 * RadioError:INVALID_ARGUMENTS
124 * RadioError:INVALID_SIM_STATE
125 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700126 */
127 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
128
Andreas Huber675ae492017-03-28 14:40:58 -0700129 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800130 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700131 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
132 *
133 * Valid errors returned:
134 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700135 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700136 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
sqian6381ac42017-06-09 12:10:43 -0700137 * RadioError:INTERNAL_ERR
138 * RadioError:NO_MEMORY
139 * RadioError:NO_RESOURCES
140 * RadioError:CANCELLED
141 * RadioError:INVALID_ARGUMENTS
142 * RadioError:INVALID_SIM_STATE
143 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700144 */
145 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
146
Andreas Huber675ae492017-03-28 14:40:58 -0700147 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800148 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700149 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
150 *
151 * Valid errors returned:
152 * RadioError:NONE
sqian6381ac42017-06-09 12:10:43 -0700153 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700154 * RadioError:PASSWORD_INCORRECT (code is invalid)
sqian284c53c2017-05-16 20:29:19 -0700155 * RadioError:NO_MEMORY
156 * RadioError:INVALID_SIM_STATE
157 * RadioError:INTERNAL_ERR
158 * RadioError:SYSTEM_ERR
159 * RadioError:MODEM_ERR
160 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -0700161 * RadioError:NO_RESOURCES
162 * RadioError:CANCELLED
163 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700164 */
165 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
166
Andreas Huber675ae492017-03-28 14:40:58 -0700167 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800168 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700169 * @param calls Current call list
170 *
171 * Valid errors returned:
172 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700173 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700174 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700175 * RadioError:INTERNAL_ERR
176 * RadioError:SYSTEM_ERR
177 * RadioError:INVALID_ARGUMENTS
178 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700179 * RadioError:NO_RESOURCES
180 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700181 */
182 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
183
Andreas Huber675ae492017-03-28 14:40:58 -0700184 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800185 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700186 *
187 * Valid errors returned:
188 * RadioError:NONE
189 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700190 * RadioError:DIAL_MODIFIED_TO_USSD
191 * RadioError:DIAL_MODIFIED_TO_SS
192 * RadioError:DIAL_MODIFIED_TO_DIAL
193 * RadioError:INVALID_ARGUMENTS
194 * RadioError:NO_MEMORY
195 * RadioError:INVALID_STATE
196 * RadioError:NO_RESOURCES
197 * RadioError:INTERNAL_ERR
198 * RadioError:FDN_CHECK_FAILURE
199 * RadioError:MODEM_ERR
200 * RadioError:NO_SUBSCRIPTION
201 * RadioError:NO_NETWORK_FOUND
202 * RadioError:INVALID_CALL_ID
203 * RadioError:DEVICE_IN_USE
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
sqian6381ac42017-06-09 12:10:43 -0700209 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700210 */
211 oneway dialResponse(RadioResponseInfo info);
212
Andreas Huber675ae492017-03-28 14:40:58 -0700213 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800214 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700215 * @param imsi String containing the IMSI
216 *
217 * Valid errors returned:
218 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700219 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
sqian6381ac42017-06-09 12:10:43 -0700220 * RadioError:INTERNAL_ERR
221 * RadioError:NO_MEMORY
222 * RadioError:NO_RESOURCES
223 * RadioError:CANCELLED
224 * RadioError:INVALID_SIM_STATE
225 * RadioError:SIM_ERR
226 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700227 */
228 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
229
Andreas Huber675ae492017-03-28 14:40:58 -0700230 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800231 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700232 *
233 * Valid errors returned:
234 * RadioError:NONE
235 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
236 * RadioError:INVALID_ARGUMENTS
237 * RadioError:NO_MEMORY
238 * RadioError:INVALID_STATE
239 * RadioError:MODEM_ERR
240 * RadioError:INTERNAL_ERR
241 * RadioError:INVALID_CALL_ID
sqian6381ac42017-06-09 12:10:43 -0700242 * RadioError:NO_RESOURCES
243 * RadioError:CANCELLED
244 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700245 */
246 oneway hangupConnectionResponse(RadioResponseInfo info);
247
Andreas Huber675ae492017-03-28 14:40:58 -0700248 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800249 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700250 *
251 * Valid errors returned:
252 * RadioError:NONE
253 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
254 * RadioError:INVALID_STATE
255 * RadioError:NO_MEMORY
256 * RadioError:MODEM_ERR
257 * RadioError:INTERNAL_ERR
258 * RadioError:INVALID_CALL_ID
259 * RadioError:NO_RESOURCES
260 * RadioError:OPERATION_NOT_ALLOWED
261 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700262 * RadioError:SYSTEM_ERR
263 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700264 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700265 */
266 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
267
Andreas Huber675ae492017-03-28 14:40:58 -0700268 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800269 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700270 *
271 * Valid errors returned:
272 * RadioError:NONE
273 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
274 * RadioError:INVALID_STATE
275 * RadioError:NO_MEMORY
276 * RadioError:MODEM_ERR
277 * RadioError:INTERNAL_ERR
278 * RadioError:INVALID_CALL_ID
279 * RadioError:NO_RESOURCES
280 * RadioError:OPERATION_NOT_ALLOWED
281 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700282 * RadioError:SYSTEM_ERR
283 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700284 * RadioError:NO_RESOURCES
285 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700286 */
287 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
288
Andreas Huber675ae492017-03-28 14:40:58 -0700289 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800290 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700291 *
292 * Valid errors returned:
293 * RadioError:NONE
294 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
295 * RadioError:INVALID_STATE
296 * RadioError:NO_MEMORY
297 * RadioError:MODEM_ERR
298 * RadioError:INTERNAL_ERR
299 * RadioError:INVALID_STATE
300 * RadioError:INVALID_CALL_ID
301 * RadioError:OPERATION_NOT_ALLOWED
302 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700303 * RadioError:SYSTEM_ERR
304 * RadioError:REQUEST_NOT_SUPPORTED
305 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700306 * RadioError:NO_RESOURCES
307 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700308 */
309 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
310
Andreas Huber675ae492017-03-28 14:40:58 -0700311 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800312 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700313 *
314 * Valid errors returned:
315 * RadioError:NONE
316 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
317 * RadioError:NO_MEMORY
318 * RadioError:MODEM_ERR
319 * RadioError:INTERNAL_ERR
320 * RadioError:INVALID_STATE
321 * RadioError:INVALID_CALL_ID
322 * RadioError:OPERATION_NOT_ALLOWED
323 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700324 * RadioError:SYSTEM_ERR
325 * RadioError:REQUEST_NOT_SUPPORTED
326 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700327 * RadioError:NO_RESOURCES
328 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700329 */
330 oneway conferenceResponse(RadioResponseInfo info);
331
Andreas Huber675ae492017-03-28 14:40:58 -0700332 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800333 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700334 *
335 * Valid errors returned:
336 * RadioError:NONE
337 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
338 * RadioError:INVALID_STATE
339 * RadioError:NO_RESOURCES
340 * RadioError:NO_MEMORY
341 * RadioError:MODEM_ERR
342 * RadioError:INTERNAL_ERR
343 * RadioError:INVALID_CALL_ID
344 * RadioError:OPERATION_NOT_ALLOWED
345 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700346 * RadioError:SYSTEM_ERR
347 * RadioError:REQUEST_NOT_SUPPORTED
348 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -0700349 * RadioError:NO_RESOURCES
350 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700351 */
352 oneway rejectCallResponse(RadioResponseInfo info);
353
Andreas Huber675ae492017-03-28 14:40:58 -0700354 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800355 * @param info Response info struct containing response type, serial no. and error
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700356 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
Sanket Padawe76372492016-10-27 13:20:49 -0700357 *
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700358 * The vendor cause code must be used for debugging purpose only.
359 * The implementation must return one of the values of LastCallFailCause
360 * as mentioned below
361 *
362 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
363 * where possible.
364 * CDMA failure reasons codes for the possible call failure scenarios
365 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
366 * Any of the following reason codes if the call is failed or dropped due to reason
367 * mentioned with in the braces.
368 * LastCallFailCause:RADIO_OFF (Radio is OFF)
369 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
370 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
371 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
372 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
373 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
374 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
375 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
376 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
377 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
378 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
379 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
380 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
381 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
382 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
383 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
Sanket Padawe76372492016-10-27 13:20:49 -0700384 *
385 * If the implementation does not have access to the exact cause codes,
386 * then it must return one of the values listed in LastCallFailCause,
387 * as the UI layer needs to distinguish these cases for tone generation or
388 * error notification.
389 *
390 * Valid errors returned:
391 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700392 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700393 * RadioError:RADIO_NOT_AVAILABLE
394 * RadioError:SYSTEM_ERR
395 * RadioError:INVALID_ARGUMENTS
396 * RadioError:INTERNAL_ERR
397 * RadioError:MODEM_ERR
398 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700399 * RadioError:NO_MEMORY
400 * RadioError:NO_RESOURCES
401 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700402 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800403 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
404 LastCallFailCauseInfo failCauseinfo);
Sanket Padawe76372492016-10-27 13:20:49 -0700405
Andreas Huber675ae492017-03-28 14:40:58 -0700406 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800407 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700408 * @param sigStrength Current signal strength
409 *
410 * Valid errors returned:
411 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700412 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700413 * RadioError:NO_MEMORY
414 * RadioError:INTERNAL_ERR
415 * RadioError:SYSTEM_ERR
416 * RadioError:MODEM_ERR
417 * RadioError:NOT_PROVISIONED
418 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700419 * RadioError:NO_RESOURCES
420 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700421 */
422 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
423
Andreas Huber675ae492017-03-28 14:40:58 -0700424 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800425 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700426 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
427 * in types.hal
428 *
429 * Valid errors returned:
430 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700431 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -0700432 * RadioError:INTERNAL_ERR
433 * RadioError:NO_MEMORY
434 * RadioError:NO_RESOURCES
435 * RadioError:CANCELLED
436 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700437 */
438 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
439 VoiceRegStateResult voiceRegResponse);
440
Andreas Huber675ae492017-03-28 14:40:58 -0700441 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800442 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700443 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
444 * types.hal
445 *
446 * Valid errors returned:
447 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700448 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700449 * RadioError:NO_MEMORY
450 * RadioError:INTERNAL_ERR
451 * RadioError:SYSTEM_ERR
452 * RadioError:MODEM_ERR
453 * RadioError:NOT_PROVISIONED
454 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700455 * RadioError:NO_RESOURCES
456 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700457 */
458 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
459 DataRegStateResult dataRegResponse);
460
Andreas Huber675ae492017-03-28 14:40:58 -0700461 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800462 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700463 * @param longName is long alpha ONS or EONS or empty string if unregistered
464 * @param shortName is short alpha ONS or EONS or empty string if unregistered
465 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
466 *
467 * Valid errors returned:
468 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700469 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700470 * RadioError:NO_MEMORY
471 * RadioError:INTERNAL_ERR
472 * RadioError:SYSTEM_ERR
473 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700474 * RadioError:NO_RESOURCES
475 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700476 */
477 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
478 string numeric);
479
Andreas Huber675ae492017-03-28 14:40:58 -0700480 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800481 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700482 *
483 * Valid errors returned:
484 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700485 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700486 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700487 * RadioError:INVALID_STATE
488 * RadioError:NO_MEMORY
489 * RadioError:INTERNAL_ERR
490 * RadioError:SYSTEM_ERR
491 * RadioError:INVALID_ARGUMENTS
492 * RadioError:MODEM_ERR
493 * RadioError:DEVICE_IN_USE
494 * RadioError:OPERATION_NOT_ALLOWED
495 * RadioError:INVALID_MODEM_STATE
496 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700497 * RadioError:NO_RESOURCES
498 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700499 */
500 oneway setRadioPowerResponse(RadioResponseInfo info);
501
Andreas Huber675ae492017-03-28 14:40:58 -0700502 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800503 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700504 *
505 * Valid errors returned:
506 * RadioError:NONE
507 * RadioError:RADIO_NOT_AVAILABLE
508 * RadioError:INVALID_ARGUMENTS
509 * RadioError:NO_RESOURCES
510 * RadioError:NO_MEMORY
511 * RadioError:MODEM_ERR
512 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700513 * RadioError:INTERNAL_ERR
514 * RadioError:SYSTEM_ERR
515 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -0700516 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -0700517 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700518 */
519 oneway sendDtmfResponse(RadioResponseInfo info);
520
Andreas Huber675ae492017-03-28 14:40:58 -0700521 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800522 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700523 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
524 *
525 * Valid errors returned:
526 * RadioError:NONE
527 * RadioError:RADIO_NOT_AVAILABLE
528 * RadioError:SMS_SEND_FAIL_RETRY
529 * RadioError:NETWORK_REJECT
530 * RadioError:INVALID_STATE
531 * RadioError:INVALID_ARGUMENTS
532 * RadioError:NO_MEMORY
533 * RadioError:REQUEST_RATE_LIMITED
534 * RadioError:INVALID_SMS_FORMAT
535 * RadioError:SYSTEM_ERR
536 * RadioError:ENCODING_ERR
537 * RadioError:INVALID_SMSC_ADDRESS
538 * RadioError:MODEM_ERR
539 * RadioError:NETWORK_ERR
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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -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
sqian6381ac42017-06-09 12:10:43 -07001566 * RadioError:NO_RESOURCES
1567 * RadioError:CANCELLED
sqian017f15c2017-06-27 12:40:10 -07001568 * RadioError:MODE_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001569 */
1570 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1571
Andreas Huber675ae492017-03-28 14:40:58 -07001572 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001573 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001574 *
1575 * Valid errors returned:
1576 * RadioError:NONE
1577 * RadioError:RADIO_NOT_AVAILABLE
1578 * RadioError:INVALID_ARGUMENTS
1579 * RadioError:NO_MEMORY
1580 * RadioError:INTERNAL_ERR
1581 * RadioError:SYSTEM_ERR
1582 * RadioError:MODEM_ERR
1583 * RadioError:INVALID_CALL_ID
1584 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001585 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001586 * RadioError:NO_RESOURCES
1587 * RadioError:CANCELLED
1588 * RadioError:INVALID_MODEM_STATE
sqian08e90552017-06-01 12:39:22 -07001589 * RadioError:MODE_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001590 */
1591 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1592
Andreas Huber675ae492017-03-28 14:40:58 -07001593 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001594 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001595 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1596 *
1597 * Valid errors returned:
1598 * RadioError:NONE
1599 * RadioError:RADIO_NOT_AVAILABLE
1600 * RadioError:INVALID_ARGUMENTS
1601 * RadioError:SMS_SEND_FAIL_RETRY
1602 * RadioError:NETWORK_REJECT
1603 * RadioError:INVALID_STATE
1604 * RadioError:NO_MEMORY
1605 * RadioError:REQUEST_RATE_LIMITED
1606 * RadioError:INVALID_SMS_FORMAT
1607 * RadioError:SYSTEM_ERR
1608 * RadioError:FDN_CHECK_FAILURE
1609 * RadioError:MODEM_ERR
1610 * RadioError:NETWORK_ERR
1611 * RadioError:ENCODING_ERR
1612 * RadioError:INVALID_SMSC_ADDRESS
1613 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -07001614 * RadioError:INTERNAL_ERR
1615 * RadioError:SYSTEM_ERR
1616 * RadioError:REQUEST_NOT_SUPPORTED
1617 * RadioError:OPERATION_NOT_ALLOWED
1618 * RadioError:ENCODING_ERR
sqian6381ac42017-06-09 12:10:43 -07001619 * RadioError:NO_RESOURCES
1620 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001621 */
1622 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1623
Andreas Huber675ae492017-03-28 14:40:58 -07001624 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001625 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001626 *
1627 * Valid errors returned:
1628 * RadioError:NONE
1629 * RadioError:RADIO_NOT_AVAILABLE
1630 * RadioError:INVALID_ARGUMENTS
1631 * RadioError:NO_SMS_TO_ACK
1632 * RadioError:INVALID_STATE
1633 * RadioError:NO_MEMORY
1634 * RadioError:REQUEST_RATE_LIMITED
1635 * RadioError:SYSTEM_ERR
1636 * RadioError:MODEM_ERR
1637 * RadioError:MODE_NOT_SUPPORTED
1638 * RadioError:NETWORK_NOT_READY
1639 * RadioError:INVALID_MODEM_STATE
sqian159ec7f2017-04-25 18:00:34 -07001640 * RadioError:INTERNAL_ERR
1641 * RadioError:REQUEST_NOT_SUPPORTED
1642 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001643 * RadioError:NO_RESOURCES
1644 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001645 */
1646 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1647
Andreas Huber675ae492017-03-28 14:40:58 -07001648 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001649 * @param info Response info struct containing response type, serial no. and error
1650 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001651 *
1652 * Valid errors returned:
1653 * RadioError:NONE
1654 * RadioError:RADIO_NOT_AVAILABLE
1655 * RadioError:INVALID_ARGUMENTS
1656 * RadioError:INVALID_STATE
1657 * RadioError:NO_MEMORY
1658 * RadioError:REQUEST_RATE_LIMITED
1659 * RadioError:SYSTEM_ERR
1660 * RadioError:MODEM_ERR
1661 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001662 * RadioError:INTERNAL_ERR
1663 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001664 * RadioError:NO_RESOURCES
1665 * RadioError:CANCELLED
1666 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001667 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001668 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1669 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001670
Andreas Huber675ae492017-03-28 14:40:58 -07001671 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001672 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001673 *
1674 * Valid errors returned:
1675 * RadioError:NONE
1676 * RadioError:RADIO_NOT_AVAILABLE
1677 * RadioError:INVALID_ARGUMENTS
1678 * RadioError:INVALID_STATE
1679 * RadioError:NO_MEMORY
1680 * RadioError:REQUEST_RATE_LIMITED
1681 * RadioError:SYSTEM_ERR
1682 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001683 * RadioError:INTERNAL_ERR
1684 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001685 * RadioError:NO_RESOURCES
1686 * RadioError:CANCELLED
1687 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001688 */
1689 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1690
Andreas Huber675ae492017-03-28 14:40:58 -07001691 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001692 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001693 *
1694 * Valid errors returned:
1695 * RadioError:NONE
1696 * RadioError:RADIO_NOT_AVAILABLE
1697 * RadioError:INVALID_ARGUMENTS
1698 * RadioError:INVALID_STATE
1699 * RadioError:NO_MEMORY
1700 * RadioError:REQUEST_RATE_LIMITED
1701 * RadioError:SYSTEM_ERR
1702 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001703 * RadioError:INTERNAL_ERR
1704 * RadioError:REQUEST_NOT_SUPPORTED
1705 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001706 * RadioError:NO_RESOURCES
1707 * RadioError:CANCELLED
1708 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001709 */
1710 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1711
Andreas Huber675ae492017-03-28 14:40:58 -07001712 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001713 * @param info Response info struct containing response type, serial no. and error
1714 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001715 *
1716 * Valid errors returned:
1717 * RadioError:NONE
1718 * RadioError:RADIO_NOT_AVAILABLE
1719 * RadioError:INVALID_ARGUMENTS
1720 * RadioError:INVALID_STATE
1721 * RadioError:NO_MEMORY
1722 * RadioError:REQUEST_RATE_LIMITED
1723 * RadioError:SYSTEM_ERR
1724 * RadioError:MODEM_ERR
1725 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001726 * RadioError:INTERNAL_ERR
1727 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001728 * RadioError:NO_RESOURCES
1729 * RadioError:CANCELLED
1730 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001731 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001732 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1733 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001734
Andreas Huber675ae492017-03-28 14:40:58 -07001735 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001736 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001737 *
1738 * Valid errors returned:
1739 * RadioError:NONE
1740 * RadioError:RADIO_NOT_AVAILABLE
1741 * RadioError:INVALID_ARGUMENTS
1742 * RadioError:INVALID_STATE
1743 * RadioError:NO_MEMORY
1744 * RadioError:REQUEST_RATE_LIMITED
1745 * RadioError:SYSTEM_ERR
1746 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001747 * RadioError:INTERNAL_ERR
1748 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001749 * RadioError:NO_RESOURCES
1750 * RadioError:CANCELLED
1751 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001752 */
1753 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1754
Andreas Huber675ae492017-03-28 14:40:58 -07001755 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001756 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001757 *
1758 * Valid errors returned:
1759 * RadioError:NONE
1760 * RadioError:RADIO_NOT_AVAILABLE
1761 * RadioError:INVALID_ARGUMENTS
1762 * RadioError:INVALID_STATE
1763 * RadioError:NO_MEMORY
1764 * RadioError:REQUEST_RATE_LIMITED
1765 * RadioError:SYSTEM_ERR
1766 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001767 * RadioError:INTERNAL_ERR
1768 * RadioError:REQUEST_NOT_SUPPORTED
1769 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001770 * RadioError:NO_RESOURCES
1771 * RadioError:CANCELLED
1772 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001773 */
1774 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1775
Andreas Huber675ae492017-03-28 14:40:58 -07001776 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001777 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001778 * @param mdn MDN if CDMA subscription is available
1779 * @param hSid is a comma separated list of H_SID (Home SID) if
1780 * CDMA subscription is available, in decimal format
1781 * @param hNid is a comma separated list of H_NID (Home NID) if
1782 * CDMA subscription is available, in decimal format
1783 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1784 * @param prl PRL version if CDMA subscription is available
1785 *
1786 * Valid errors returned:
1787 * RadioError:NONE
1788 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001789 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001790 * RadioError:NO_MEMORY
1791 * RadioError:INTERNAL_ERR
1792 * RadioError:SYSTEM_ERR
1793 * RadioError:INVALID_ARGUMENTS
1794 * RadioError:MODEM_ERR
1795 * RadioError:NOT_PROVISIONED
1796 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001797 * RadioError:NO_RESOURCES
1798 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001799 */
1800 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1801 string hNid, string min, string prl);
1802
Andreas Huber675ae492017-03-28 14:40:58 -07001803 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001804 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001805 * @param index record index where the cmda sms message is stored
1806 *
1807 * Valid errors returned:
1808 * RadioError:NONE
1809 * RadioError:RADIO_NOT_AVAILABLE
1810 * RadioError:INVALID_ARGUMENTS
1811 * RadioError:INVALID_SMS_FORMAT
1812 * RadioError:SIM_FULL
1813 * RadioError:INTERNAL_ERR
1814 * RadioError:MODEM_ERR
1815 * RadioError:ENCODING_ERR
1816 * RadioError:NO_MEMORY
1817 * RadioError:NO_RESOURCES
1818 * RadioError:INVALID_MODEM_STATE
1819 * RadioError:MODE_NOT_SUPPORTED
1820 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001821 * RadioError:SYSTEM_ERR
1822 * RadioError:REQUEST_NOT_SUPPORTED
1823 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001824 * RadioError:NO_RESOURCES
1825 * RadioError:CANCELLED
1826 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001827 */
1828 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1829
Andreas Huber675ae492017-03-28 14:40:58 -07001830 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001831 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001832 *
1833 * Valid errors returned:
1834 * RadioError:NONE
1835 * RadioError:RADIO_NOT_AVAILABLE
1836 * RadioError:INVALID_ARGUMENTS
1837 * RadioError:NO_MEMORY
Sanket Padawed52335c2016-11-03 16:46:32 -07001838 * RadioError:SYSTEM_ERR
1839 * RadioError:MODEM_ERR
1840 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001841 * RadioError:INTERNAL_ERR
1842 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001843 * RadioError:OPERATION_NOT_ALLOWED
1844 * RadioError:NO_RESOURCES
1845 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07001846 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001847 */
1848 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1849
Andreas Huber675ae492017-03-28 14:40:58 -07001850 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001851 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001852 * @param imei IMEI if GSM subscription is available
1853 * @param imeisv IMEISV if GSM subscription is available
1854 * @param esn ESN if CDMA subscription is available
1855 * @param meid MEID if CDMA subscription is available
1856 *
1857 * Valid errors returned:
1858 * RadioError:NONE
1859 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001860 * RadioError:NO_MEMORY
1861 * RadioError:INTERNAL_ERR
1862 * RadioError:SYSTEM_ERR
1863 * RadioError:INVALID_ARGUMENTS
1864 * RadioError:MODEM_ERR
1865 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07001866 * RadioError:NO_RESOURCES
1867 * RadioError:CANCELLED
1868 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001869 *
1870 * If a empty string value is returned for any of the device id, it means that there was error
1871 * accessing the device.
1872 *
1873 */
1874 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1875 string esn, string meid);
1876
Andreas Huber675ae492017-03-28 14:40:58 -07001877 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001878 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001879 *
1880 * Valid errors returned:
1881 * RadioError:NONE
1882 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001883 * RadioError:OPERATION_NO_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001884 * RadioError:INTERNAL_ERR
1885 * RadioError:NO_MEMORY
1886 * RadioError:SYSTEM_ERR
1887 * RadioError:INVALID_ARGUMENTS
1888 * RadioError:MODEM_ERR
1889 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001890 * RadioError:NO_RESOURCES
1891 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001892 */
1893 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1894
Andreas Huber675ae492017-03-28 14:40:58 -07001895 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001896 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001897 * @param smsc Short Message Service Center address on the device
1898 *
1899 * Valid errors returned:
1900 * RadioError:NONE
1901 * RadioError:RADIO_NOT_AVAILABLE
1902 * RadioError:INVALID_ARGUMENTS
1903 * RadioError:INTERNAL_ERR
1904 * RadioError:NO_MEMORY
1905 * RadioError:SYSTEM_ERR
1906 * RadioError:REQUEST_RATE_LIMITED
1907 * RadioError:MODEM_ERR
1908 * RadioError:INVALID_MODEM_STATE
1909 * RadioError:NOT_PROVISIONED
sqian159ec7f2017-04-25 18:00:34 -07001910 * RadioError:REQUEST_NOT_SUPPORTED
1911 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001912 * RadioError:NO_RESOURCES
1913 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001914 */
1915 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1916
Andreas Huber675ae492017-03-28 14:40:58 -07001917 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001918 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001919 *
1920 * Valid errors returned:
1921 * RadioError:NONE
1922 * RadioError:RADIO_NOT_AVAILABLE
1923 * RadioError:INVALID_ARGUMENTS
1924 * RadioError:INVALID_SMS_FORMAT
1925 * RadioError:NO_MEMORY
1926 * RadioError:SYSTEM_ERR
1927 * RadioError:REQUEST_RATE_LIMITED
1928 * RadioError:MODEM_ERR
1929 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001930 * RadioError:INTERNAL_ERR
1931 * RadioError:REQUEST_NOT_SUPPORTED
1932 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07001933 * RadioError:NO_RESOURCES
1934 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001935 */
1936 oneway setSmscAddressResponse(RadioResponseInfo info);
1937
Andreas Huber675ae492017-03-28 14:40:58 -07001938 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001939 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001940 *
1941 * Valid errors returned:
1942 * RadioError:NONE
1943 * RadioError:RADIO_NOT_AVAILABLE
1944 * RadioError:INVALID_ARGUMENTS
1945 * RadioError:NO_MEMORY
1946 * RadioError:SYSTEM_ERR
1947 * RadioError:REQUEST_RATE_LIMITED
1948 * RadioError:MODEM_ERR
1949 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001950 * RadioError:INTERNAL_ERR
1951 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07001952 * RadioError:NO_RESOURCES
1953 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07001954 */
1955 oneway reportSmsMemoryStatusResponse(RadioResponseInfo info);
1956
Andreas Huber675ae492017-03-28 14:40:58 -07001957 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001958 * @param info Response info struct containing response type, serial no. and error
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001959 *
1960 * Valid errors returned:
1961 * RadioError:NONE
1962 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001963 * RadioError:INTERNAL_ERR
1964 * RadioError:NO_MEMORY
1965 * RadioError:NO_RESOURCES
1966 * RadioError:CANCELLED
1967 * RadioError:REQUEST_NOT_SUPPORTED
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001968 */
1969 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1970
Andreas Huber675ae492017-03-28 14:40:58 -07001971 /**
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001972 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001973 * @param source CDMA subscription source
1974 *
1975 * Valid errors returned:
1976 * RadioError:NONE
1977 * RadioError:RADIO_NOT_AVAILABLE
1978 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001979 * RadioError:INTERNAL_ERR
1980 * RadioError:NO_MEMORY
1981 * RadioError:NO_RESOURCES
1982 * RadioError:CANCELLED
1983 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001984 */
1985 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1986
Andreas Huber675ae492017-03-28 14:40:58 -07001987 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001988 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001989 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1990 *
1991 * Valid errors returned:
1992 * RadioError:NONE
1993 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07001994 * RadioError:INTERNAL_ERR
1995 * RadioError:NO_MEMORY
1996 * RadioError:NO_RESOURCES
1997 * RadioError:CANCELLED
1998 * RadioError:INVALID_MODEM_STATE
1999 * RadioError:INVALID_ARGUMENTS
2000 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002001 */
2002 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
2003
Andreas Huber675ae492017-03-28 14:40:58 -07002004 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002005 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002006 *
2007 * Valid errors returned:
2008 * RadioError:NONE
2009 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002010 * RadioError:INTERNAL_ERR
2011 * RadioError:NO_MEMORY
2012 * RadioError:NO_RESOURCES
2013 * RadioError:CANCELLED
2014 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002015 */
2016 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
2017
Andreas Huber675ae492017-03-28 14:40:58 -07002018 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002019 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002020 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
2021 *
2022 * Valid errors returned:
2023 * RadioError:NONE
2024 * RadioError:RADIO_NOT_AVAILABLE
2025 * RadioError:SIM_BUSY
2026 * RadioError:OPERATION_NOT_ALLOWED
sqian6381ac42017-06-09 12:10:43 -07002027 * RadioError:INTERNAL_ERR
2028 * RadioError:NO_MEMORY
2029 * RadioError:NO_RESOURCES
2030 * RadioError:CANCELLED
2031 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002032 */
2033 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
2034
Andreas Huber675ae492017-03-28 14:40:58 -07002035 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002036 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002037 * @param rat Current voice RAT
2038 *
2039 * Valid errors returned:
2040 * RadioError:NONE
2041 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002042 * RadioError:INTERNAL_ERR
2043 * RadioError:NO_MEMORY
2044 * RadioError:NO_RESOURCES
2045 * RadioError:CANCELLED
2046 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002047 */
2048 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
2049
Andreas Huber675ae492017-03-28 14:40:58 -07002050 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002051 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002052 * @param cellInfo List of current cell information known to radio
2053 *
2054 * Valid errors returned:
2055 * RadioError:NONE
2056 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002057 * RadioError:NO_MEMORY
2058 * RadioError:INTERNAL_ERR
2059 * RadioError:SYSTEM_ERR
2060 * RadioError:MODEM_ERR
2061 * RadioError:NO_NETWORK_FOUND
2062 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002063 * RadioError:NO_RESOURCES
2064 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002065 */
2066 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
2067
Andreas Huber675ae492017-03-28 14:40:58 -07002068 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002069 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002070 *
2071 * Valid errors returned:
2072 * RadioError:NONE
2073 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002074 * RadioError:NO_MEMORY
2075 * RadioError:INTERNAL_ERR
2076 * RadioError:SYSTEM_ERR
2077 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002078 * RadioError:NO_RESOURCES
2079 * RadioError:CANCELLED
2080 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002081 */
2082 oneway setCellInfoListRateResponse(RadioResponseInfo info);
2083
Andreas Huber675ae492017-03-28 14:40:58 -07002084 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002085 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002086 *
2087 * Valid errors returned:
2088 * RadioError:NONE
2089 * RadioError:RADIO_NOT_AVAILABLE
2090 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002091 * RadioError:NO_MEMORY
2092 * RadioError:INTERNAL_ERR
2093 * RadioError:SYSTEM_ERR
2094 * RadioError:MODEM_ERR
2095 * RadioError:INVALID_ARGUMENTS
2096 * RadioError:NOT_PROVISIONED
2097 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002098 * RadioError:NO_RESOURCES
2099 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002100 */
2101 oneway setInitialAttachApnResponse(RadioResponseInfo info);
2102
Andreas Huber675ae492017-03-28 14:40:58 -07002103 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002104 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002105 * @param isRegistered false = not registered, true = registered
2106 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
2107 * isRegistered is true.
2108 *
2109 * Valid errors returned:
2110 * RadioError:NONE
2111 * RadioError:RADIO_NOT_AVAILABLE
sqian08e90552017-06-01 12:39:22 -07002112 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002113 * RadioError:NO_MEMORY
2114 * RadioError:NO_RESOURCES
2115 * RadioError:CANCELLED
sqian08e90552017-06-01 12:39:22 -07002116 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002117 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002118 */
2119 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
2120 RadioTechnologyFamily ratFamily);
2121
Andreas Huber675ae492017-03-28 14:40:58 -07002122 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002123 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002124 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
2125 *
2126 * Valid errors returned:
2127 * RadioError:NONE
2128 * RadioError:RADIO_NOT_AVAILABLE
2129 * RadioError:SMS_SEND_FAIL_RETRY
2130 * RadioError:FDN_CHECK_FAILURE
2131 * RadioError:NETWORK_REJECT
2132 * RadioError:INVALID_ARGUMENTS
2133 * RadioError:INVALID_STATE
2134 * RadioError:NO_MEMORY
2135 * RadioError:INVALID_SMS_FORMAT
2136 * RadioError:SYSTEM_ERR
2137 * RadioError:REQUEST_RATE_LIMITED
2138 * RadioError:MODEM_ERR
2139 * RadioError:NETWORK_ERR
2140 * RadioError:ENCODING_ERR
2141 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -07002142 * RadioError:INTERNAL_ERR
2143 * RadioError:REQUEST_NOT_SUPPORTED
2144 * RadioError:NETWORK_NOT_READY
sqian6381ac42017-06-09 12:10:43 -07002145 * RadioError:NO_RESOURCES
2146 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002147 */
2148 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
2149
Andreas Huber675ae492017-03-28 14:40:58 -07002150 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002151 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002152 * @param result IccIoResult as defined in types.hal
2153 *
2154 * Valid errors returned:
2155 * RadioError:NONE
2156 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002157 * RadioError:INTERNAL_ERR
2158 * RadioError:NO_MEMORY
2159 * RadioError:NO_RESOURCES
2160 * RadioError:CANCELLED
2161 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002162 */
2163 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
2164
Andreas Huber675ae492017-03-28 14:40:58 -07002165 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002166 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002167 * @param channelId session id of the logical channel.
2168 * @param selectResponse Contains the select response for the open channel command with one
2169 * byte per integer
2170 *
2171 * Valid errors returned:
2172 * RadioError:NONE
2173 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07002174 * RadioError:MISSING_RESOURCE
2175 * RadioError:NO_SUCH_ELEMENT
sqian6381ac42017-06-09 12:10:43 -07002176 * RadioError:INTERNAL_ERR
2177 * RadioError:NO_MEMORY
2178 * RadioError:NO_RESOURCES
2179 * RadioError:CANCELLED
2180 * RadioError:SIM_ERR
2181 * RadioError:INVALID_SIM_STATE
2182 * RadioError:MISSING_RESOURCE
2183 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002184 */
2185 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
2186 vec<int8_t> selectResponse);
2187
Andreas Huber675ae492017-03-28 14:40:58 -07002188 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002189 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002190 *
2191 * Valid errors returned:
2192 * RadioError:NONE
2193 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002194 * RadioError:INTERNAL_ERR
2195 * RadioError:NO_MEMORY
2196 * RadioError:NO_RESOURCES
2197 * RadioError:CANCELLED
2198 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002199 */
2200 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
2201
Andreas Huber675ae492017-03-28 14:40:58 -07002202 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002203 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002204 * @param result IccIoResult as defined in types.hal
2205 *
2206 * Valid errors returned:
2207 * RadioError:NONE
2208 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002209 * RadioError:INTERNAL_ERR
2210 * RadioError:NO_MEMORY
2211 * RadioError:NO_RESOURCES
2212 * RadioError:CANCELLED
2213 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002214 */
2215 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
2216
Andreas Huber675ae492017-03-28 14:40:58 -07002217 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002218 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002219 * @param result string containing the contents of the NV item
2220 *
2221 * Valid errors returned:
2222 * RadioError:NONE
2223 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002224 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002225 */
2226 oneway nvReadItemResponse(RadioResponseInfo info, string result);
2227
Andreas Huber675ae492017-03-28 14:40:58 -07002228 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002229 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002230 *
2231 * Valid errors returned:
2232 * RadioError:NONE
2233 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002234 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002235 */
2236 oneway nvWriteItemResponse(RadioResponseInfo info);
2237
Andreas Huber675ae492017-03-28 14:40:58 -07002238 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002239 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002240 *
2241 * Valid errors returned:
2242 * RadioError:NONE
2243 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002244 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002245 */
2246 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
2247
Andreas Huber675ae492017-03-28 14:40:58 -07002248 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002249 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002250 *
2251 * Valid errors returned:
2252 * RadioError:NONE
2253 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002254 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002255 */
2256 oneway nvResetConfigResponse(RadioResponseInfo info);
2257
Andreas Huber675ae492017-03-28 14:40:58 -07002258 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002259 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002260 *
2261 * Valid errors returned:
2262 * RadioError:NONE
2263 * RadioError:RADIO_NOT_AVAILABLE
2264 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002265 * RadioError:NO_MEMORY
2266 * RadioError:INTERNAL_ERR
2267 * RadioError:SYSTEM_ERR
2268 * RadioError:MODEM_ERR
2269 * RadioError:INVALID_ARGUMENTS
2270 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002271 * RadioError:NO_RESOURCES
2272 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002273 */
2274 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
2275
Andreas Huber675ae492017-03-28 14:40:58 -07002276 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002277 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002278 *
2279 * Valid errors returned:
2280 * RadioError:NONE
2281 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002282 * RadioError:NO_MEMORY
2283 * RadioError:INTERNAL_ERR
2284 * RadioError:SYSTEM_ERR
2285 * RadioError:MODEM_ERR
2286 * RadioError:INVALID_ARGUMENTS
2287 * RadioError:DEVICE_IN_USE
2288 * RadioError:INVALID_MODEM_STATE
sqian6381ac42017-06-09 12:10:43 -07002289 * RadioError:NO_RESOURCES
2290 * RadioError:CANCELLED
2291 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002292 */
2293 oneway setDataAllowedResponse(RadioResponseInfo info);
2294
Andreas Huber675ae492017-03-28 14:40:58 -07002295 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002296 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002297 * @param config Array of HardwareConfig of the radio.
2298 *
2299 * Valid errors returned:
2300 * RadioError:NONE
2301 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002302 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002303 */
2304 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
2305
Andreas Huber675ae492017-03-28 14:40:58 -07002306 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002307 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002308 * @param result IccIoResult as defined in types.hal
2309 *
2310 * Valid errors returned:
2311 * RadioError:NONE
2312 * RadioError:RADIO_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002313 * RadioError:INTERNAL_ERR
2314 * RadioError:NO_MEMORY
2315 * RadioError:NO_RESOURCES
2316 * RadioError:CANCELLED
2317 * RadioError:INVALID_MODEM_STATE
2318 * RadioError:SIM_ERR
2319 * RadioError:INVALID_ARGUMENTS
2320 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002321 */
2322 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
2323
Andreas Huber675ae492017-03-28 14:40:58 -07002324 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002325 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002326 *
2327 * Valid errors returned:
2328 * RadioError:NONE
2329 * RadioError:RADIO_NOT_AVAILABLE
2330 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
sqian6381ac42017-06-09 12:10:43 -07002331 * RadioError:INTERNAL_ERR
2332 * RadioError:NO_MEMORY
2333 * RadioError:NO_RESOURCES
2334 * RadioError:CANCELLED
2335 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002336 */
2337 oneway setDataProfileResponse(RadioResponseInfo info);
2338
Andreas Huber675ae492017-03-28 14:40:58 -07002339 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002340 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002341 *
2342 * Valid errors returned:
2343 * RadioError:NONE
2344 * RadioError:RADIO_NOT_AVAILABLE
2345 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002346 * RadioError:NO_MEMORY
2347 * RadioError:INTERNAL_ERR
2348 * RadioError:SYSTEM_ERR
2349 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002350 * RadioError:NO_RESOURCES
2351 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002352 */
2353 oneway requestShutdownResponse(RadioResponseInfo info);
2354
Andreas Huber675ae492017-03-28 14:40:58 -07002355 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002356 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002357 * @param rc Radio capability as defined by RadioCapability in types.hal
2358 *
2359 * Valid errors returned:
2360 * RadioError:NONE
2361 * RadioError:RADIO_NOT_AVAILABLE
2362 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002363 * RadioError:INVALID_STATE
2364 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002365 * RadioError:INTERNAL_ERR
2366 * RadioError:NO_MEMORY
2367 * RadioError:NO_RESOURCES
2368 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002369 */
2370 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2371
Andreas Huber675ae492017-03-28 14:40:58 -07002372 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002373 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002374 * @param rc Radio capability as defined by RadioCapability in types.hal used to
2375 * feedback return status
2376 *
2377 * Valid errors returned:
2378 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
2379 * RadioError:RADIO_NOT_AVAILABLE
2380 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002381 * RadioError:NO_MEMORY
2382 * RadioError:INTERNAL_ERR
2383 * RadioError:SYSTEM_ERR
2384 * RadioError:INVALID_ARGUMENTS
2385 * RadioError:MODEM_ERR
2386 * RadioError:INVALID_STATE
2387 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002388 * RadioError:NO_RESOURCES
2389 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002390 */
2391 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2392
Andreas Huber675ae492017-03-28 14:40:58 -07002393 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002394 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002395 * @param statusInfo LceStatusInfo indicating LCE status
2396 *
2397 * Valid errors returned:
2398 * RadioError:NONE
2399 * RadioError:RADIO_NOT_AVAILABLE
2400 * RadioError:LCE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002401 * RadioError:INTERNAL_ERR
2402 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002403 * RadioError:NO_MEMORY
2404 * RadioError:NO_RESOURCES
2405 * RadioError:CANCELLED
Sanket Padawed52335c2016-11-03 16:46:32 -07002406 */
2407 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2408
Andreas Huber675ae492017-03-28 14:40:58 -07002409 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002410 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002411 * @param statusInfo LceStatusInfo indicating LCE status
2412 *
2413 * Valid errors returned:
2414 * RadioError:NONE
2415 * RadioError:RADIO_NOT_AVAILABLE
2416 * RadioError:LCE_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002417 * RadioError:INTERNAL_ERR
2418 * RadioError:NO_MEMORY
2419 * RadioError:NO_RESOURCES
2420 * RadioError:CANCELLED
2421 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002422 */
2423 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2424
Andreas Huber675ae492017-03-28 14:40:58 -07002425 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002426 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002427 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
2428 *
2429 * Valid errors returned:
2430 * RadioError:NONE
2431 * RadioError:RADIO_NOT_AVAILABLE
2432 * RadioError:LCE_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07002433 * RadioError:INTERNAL_ERR
sqian6381ac42017-06-09 12:10:43 -07002434 * RadioError:NO_MEMORY
2435 * RadioError:NO_RESOURCES
2436 * RadioError:CANCELLED
2437 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002438 */
2439 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
2440
Andreas Huber675ae492017-03-28 14:40:58 -07002441 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002442 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002443 * @param activityInfo modem activity information
2444 *
2445 * Valid errors returned:
2446 * RadioError:NONE
2447 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002448 * RadioError:NO_MEMORY
2449 * RadioError:INTERNAL_ERR
2450 * RadioError:SYSTEM_ERR
2451 * RadioError:MODEM_ERR
2452 * RadioError:NOT_PROVISIONED
sqian6381ac42017-06-09 12:10:43 -07002453 * RadioError:NO_RESOURCES
2454 * RadioError:CANCELLED
2455 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002456 */
2457 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
2458
Andreas Huber675ae492017-03-28 14:40:58 -07002459 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002460 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002461 * @param numAllowed number of allowed carriers which have been set correctly.
2462 * On success, it must match the length of list Carriers->allowedCarriers.
2463 * if Length of allowed carriers list is 0, numAllowed = 0.
2464 *
2465 * Valid errors returned:
2466 * RadioError:NONE
2467 * RadioError:RADIO_NOT_AVAILABLE
2468 * RadioError:INVALID_ARGUMENTS
2469 * RadioError:REQUEST_NOT_SUPPORTED
2470 */
2471 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
2472
Andreas Huber675ae492017-03-28 14:40:58 -07002473 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07002474 * Expected modem behavior:
2475 * Return list of allowed carriers, and if all carriers are allowed.
2476 *
Sanket Padawe865834e2016-12-28 16:04:10 -08002477 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002478 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
2479 * If false, consider "carriers" struct
2480 * @param carriers Carrier restriction information.
2481 *
2482 * Valid errors returned:
2483 * RadioError:NONE
2484 * RadioError:RADIO_NOT_AVAILABLE
2485 * RadioError:REQUEST_NOT_SUPPORTED
2486 */
2487 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
2488 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002489
Andreas Huber675ae492017-03-28 14:40:58 -07002490 /**
Jack Yued7ef812017-01-24 11:56:52 -08002491 * @param info Response info struct containing response type, serial no. and error
2492 *
2493 * Valid errors returned:
2494 * RadioError:NONE
2495 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002496 * RadioError:NO_MEMORY
2497 * RadioError:INTERNAL_ERR
2498 * RadioError:SYSTEM_ERR
2499 * RadioError:INVALID_ARGUMENTS
2500 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002501 * RadioError:NO_RESOURCES
2502 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002503 */
2504 oneway sendDeviceStateResponse(RadioResponseInfo info);
2505
Andreas Huber675ae492017-03-28 14:40:58 -07002506 /**
Jack Yued7ef812017-01-24 11:56:52 -08002507 * @param info Response info struct containing response type, serial no. and error
2508 *
2509 * Valid errors returned:
2510 * RadioError:NONE
2511 * RadioError:INVALID_ARGUMENTS
2512 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002513 * RadioError:NO_MEMORY
2514 * RadioError:INTERNAL_ERR
2515 * RadioError:SYSTEM_ERR
2516 * RadioError:REQUEST_NOT_SUPPORTED
sqian6381ac42017-06-09 12:10:43 -07002517 * RadioError:NO_RESOURCES
2518 * RadioError:CANCELLED
Jack Yued7ef812017-01-24 11:56:52 -08002519 */
2520 oneway setIndicationFilterResponse(RadioResponseInfo info);
2521
Andreas Huber675ae492017-03-28 14:40:58 -07002522 /**
Jack Yua2118692017-02-15 15:31:34 -08002523 * @param info Response info struct containing response type, serial no. and error
2524 *
2525 * Valid errors returned:
2526 * RadioError:NONE
2527 * RadioError:RADIO_NOT_AVAILABLE
2528 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yua2118692017-02-15 15:31:34 -08002529 * RadioError:INVALID_ARGUMENTS
sqian6381ac42017-06-09 12:10:43 -07002530 * RadioError:INTERNAL_ERR
2531 * RadioError:NO_MEMORY
2532 * RadioError:NO_RESOURCES
2533 * RadioError:CANCELLED
Jack Yua2118692017-02-15 15:31:34 -08002534 */
2535 oneway setSimCardPowerResponse(RadioResponseInfo info);
2536
Andreas Huber675ae492017-03-28 14:40:58 -07002537 /**
Jack Yued7ef812017-01-24 11:56:52 -08002538 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002539 * radio request which take long time to respond.
2540 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
2541 *
2542 * @param serial Serial no. of the request whose acknowledgement is sent.
2543 */
Sanket Padawe865834e2016-12-28 16:04:10 -08002544 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07002545};