blob: 35ab899bfb923170fa2284d69b7d176198fe2538 [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
Sanket Padawe76372492016-10-27 13:20:49 -070031 */
Sanket Padawe865834e2016-12-28 16:04:10 -080032 oneway getIccCardStatusResponse(RadioResponseInfo info, CardStatus cardStatus);
Sanket Padawe76372492016-10-27 13:20:49 -070033
Andreas Huber675ae492017-03-28 14:40:58 -070034 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080035 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070036 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
37 *
38 * Valid errors returned:
39 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070040 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070041 * RadioError:PASSWORD_INCORRECT
42 */
43 oneway supplyIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
44
Andreas Huber675ae492017-03-28 14:40:58 -070045 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080046 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070047 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
48 *
49 * Valid errors returned:
50 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070051 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070052 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
53 */
54 oneway supplyIccPukForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
55
Andreas Huber675ae492017-03-28 14:40:58 -070056 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080057 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070058 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
59 *
60 * Valid errors returned:
61 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070062 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070063 * RadioError:PASSWORD_INCORRECT
64 */
65 oneway supplyIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
66
Andreas Huber675ae492017-03-28 14:40:58 -070067 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080068 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070069 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
70 * Valid errors returned:
71 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070072 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070073 * RadioError:PASSWORD_INCORRECT (PUK is invalid)
74 */
75 oneway supplyIccPuk2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
76
Andreas Huber675ae492017-03-28 14:40:58 -070077 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080078 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070079 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
80 *
81 * Valid errors returned:
82 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070083 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070084 * RadioError:PASSWORD_INCORRECT
85 */
86 oneway changeIccPinForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
87
Andreas Huber675ae492017-03-28 14:40:58 -070088 /**
Sanket Padawe865834e2016-12-28 16:04:10 -080089 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -070090 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
91 *
92 * Valid errors returned:
93 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -070094 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -070095 * RadioError:PASSWORD_INCORRECT (old PIN2 is invalid)
96 */
97 oneway changeIccPin2ForAppResponse(RadioResponseInfo info, int32_t remainingRetries);
98
Andreas Huber675ae492017-03-28 14:40:58 -070099 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800100 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700101 * @param remainingRetries Number of retries remaining, must be equal to -1 if unknown.
102 *
103 * Valid errors returned:
104 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700105 * RadioError:PASSWORD_INCORRECT (code is invalid)
sqian284c53c2017-05-16 20:29:19 -0700106 * RadioError:NO_MEMORY
107 * RadioError:INVALID_SIM_STATE
108 * RadioError:INTERNAL_ERR
109 * RadioError:SYSTEM_ERR
110 * RadioError:MODEM_ERR
111 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -0700112 */
113 oneway supplyNetworkDepersonalizationResponse(RadioResponseInfo info, int32_t remainingRetries);
114
Andreas Huber675ae492017-03-28 14:40:58 -0700115 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800116 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700117 * @param calls Current call list
118 *
119 * Valid errors returned:
120 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700121 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700122 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700123 * RadioError:INTERNAL_ERR
124 * RadioError:SYSTEM_ERR
125 * RadioError:INVALID_ARGUMENTS
126 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700127 */
128 oneway getCurrentCallsResponse(RadioResponseInfo info, vec<Call> calls);
129
Andreas Huber675ae492017-03-28 14:40:58 -0700130 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800131 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700132 *
133 * Valid errors returned:
134 * RadioError:NONE
135 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700136 * RadioError:DIAL_MODIFIED_TO_USSD
137 * RadioError:DIAL_MODIFIED_TO_SS
138 * RadioError:DIAL_MODIFIED_TO_DIAL
139 * RadioError:INVALID_ARGUMENTS
140 * RadioError:NO_MEMORY
141 * RadioError:INVALID_STATE
142 * RadioError:NO_RESOURCES
143 * RadioError:INTERNAL_ERR
144 * RadioError:FDN_CHECK_FAILURE
145 * RadioError:MODEM_ERR
146 * RadioError:NO_SUBSCRIPTION
147 * RadioError:NO_NETWORK_FOUND
148 * RadioError:INVALID_CALL_ID
149 * RadioError:DEVICE_IN_USE
150 * RadioError:MODE_NOT_SUPPORTED
151 * RadioError:ABORTED
sqian159ec7f2017-04-25 18:00:34 -0700152 * RadioError:SYSTEM_ERR
153 * RadioError:REQUEST_NOT_SUPPORTED
154 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700155 */
156 oneway dialResponse(RadioResponseInfo info);
157
Andreas Huber675ae492017-03-28 14:40:58 -0700158 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800159 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700160 * @param imsi String containing the IMSI
161 *
162 * Valid errors returned:
163 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700164 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
Sanket Padawe76372492016-10-27 13:20:49 -0700165 */
166 oneway getIMSIForAppResponse(RadioResponseInfo info, string imsi);
167
Andreas Huber675ae492017-03-28 14:40:58 -0700168 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800169 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700170 *
171 * Valid errors returned:
172 * RadioError:NONE
173 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
174 * RadioError:INVALID_ARGUMENTS
175 * RadioError:NO_MEMORY
176 * RadioError:INVALID_STATE
177 * RadioError:MODEM_ERR
178 * RadioError:INTERNAL_ERR
179 * RadioError:INVALID_CALL_ID
Sanket Padawe76372492016-10-27 13:20:49 -0700180 */
181 oneway hangupConnectionResponse(RadioResponseInfo info);
182
Andreas Huber675ae492017-03-28 14:40:58 -0700183 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800184 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700185 *
186 * Valid errors returned:
187 * RadioError:NONE
188 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
189 * RadioError:INVALID_STATE
190 * RadioError:NO_MEMORY
191 * RadioError:MODEM_ERR
192 * RadioError:INTERNAL_ERR
193 * RadioError:INVALID_CALL_ID
194 * RadioError:NO_RESOURCES
195 * RadioError:OPERATION_NOT_ALLOWED
196 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700197 * RadioError:SYSTEM_ERR
198 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700199 */
200 oneway hangupWaitingOrBackgroundResponse(RadioResponseInfo info);
201
Andreas Huber675ae492017-03-28 14:40:58 -0700202 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800203 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700204 *
205 * Valid errors returned:
206 * RadioError:NONE
207 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
208 * RadioError:INVALID_STATE
209 * RadioError:NO_MEMORY
210 * RadioError:MODEM_ERR
211 * RadioError:INTERNAL_ERR
212 * RadioError:INVALID_CALL_ID
213 * RadioError:NO_RESOURCES
214 * RadioError:OPERATION_NOT_ALLOWED
215 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700216 * RadioError:SYSTEM_ERR
217 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700218 */
219 oneway hangupForegroundResumeBackgroundResponse(RadioResponseInfo info);
220
Andreas Huber675ae492017-03-28 14:40:58 -0700221 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800222 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700223 *
224 * Valid errors returned:
225 * RadioError:NONE
226 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
227 * RadioError:INVALID_STATE
228 * RadioError:NO_MEMORY
229 * RadioError:MODEM_ERR
230 * RadioError:INTERNAL_ERR
231 * RadioError:INVALID_STATE
232 * RadioError:INVALID_CALL_ID
233 * RadioError:OPERATION_NOT_ALLOWED
234 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700235 * RadioError:SYSTEM_ERR
236 * RadioError:REQUEST_NOT_SUPPORTED
237 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700238 */
239 oneway switchWaitingOrHoldingAndActiveResponse(RadioResponseInfo info);
240
Andreas Huber675ae492017-03-28 14:40:58 -0700241 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800242 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700243 *
244 * Valid errors returned:
245 * RadioError:NONE
246 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
247 * RadioError:NO_MEMORY
248 * RadioError:MODEM_ERR
249 * RadioError:INTERNAL_ERR
250 * RadioError:INVALID_STATE
251 * RadioError:INVALID_CALL_ID
252 * RadioError:OPERATION_NOT_ALLOWED
253 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700254 * RadioError:SYSTEM_ERR
255 * RadioError:REQUEST_NOT_SUPPORTED
256 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700257 */
258 oneway conferenceResponse(RadioResponseInfo info);
259
Andreas Huber675ae492017-03-28 14:40:58 -0700260 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800261 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700262 *
263 * Valid errors returned:
264 * RadioError:NONE
265 * RadioError:RADIO_NOT_AVAILABLE (radio resetting)
266 * RadioError:INVALID_STATE
267 * RadioError:NO_RESOURCES
268 * RadioError:NO_MEMORY
269 * RadioError:MODEM_ERR
270 * RadioError:INTERNAL_ERR
271 * RadioError:INVALID_CALL_ID
272 * RadioError:OPERATION_NOT_ALLOWED
273 * RadioError:INVALID_ARGUMENTS
sqian159ec7f2017-04-25 18:00:34 -0700274 * RadioError:SYSTEM_ERR
275 * RadioError:REQUEST_NOT_SUPPORTED
276 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700277 */
278 oneway rejectCallResponse(RadioResponseInfo info);
279
Andreas Huber675ae492017-03-28 14:40:58 -0700280 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800281 * @param info Response info struct containing response type, serial no. and error
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700282 * @param failCauseInfo Contains LastCallFailCause and vendor cause code.
Sanket Padawe76372492016-10-27 13:20:49 -0700283 *
Jayachandran Ca03c0c62017-03-13 17:00:33 -0700284 * The vendor cause code must be used for debugging purpose only.
285 * The implementation must return one of the values of LastCallFailCause
286 * as mentioned below
287 *
288 * GSM failure reasons codes for the cause codes defined in TS 24.008 Annex H
289 * where possible.
290 * CDMA failure reasons codes for the possible call failure scenarios
291 * described in the "CDMA IS-2000 Release A (C.S0005-A v6.0)" standard.
292 * Any of the following reason codes if the call is failed or dropped due to reason
293 * mentioned with in the braces.
294 * LastCallFailCause:RADIO_OFF (Radio is OFF)
295 * LastCallFailCause:OUT_OF_SERVICE (No cell coverage)
296 * LastCallFailCause:NO_VALID_SIM (No valid SIM)
297 * LastCallFailCause:RADIO_INTERNAL_ERROR (Modem hit unexpected error scenario)
298 * LastCallFailCause:NETWORK_RESP_TIMEOUT (No response from network)
299 * LastCallFailCause:NETWORK_REJECT (Explicit network reject)
300 * LastCallFailCause:RADIO_ACCESS_FAILURE (RRC connection failure. Eg.RACH)
301 * LastCallFailCause:RADIO_LINK_FAILURE (Radio Link Failure)
302 * LastCallFailCause:RADIO_LINK_LOST (Radio link lost due to poor coverage)
303 * LastCallFailCause:RADIO_UPLINK_FAILURE (Radio uplink failure)
304 * LastCallFailCause:RADIO_SETUP_FAILURE (RRC connection setup failure)
305 * LastCallFailCause:RADIO_RELEASE_NORMAL (RRC connection release, normal)
306 * LastCallFailCause:RADIO_RELEASE_ABNORMAL (RRC connection release, abnormal)
307 * LastCallFailCause:ACCESS_CLASS_BLOCKED (Access class barring)
308 * LastCallFailCause:NETWORK_DETACH (Explicit network detach)
309 * OEM causes (LastCallFailCause:OEM_CAUSE_XX) must be used for debug purpose only
Sanket Padawe76372492016-10-27 13:20:49 -0700310 *
311 * If the implementation does not have access to the exact cause codes,
312 * then it must return one of the values listed in LastCallFailCause,
313 * as the UI layer needs to distinguish these cases for tone generation or
314 * error notification.
315 *
316 * Valid errors returned:
317 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700318 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -0700319 * RadioError:RADIO_NOT_AVAILABLE
320 * RadioError:SYSTEM_ERR
321 * RadioError:INVALID_ARGUMENTS
322 * RadioError:INTERNAL_ERR
323 * RadioError:MODEM_ERR
324 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700325 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800326 oneway getLastCallFailCauseResponse(RadioResponseInfo info,
327 LastCallFailCauseInfo failCauseinfo);
Sanket Padawe76372492016-10-27 13:20:49 -0700328
Andreas Huber675ae492017-03-28 14:40:58 -0700329 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800330 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700331 * @param sigStrength Current signal strength
332 *
333 * Valid errors returned:
334 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700335 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700336 * RadioError:NO_MEMORY
337 * RadioError:INTERNAL_ERR
338 * RadioError:SYSTEM_ERR
339 * RadioError:MODEM_ERR
340 * RadioError:NOT_PROVISIONED
341 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700342 */
343 oneway getSignalStrengthResponse(RadioResponseInfo info, SignalStrength sigStrength);
344
Andreas Huber675ae492017-03-28 14:40:58 -0700345 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800346 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700347 * @param voiceRegResponse Current Voice registration response as defined by VoiceRegStateResult
348 * in types.hal
349 *
350 * Valid errors returned:
351 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700352 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700353 */
354 oneway getVoiceRegistrationStateResponse(RadioResponseInfo info,
355 VoiceRegStateResult voiceRegResponse);
356
Andreas Huber675ae492017-03-28 14:40:58 -0700357 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800358 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700359 * @param dataRegResponse Current Data registration response as defined by DataRegStateResult in
360 * types.hal
361 *
362 * Valid errors returned:
363 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700364 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700365 * RadioError:NO_MEMORY
366 * RadioError:INTERNAL_ERR
367 * RadioError:SYSTEM_ERR
368 * RadioError:MODEM_ERR
369 * RadioError:NOT_PROVISIONED
370 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700371 */
372 oneway getDataRegistrationStateResponse(RadioResponseInfo info,
373 DataRegStateResult dataRegResponse);
374
Andreas Huber675ae492017-03-28 14:40:58 -0700375 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800376 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700377 * @param longName is long alpha ONS or EONS or empty string if unregistered
378 * @param shortName is short alpha ONS or EONS or empty string if unregistered
379 * @param numeric is 5 or 6 digit numeric code (MCC + MNC) or empty string if unregistered
380 *
381 * Valid errors returned:
382 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700383 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700384 * RadioError:NO_MEMORY
385 * RadioError:INTERNAL_ERR
386 * RadioError:SYSTEM_ERR
387 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700388 */
389 oneway getOperatorResponse(RadioResponseInfo info, string longName, string shortName,
390 string numeric);
391
Andreas Huber675ae492017-03-28 14:40:58 -0700392 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800393 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700394 *
395 * Valid errors returned:
396 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700397 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700398 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700399 * RadioError:INVALID_STATE
400 * RadioError:NO_MEMORY
401 * RadioError:INTERNAL_ERR
402 * RadioError:SYSTEM_ERR
403 * RadioError:INVALID_ARGUMENTS
404 * RadioError:MODEM_ERR
405 * RadioError:DEVICE_IN_USE
406 * RadioError:OPERATION_NOT_ALLOWED
407 * RadioError:INVALID_MODEM_STATE
408 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700409 */
410 oneway setRadioPowerResponse(RadioResponseInfo info);
411
Andreas Huber675ae492017-03-28 14:40:58 -0700412 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800413 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700414 *
415 * Valid errors returned:
416 * RadioError:NONE
417 * RadioError:RADIO_NOT_AVAILABLE
418 * RadioError:INVALID_ARGUMENTS
419 * RadioError:NO_RESOURCES
420 * RadioError:NO_MEMORY
421 * RadioError:MODEM_ERR
422 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700423 * RadioError:INTERNAL_ERR
424 * RadioError:SYSTEM_ERR
425 * RadioError:REQUEST_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -0700426 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700427 */
428 oneway sendDtmfResponse(RadioResponseInfo info);
429
Andreas Huber675ae492017-03-28 14:40:58 -0700430 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800431 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700432 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
433 *
434 * Valid errors returned:
435 * RadioError:NONE
436 * RadioError:RADIO_NOT_AVAILABLE
437 * RadioError:SMS_SEND_FAIL_RETRY
438 * RadioError:NETWORK_REJECT
439 * RadioError:INVALID_STATE
440 * RadioError:INVALID_ARGUMENTS
441 * RadioError:NO_MEMORY
442 * RadioError:REQUEST_RATE_LIMITED
443 * RadioError:INVALID_SMS_FORMAT
444 * RadioError:SYSTEM_ERR
445 * RadioError:ENCODING_ERR
446 * RadioError:INVALID_SMSC_ADDRESS
447 * RadioError:MODEM_ERR
448 * RadioError:NETWORK_ERR
449 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -0700450 * RadioError:INTERNAL_ERR
451 * RadioError:REQUEST_NOT_SUPPORTED
452 * RadioError:INVALID_MODEM_STATE
453 * RadioError:NETWORK_NOT_READY
454 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -0700455 */
456 oneway sendSmsResponse(RadioResponseInfo info, SendSmsResult sms);
457
Andreas Huber675ae492017-03-28 14:40:58 -0700458 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800459 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700460 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
461 *
462 * Valid errors returned:
463 * RadioError:NONE
464 * RadioError:RADIO_NOT_AVAILABLE
465 * RadioError:SMS_SEND_FAIL_RETRY
466 * RadioError:NETWORK_REJECT
467 * RadioError:INVALID_STATE
468 * RadioError:INVALID_ARGUMENTS
469 * RadioError:NO_MEMORY
470 * RadioError:REQUEST_RATE_LIMITED
471 * RadioError:INVALID_SMS_FORMAT
472 * RadioError:SYSTEM_ERR
473 * RadioError:FDN_CHECK_FAILURE
474 * RadioError:ENCODING_ERR
475 * RadioError:INVALID_SMSC_ADDRESS
476 * RadioError:MODEM_ERR
477 * RadioError:NETWORK_ERR
478 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -0700479 * RadioError:INTERNAL_ERR
480 * RadioError:REQUEST_NOT_SUPPORTED
481 * RadioError:INVALID_MODEM_STATE
482 * RadioError:NETWORK_NOT_READY
483 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -0700484 */
485 oneway sendSMSExpectMoreResponse(RadioResponseInfo info, SendSmsResult sms);
486
Andreas Huber675ae492017-03-28 14:40:58 -0700487 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800488 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700489 * @param dcResponse SetupDataCallResult defined in types.hal
490 *
491 * Valid errors returned:
492 * RadioError:NONE must be returned on both success and failure of setup with the
493 * DataCallResponse.status containing the actual status
494 * For all other errors the DataCallResponse is ignored.
Sanket Padawe76372492016-10-27 13:20:49 -0700495 * RadioError:RADIO_NOT_AVAILABLE
496 * RadioError:OP_NOT_ALLOWED_BEFORE_REG_TO_NW
497 * RadioError:OP_NOT_ALLOWED_DURING_VOICE_CALL
498 * RadioError:REQUEST_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700499 * RadioError:INVALID_ARGUMENTS
500 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700501 */
502 oneway setupDataCallResponse(RadioResponseInfo info, SetupDataCallResult dcResponse);
503
Andreas Huber675ae492017-03-28 14:40:58 -0700504 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800505 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -0700506 * @param iccIo ICC io operation response as defined by IccIoResult in types.hal
Sanket Padawe76372492016-10-27 13:20:49 -0700507 *
508 * Valid errors returned:
509 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700510 * RadioError:RADIO_NOT_AVAILABLE
511 * RadioError:SIM_PIN2
512 * RadioError:SIM_PUK2
Sanket Padawe76372492016-10-27 13:20:49 -0700513 */
Sanket Padawe865834e2016-12-28 16:04:10 -0800514 oneway iccIOForAppResponse(RadioResponseInfo info, IccIoResult iccIo);
Sanket Padawe76372492016-10-27 13:20:49 -0700515
Andreas Huber675ae492017-03-28 14:40:58 -0700516 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800517 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700518 *
519 * Valid errors returned:
520 * RadioError:NONE
521 * RadioError:RADIO_NOT_AVAILABLE
522 * RadioError:FDN_CHECK_FAILURE
523 * RadioError:USSD_MODIFIED_TO_DIAL
524 * RadioError:USSD_MODIFIED_TO_SS
525 * RadioError:USSD_MODIFIED_TO_USSD
526 * RadioError:SIM_BUSY
527 * RadioError:OPERATION_NOT_ALLOWED
528 * RadioError:INVALID_ARGUMENTS
529 * RadioError:NO_MEMORY
530 * RadioError:MODEM_ERR
531 * RadioError:INTERNAL_ERR
532 * RadioError:ABORTED
533 * RadioError:SYSTEM_ERR
534 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700535 * RadioError:REQUEST_NOT_SUPPORTED
536 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700537 */
538 oneway sendUssdResponse(RadioResponseInfo info);
539
Andreas Huber675ae492017-03-28 14:40:58 -0700540 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800541 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700542 *
543 * Valid errors returned:
544 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700545 * RadioError:RADIO_NOT_AVAILABLE
546 * RadioError:SIM_BUSY
547 * RadioError:OPERATION_NOT_ALLOWED
548 * RadioError:MODEM_ERR
549 * RadioError:INTERNAL_ERR
550 * RadioError:NO_MEMORY
551 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -0700552 * RadioError:INVALID_ARGUMENTS
553 * RadioError:SYSTEM_ERR
554 * RadioError:REQUEST_NOT_SUPPORTED
555 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700556 */
557 oneway cancelPendingUssdResponse(RadioResponseInfo info);
558
Andreas Huber675ae492017-03-28 14:40:58 -0700559 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800560 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700561 * @param n is "n" parameter from TS 27.007 7.7
562 * @param m is "m" parameter from TS 27.007 7.7
563 *
564 * Valid errors returned:
565 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700566 * RadioError:RADIO_NOT_AVAILABLE
567 * RadioError:SS_MODIFIED_TO_DIAL
568 * RadioError:SS_MODIFIED_TO_USSD
569 * RadioError:SS_MODIFIED_TO_SS
570 * RadioError:NO_MEMORY
571 * RadioError:MODEM_ERR
572 * RadioError:INTERNAL_ERR
573 * RadioError:FDN_CHECK_FAILURE
574 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700575 * RadioError:REQUEST_NOT_SUPPORTED
576 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -0700577 */
578 oneway getClirResponse(RadioResponseInfo info, int32_t n, int32_t m);
579
Andreas Huber675ae492017-03-28 14:40:58 -0700580 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800581 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700582 *
583 * Valid errors returned:
584 * RadioError:NONE
585 * RadioError:INVALID_ARGUMENTS
586 * RadioError:RADIO_NOT_AVAILABLE
587 * RadioError:SS_MODIFIED_TO_DIAL
588 * RadioError:SS_MODIFIED_TO_USSD
589 * RadioError:SS_MODIFIED_TO_SS
sqian159ec7f2017-04-25 18:00:34 -0700590 * RadioError:NO_MEMORY
591 * RadioError:INTERNAL_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700592 * RadioError:SYSTEM_ERR
sqian159ec7f2017-04-25 18:00:34 -0700593 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700594 */
595 oneway setClirResponse(RadioResponseInfo info);
596
Andreas Huber675ae492017-03-28 14:40:58 -0700597 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800598 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700599 * @param callForwardInfos points to a vector of CallForwardInfo, one for
600 * each distinct registered phone number.
601 *
602 * For example, if data is forwarded to +18005551212 and voice is forwarded
603 * to +18005559999, then two separate CallForwardInfo's must be returned
604 *
605 * If, however, both data and voice are forwarded to +18005551212, then
606 * a single CallForwardInfo must be returned with the service class
607 * set to "data + voice = 3")
608 *
609 * Valid errors returned:
610 * RadioError:NONE
611 * RadioError:RADIO_NOT_AVAILABLE
612 * RadioError:SS_MODIFIED_TO_DIAL
613 * RadioError:SS_MODIFIED_TO_USSD
614 * RadioError:SS_MODIFIED_TO_SS
615 * RadioError:INVALID_ARGUMENTS
616 * RadioError:NO_MEMORY
617 * RadioError:SYSTEM_ERR
618 * RadioError:MODEM_ERR
619 * RadioError:INTERNAL_ERR
620 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700621 * RadioError:REQUEST_NOT_SUPPORTED
622 * RadioError:SYSTEM_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700623 */
624 oneway getCallForwardStatusResponse(RadioResponseInfo info,
625 vec<CallForwardInfo> callForwardInfos);
626
Andreas Huber675ae492017-03-28 14:40:58 -0700627 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800628 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700629 *
630 * Valid errors returned:
631 * RadioError:NONE
632 * RadioError:RADIO_NOT_AVAILABLE
633 * RadioError:SS_MODIFIED_TO_DIAL
634 * RadioError:SS_MODIFIED_TO_USSD
635 * RadioError:SS_MODIFIED_TO_SS
636 * RadioError:INVALID_ARGUMENTS
637 * RadioError:NO_MEMORY
638 * RadioError:SYSTEM_ERR
639 * RadioError:MODEM_ERR
640 * RadioError:INTERNAL_ERR
641 * RadioError:INVALID_STATE
642 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700643 * RadioError:REQUEST_NOT_SUPPORTED
644 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700645 */
646 oneway setCallForwardResponse(RadioResponseInfo info);
647
Andreas Huber675ae492017-03-28 14:40:58 -0700648 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800649 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700650 * @param enable If current call waiting state is disabled, enable = false else true
651 * @param serviceClass If enable, then callWaitingResp[1]
652 * must follow, with the TS 27.007 service class bit vector of services
653 * for which call waiting is enabled.
654 * For example, if callWaitingResp[0] is 1 and
655 * callWaitingResp[1] is 3, then call waiting is enabled for data
656 * and voice and disabled for everything else.
657 *
658 * Valid errors returned:
659 * RadioError:NONE
660 * RadioError:RADIO_NOT_AVAILABLE
661 * RadioError:SS_MODIFIED_TO_DIAL
662 * RadioError:SS_MODIFIED_TO_USSD
663 * RadioError:SS_MODIFIED_TO_SS
664 * RadioError:INVALID_ARGUMENTS
665 * RadioError:NO_MEMORY
666 * RadioError:MODEM_ERR
667 * RadioError:INTERNAL_ERR
668 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700669 * RadioError:INTERNAL_ERR
670 * RadioError:SYSTEM_ERR
671 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700672 */
673 oneway getCallWaitingResponse(RadioResponseInfo info, bool enable, int32_t serviceClass);
674
Andreas Huber675ae492017-03-28 14:40:58 -0700675 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800676 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700677 *
678 * Valid errors returned:
679 * RadioError:NONE
680 * RadioError:RADIO_NOT_AVAILABLE
681 * RadioError:SS_MODIFIED_TO_DIAL
682 * RadioError:SS_MODIFIED_TO_USSD
683 * RadioError:SS_MODIFIED_TO_SS
684 * RadioError:INVALID_ARGUMENTS
685 * RadioError:NO_MEMORY
686 * RadioError:MODEM_ERR
687 * RadioError:INTERNAL_ERR
688 * RadioError:INVALID_STATE
689 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700690 * RadioError:SYSTEM_ERR
691 * RadioError:REQUEST_NOT_SUPPORTED
692 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700693 */
694 oneway setCallWaitingResponse(RadioResponseInfo info);
695
Andreas Huber675ae492017-03-28 14:40:58 -0700696 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800697 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700698 *
699 * Valid errors returned:
700 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700701 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700702 */
703 oneway acknowledgeLastIncomingGsmSmsResponse(RadioResponseInfo info);
704
Andreas Huber675ae492017-03-28 14:40:58 -0700705 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800706 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700707 *
708 * Valid errors returned:
709 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700710 * RadioError:RADIO_NOT_AVAILABLE
711 * RadioError:INVALID_STATE
712 * RadioError:NO_MEMORY
713 * RadioError:SYSTEM_ERR
714 * RadioError:MODEM_ERR
715 * RadioError:INTERNAL_ERR
716 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700717 * RadioError:INVALID_ARGUMENTS
718 * RadioError:SYSTEM_ERR
719 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700720 */
721 oneway acceptCallResponse(RadioResponseInfo info);
722
Andreas Huber675ae492017-03-28 14:40:58 -0700723 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800724 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700725 *
726 * Valid errors returned:
727 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700728 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700729 * RadioError:INVALID_CALL_ID
730 * RadioError:INVALID_STATE
731 * RadioError:INVALID_ARGUMENTS
732 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700733 */
734 oneway deactivateDataCallResponse(RadioResponseInfo info);
735
Andreas Huber675ae492017-03-28 14:40:58 -0700736 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800737 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700738 * @param response 0 is the TS 27.007 service class bit vector of
739 * services for which the specified barring facility
740 * is active. "0" means "disabled for all"
741 *
742 * Valid errors returned:
743 * RadioError:NONE
744 * RadioError:RADIO_NOT_AVAILABLE
745 * RadioError:SS_MODIFIED_TO_DIAL
746 * RadioError:SS_MODIFIED_TO_USSD
747 * RadioError:SS_MODIFIED_TO_SS
748 * RadioError:INVALID_ARGUMENTS
749 * RadioError:NO_MEMORY
750 * RadioError:MODEM_ERR
751 * RadioError:INTERNAL_ERR
752 * RadioError:SYSTEM_ERR
753 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700754 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700755 */
756 oneway getFacilityLockForAppResponse(RadioResponseInfo info, int32_t response);
757
Andreas Huber675ae492017-03-28 14:40:58 -0700758 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800759 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700760 * @param retry 0 is the number of retries remaining, or -1 if unknown
761 *
762 * Valid errors returned:
763 * RadioError:NONE
764 * RadioError:RADIO_NOT_AVAILABLE
765 * RadioError:SS_MODIFIED_TO_DIAL
766 * RadioError:SS_MODIFIED_TO_USSD
767 * RadioError:SS_MODIFIED_TO_SS
768 * RadioError:INVALID_ARGUMENTS
769 * RadioError:NO_MEMORY
770 * RadioError:MODEM_ERR
771 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -0700772 * RadioError:SYSTEM_ERR
Sanket Padawe76372492016-10-27 13:20:49 -0700773 * RadioError:INVALID_STATE
774 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700775 * RadioError:REQUEST_NOT_SUPPORTED
776 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700777 */
778 oneway setFacilityLockForAppResponse(RadioResponseInfo info, int32_t retry);
779
Andreas Huber675ae492017-03-28 14:40:58 -0700780 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800781 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700782 *
783 * Valid errors returned:
784 * RadioError:NONE
785 * RadioError:RADIO_NOT_AVAILABLE
786 * RadioError:SS_MODIFIED_TO_DIAL
787 * RadioError:SS_MODIFIED_TO_USSD
788 * RadioError:SS_MODIFIED_TO_SS
789 * RadioError:INVALID_ARGUMENTS
790 * RadioError:NO_MEMORY
791 * RadioError:MODEM_ERR
792 * RadioError:INTERNAL_ERR
793 * RadioError:SYSTEM_ERR
794 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700795 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700796 */
797 oneway setBarringPasswordResponse(RadioResponseInfo info);
798
Andreas Huber675ae492017-03-28 14:40:58 -0700799 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800800 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700801 * @param selection false for automatic selection, true for manual selection
802 *
803 * Valid errors returned:
804 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700805 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700806 * RadioError:NO_MEMORY
807 * RadioError:INTERNAL_ERR
808 * RadioError:SYSTEM_ERR
809 * RadioError:INVALID_ARGUMENTS
810 * RadioError:MODEM_ERR
811 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700812 */
813 oneway getNetworkSelectionModeResponse(RadioResponseInfo info, bool manual);
814
Andreas Huber675ae492017-03-28 14:40:58 -0700815 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800816 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700817 *
818 * Valid errors returned:
819 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700820 * RadioError:RADIO_NOT_AVAILABLE
821 * RadioError:ILLEGAL_SIM_OR_ME
822 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700823 * RadioError:NO_MEMORY
824 * RadioError:INTERNAL_ERR
825 * RadioError:SYSTEM_ERR
826 * RadioError:INVALID_ARGUMENTS
827 * RadioError:MODEM_ERR
828 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700829 *
830 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
831 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700832 */
833 oneway setNetworkSelectionModeAutomaticResponse(RadioResponseInfo info);
834
Andreas Huber675ae492017-03-28 14:40:58 -0700835 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800836 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700837 *
838 * Valid errors returned:
839 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700840 * RadioError:RADIO_NOT_AVAILABLE
841 * RadioError:ILLEGAL_SIM_OR_ME
842 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700843 * RadioError:INVALID_STATE
844 * RadioError:NO_MEMORY
845 * RadioError:INTERNAL_ERR
846 * RadioError:SYSTEM_ERR
847 * RadioError:INVALID_ARGUMENTS
848 * RadioError:MODEM_ERR
849 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700850 *
851 * Returns RadioError:ILLEGAL_SIM_OR_ME when the failure is permanent and
852 * no retries needed, such as illegal SIM or ME.
Sanket Padawe76372492016-10-27 13:20:49 -0700853 */
854 oneway setNetworkSelectionModeManualResponse(RadioResponseInfo info);
855
Andreas Huber675ae492017-03-28 14:40:58 -0700856 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800857 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700858 * @param networkInfos List of network operator information as OperatorInfos defined in
859 * types.hal
860 *
861 * Valid errors returned:
862 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -0700863 * RadioError:RADIO_NOT_AVAILABLE
864 * RadioError:OPERATION_NOT_ALLOWED
Jayachandran Cfbb1ea52017-03-13 19:23:52 -0700865 * RadioError:ABORTED
866 * RadioError:DEVICE_IN_USE
867 * RadioError:INTERNAL_ERR
868 * RadioError:NO_MEMORY
869 * RadioError:MODEM_ERR
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700870 * RadioError:REQUEST_NOT_SUPPORTED
871 * RadioError:CANCELLED
Sanket Padawe76372492016-10-27 13:20:49 -0700872 */
873 oneway getAvailableNetworksResponse(RadioResponseInfo info,
874 vec<OperatorInfo> networkInfos);
875
Andreas Huber675ae492017-03-28 14:40:58 -0700876 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800877 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700878 *
879 * Valid errors returned:
880 * RadioError:NONE
881 * RadioError:RADIO_NOT_AVAILABLE
882 * RadioError:INVALID_ARGUMENTS
883 * RadioError:NO_RESOURCES
884 * RadioError:NO_MEMORY
885 * RadioError:SYSTEM_ERR
886 * RadioError:MODEM_ERR
887 * RadioError:INTERNAL_ERR
888 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700889 * RadioError:SYSTEM_ERR
890 * RadioError:REQUEST_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -0700891 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700892 */
893 oneway startDtmfResponse(RadioResponseInfo info);
894
Andreas Huber675ae492017-03-28 14:40:58 -0700895 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800896 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700897 *
898 * Valid errors returned:
899 * RadioError:NONE
900 * RadioError:RADIO_NOT_AVAILABLE
901 * RadioError:INVALID_ARGUMENTS
902 * RadioError:NO_RESOURCES
903 * RadioError:NO_MEMORY
904 * RadioError:INVALID_ARGUMENTS
905 * RadioError:SYSTEM_ERR
906 * RadioError:MODEM_ERR
907 * RadioError:INTERNAL_ERR
908 * RadioError:INVALID_CALL_ID
sqian159ec7f2017-04-25 18:00:34 -0700909 * RadioError:REQUEST_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -0700910 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700911 */
912 oneway stopDtmfResponse(RadioResponseInfo info);
913
Andreas Huber675ae492017-03-28 14:40:58 -0700914 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800915 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700916 * @param version string containing version string for log reporting
917 *
918 * Valid errors returned:
919 * RadioError:NONE
920 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700921 * RadioError:EMPTY_RECORD
Naina Nalluri9cc29c82017-05-05 11:00:05 -0700922 * RadioError:NO_MEMORY
923 * RadioError:INTERNAL_ERR
924 * RadioError:SYSTEM_ERR
925 * RadioError:MODEM_ERR
926 * RadioError:NOT_PROVISIONED
927 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700928 */
929 oneway getBasebandVersionResponse(RadioResponseInfo info, string version);
930
Andreas Huber675ae492017-03-28 14:40:58 -0700931 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800932 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700933 *
934 * Valid errors returned:
935 * RadioError:NONE
936 * RadioError:RADIO_NOT_AVAILABLE
937 * RadioError:INVALID_ARGUMENTS
938 * RadioError:INVALID_STATE
939 * RadioError:NO_RESOURCES
940 * RadioError:NO_MEMORY
941 * RadioError:MODEM_ERR
942 * RadioError:SYSTEM_ERR
943 * RadioError:INTERNAL_ERR
944 * RadioError:INVALID_CALL_ID
945 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -0700946 * RadioError:REQUEST_NOT_SUPPORTED
947 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -0700948 */
949 oneway separateConnectionResponse(RadioResponseInfo info);
950
Andreas Huber675ae492017-03-28 14:40:58 -0700951 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800952 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700953 *
954 * Valid errors returned:
955 * RadioError:NONE
956 * RadioError:RADIO_NOT_AVAILABLE
957 * RadioError:INVALID_ARGUMENTS
958 * RadioError:NO_MEMORY
959 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -0700960 * RadioError:INTERNAL_ERR
961 * RadioError:SYSTEM_ERR
962 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700963 */
964 oneway setMuteResponse(RadioResponseInfo info);
965
Andreas Huber675ae492017-03-28 14:40:58 -0700966 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800967 * @param info Response info struct containing response type, serial no. and error
968 * @param enable true for "mute enabled" and false for "mute disabled"
Sanket Padawe76372492016-10-27 13:20:49 -0700969 *
970 * Valid errors returned:
971 * RadioError:NONE
972 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -0700973 * RadioError:SS_MODIFIED_TO_DIAL
974 * RadioError:SS_MODIFIED_TO_USSD
975 * RadioError:SS_MODIFIED_TO_SS
976 * RadioError:NO_MEMORY
977 * RadioError:REQUEST_RATE_LIMITED
sqian159ec7f2017-04-25 18:00:34 -0700978 * RadioError:INVALID_ARGUMENTS
979 * RadioError:INTERNAL_ERR
980 * RadioError:SYSTEM_ERR
981 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700982 */
983 oneway getMuteResponse(RadioResponseInfo info, bool enable);
984
Andreas Huber675ae492017-03-28 14:40:58 -0700985 /**
Sanket Padawe865834e2016-12-28 16:04:10 -0800986 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -0700987 * @param status indicates CLIP status
988 *
989 * Valid errors returned:
990 * RadioError:NONE
991 * RadioError:RADIO_NOT_AVAILABLE
992 * RadioError:INVALID_ARGUMENTS
993 * RadioError:NO_MEMORY
994 * RadioError:SYSTEM_ERR
995 * RadioError:MODEM_ERR
996 * RadioError:INTERNAL_ERR
997 * RadioError:FDN_CHECK_FAILURE
sqian159ec7f2017-04-25 18:00:34 -0700998 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -0700999 */
1000 oneway getClipResponse(RadioResponseInfo info, ClipStatus status);
1001
Andreas Huber675ae492017-03-28 14:40:58 -07001002 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001003 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001004 * @param dcResponse List of DataCallResult as defined in types.hal
1005 *
1006 * Valid errors returned:
1007 * RadioError:NONE
1008 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001009 */
1010 oneway getDataCallListResponse(RadioResponseInfo info, vec<SetupDataCallResult> dcResponse);
1011
Andreas Huber675ae492017-03-28 14:40:58 -07001012 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001013 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001014 *
1015 * Valid errors returned:
1016 * RadioError:NONE
1017 * RadioError:RADIO_NOT_AVAILABLE
1018 * RadioError:INVALID_ARGUMENTS
Sanket Padawe76372492016-10-27 13:20:49 -07001019 * RadioError:SIM_BUSY
1020 * RadioError:NO_MEMORY
1021 * RadioError:SYSTEM_ERR
1022 * RadioError:MODEM_ERR
1023 * RadioError:INTERNAL_ERR
sqian159ec7f2017-04-25 18:00:34 -07001024 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001025 */
1026 oneway setSuppServiceNotificationsResponse(RadioResponseInfo info);
1027
Andreas Huber675ae492017-03-28 14:40:58 -07001028 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001029 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001030 * @param index record index where the message is stored
1031 *
1032 * Valid errors returned:
1033 * RadioError:NONE
1034 * RadioError:SIM_FULL
1035 * RadioError:INVALID_ARGUMENTS
1036 * RadioError:INVALID_SMS_FORMAT
1037 * RadioError:INTERNAL_ERR
1038 * RadioError:MODEM_ERR
1039 * RadioError:ENCODING_ERR
1040 * RadioError:NO_MEMORY
1041 * RadioError:NO_RESOURCES
1042 * RadioError:INVALID_MODEM_STATE
1043 * RadioError:MODE_NOT_SUPPORTED
1044 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001045 * RadioError:RADIO_NOT_AVAILABLE
1046 * RadioError:SYSTEM_ERR
1047 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001048 */
1049 oneway writeSmsToSimResponse(RadioResponseInfo info, int32_t index);
1050
Andreas Huber675ae492017-03-28 14:40:58 -07001051 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001052 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001053 *
1054 * Valid errors returned:
1055 * RadioError:NONE
Sanket Padawe76372492016-10-27 13:20:49 -07001056 * RadioError:INVALID_ARGUMENTS
1057 * RadioError:NO_MEMORY
Sanket Padawe76372492016-10-27 13:20:49 -07001058 * RadioError:SYSTEM_ERR
1059 * RadioError:MODEM_ERR
1060 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001061 * RadioError:INTERNAL_ERR
1062 * RadioError:RADIO_NOT_AVAILABLE
1063 * RadioError:REQUEST_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07001064 * RadioError:INVALID_MODEM_STATE
Sanket Padawe76372492016-10-27 13:20:49 -07001065 */
1066 oneway deleteSmsOnSimResponse(RadioResponseInfo info);
1067
Andreas Huber675ae492017-03-28 14:40:58 -07001068 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001069 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001070 *
1071 * Valid errors returned:
1072 * RadioError:NONE
1073 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001074 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001075 * RadioError:NO_MEMORY
1076 * RadioError:INTERNAL_ERR
1077 * RadioError:SYSTEM_ERR
1078 * RadioError:INVALID_ARGUMENTS
1079 * RadioError:MODEM_ERR
1080 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001081 */
1082 oneway setBandModeResponse(RadioResponseInfo info);
1083
Andreas Huber675ae492017-03-28 14:40:58 -07001084 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001085 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001086 * @param bandModes List of RadioBandMode listing supported modes
1087 *
1088 * Valid errors returned:
1089 * RadioError:NONE
1090 * RadioError:RADIO_NOT_AVAILABLE
1091 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001092 * RadioError:NO_MEMORY
1093 * RadioError:INTERNAL_ERR
1094 * RadioError:SYSTEM_ERR
1095 * RadioError:MODEM_ERR
1096 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawe76372492016-10-27 13:20:49 -07001097 */
1098 oneway getAvailableBandModesResponse(RadioResponseInfo info, vec<RadioBandMode> bandModes);
1099
Andreas Huber675ae492017-03-28 14:40:58 -07001100 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001101 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001102 * @param commandResponse SAT/USAT response in hexadecimal format
1103 * string starting with first byte of response
1104 *
1105 * Valid errors returned:
1106 * RadioError:NONE
1107 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawe76372492016-10-27 13:20:49 -07001108 * RadioError:SIM_BUSY
1109 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -07001110 */
1111 oneway sendEnvelopeResponse(RadioResponseInfo info, string commandResponse);
1112
Andreas Huber675ae492017-03-28 14:40:58 -07001113 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001114 * @param info Response info struct containing response type, serial no. and error
Sanket Padawe76372492016-10-27 13:20:49 -07001115 *
1116 * Valid errors returned:
1117 * RadioError:NONE
1118 * RadioError:RADIO_NOT_AVAILABLE
1119 * RadioError:INVALID_ARGUMENTS
1120 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawe76372492016-10-27 13:20:49 -07001121 */
1122 oneway sendTerminalResponseToSimResponse(RadioResponseInfo info);
Sanket Padawed52335c2016-11-03 16:46:32 -07001123
Andreas Huber675ae492017-03-28 14:40:58 -07001124 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001125 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001126 *
1127 * Valid errors returned:
1128 * RadioError:NONE
sqian284c53c2017-05-16 20:29:19 -07001129 * RadioError:NO_MEMORY
1130 * RadioError:INTERNAL_ERR
1131 * RadioError:SYSTEM_ERR
1132 * RadioError:MODEM_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001133 * RadioError:INVALID_ARGUMENTS
Sanket Padawed52335c2016-11-03 16:46:32 -07001134 */
1135 oneway handleStkCallSetupRequestFromSimResponse(RadioResponseInfo info);
1136
Andreas Huber675ae492017-03-28 14:40:58 -07001137 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001138 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001139 *
1140 * Valid errors returned:
1141 * RadioError:NONE
1142 * RadioError:RADIO_NOT_AVAILABLE
1143 * RadioError:INVALID_ARGUMENTS
1144 * RadioError:INVALID_STATE
1145 * RadioError:NO_RESOURCES
1146 * RadioError:NO_MEMORY
1147 * RadioError:SYSTEM_ERR
1148 * RadioError:MODEM_ERR
1149 * RadioError:INTERNAL_ERR
1150 * RadioError:INVALID_CALL_ID
1151 * RadioError:OPERATION_NOT_ALLOWED
sqian159ec7f2017-04-25 18:00:34 -07001152 * RadioError:REQUEST_NOT_SUPPORTED
1153 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001154 */
1155 oneway explicitCallTransferResponse(RadioResponseInfo info);
1156
Andreas Huber675ae492017-03-28 14:40:58 -07001157 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001158 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001159 *
1160 * Valid errors returned:
1161 * RadioError:NONE
1162 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001163 * RadioError:OPERATION_NOT_ALLOWED
1164 * RadioError:MODE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001165 * RadioError:NO_MEMORY
1166 * RadioError:INTERNAL_ERR
1167 * RadioError:SYSTEM_ERR
1168 * RadioError:INVALID_ARGUMENTS
1169 * RadioError:MODEM_ERR
1170 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001171 */
1172 oneway setPreferredNetworkTypeResponse(RadioResponseInfo info);
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 Padawed52335c2016-11-03 16:46:32 -07001176 * @param nwType RadioPreferredNetworkType defined in types.hal
1177 *
1178 * Valid errors returned:
1179 * RadioError:NONE
1180 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001181 * RadioError:NO_MEMORY
1182 * RadioError:INTERNAL_ERR
1183 * RadioError:SYSTEM_ERR
1184 * RadioError:INVALID_ARGUMENTS
1185 * RadioError:MODEM_ERR
1186 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001187 */
1188 oneway getPreferredNetworkTypeResponse(RadioResponseInfo info,
1189 PreferredNetworkType nwType);
1190
Andreas Huber675ae492017-03-28 14:40:58 -07001191 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001192 * @param info Response info struct containing response type, serial no. and error
1193 * @param cells Vector of neighboring radio cell
Sanket Padawed52335c2016-11-03 16:46:32 -07001194 *
1195 * Valid errors returned:
1196 * RadioError:NONE
1197 * RadioError:RADIO_NOT_AVAILABLE
1198 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001199 * RadioError:NO_MEMORY
1200 * RadioError:INTERNAL_ERR
1201 * RadioError:SYSTEM_ERR
1202 * RadioError:MODEM_ERR
1203 * RadioError:NO_NETWORK_FOUND
1204 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001205 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001206 oneway getNeighboringCidsResponse(RadioResponseInfo info, vec<NeighboringCell> cells);
Sanket Padawed52335c2016-11-03 16:46:32 -07001207
Andreas Huber675ae492017-03-28 14:40:58 -07001208 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001209 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001210 *
1211 * Valid errors returned:
1212 * RadioError:NONE
1213 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001214 * RadioError:NO_MEMORY
1215 * RadioError:INTERNAL_ERR
1216 * RadioError:SYSTEM_ERR
1217 * RadioError:INVALID_ARGUMENTS
1218 * RadioError:MODEM_ERR
1219 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001220 */
1221 oneway setLocationUpdatesResponse(RadioResponseInfo info);
1222
Andreas Huber675ae492017-03-28 14:40:58 -07001223 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001224 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001225 *
1226 * Valid errors returned:
1227 * RadioError:NONE
1228 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001229 * RadioError:SIM_ABSENT
1230 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001231 */
1232 oneway setCdmaSubscriptionSourceResponse(RadioResponseInfo info);
1233
Andreas Huber675ae492017-03-28 14:40:58 -07001234 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001235 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001236 *
1237 * Valid errors returned:
1238 * RadioError:NONE
1239 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001240 * RadioError:NO_MEMORY
1241 * RadioError:INTERNAL_ERR
1242 * RadioError:SYSTEM_ERR
1243 * RadioError:INVALID_ARGUMENTS
1244 * RadioError:MODEM_ERR
1245 * RadioError:REQUEST_NOT_SUPPORTED
1246 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001247 */
1248 oneway setCdmaRoamingPreferenceResponse(RadioResponseInfo info);
1249
Andreas Huber675ae492017-03-28 14:40:58 -07001250 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001251 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001252 * @param type CdmaRoamingType defined in types.hal
1253 *
1254 * Valid errors returned:
1255 * RadioError:NONE
1256 * RadioError:RADIO_NOT_AVAILABLE
1257 * RadioError:INVALID_ARGUMENTS
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001258 * RadioError:NO_MEMORY
1259 * RadioError:INTERNAL_ERR
1260 * RadioError:SYSTEM_ERR
1261 * RadioError:MODEM_ERR
1262 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001263 */
1264 oneway getCdmaRoamingPreferenceResponse(RadioResponseInfo info, CdmaRoamingType type);
1265
Andreas Huber675ae492017-03-28 14:40:58 -07001266 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001267 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001268 *
1269 * Valid errors returned:
1270 * RadioError:NONE
1271 * RadioError:RADIO_NOT_AVAILABLE
1272 * RadioError:INVALID_ARGUMENTS
1273 * RadioError:MODEM_ERR
1274 * RadioError:INTERNAL_ERR
1275 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001276 * RadioError:SYSTEM_ERR
1277 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001278 */
1279 oneway setTTYModeResponse(RadioResponseInfo info);
1280
Andreas Huber675ae492017-03-28 14:40:58 -07001281 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001282 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001283 * @param mode TtyMode
1284 *
1285 * Valid errors returned:
1286 * RadioError:NONE
1287 * RadioError:RADIO_NOT_AVAILABLE
1288 * RadioError:INVALID_ARGUMENTS
1289 * RadioError:MODEM_ERR
1290 * RadioError:INTERNAL_ERR
1291 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001292 * RadioError:SYSTEM_ERR
1293 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001294 */
1295 oneway getTTYModeResponse(RadioResponseInfo info, TtyMode mode);
1296
Andreas Huber675ae492017-03-28 14:40:58 -07001297 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001298 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001299 *
1300 * Valid errors returned:
1301 * RadioError:NONE
1302 * RadioError:RADIO_NOT_AVAILABLE
1303 * RadioError:INVALID_ARGUMENTS
1304 * RadioError:MODEM_ERR
1305 * RadioError:INTERNAL_ERR
1306 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001307 * RadioError:SYSTEM_ERR
1308 * RadioError:REQUEST_NOT_SUPPORTED
1309 * RadioError:INVALID_CALL_ID
Sanket Padawed52335c2016-11-03 16:46:32 -07001310 */
1311 oneway setPreferredVoicePrivacyResponse(RadioResponseInfo info);
1312
Andreas Huber675ae492017-03-28 14:40:58 -07001313 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001314 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001315 * @param enable false for Standard Privacy Mode (Public Long Code Mask)
1316 * true for Enhanced Privacy Mode (Private Long Code Mask)
1317 *
1318 * Valid errors:
1319 * RadioError:NONE
1320 * RadioError:RADIO_NOT_AVAILABLE
1321 * RadioError:INVALID_ARGUMENTS
1322 * RadioError:MODEM_ERR
1323 * RadioError:INTERNAL_ERR
1324 * RadioError:NO_MEMORY
sqian159ec7f2017-04-25 18:00:34 -07001325 * RadioError:SYSTEM_ERR
1326 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001327 */
1328 oneway getPreferredVoicePrivacyResponse(RadioResponseInfo info, bool enable);
1329
Andreas Huber675ae492017-03-28 14:40:58 -07001330 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07001331 * Response callback for IRadio.sendCDMAFeatureCode()
1332 *
Sanket Padawe865834e2016-12-28 16:04:10 -08001333 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001334 *
1335 * Valid errors returned:
1336 * RadioError:NONE
1337 * RadioError:RADIO_NOT_AVAILABLE
1338 * RadioError:INVALID_ARGUMENTS
1339 * RadioError:NO_MEMORY
1340 * RadioError:INTERNAL_ERR
1341 * RadioError:SYSTEM_ERR
1342 * RadioError:MODEM_ERR
1343 * RadioError:INVALID_CALL_ID
1344 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001345 * RadioError:REQUEST_NOT_SUPPORTED
1346 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001347 */
1348 oneway sendCDMAFeatureCodeResponse(RadioResponseInfo info);
1349
Andreas Huber675ae492017-03-28 14:40:58 -07001350 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001351 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001352 *
1353 * Valid errors returned:
1354 * RadioError:NONE
1355 * RadioError:RADIO_NOT_AVAILABLE
1356 * RadioError:INVALID_ARGUMENTS
1357 * RadioError:NO_MEMORY
1358 * RadioError:INTERNAL_ERR
1359 * RadioError:SYSTEM_ERR
1360 * RadioError:MODEM_ERR
1361 * RadioError:INVALID_CALL_ID
1362 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001363 * RadioError:REQUEST_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07001364 * RadioError:MODE_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001365 */
1366 oneway sendBurstDtmfResponse(RadioResponseInfo info);
1367
Andreas Huber675ae492017-03-28 14:40:58 -07001368 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001369 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001370 * @param sms Sms result struct as defined by SendSmsResult in types.hal
1371 *
1372 * Valid errors returned:
1373 * RadioError:NONE
1374 * RadioError:RADIO_NOT_AVAILABLE
1375 * RadioError:INVALID_ARGUMENTS
1376 * RadioError:SMS_SEND_FAIL_RETRY
1377 * RadioError:NETWORK_REJECT
1378 * RadioError:INVALID_STATE
1379 * RadioError:NO_MEMORY
1380 * RadioError:REQUEST_RATE_LIMITED
1381 * RadioError:INVALID_SMS_FORMAT
1382 * RadioError:SYSTEM_ERR
1383 * RadioError:FDN_CHECK_FAILURE
1384 * RadioError:MODEM_ERR
1385 * RadioError:NETWORK_ERR
1386 * RadioError:ENCODING_ERR
1387 * RadioError:INVALID_SMSC_ADDRESS
1388 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -07001389 * RadioError:INTERNAL_ERR
1390 * RadioError:SYSTEM_ERR
1391 * RadioError:REQUEST_NOT_SUPPORTED
1392 * RadioError:OPERATION_NOT_ALLOWED
1393 * RadioError:ENCODING_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07001394 */
1395 oneway sendCdmaSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1396
Andreas Huber675ae492017-03-28 14:40:58 -07001397 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001398 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001399 *
1400 * Valid errors returned:
1401 * RadioError:NONE
1402 * RadioError:RADIO_NOT_AVAILABLE
1403 * RadioError:INVALID_ARGUMENTS
1404 * RadioError:NO_SMS_TO_ACK
1405 * RadioError:INVALID_STATE
1406 * RadioError:NO_MEMORY
1407 * RadioError:REQUEST_RATE_LIMITED
1408 * RadioError:SYSTEM_ERR
1409 * RadioError:MODEM_ERR
1410 * RadioError:MODE_NOT_SUPPORTED
1411 * RadioError:NETWORK_NOT_READY
1412 * RadioError:INVALID_MODEM_STATE
sqian159ec7f2017-04-25 18:00:34 -07001413 * RadioError:INTERNAL_ERR
1414 * RadioError:REQUEST_NOT_SUPPORTED
1415 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001416 */
1417 oneway acknowledgeLastIncomingCdmaSmsResponse(RadioResponseInfo info);
1418
Andreas Huber675ae492017-03-28 14:40:58 -07001419 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001420 * @param info Response info struct containing response type, serial no. and error
1421 * @param configs Vector of GSM/WCDMA Cell broadcast configs
Sanket Padawed52335c2016-11-03 16:46:32 -07001422 *
1423 * Valid errors returned:
1424 * RadioError:NONE
1425 * RadioError:RADIO_NOT_AVAILABLE
1426 * RadioError:INVALID_ARGUMENTS
1427 * RadioError:INVALID_STATE
1428 * RadioError:NO_MEMORY
1429 * RadioError:REQUEST_RATE_LIMITED
1430 * RadioError:SYSTEM_ERR
1431 * RadioError:MODEM_ERR
1432 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001433 * RadioError:INTERNAL_ERR
1434 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001435 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001436 oneway getGsmBroadcastConfigResponse(RadioResponseInfo info,
1437 vec<GsmBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001438
Andreas Huber675ae492017-03-28 14:40:58 -07001439 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001440 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001441 *
1442 * Valid errors returned:
1443 * RadioError:NONE
1444 * RadioError:RADIO_NOT_AVAILABLE
1445 * RadioError:INVALID_ARGUMENTS
1446 * RadioError:INVALID_STATE
1447 * RadioError:NO_MEMORY
1448 * RadioError:REQUEST_RATE_LIMITED
1449 * RadioError:SYSTEM_ERR
1450 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001451 * RadioError:INTERNAL_ERR
1452 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001453 */
1454 oneway setGsmBroadcastConfigResponse(RadioResponseInfo info);
1455
Andreas Huber675ae492017-03-28 14:40:58 -07001456 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001457 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001458 *
1459 * Valid errors returned:
1460 * RadioError:NONE
1461 * RadioError:RADIO_NOT_AVAILABLE
1462 * RadioError:INVALID_ARGUMENTS
1463 * RadioError:INVALID_STATE
1464 * RadioError:NO_MEMORY
1465 * RadioError:REQUEST_RATE_LIMITED
1466 * RadioError:SYSTEM_ERR
1467 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001468 * RadioError:INTERNAL_ERR
1469 * RadioError:REQUEST_NOT_SUPPORTED
1470 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001471 */
1472 oneway setGsmBroadcastActivationResponse(RadioResponseInfo info);
1473
Andreas Huber675ae492017-03-28 14:40:58 -07001474 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001475 * @param info Response info struct containing response type, serial no. and error
1476 * @param configs Vector of CDMA Broadcast SMS configs.
Sanket Padawed52335c2016-11-03 16:46:32 -07001477 *
1478 * Valid errors returned:
1479 * RadioError:NONE
1480 * RadioError:RADIO_NOT_AVAILABLE
1481 * RadioError:INVALID_ARGUMENTS
1482 * RadioError:INVALID_STATE
1483 * RadioError:NO_MEMORY
1484 * RadioError:REQUEST_RATE_LIMITED
1485 * RadioError:SYSTEM_ERR
1486 * RadioError:MODEM_ERR
1487 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001488 * RadioError:INTERNAL_ERR
1489 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001490 */
Sanket Padawe865834e2016-12-28 16:04:10 -08001491 oneway getCdmaBroadcastConfigResponse(RadioResponseInfo info,
1492 vec<CdmaBroadcastSmsConfigInfo> configs);
Sanket Padawed52335c2016-11-03 16:46:32 -07001493
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 *
1497 * Valid errors returned:
1498 * RadioError:NONE
1499 * RadioError:RADIO_NOT_AVAILABLE
1500 * RadioError:INVALID_ARGUMENTS
1501 * RadioError:INVALID_STATE
1502 * RadioError:NO_MEMORY
1503 * RadioError:REQUEST_RATE_LIMITED
1504 * RadioError:SYSTEM_ERR
1505 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001506 * RadioError:INTERNAL_ERR
1507 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001508 */
1509 oneway setCdmaBroadcastConfigResponse(RadioResponseInfo info);
1510
Andreas Huber675ae492017-03-28 14:40:58 -07001511 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001512 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001513 *
1514 * Valid errors returned:
1515 * RadioError:NONE
1516 * RadioError:RADIO_NOT_AVAILABLE
1517 * RadioError:INVALID_ARGUMENTS
1518 * RadioError:INVALID_STATE
1519 * RadioError:NO_MEMORY
1520 * RadioError:REQUEST_RATE_LIMITED
1521 * RadioError:SYSTEM_ERR
1522 * RadioError:MODEM_ERR
sqian159ec7f2017-04-25 18:00:34 -07001523 * RadioError:INTERNAL_ERR
1524 * RadioError:REQUEST_NOT_SUPPORTED
1525 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001526 */
1527 oneway setCdmaBroadcastActivationResponse(RadioResponseInfo info);
1528
Andreas Huber675ae492017-03-28 14:40:58 -07001529 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001530 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001531 * @param mdn MDN if CDMA subscription is available
1532 * @param hSid is a comma separated list of H_SID (Home SID) if
1533 * CDMA subscription is available, in decimal format
1534 * @param hNid is a comma separated list of H_NID (Home NID) if
1535 * CDMA subscription is available, in decimal format
1536 * @param min MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
1537 * @param prl PRL version if CDMA subscription is available
1538 *
1539 * Valid errors returned:
1540 * RadioError:NONE
1541 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001542 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001543 * RadioError:NO_MEMORY
1544 * RadioError:INTERNAL_ERR
1545 * RadioError:SYSTEM_ERR
1546 * RadioError:INVALID_ARGUMENTS
1547 * RadioError:MODEM_ERR
1548 * RadioError:NOT_PROVISIONED
1549 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001550 */
1551 oneway getCDMASubscriptionResponse(RadioResponseInfo info, string mdn, string hSid,
1552 string hNid, string min, string prl);
1553
Andreas Huber675ae492017-03-28 14:40:58 -07001554 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001555 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001556 * @param index record index where the cmda sms message is stored
1557 *
1558 * Valid errors returned:
1559 * RadioError:NONE
1560 * RadioError:RADIO_NOT_AVAILABLE
1561 * RadioError:INVALID_ARGUMENTS
1562 * RadioError:INVALID_SMS_FORMAT
1563 * RadioError:SIM_FULL
1564 * RadioError:INTERNAL_ERR
1565 * RadioError:MODEM_ERR
1566 * RadioError:ENCODING_ERR
1567 * RadioError:NO_MEMORY
1568 * RadioError:NO_RESOURCES
1569 * RadioError:INVALID_MODEM_STATE
1570 * RadioError:MODE_NOT_SUPPORTED
1571 * RadioError:INVALID_SMSC_ADDRESS
sqian159ec7f2017-04-25 18:00:34 -07001572 * RadioError:SYSTEM_ERR
1573 * RadioError:REQUEST_NOT_SUPPORTED
1574 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001575 */
1576 oneway writeSmsToRuimResponse(RadioResponseInfo info, uint32_t index);
1577
Andreas Huber675ae492017-03-28 14:40:58 -07001578 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001579 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001580 *
1581 * Valid errors returned:
1582 * RadioError:NONE
1583 * RadioError:RADIO_NOT_AVAILABLE
1584 * RadioError:INVALID_ARGUMENTS
1585 * RadioError:NO_MEMORY
Sanket Padawed52335c2016-11-03 16:46:32 -07001586 * RadioError:SYSTEM_ERR
1587 * RadioError:MODEM_ERR
1588 * RadioError:NO_SUCH_ENTRY
sqian159ec7f2017-04-25 18:00:34 -07001589 * RadioError:INTERNAL_ERR
1590 * RadioError:REQUEST_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07001591 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001592 */
1593 oneway deleteSmsOnRuimResponse(RadioResponseInfo info);
1594
Andreas Huber675ae492017-03-28 14:40:58 -07001595 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001596 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001597 * @param imei IMEI if GSM subscription is available
1598 * @param imeisv IMEISV if GSM subscription is available
1599 * @param esn ESN if CDMA subscription is available
1600 * @param meid MEID if CDMA subscription is available
1601 *
1602 * Valid errors returned:
1603 * RadioError:NONE
1604 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001605 * RadioError:NO_MEMORY
1606 * RadioError:INTERNAL_ERR
1607 * RadioError:SYSTEM_ERR
1608 * RadioError:INVALID_ARGUMENTS
1609 * RadioError:MODEM_ERR
1610 * RadioError:NOT_PROVISIONED
Sanket Padawed52335c2016-11-03 16:46:32 -07001611 *
1612 * If a empty string value is returned for any of the device id, it means that there was error
1613 * accessing the device.
1614 *
1615 */
1616 oneway getDeviceIdentityResponse(RadioResponseInfo info, string imei, string imeisv,
1617 string esn, string meid);
1618
Andreas Huber675ae492017-03-28 14:40:58 -07001619 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001620 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001621 *
1622 * Valid errors returned:
1623 * RadioError:NONE
1624 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001625 * RadioError:OPERATION_NO_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001626 * RadioError:INTERNAL_ERR
1627 * RadioError:NO_MEMORY
1628 * RadioError:SYSTEM_ERR
1629 * RadioError:INVALID_ARGUMENTS
1630 * RadioError:MODEM_ERR
1631 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001632 */
1633 oneway exitEmergencyCallbackModeResponse(RadioResponseInfo info);
1634
Andreas Huber675ae492017-03-28 14:40:58 -07001635 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001636 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001637 * @param smsc Short Message Service Center address on the device
1638 *
1639 * Valid errors returned:
1640 * RadioError:NONE
1641 * RadioError:RADIO_NOT_AVAILABLE
1642 * RadioError:INVALID_ARGUMENTS
1643 * RadioError:INTERNAL_ERR
1644 * RadioError:NO_MEMORY
1645 * RadioError:SYSTEM_ERR
1646 * RadioError:REQUEST_RATE_LIMITED
1647 * RadioError:MODEM_ERR
1648 * RadioError:INVALID_MODEM_STATE
1649 * RadioError:NOT_PROVISIONED
sqian159ec7f2017-04-25 18:00:34 -07001650 * RadioError:REQUEST_NOT_SUPPORTED
1651 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001652 */
1653 oneway getSmscAddressResponse(RadioResponseInfo info, string smsc);
1654
Andreas Huber675ae492017-03-28 14:40:58 -07001655 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001656 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001657 *
1658 * Valid errors returned:
1659 * RadioError:NONE
1660 * RadioError:RADIO_NOT_AVAILABLE
1661 * RadioError:INVALID_ARGUMENTS
1662 * RadioError:INVALID_SMS_FORMAT
1663 * RadioError:NO_MEMORY
1664 * RadioError:SYSTEM_ERR
1665 * RadioError:REQUEST_RATE_LIMITED
1666 * RadioError:MODEM_ERR
1667 * RadioError:NO_RESOURCES
sqian159ec7f2017-04-25 18:00:34 -07001668 * RadioError:INTERNAL_ERR
1669 * RadioError:REQUEST_NOT_SUPPORTED
1670 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001671 */
1672 oneway setSmscAddressResponse(RadioResponseInfo info);
1673
Andreas Huber675ae492017-03-28 14:40:58 -07001674 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001675 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001676 *
1677 * Valid errors returned:
1678 * RadioError:NONE
1679 * RadioError:RADIO_NOT_AVAILABLE
1680 * RadioError:INVALID_ARGUMENTS
1681 * RadioError:NO_MEMORY
1682 * RadioError:SYSTEM_ERR
1683 * RadioError:REQUEST_RATE_LIMITED
1684 * RadioError:MODEM_ERR
1685 * RadioError:INVALID_STATE
sqian159ec7f2017-04-25 18:00:34 -07001686 * RadioError:INTERNAL_ERR
1687 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001688 */
1689 oneway reportSmsMemoryStatusResponse(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
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001693 *
1694 * Valid errors returned:
1695 * RadioError:NONE
1696 * RadioError:RADIO_NOT_AVAILABLE
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001697 */
1698 oneway reportStkServiceIsRunningResponse(RadioResponseInfo info);
1699
Andreas Huber675ae492017-03-28 14:40:58 -07001700 /**
Amit Mahajan0de66ed2017-01-31 17:00:26 -08001701 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001702 * @param source CDMA subscription source
1703 *
1704 * Valid errors returned:
1705 * RadioError:NONE
1706 * RadioError:RADIO_NOT_AVAILABLE
1707 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001708 */
1709 oneway getCdmaSubscriptionSourceResponse(RadioResponseInfo info, CdmaSubscriptionSource source);
1710
Andreas Huber675ae492017-03-28 14:40:58 -07001711 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001712 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001713 * @param response response string of the challenge/response algo for ISIM auth in base64 format
1714 *
1715 * Valid errors returned:
1716 * RadioError:NONE
1717 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001718 */
1719 oneway requestIsimAuthenticationResponse(RadioResponseInfo info, string response);
1720
Andreas Huber675ae492017-03-28 14:40:58 -07001721 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001722 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001723 *
1724 * Valid errors returned:
1725 * RadioError:NONE
1726 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001727 */
1728 oneway acknowledgeIncomingGsmSmsWithPduResponse(RadioResponseInfo info);
1729
Andreas Huber675ae492017-03-28 14:40:58 -07001730 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001731 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001732 * @param iccIo IccIoResult as defined in types.hal corresponding to ICC IO response
1733 *
1734 * Valid errors returned:
1735 * RadioError:NONE
1736 * RadioError:RADIO_NOT_AVAILABLE
1737 * RadioError:SIM_BUSY
1738 * RadioError:OPERATION_NOT_ALLOWED
Sanket Padawed52335c2016-11-03 16:46:32 -07001739 */
1740 oneway sendEnvelopeWithStatusResponse(RadioResponseInfo info, IccIoResult iccIo);
1741
Andreas Huber675ae492017-03-28 14:40:58 -07001742 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001743 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001744 * @param rat Current voice RAT
1745 *
1746 * Valid errors returned:
1747 * RadioError:NONE
1748 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001749 */
1750 oneway getVoiceRadioTechnologyResponse(RadioResponseInfo info, RadioTechnology rat);
1751
Andreas Huber675ae492017-03-28 14:40:58 -07001752 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001753 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001754 * @param cellInfo List of current cell information known to radio
1755 *
1756 * Valid errors returned:
1757 * RadioError:NONE
1758 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001759 * RadioError:NO_MEMORY
1760 * RadioError:INTERNAL_ERR
1761 * RadioError:SYSTEM_ERR
1762 * RadioError:MODEM_ERR
1763 * RadioError:NO_NETWORK_FOUND
1764 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001765 */
1766 oneway getCellInfoListResponse(RadioResponseInfo info, vec<CellInfo> cellInfo);
1767
Andreas Huber675ae492017-03-28 14:40:58 -07001768 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001769 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001770 *
1771 * Valid errors returned:
1772 * RadioError:NONE
1773 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001774 * RadioError:NO_MEMORY
1775 * RadioError:INTERNAL_ERR
1776 * RadioError:SYSTEM_ERR
1777 * RadioError:INVALID_ARGUMENTS
Sanket Padawed52335c2016-11-03 16:46:32 -07001778 */
1779 oneway setCellInfoListRateResponse(RadioResponseInfo info);
1780
Andreas Huber675ae492017-03-28 14:40:58 -07001781 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001782 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001783 *
1784 * Valid errors returned:
1785 * RadioError:NONE
1786 * RadioError:RADIO_NOT_AVAILABLE
1787 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001788 * RadioError:NO_MEMORY
1789 * RadioError:INTERNAL_ERR
1790 * RadioError:SYSTEM_ERR
1791 * RadioError:MODEM_ERR
1792 * RadioError:INVALID_ARGUMENTS
1793 * RadioError:NOT_PROVISIONED
1794 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001795 */
1796 oneway setInitialAttachApnResponse(RadioResponseInfo info);
1797
Andreas Huber675ae492017-03-28 14:40:58 -07001798 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001799 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001800 * @param isRegistered false = not registered, true = registered
1801 * @param ratFamily RadioTechnologyFamily as defined in types.hal. This value is valid only if
1802 * isRegistered is true.
1803 *
1804 * Valid errors returned:
1805 * RadioError:NONE
1806 * RadioError:RADIO_NOT_AVAILABLE
sqian08e90552017-06-01 12:39:22 -07001807 * RadioError:NO_MEMORY
1808 * RadioError:INTERNAL_ERR
1809 * RadioError:SYSTEM_ERR
1810 * RadioError:REQUEST_NOT_SUPPORTED
1811 * RadioError:MODEM_ERR
1812 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001813 */
1814 oneway getImsRegistrationStateResponse(RadioResponseInfo info, bool isRegistered,
1815 RadioTechnologyFamily ratFamily);
1816
Andreas Huber675ae492017-03-28 14:40:58 -07001817 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001818 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001819 * @param sms Response to sms sent as defined by SendSmsResult in types.hal
1820 *
1821 * Valid errors returned:
1822 * RadioError:NONE
1823 * RadioError:RADIO_NOT_AVAILABLE
1824 * RadioError:SMS_SEND_FAIL_RETRY
1825 * RadioError:FDN_CHECK_FAILURE
1826 * RadioError:NETWORK_REJECT
1827 * RadioError:INVALID_ARGUMENTS
1828 * RadioError:INVALID_STATE
1829 * RadioError:NO_MEMORY
1830 * RadioError:INVALID_SMS_FORMAT
1831 * RadioError:SYSTEM_ERR
1832 * RadioError:REQUEST_RATE_LIMITED
1833 * RadioError:MODEM_ERR
1834 * RadioError:NETWORK_ERR
1835 * RadioError:ENCODING_ERR
1836 * RadioError:MODE_NOT_SUPPORTED
sqian159ec7f2017-04-25 18:00:34 -07001837 * RadioError:INTERNAL_ERR
1838 * RadioError:REQUEST_NOT_SUPPORTED
1839 * RadioError:NETWORK_NOT_READY
Sanket Padawed52335c2016-11-03 16:46:32 -07001840 */
1841 oneway sendImsSmsResponse(RadioResponseInfo info, SendSmsResult sms);
1842
Andreas Huber675ae492017-03-28 14:40:58 -07001843 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001844 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001845 * @param result IccIoResult as defined in types.hal
1846 *
1847 * Valid errors returned:
1848 * RadioError:NONE
1849 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001850 */
1851 oneway iccTransmitApduBasicChannelResponse(RadioResponseInfo info, IccIoResult result);
1852
Andreas Huber675ae492017-03-28 14:40:58 -07001853 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001854 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001855 * @param channelId session id of the logical channel.
1856 * @param selectResponse Contains the select response for the open channel command with one
1857 * byte per integer
1858 *
1859 * Valid errors returned:
1860 * RadioError:NONE
1861 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001862 * RadioError:MISSING_RESOURCE
1863 * RadioError:NO_SUCH_ELEMENT
1864 */
1865 oneway iccOpenLogicalChannelResponse(RadioResponseInfo info, int32_t channelId,
1866 vec<int8_t> selectResponse);
1867
Andreas Huber675ae492017-03-28 14:40:58 -07001868 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001869 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001870 *
1871 * Valid errors returned:
1872 * RadioError:NONE
1873 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001874 */
1875 oneway iccCloseLogicalChannelResponse(RadioResponseInfo info);
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 * @param result IccIoResult as defined in types.hal
1880 *
1881 * Valid errors returned:
1882 * RadioError:NONE
1883 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001884 */
1885 oneway iccTransmitApduLogicalChannelResponse(RadioResponseInfo info, IccIoResult result);
1886
Andreas Huber675ae492017-03-28 14:40:58 -07001887 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001888 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001889 * @param result string containing the contents of the NV item
1890 *
1891 * Valid errors returned:
1892 * RadioError:NONE
1893 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001894 */
1895 oneway nvReadItemResponse(RadioResponseInfo info, string result);
1896
Andreas Huber675ae492017-03-28 14:40:58 -07001897 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001898 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001899 *
1900 * Valid errors returned:
1901 * RadioError:NONE
1902 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001903 */
1904 oneway nvWriteItemResponse(RadioResponseInfo info);
1905
Andreas Huber675ae492017-03-28 14:40:58 -07001906 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001907 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001908 *
1909 * Valid errors returned:
1910 * RadioError:NONE
1911 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001912 */
1913 oneway nvWriteCdmaPrlResponse(RadioResponseInfo info);
1914
Andreas Huber675ae492017-03-28 14:40:58 -07001915 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001916 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001917 *
1918 * Valid errors returned:
1919 * RadioError:NONE
1920 * RadioError:RADIO_NOT_AVAILABLE
Sanket Padawed52335c2016-11-03 16:46:32 -07001921 */
1922 oneway nvResetConfigResponse(RadioResponseInfo info);
1923
Andreas Huber675ae492017-03-28 14:40:58 -07001924 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001925 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001926 *
1927 * Valid errors returned:
1928 * RadioError:NONE
1929 * RadioError:RADIO_NOT_AVAILABLE
1930 * RadioError:SUBSCRIPTION_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001931 * RadioError:NO_MEMORY
1932 * RadioError:INTERNAL_ERR
1933 * RadioError:SYSTEM_ERR
1934 * RadioError:MODEM_ERR
1935 * RadioError:INVALID_ARGUMENTS
1936 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001937 */
1938 oneway setUiccSubscriptionResponse(RadioResponseInfo info);
1939
Andreas Huber675ae492017-03-28 14:40:58 -07001940 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001941 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001942 *
1943 * Valid errors returned:
1944 * RadioError:NONE
1945 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001946 * RadioError:NO_MEMORY
1947 * RadioError:INTERNAL_ERR
1948 * RadioError:SYSTEM_ERR
1949 * RadioError:MODEM_ERR
1950 * RadioError:INVALID_ARGUMENTS
1951 * RadioError:DEVICE_IN_USE
1952 * RadioError:INVALID_MODEM_STATE
Sanket Padawed52335c2016-11-03 16:46:32 -07001953 */
1954 oneway setDataAllowedResponse(RadioResponseInfo info);
1955
Andreas Huber675ae492017-03-28 14:40:58 -07001956 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001957 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001958 * @param config Array of HardwareConfig of the radio.
1959 *
1960 * Valid errors returned:
1961 * RadioError:NONE
1962 * RadioError:RADIO_NOT_AVAILABLE
1963 */
1964 oneway getHardwareConfigResponse(RadioResponseInfo info, vec<HardwareConfig> config);
1965
Andreas Huber675ae492017-03-28 14:40:58 -07001966 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001967 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001968 * @param result IccIoResult as defined in types.hal
1969 *
1970 * Valid errors returned:
1971 * RadioError:NONE
1972 * RadioError:RADIO_NOT_AVAILABLE
1973 */
1974 oneway requestIccSimAuthenticationResponse(RadioResponseInfo info, IccIoResult result);
1975
Andreas Huber675ae492017-03-28 14:40:58 -07001976 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001977 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001978 *
1979 * Valid errors returned:
1980 * RadioError:NONE
1981 * RadioError:RADIO_NOT_AVAILABLE
1982 * RadioError:SUBSCRIPTION_NOT_AVAILABLE
1983 */
1984 oneway setDataProfileResponse(RadioResponseInfo info);
1985
Andreas Huber675ae492017-03-28 14:40:58 -07001986 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08001987 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07001988 *
1989 * Valid errors returned:
1990 * RadioError:NONE
1991 * RadioError:RADIO_NOT_AVAILABLE
1992 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07001993 * RadioError:NO_MEMORY
1994 * RadioError:INTERNAL_ERR
1995 * RadioError:SYSTEM_ERR
1996 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07001997 */
1998 oneway requestShutdownResponse(RadioResponseInfo info);
1999
Andreas Huber675ae492017-03-28 14:40:58 -07002000 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002001 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002002 * @param rc Radio capability as defined by RadioCapability in types.hal
2003 *
2004 * Valid errors returned:
2005 * RadioError:NONE
2006 * RadioError:RADIO_NOT_AVAILABLE
2007 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002008 * RadioError:INVALID_STATE
2009 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002010 */
2011 oneway getRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2012
Andreas Huber675ae492017-03-28 14:40:58 -07002013 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002014 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002015 * @param rc Radio capability as defined by RadioCapability in types.hal used to
2016 * feedback return status
2017 *
2018 * Valid errors returned:
2019 * RadioError:NONE means a unsol radioCapability() will be sent within 30 seconds.
2020 * RadioError:RADIO_NOT_AVAILABLE
2021 * RadioError:OPERATION_NOT_ALLOWED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002022 * RadioError:NO_MEMORY
2023 * RadioError:INTERNAL_ERR
2024 * RadioError:SYSTEM_ERR
2025 * RadioError:INVALID_ARGUMENTS
2026 * RadioError:MODEM_ERR
2027 * RadioError:INVALID_STATE
2028 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002029 */
2030 oneway setRadioCapabilityResponse(RadioResponseInfo info, RadioCapability rc);
2031
Andreas Huber675ae492017-03-28 14:40:58 -07002032 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002033 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002034 * @param statusInfo LceStatusInfo indicating LCE status
2035 *
2036 * Valid errors returned:
2037 * RadioError:NONE
2038 * RadioError:RADIO_NOT_AVAILABLE
2039 * RadioError:LCE_NOT_SUPPORTED
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002040 * RadioError:INTERNAL_ERR
2041 * RadioError:REQUEST_NOT_SUPPORTED
Sanket Padawed52335c2016-11-03 16:46:32 -07002042 */
2043 oneway startLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2044
Andreas Huber675ae492017-03-28 14:40:58 -07002045 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002046 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002047 * @param statusInfo LceStatusInfo indicating LCE status
2048 *
2049 * Valid errors returned:
2050 * RadioError:NONE
2051 * RadioError:RADIO_NOT_AVAILABLE
2052 * RadioError:LCE_NOT_SUPPORTED
2053 */
2054 oneway stopLceServiceResponse(RadioResponseInfo info, LceStatusInfo statusInfo);
2055
Andreas Huber675ae492017-03-28 14:40:58 -07002056 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002057 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002058 * @param lceInfo LceDataInfo indicating LCE data as defined in types.hal
2059 *
2060 * Valid errors returned:
2061 * RadioError:NONE
2062 * RadioError:RADIO_NOT_AVAILABLE
2063 * RadioError:LCE_NOT_SUPPORTED
sqian08e90552017-06-01 12:39:22 -07002064 * RadioError:INTERNAL_ERR
Sanket Padawed52335c2016-11-03 16:46:32 -07002065 */
2066 oneway pullLceDataResponse(RadioResponseInfo info, LceDataInfo lceInfo);
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 * @param activityInfo modem activity information
2071 *
2072 * Valid errors returned:
2073 * RadioError:NONE
2074 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002075 * RadioError:NO_MEMORY
2076 * RadioError:INTERNAL_ERR
2077 * RadioError:SYSTEM_ERR
2078 * RadioError:MODEM_ERR
2079 * RadioError:NOT_PROVISIONED
Sanket Padawed52335c2016-11-03 16:46:32 -07002080 */
2081 oneway getModemActivityInfoResponse(RadioResponseInfo info, ActivityStatsInfo activityInfo);
2082
Andreas Huber675ae492017-03-28 14:40:58 -07002083 /**
Sanket Padawe865834e2016-12-28 16:04:10 -08002084 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002085 * @param numAllowed number of allowed carriers which have been set correctly.
2086 * On success, it must match the length of list Carriers->allowedCarriers.
2087 * if Length of allowed carriers list is 0, numAllowed = 0.
2088 *
2089 * Valid errors returned:
2090 * RadioError:NONE
2091 * RadioError:RADIO_NOT_AVAILABLE
2092 * RadioError:INVALID_ARGUMENTS
2093 * RadioError:REQUEST_NOT_SUPPORTED
2094 */
2095 oneway setAllowedCarriersResponse(RadioResponseInfo info, int32_t numAllowed);
2096
Andreas Huber675ae492017-03-28 14:40:58 -07002097 /**
Sanket Padawed52335c2016-11-03 16:46:32 -07002098 * Expected modem behavior:
2099 * Return list of allowed carriers, and if all carriers are allowed.
2100 *
Sanket Padawe865834e2016-12-28 16:04:10 -08002101 * @param info Response info struct containing response type, serial no. and error
Sanket Padawed52335c2016-11-03 16:46:32 -07002102 * @param allAllowed true only when all carriers are allowed. Ignore "carriers" struct.
2103 * If false, consider "carriers" struct
2104 * @param carriers Carrier restriction information.
2105 *
2106 * Valid errors returned:
2107 * RadioError:NONE
2108 * RadioError:RADIO_NOT_AVAILABLE
2109 * RadioError:REQUEST_NOT_SUPPORTED
2110 */
2111 oneway getAllowedCarriersResponse(RadioResponseInfo info, bool allAllowed,
2112 CarrierRestrictions carriers);
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002113
Andreas Huber675ae492017-03-28 14:40:58 -07002114 /**
Jack Yued7ef812017-01-24 11:56:52 -08002115 * @param info Response info struct containing response type, serial no. and error
2116 *
2117 * Valid errors returned:
2118 * RadioError:NONE
2119 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002120 * RadioError:NO_MEMORY
2121 * RadioError:INTERNAL_ERR
2122 * RadioError:SYSTEM_ERR
2123 * RadioError:INVALID_ARGUMENTS
2124 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yued7ef812017-01-24 11:56:52 -08002125 */
2126 oneway sendDeviceStateResponse(RadioResponseInfo info);
2127
Andreas Huber675ae492017-03-28 14:40:58 -07002128 /**
Jack Yued7ef812017-01-24 11:56:52 -08002129 * @param info Response info struct containing response type, serial no. and error
2130 *
2131 * Valid errors returned:
2132 * RadioError:NONE
2133 * RadioError:INVALID_ARGUMENTS
2134 * RadioError:RADIO_NOT_AVAILABLE
Naina Nalluri9cc29c82017-05-05 11:00:05 -07002135 * RadioError:NO_MEMORY
2136 * RadioError:INTERNAL_ERR
2137 * RadioError:SYSTEM_ERR
2138 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yued7ef812017-01-24 11:56:52 -08002139 */
2140 oneway setIndicationFilterResponse(RadioResponseInfo info);
2141
Andreas Huber675ae492017-03-28 14:40:58 -07002142 /**
Jack Yua2118692017-02-15 15:31:34 -08002143 * @param info Response info struct containing response type, serial no. and error
2144 *
2145 * Valid errors returned:
2146 * RadioError:NONE
2147 * RadioError:RADIO_NOT_AVAILABLE
2148 * RadioError:REQUEST_NOT_SUPPORTED
Jack Yua2118692017-02-15 15:31:34 -08002149 * RadioError:INVALID_ARGUMENTS
2150 */
2151 oneway setSimCardPowerResponse(RadioResponseInfo info);
2152
Andreas Huber675ae492017-03-28 14:40:58 -07002153 /**
Jack Yued7ef812017-01-24 11:56:52 -08002154 * Acknowledge the receipt of radio request sent to the vendor. This must be sent only for
Sanket Padawe1a7eae72016-12-07 14:40:03 -08002155 * radio request which take long time to respond.
2156 * For more details, refer https://source.android.com/devices/tech/connect/ril.html
2157 *
2158 * @param serial Serial no. of the request whose acknowledgement is sent.
2159 */
Sanket Padawe865834e2016-12-28 16:04:10 -08002160 oneway acknowledgeRequest(int32_t serial);
Sanket Padawe76372492016-10-27 13:20:49 -07002161};