blob: 870b644e0bf8c56a186ae1dda6efb9c2c855d921 [file] [log] [blame]
Amit Mahajancd77a5b2016-08-25 11:19:21 -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
17#ifndef RIL_SERVICE_H
18#define RIL_SERVICE_H
19
20#include <telephony/ril.h>
21#include <ril_internal.h>
22
23namespace radio {
Amit Mahajancd77a5b2016-08-25 11:19:21 -070024void registerService(RIL_RadioFunctions *callbacks, android::CommandInfo *commands);
Amit Mahajan272792b2017-03-01 16:20:17 -080025
Amit Mahajan759786a2017-03-03 17:35:47 -080026int getIccCardStatusResponse(int slotId, int responseType,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080027 int token, RIL_Errno e, void *response, size_t responselen);
28
Amit Mahajan759786a2017-03-03 17:35:47 -080029int supplyIccPinForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080030 int responseType, int serial, RIL_Errno e, void *response,
31 size_t responselen);
32
Amit Mahajan759786a2017-03-03 17:35:47 -080033int supplyIccPukForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080034 int responseType, int serial, RIL_Errno e, void *response,
35 size_t responselen);
36
Amit Mahajan759786a2017-03-03 17:35:47 -080037int supplyIccPin2ForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080038 int responseType, int serial, RIL_Errno e, void *response,
39 size_t responselen);
40
Amit Mahajan759786a2017-03-03 17:35:47 -080041int supplyIccPuk2ForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080042 int responseType, int serial, RIL_Errno e, void *response,
43 size_t responselen);
44
Amit Mahajan759786a2017-03-03 17:35:47 -080045int changeIccPinForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080046 int responseType, int serial, RIL_Errno e, void *response,
47 size_t responselen);
48
Amit Mahajan759786a2017-03-03 17:35:47 -080049int changeIccPin2ForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080050 int responseType, int serial, RIL_Errno e, void *response,
51 size_t responselen);
52
Amit Mahajan759786a2017-03-03 17:35:47 -080053int supplyNetworkDepersonalizationResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080054 int responseType, int serial, RIL_Errno e,
55 void *response, size_t responselen);
56
Amit Mahajan759786a2017-03-03 17:35:47 -080057int getCurrentCallsResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080058 int responseType, int serial, RIL_Errno e, void *response,
59 size_t responselen);
60
Amit Mahajan759786a2017-03-03 17:35:47 -080061int dialResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080062 int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
63
Amit Mahajan759786a2017-03-03 17:35:47 -080064int getIMSIForAppResponse(int slotId, int responseType,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080065 int serial, RIL_Errno e, void *response, size_t responselen);
66
Amit Mahajan759786a2017-03-03 17:35:47 -080067int hangupConnectionResponse(int slotId, int responseType,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080068 int serial, RIL_Errno e, void *response, size_t responselen);
69
Amit Mahajan759786a2017-03-03 17:35:47 -080070int hangupWaitingOrBackgroundResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080071 int responseType, int serial, RIL_Errno e, void *response,
72 size_t responselen);
73
Amit Mahajan759786a2017-03-03 17:35:47 -080074int hangupForegroundResumeBackgroundResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080075 int responseType, int serial, RIL_Errno e,
76 void *response, size_t responselen);
77
Amit Mahajan759786a2017-03-03 17:35:47 -080078int switchWaitingOrHoldingAndActiveResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080079 int responseType, int serial, RIL_Errno e,
80 void *response, size_t responselen);
81
Amit Mahajan759786a2017-03-03 17:35:47 -080082int conferenceResponse(int slotId, int responseType,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080083 int serial, RIL_Errno e, void *response, size_t responselen);
84
Amit Mahajan759786a2017-03-03 17:35:47 -080085int rejectCallResponse(int slotId, int responseType,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080086 int serial, RIL_Errno e, void *response, size_t responselen);
87
Amit Mahajan759786a2017-03-03 17:35:47 -080088int getLastCallFailCauseResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080089 int responseType, int serial, RIL_Errno e, void *response,
90 size_t responselen);
91
Amit Mahajan759786a2017-03-03 17:35:47 -080092int getSignalStrengthResponse(int slotId,
Amit Mahajan3df62912017-02-10 01:35:55 +000093 int responseType, int serial, RIL_Errno e,
94 void *response, size_t responseLen);
95
Amit Mahajan759786a2017-03-03 17:35:47 -080096int getVoiceRegistrationStateResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -080097 int responseType, int serial, RIL_Errno e, void *response,
98 size_t responselen);
99
Amit Mahajan759786a2017-03-03 17:35:47 -0800100int getDataRegistrationStateResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800101 int responseType, int serial, RIL_Errno e, void *response,
102 size_t responselen);
103
Amit Mahajan759786a2017-03-03 17:35:47 -0800104int getOperatorResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800105 int responseType, int serial, RIL_Errno e, void *response,
106 size_t responselen);
107
Amit Mahajan759786a2017-03-03 17:35:47 -0800108int setRadioPowerResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800109 int responseType, int serial, RIL_Errno e, void *response,
110 size_t responselen);
111
Amit Mahajan759786a2017-03-03 17:35:47 -0800112int sendDtmfResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800113 int responseType, int serial, RIL_Errno e, void *response,
114 size_t responselen);
115
Amit Mahajan759786a2017-03-03 17:35:47 -0800116int sendSmsResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800117 int responseType, int serial, RIL_Errno e, void *response,
118 size_t responselen);
119
Amit Mahajan759786a2017-03-03 17:35:47 -0800120int sendSMSExpectMoreResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800121 int responseType, int serial, RIL_Errno e, void *response,
122 size_t responselen);
123
Amit Mahajan759786a2017-03-03 17:35:47 -0800124int setupDataCallResponse(int slotId,
Amit Mahajan3df62912017-02-10 01:35:55 +0000125 int responseType, int serial, RIL_Errno e, void *response,
126 size_t responseLen);
127
Amit Mahajan759786a2017-03-03 17:35:47 -0800128int iccIOForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800129 int responseType, int serial, RIL_Errno e, void *response,
130 size_t responselen);
131
Amit Mahajan759786a2017-03-03 17:35:47 -0800132int sendUssdResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800133 int responseType, int serial, RIL_Errno e, void *response,
134 size_t responselen);
135
Amit Mahajan759786a2017-03-03 17:35:47 -0800136int cancelPendingUssdResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800137 int responseType, int serial, RIL_Errno e, void *response,
138 size_t responselen);
139
Amit Mahajan759786a2017-03-03 17:35:47 -0800140int getClirResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800141 int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
142
Amit Mahajan759786a2017-03-03 17:35:47 -0800143int setClirResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800144 int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
145
Amit Mahajan759786a2017-03-03 17:35:47 -0800146int getCallForwardStatusResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800147 int responseType, int serial, RIL_Errno e, void *response,
148 size_t responselen);
149
Amit Mahajan759786a2017-03-03 17:35:47 -0800150int setCallForwardResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800151 int responseType, int serial, RIL_Errno e, void *response,
152 size_t responselen);
153
Amit Mahajan759786a2017-03-03 17:35:47 -0800154int getCallWaitingResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800155 int responseType, int serial, RIL_Errno e, void *response,
156 size_t responselen);
157
Amit Mahajan759786a2017-03-03 17:35:47 -0800158int setCallWaitingResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800159 int responseType, int serial, RIL_Errno e, void *response,
160 size_t responselen);
161
Amit Mahajan759786a2017-03-03 17:35:47 -0800162int acknowledgeLastIncomingGsmSmsResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800163 int responseType, int serial, RIL_Errno e, void *response,
164 size_t responselen);
165
Amit Mahajan759786a2017-03-03 17:35:47 -0800166int acceptCallResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800167 int responseType, int serial, RIL_Errno e, void *response,
168 size_t responselen);
169
Amit Mahajan759786a2017-03-03 17:35:47 -0800170int deactivateDataCallResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800171 int responseType, int serial, RIL_Errno e, void *response,
172 size_t responselen);
173
Amit Mahajan759786a2017-03-03 17:35:47 -0800174int getFacilityLockForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800175 int responseType, int serial, RIL_Errno e, void *response,
176 size_t responselen);
177
Amit Mahajan759786a2017-03-03 17:35:47 -0800178int setFacilityLockForAppResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800179 int responseType, int serial, RIL_Errno e, void *response,
180 size_t responselen);
181
Amit Mahajan759786a2017-03-03 17:35:47 -0800182int setBarringPasswordResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800183 int responseType, int serial, RIL_Errno e, void *response,
184 size_t responselen);
185
Amit Mahajan759786a2017-03-03 17:35:47 -0800186int getNetworkSelectionModeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800187 int responseType, int serial, RIL_Errno e, void *response,
188 size_t responselen);
189
Amit Mahajan759786a2017-03-03 17:35:47 -0800190int setNetworkSelectionModeAutomaticResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800191 int responseType, int serial, RIL_Errno e,
192 void *response, size_t responselen);
193
Amit Mahajan759786a2017-03-03 17:35:47 -0800194int setNetworkSelectionModeManualResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800195 int responseType, int serial, RIL_Errno e, void *response,
196 size_t responselen);
197
Amit Mahajan759786a2017-03-03 17:35:47 -0800198int getAvailableNetworksResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800199 int responseType, int serial, RIL_Errno e, void *response,
200 size_t responselen);
201
yinxu3abe7c72017-05-03 15:15:19 -0700202int startNetworkScanResponse(int slotId,
203 int responseType, int serial, RIL_Errno e, void *response,
204 size_t responselen);
205
206int stopNetworkScanResponse(int slotId,
207 int responseType, int serial, RIL_Errno e, void *response,
208 size_t responselen);
209
Amit Mahajan759786a2017-03-03 17:35:47 -0800210int startDtmfResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800211 int responseType, int serial, RIL_Errno e, void *response,
212 size_t responselen);
213
Amit Mahajan759786a2017-03-03 17:35:47 -0800214int stopDtmfResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800215 int responseType, int serial, RIL_Errno e, void *response,
216 size_t responselen);
217
Amit Mahajan759786a2017-03-03 17:35:47 -0800218int getBasebandVersionResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800219 int responseType, int serial, RIL_Errno e, void *response,
220 size_t responselen);
221
Amit Mahajan759786a2017-03-03 17:35:47 -0800222int separateConnectionResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800223 int responseType, int serial, RIL_Errno e, void *response,
224 size_t responselen);
225
Amit Mahajan759786a2017-03-03 17:35:47 -0800226int setMuteResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800227 int responseType, int serial, RIL_Errno e, void *response,
228 size_t responselen);
229
Amit Mahajan759786a2017-03-03 17:35:47 -0800230int getMuteResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800231 int responseType, int serial, RIL_Errno e, void *response,
232 size_t responselen);
233
Amit Mahajan759786a2017-03-03 17:35:47 -0800234int getClipResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800235 int responseType, int serial, RIL_Errno e, void *response,
236 size_t responselen);
237
Amit Mahajan759786a2017-03-03 17:35:47 -0800238int getDataCallListResponse(int slotId,
Amit Mahajan3df62912017-02-10 01:35:55 +0000239 int responseType, int serial, RIL_Errno e,
240 void *response, size_t responseLen);
241
Amit Mahajan759786a2017-03-03 17:35:47 -0800242int setSuppServiceNotificationsResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800243 int responseType, int serial, RIL_Errno e, void *response,
244 size_t responselen);
245
Amit Mahajan759786a2017-03-03 17:35:47 -0800246int writeSmsToSimResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800247 int responseType, int serial, RIL_Errno e, void *response,
248 size_t responselen);
249
Amit Mahajan759786a2017-03-03 17:35:47 -0800250int deleteSmsOnSimResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800251 int responseType, int serial, RIL_Errno e, void *response,
252 size_t responselen);
253
Amit Mahajan759786a2017-03-03 17:35:47 -0800254int setBandModeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800255 int responseType, int serial, RIL_Errno e, void *response,
256 size_t responselen);
257
Amit Mahajan759786a2017-03-03 17:35:47 -0800258int getAvailableBandModesResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800259 int responseType, int serial, RIL_Errno e, void *response,
260 size_t responselen);
261
Amit Mahajan759786a2017-03-03 17:35:47 -0800262int sendEnvelopeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800263 int responseType, int serial, RIL_Errno e, void *response,
264 size_t responselen);
265
Amit Mahajan759786a2017-03-03 17:35:47 -0800266int sendTerminalResponseToSimResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800267 int responseType, int serial, RIL_Errno e, void *response,
268 size_t responselen);
269
Amit Mahajan759786a2017-03-03 17:35:47 -0800270int handleStkCallSetupRequestFromSimResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800271 int responseType, int serial, RIL_Errno e,
272 void *response, size_t responselen);
273
Amit Mahajan759786a2017-03-03 17:35:47 -0800274int explicitCallTransferResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800275 int responseType, int serial, RIL_Errno e, void *response,
276 size_t responselen);
277
Amit Mahajan759786a2017-03-03 17:35:47 -0800278int setPreferredNetworkTypeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800279 int responseType, int serial, RIL_Errno e, void *response,
280 size_t responselen);
281
Amit Mahajan759786a2017-03-03 17:35:47 -0800282int getPreferredNetworkTypeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800283 int responseType, int serial, RIL_Errno e, void *response,
284 size_t responselen);
285
Amit Mahajan759786a2017-03-03 17:35:47 -0800286int getNeighboringCidsResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800287 int responseType, int serial, RIL_Errno e, void *response,
288 size_t responselen);
289
Amit Mahajan759786a2017-03-03 17:35:47 -0800290int setLocationUpdatesResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800291 int responseType, int serial, RIL_Errno e, void *response,
292 size_t responselen);
293
Amit Mahajan759786a2017-03-03 17:35:47 -0800294int setCdmaSubscriptionSourceResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800295 int responseType, int serial, RIL_Errno e, void *response,
296 size_t responselen);
297
Amit Mahajan759786a2017-03-03 17:35:47 -0800298int setCdmaRoamingPreferenceResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800299 int responseType, int serial, RIL_Errno e, void *response,
300 size_t responselen);
301
Amit Mahajan759786a2017-03-03 17:35:47 -0800302int getCdmaRoamingPreferenceResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800303 int responseType, int serial, RIL_Errno e, void *response,
304 size_t responselen);
305
Amit Mahajan759786a2017-03-03 17:35:47 -0800306int setTTYModeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800307 int responseType, int serial, RIL_Errno e, void *response,
308 size_t responselen);
309
Amit Mahajan759786a2017-03-03 17:35:47 -0800310int getTTYModeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800311 int responseType, int serial, RIL_Errno e, void *response,
312 size_t responselen);
313
Amit Mahajan759786a2017-03-03 17:35:47 -0800314int setPreferredVoicePrivacyResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800315 int responseType, int serial, RIL_Errno e, void *response,
316 size_t responselen);
317
Amit Mahajan759786a2017-03-03 17:35:47 -0800318int getPreferredVoicePrivacyResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800319 int responseType, int serial, RIL_Errno e, void *response,
320 size_t responselen);
321
Amit Mahajan759786a2017-03-03 17:35:47 -0800322int sendCDMAFeatureCodeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800323 int responseType, int serial, RIL_Errno e,
324 void *response, size_t responselen);
325
Amit Mahajan759786a2017-03-03 17:35:47 -0800326int sendBurstDtmfResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800327 int responseType, int serial, RIL_Errno e, void *response,
328 size_t responselen);
329
Amit Mahajan759786a2017-03-03 17:35:47 -0800330int sendCdmaSmsResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800331 int responseType, int serial, RIL_Errno e, void *response,
332 size_t responselen);
333
Amit Mahajan759786a2017-03-03 17:35:47 -0800334int acknowledgeLastIncomingCdmaSmsResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800335 int responseType, int serial, RIL_Errno e, void *response,
336 size_t responselen);
337
Amit Mahajan759786a2017-03-03 17:35:47 -0800338int getGsmBroadcastConfigResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800339 int responseType, int serial, RIL_Errno e, void *response,
340 size_t responselen);
341
Amit Mahajan759786a2017-03-03 17:35:47 -0800342int setGsmBroadcastConfigResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800343 int responseType, int serial, RIL_Errno e, void *response,
344 size_t responselen);
345
Amit Mahajan759786a2017-03-03 17:35:47 -0800346int setGsmBroadcastActivationResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800347 int responseType, int serial, RIL_Errno e, void *response,
348 size_t responselen);
349
Amit Mahajan759786a2017-03-03 17:35:47 -0800350int getCdmaBroadcastConfigResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800351 int responseType, int serial, RIL_Errno e, void *response,
352 size_t responselen);
353
Amit Mahajan759786a2017-03-03 17:35:47 -0800354int setCdmaBroadcastConfigResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800355 int responseType, int serial, RIL_Errno e, void *response,
356 size_t responselen);
357
Amit Mahajan759786a2017-03-03 17:35:47 -0800358int setCdmaBroadcastActivationResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800359 int responseType, int serial, RIL_Errno e,
360 void *response, size_t responselen);
361
Amit Mahajan759786a2017-03-03 17:35:47 -0800362int getCDMASubscriptionResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800363 int responseType, int serial, RIL_Errno e, void *response,
364 size_t responselen);
365
Amit Mahajan759786a2017-03-03 17:35:47 -0800366int writeSmsToRuimResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800367 int responseType, int serial, RIL_Errno e, void *response,
368 size_t responselen);
369
Amit Mahajan759786a2017-03-03 17:35:47 -0800370int deleteSmsOnRuimResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800371 int responseType, int serial, RIL_Errno e, void *response,
372 size_t responselen);
373
Amit Mahajan759786a2017-03-03 17:35:47 -0800374int getDeviceIdentityResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800375 int responseType, int serial, RIL_Errno e, void *response,
376 size_t responselen);
377
Amit Mahajan759786a2017-03-03 17:35:47 -0800378int exitEmergencyCallbackModeResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800379 int responseType, int serial, RIL_Errno e, void *response,
380 size_t responselen);
381
Amit Mahajan759786a2017-03-03 17:35:47 -0800382int getSmscAddressResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800383 int responseType, int serial, RIL_Errno e, void *response,
384 size_t responselen);
385
Amit Mahajan759786a2017-03-03 17:35:47 -0800386int setCdmaBroadcastActivationResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800387 int responseType, int serial, RIL_Errno e,
388 void *response, size_t responselen);
389
Amit Mahajan759786a2017-03-03 17:35:47 -0800390int setSmscAddressResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800391 int responseType, int serial, RIL_Errno e,
392 void *response, size_t responselen);
393
Amit Mahajan759786a2017-03-03 17:35:47 -0800394int reportSmsMemoryStatusResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800395 int responseType, int serial, RIL_Errno e,
396 void *response, size_t responselen);
397
Amit Mahajan759786a2017-03-03 17:35:47 -0800398int reportStkServiceIsRunningResponse(int slotId,
Amit Mahajan5007ffa2017-01-31 17:14:42 -0800399 int responseType, int serial, RIL_Errno e,
400 void *response, size_t responseLen);
401
Amit Mahajan759786a2017-03-03 17:35:47 -0800402int getCdmaSubscriptionSourceResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800403 int responseType, int serial, RIL_Errno e, void *response,
404 size_t responselen);
405
Amit Mahajan759786a2017-03-03 17:35:47 -0800406int requestIsimAuthenticationResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800407 int responseType, int serial, RIL_Errno e, void *response,
408 size_t responselen);
409
Amit Mahajan759786a2017-03-03 17:35:47 -0800410int acknowledgeIncomingGsmSmsWithPduResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800411 int responseType, int serial, RIL_Errno e,
412 void *response, size_t responselen);
413
Amit Mahajan759786a2017-03-03 17:35:47 -0800414int sendEnvelopeWithStatusResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800415 int responseType, int serial, RIL_Errno e, void *response,
416 size_t responselen);
417
Amit Mahajan759786a2017-03-03 17:35:47 -0800418int getVoiceRadioTechnologyResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800419 int responseType, int serial, RIL_Errno e,
420 void *response, size_t responselen);
421
Amit Mahajan759786a2017-03-03 17:35:47 -0800422int getCellInfoListResponse(int slotId,
423 int responseType,
Amit Mahajan3df62912017-02-10 01:35:55 +0000424 int serial, RIL_Errno e, void *response,
425 size_t responseLen);
426
Amit Mahajan759786a2017-03-03 17:35:47 -0800427int setCellInfoListRateResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800428 int responseType, int serial, RIL_Errno e,
429 void *response, size_t responselen);
430
Amit Mahajan759786a2017-03-03 17:35:47 -0800431int setInitialAttachApnResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800432 int responseType, int serial, RIL_Errno e,
433 void *response, size_t responselen);
434
Amit Mahajan759786a2017-03-03 17:35:47 -0800435int getImsRegistrationStateResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800436 int responseType, int serial, RIL_Errno e,
437 void *response, size_t responselen);
438
Amit Mahajan759786a2017-03-03 17:35:47 -0800439int sendImsSmsResponse(int slotId, int responseType,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800440 int serial, RIL_Errno e, void *response, size_t responselen);
441
Amit Mahajan759786a2017-03-03 17:35:47 -0800442int iccTransmitApduBasicChannelResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800443 int responseType, int serial, RIL_Errno e,
444 void *response, size_t responselen);
445
Amit Mahajan759786a2017-03-03 17:35:47 -0800446int iccOpenLogicalChannelResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800447 int responseType, int serial, RIL_Errno e, void *response,
448 size_t responselen);
449
450
Amit Mahajan759786a2017-03-03 17:35:47 -0800451int iccCloseLogicalChannelResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800452 int responseType, int serial, RIL_Errno e,
453 void *response, size_t responselen);
454
Amit Mahajan759786a2017-03-03 17:35:47 -0800455int iccTransmitApduLogicalChannelResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800456 int responseType, int serial, RIL_Errno e,
457 void *response, size_t responselen);
458
Amit Mahajan759786a2017-03-03 17:35:47 -0800459int nvReadItemResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800460 int responseType, int serial, RIL_Errno e,
461 void *response, size_t responselen);
462
463
Amit Mahajan759786a2017-03-03 17:35:47 -0800464int nvWriteItemResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800465 int responseType, int serial, RIL_Errno e,
466 void *response, size_t responselen);
467
Amit Mahajan759786a2017-03-03 17:35:47 -0800468int nvWriteCdmaPrlResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800469 int responseType, int serial, RIL_Errno e,
470 void *response, size_t responselen);
471
Amit Mahajan759786a2017-03-03 17:35:47 -0800472int nvResetConfigResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800473 int responseType, int serial, RIL_Errno e,
474 void *response, size_t responselen);
475
Amit Mahajan759786a2017-03-03 17:35:47 -0800476int setUiccSubscriptionResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800477 int responseType, int serial, RIL_Errno e,
478 void *response, size_t responselen);
479
Amit Mahajan759786a2017-03-03 17:35:47 -0800480int setDataAllowedResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800481 int responseType, int serial, RIL_Errno e,
482 void *response, size_t responselen);
483
Amit Mahajan759786a2017-03-03 17:35:47 -0800484int getHardwareConfigResponse(int slotId,
Amit Mahajan3df62912017-02-10 01:35:55 +0000485 int responseType, int serial, RIL_Errno e,
486 void *response, size_t responseLen);
487
Amit Mahajan759786a2017-03-03 17:35:47 -0800488int requestIccSimAuthenticationResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800489 int responseType, int serial, RIL_Errno e,
490 void *response, size_t responselen);
491
Amit Mahajan759786a2017-03-03 17:35:47 -0800492int setDataProfileResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800493 int responseType, int serial, RIL_Errno e,
494 void *response, size_t responselen);
495
Amit Mahajan759786a2017-03-03 17:35:47 -0800496int requestShutdownResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800497 int responseType, int serial, RIL_Errno e,
498 void *response, size_t responselen);
499
Amit Mahajan759786a2017-03-03 17:35:47 -0800500int getRadioCapabilityResponse(int slotId,
Amit Mahajan3df62912017-02-10 01:35:55 +0000501 int responseType, int serial, RIL_Errno e,
502 void *response, size_t responseLen);
503
Amit Mahajan759786a2017-03-03 17:35:47 -0800504int setRadioCapabilityResponse(int slotId,
Amit Mahajan3df62912017-02-10 01:35:55 +0000505 int responseType, int serial, RIL_Errno e,
506 void *response, size_t responseLen);
507
Amit Mahajan759786a2017-03-03 17:35:47 -0800508int startLceServiceResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800509 int responseType, int serial, RIL_Errno e,
510 void *response, size_t responselen);
511
Amit Mahajan759786a2017-03-03 17:35:47 -0800512int stopLceServiceResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800513 int responseType, int serial, RIL_Errno e,
514 void *response, size_t responselen);
515
Amit Mahajan759786a2017-03-03 17:35:47 -0800516int pullLceDataResponse(int slotId,
Amit Mahajan3df62912017-02-10 01:35:55 +0000517 int responseType, int serial, RIL_Errno e,
518 void *response, size_t responseLen);
519
Amit Mahajan759786a2017-03-03 17:35:47 -0800520int getModemActivityInfoResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800521 int responseType, int serial, RIL_Errno e,
522 void *response, size_t responselen);
523
Amit Mahajan759786a2017-03-03 17:35:47 -0800524int setAllowedCarriersResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800525 int responseType, int serial, RIL_Errno e,
526 void *response, size_t responselen);
527
Amit Mahajan759786a2017-03-03 17:35:47 -0800528int getAllowedCarriersResponse(int slotId,
Sanket Padawe378ccdd2017-01-24 14:11:12 -0800529 int responseType, int serial, RIL_Errno e,
530 void *response, size_t responselen);
531
Amit Mahajan759786a2017-03-03 17:35:47 -0800532int sendDeviceStateResponse(int slotId,
Jack Yu11ab4042017-02-21 17:08:01 -0800533 int responseType, int serial, RIL_Errno e,
534 void *response, size_t responselen);
535
Amit Mahajan759786a2017-03-03 17:35:47 -0800536int setIndicationFilterResponse(int slotId,
Jack Yu11ab4042017-02-21 17:08:01 -0800537 int responseType, int serial, RIL_Errno e,
538 void *response, size_t responselen);
539
Amit Mahajan759786a2017-03-03 17:35:47 -0800540int setSimCardPowerResponse(int slotId,
Wileen Chiu718c0bf2017-01-04 11:37:19 -0800541 int responseType, int serial, RIL_Errno e,
542 void *response, size_t responselen);
543
Nathan Harold6a8809d2017-07-07 19:28:58 -0700544int startKeepaliveResponse(int slotId,
545 int responseType, int serial, RIL_Errno e,
546 void *response, size_t responselen);
547
548int stopKeepaliveResponse(int slotId,
549 int responseType, int serial, RIL_Errno e,
550 void *response, size_t responselen);
551
Sanket Padawef220dc52017-01-02 23:46:00 -0800552void acknowledgeRequest(int slotId, int serial);
Amit Mahajan3df62912017-02-10 01:35:55 +0000553
Amit Mahajan759786a2017-03-03 17:35:47 -0800554int radioStateChangedInd(int slotId,
Amit Mahajan1f652692017-03-01 12:08:46 -0800555 int indicationType, int token, RIL_Errno e, void *response,
556 size_t responseLen);
Amit Mahajan5829a472016-12-28 17:28:07 -0800557
Amit Mahajan759786a2017-03-03 17:35:47 -0800558int callStateChangedInd(int slotId, int indType, int token,
Amit Mahajan5829a472016-12-28 17:28:07 -0800559 RIL_Errno e, void *response, size_t responselen);
560
Amit Mahajan759786a2017-03-03 17:35:47 -0800561int networkStateChangedInd(int slotId, int indType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800562 int token, RIL_Errno e, void *response, size_t responselen);
563
Amit Mahajan759786a2017-03-03 17:35:47 -0800564int newSmsInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800565 int token, RIL_Errno e, void *response, size_t responselen);
566
Amit Mahajan759786a2017-03-03 17:35:47 -0800567int newSmsStatusReportInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800568 int token, RIL_Errno e, void *response, size_t responselen);
569
Amit Mahajan759786a2017-03-03 17:35:47 -0800570int newSmsOnSimInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800571 int token, RIL_Errno e, void *response, size_t responselen);
572
Amit Mahajan759786a2017-03-03 17:35:47 -0800573int onUssdInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800574 int token, RIL_Errno e, void *response, size_t responselen);
575
Amit Mahajan759786a2017-03-03 17:35:47 -0800576int nitzTimeReceivedInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800577 int token, RIL_Errno e, void *response, size_t responselen);
578
Amit Mahajan759786a2017-03-03 17:35:47 -0800579int currentSignalStrengthInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800580 int indicationType, int token, RIL_Errno e,
581 void *response, size_t responselen);
582
Amit Mahajan759786a2017-03-03 17:35:47 -0800583int dataCallListChangedInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800584 int token, RIL_Errno e, void *response, size_t responselen);
585
Amit Mahajan759786a2017-03-03 17:35:47 -0800586int suppSvcNotifyInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800587 int token, RIL_Errno e, void *response, size_t responselen);
588
Amit Mahajan759786a2017-03-03 17:35:47 -0800589int stkSessionEndInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800590 int token, RIL_Errno e, void *response, size_t responselen);
591
Amit Mahajan759786a2017-03-03 17:35:47 -0800592int stkProactiveCommandInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800593 int token, RIL_Errno e, void *response, size_t responselen);
594
Amit Mahajan759786a2017-03-03 17:35:47 -0800595int stkEventNotifyInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800596 int token, RIL_Errno e, void *response, size_t responselen);
597
Amit Mahajan759786a2017-03-03 17:35:47 -0800598int stkCallSetupInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800599 int token, RIL_Errno e, void *response, size_t responselen);
600
Amit Mahajan759786a2017-03-03 17:35:47 -0800601int simSmsStorageFullInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800602 int token, RIL_Errno e, void *response, size_t responselen);
603
Amit Mahajan759786a2017-03-03 17:35:47 -0800604int simRefreshInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800605 int token, RIL_Errno e, void *response, size_t responselen);
606
Amit Mahajan759786a2017-03-03 17:35:47 -0800607int callRingInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800608 int token, RIL_Errno e, void *response, size_t responselen);
609
Amit Mahajan759786a2017-03-03 17:35:47 -0800610int simStatusChangedInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800611 int token, RIL_Errno e, void *response, size_t responselen);
612
Amit Mahajan759786a2017-03-03 17:35:47 -0800613int cdmaNewSmsInd(int slotId, int indicationType,
Amit Mahajan5829a472016-12-28 17:28:07 -0800614 int token, RIL_Errno e, void *response, size_t responselen);
615
Amit Mahajan759786a2017-03-03 17:35:47 -0800616int newBroadcastSmsInd(int slotId,
Amit Mahajan1955c742016-12-29 07:07:54 -0800617 int indicationType, int token, RIL_Errno e, void *response,
618 size_t responselen);
619
Amit Mahajan759786a2017-03-03 17:35:47 -0800620int cdmaRuimSmsStorageFullInd(int slotId,
Amit Mahajan1955c742016-12-29 07:07:54 -0800621 int indicationType, int token, RIL_Errno e, void *response,
622 size_t responselen);
623
Amit Mahajan759786a2017-03-03 17:35:47 -0800624int restrictedStateChangedInd(int slotId,
Amit Mahajan1955c742016-12-29 07:07:54 -0800625 int indicationType, int token, RIL_Errno e, void *response,
626 size_t responselen);
627
Amit Mahajan759786a2017-03-03 17:35:47 -0800628int enterEmergencyCallbackModeInd(int slotId,
Amit Mahajan1955c742016-12-29 07:07:54 -0800629 int indicationType, int token, RIL_Errno e, void *response,
630 size_t responselen);
631
Amit Mahajan759786a2017-03-03 17:35:47 -0800632int cdmaCallWaitingInd(int slotId,
Amit Mahajan1955c742016-12-29 07:07:54 -0800633 int indicationType, int token, RIL_Errno e, void *response,
634 size_t responselen);
635
Amit Mahajan759786a2017-03-03 17:35:47 -0800636int cdmaOtaProvisionStatusInd(int slotId,
Amit Mahajan1955c742016-12-29 07:07:54 -0800637 int indicationType, int token, RIL_Errno e, void *response,
638 size_t responselen);
639
Amit Mahajan759786a2017-03-03 17:35:47 -0800640int cdmaInfoRecInd(int slotId,
Amit Mahajan1955c742016-12-29 07:07:54 -0800641 int indicationType, int token, RIL_Errno e, void *response,
642 size_t responselen);
643
Amit Mahajan759786a2017-03-03 17:35:47 -0800644int oemHookRawInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800645 int indicationType, int token, RIL_Errno e, void *response,
646 size_t responselen);
647
Amit Mahajan759786a2017-03-03 17:35:47 -0800648int indicateRingbackToneInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800649 int indicationType, int token, RIL_Errno e, void *response,
650 size_t responselen);
651
Amit Mahajan759786a2017-03-03 17:35:47 -0800652int resendIncallMuteInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800653 int indicationType, int token, RIL_Errno e, void *response,
654 size_t responselen);
655
Amit Mahajan759786a2017-03-03 17:35:47 -0800656int cdmaSubscriptionSourceChangedInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800657 int indicationType, int token, RIL_Errno e,
658 void *response, size_t responselen);
659
Amit Mahajan759786a2017-03-03 17:35:47 -0800660int cdmaPrlChangedInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800661 int indicationType, int token, RIL_Errno e, void *response,
662 size_t responselen);
663
Amit Mahajan759786a2017-03-03 17:35:47 -0800664int exitEmergencyCallbackModeInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800665 int indicationType, int token, RIL_Errno e, void *response,
666 size_t responselen);
667
Amit Mahajan759786a2017-03-03 17:35:47 -0800668int rilConnectedInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800669 int indicationType, int token, RIL_Errno e, void *response,
670 size_t responselen);
671
Amit Mahajan759786a2017-03-03 17:35:47 -0800672int voiceRadioTechChangedInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800673 int indicationType, int token, RIL_Errno e, void *response,
674 size_t responselen);
675
Amit Mahajan759786a2017-03-03 17:35:47 -0800676int cellInfoListInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800677 int indicationType, int token, RIL_Errno e, void *response,
678 size_t responselen);
679
Amit Mahajan759786a2017-03-03 17:35:47 -0800680int imsNetworkStateChangedInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800681 int indicationType, int token, RIL_Errno e, void *response,
682 size_t responselen);
683
Amit Mahajan759786a2017-03-03 17:35:47 -0800684int subscriptionStatusChangedInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800685 int indicationType, int token, RIL_Errno e, void *response,
686 size_t responselen);
687
Amit Mahajan759786a2017-03-03 17:35:47 -0800688int srvccStateNotifyInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800689 int indicationType, int token, RIL_Errno e, void *response,
690 size_t responselen);
691
Amit Mahajan759786a2017-03-03 17:35:47 -0800692int hardwareConfigChangedInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800693 int indicationType, int token, RIL_Errno e, void *response,
694 size_t responselen);
695
Amit Mahajan759786a2017-03-03 17:35:47 -0800696int radioCapabilityIndicationInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800697 int indicationType, int token, RIL_Errno e, void *response,
698 size_t responselen);
699
Amit Mahajan759786a2017-03-03 17:35:47 -0800700int onSupplementaryServiceIndicationInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800701 int indicationType, int token, RIL_Errno e,
702 void *response, size_t responselen);
703
Amit Mahajan759786a2017-03-03 17:35:47 -0800704int stkCallControlAlphaNotifyInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800705 int indicationType, int token, RIL_Errno e, void *response,
706 size_t responselen);
707
Amit Mahajan759786a2017-03-03 17:35:47 -0800708int lceDataInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800709 int indicationType, int token, RIL_Errno e, void *response,
710 size_t responselen);
711
Amit Mahajan759786a2017-03-03 17:35:47 -0800712int pcoDataInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800713 int indicationType, int token, RIL_Errno e, void *response,
714 size_t responselen);
715
Amit Mahajan759786a2017-03-03 17:35:47 -0800716int modemResetInd(int slotId,
Amit Mahajan2fa9e632017-01-06 16:55:33 -0800717 int indicationType, int token, RIL_Errno e, void *response,
718 size_t responselen);
719
yinxu3abe7c72017-05-03 15:15:19 -0700720int networkScanResultInd(int slotId,
721 int indicationType, int token, RIL_Errno e, void *response,
722 size_t responselen);
723
Nathan Harold6a8809d2017-07-07 19:28:58 -0700724int keepaliveStatusInd(int slotId,
725 int indicationType, int token, RIL_Errno e, void *response,
726 size_t responselen);
727
Amit Mahajan759786a2017-03-03 17:35:47 -0800728int sendRequestRawResponse(int slotId,
Amit Mahajan439da362017-02-13 17:43:04 -0800729 int responseType, int serial, RIL_Errno e,
730 void *response, size_t responseLen);
731
Amit Mahajan759786a2017-03-03 17:35:47 -0800732int sendRequestStringsResponse(int slotId,
Amit Mahajan439da362017-02-13 17:43:04 -0800733 int responseType, int serial, RIL_Errno e,
734 void *response, size_t responseLen);
735
pkanwardb8e0942017-03-17 12:49:34 -0700736int setCarrierInfoForImsiEncryptionResponse(int slotId,
737 int responseType, int serial, RIL_Errno e,
738 void *response, size_t responseLen);
739
740int carrierInfoForImsiEncryption(int slotId,
741 int responseType, int serial, RIL_Errno e,
742 void *response, size_t responseLen);
743
Amit Mahajan932e08e2017-01-24 05:45:02 -0800744pthread_rwlock_t * getRadioServiceRwlock(int slotId);
745
Amit Mahajane9a10e62018-02-23 17:12:15 -0800746void setNitzTimeReceived(int slotId, long timeReceived);
747
Sanket Padawef220dc52017-01-02 23:46:00 -0800748} // namespace radio
Amit Mahajancd77a5b2016-08-25 11:19:21 -0700749
pkanwardb8e0942017-03-17 12:49:34 -0700750#endif // RIL_SERVICE_H