1/*
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 {
24void registerService(RIL_RadioFunctions *callbacks, android::CommandInfo *commands);
25
26int getIccCardStatusResponse(int slotId, int responseType,
27                            int token, RIL_Errno e, void *response, size_t responselen);
28
29int supplyIccPinForAppResponse(int slotId,
30                              int responseType, int serial, RIL_Errno e, void *response,
31                              size_t responselen);
32
33int supplyIccPukForAppResponse(int slotId,
34                              int responseType, int serial, RIL_Errno e, void *response,
35                              size_t responselen);
36
37int supplyIccPin2ForAppResponse(int slotId,
38                               int responseType, int serial, RIL_Errno e, void *response,
39                               size_t responselen);
40
41int supplyIccPuk2ForAppResponse(int slotId,
42                               int responseType, int serial, RIL_Errno e, void *response,
43                               size_t responselen);
44
45int changeIccPinForAppResponse(int slotId,
46                              int responseType, int serial, RIL_Errno e, void *response,
47                              size_t responselen);
48
49int changeIccPin2ForAppResponse(int slotId,
50                               int responseType, int serial, RIL_Errno e, void *response,
51                               size_t responselen);
52
53int supplyNetworkDepersonalizationResponse(int slotId,
54                                          int responseType, int serial, RIL_Errno e,
55                                          void *response, size_t responselen);
56
57int getCurrentCallsResponse(int slotId,
58                           int responseType, int serial, RIL_Errno e, void *response,
59                           size_t responselen);
60
61int dialResponse(int slotId,
62                int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
63
64int getIMSIForAppResponse(int slotId, int responseType,
65                         int serial, RIL_Errno e, void *response, size_t responselen);
66
67int hangupConnectionResponse(int slotId, int responseType,
68                            int serial, RIL_Errno e, void *response, size_t responselen);
69
70int hangupWaitingOrBackgroundResponse(int slotId,
71                                     int responseType, int serial, RIL_Errno e, void *response,
72                                     size_t responselen);
73
74int hangupForegroundResumeBackgroundResponse(int slotId,
75                                            int responseType, int serial, RIL_Errno e,
76                                            void *response, size_t responselen);
77
78int switchWaitingOrHoldingAndActiveResponse(int slotId,
79                                           int responseType, int serial, RIL_Errno e,
80                                           void *response, size_t responselen);
81
82int conferenceResponse(int slotId, int responseType,
83                      int serial, RIL_Errno e, void *response, size_t responselen);
84
85int rejectCallResponse(int slotId, int responseType,
86                      int serial, RIL_Errno e, void *response, size_t responselen);
87
88int getLastCallFailCauseResponse(int slotId,
89                                int responseType, int serial, RIL_Errno e, void *response,
90                                size_t responselen);
91
92int getSignalStrengthResponse(int slotId,
93                              int responseType, int serial, RIL_Errno e,
94                              void *response, size_t responseLen);
95
96int getVoiceRegistrationStateResponse(int slotId,
97                                     int responseType, int serial, RIL_Errno e, void *response,
98                                     size_t responselen);
99
100int getDataRegistrationStateResponse(int slotId,
101                                    int responseType, int serial, RIL_Errno e, void *response,
102                                    size_t responselen);
103
104int getOperatorResponse(int slotId,
105                       int responseType, int serial, RIL_Errno e, void *response,
106                       size_t responselen);
107
108int setRadioPowerResponse(int slotId,
109                         int responseType, int serial, RIL_Errno e, void *response,
110                         size_t responselen);
111
112int sendDtmfResponse(int slotId,
113                    int responseType, int serial, RIL_Errno e, void *response,
114                    size_t responselen);
115
116int sendSmsResponse(int slotId,
117                   int responseType, int serial, RIL_Errno e, void *response,
118                   size_t responselen);
119
120int sendSMSExpectMoreResponse(int slotId,
121                             int responseType, int serial, RIL_Errno e, void *response,
122                             size_t responselen);
123
124int setupDataCallResponse(int slotId,
125                          int responseType, int serial, RIL_Errno e, void *response,
126                          size_t responseLen);
127
128int iccIOForAppResponse(int slotId,
129                       int responseType, int serial, RIL_Errno e, void *response,
130                       size_t responselen);
131
132int sendUssdResponse(int slotId,
133                    int responseType, int serial, RIL_Errno e, void *response,
134                    size_t responselen);
135
136int cancelPendingUssdResponse(int slotId,
137                             int responseType, int serial, RIL_Errno e, void *response,
138                             size_t responselen);
139
140int getClirResponse(int slotId,
141                   int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
142
143int setClirResponse(int slotId,
144                   int responseType, int serial, RIL_Errno e, void *response, size_t responselen);
145
146int getCallForwardStatusResponse(int slotId,
147                                int responseType, int serial, RIL_Errno e, void *response,
148                                size_t responselen);
149
150int setCallForwardResponse(int slotId,
151                          int responseType, int serial, RIL_Errno e, void *response,
152                          size_t responselen);
153
154int getCallWaitingResponse(int slotId,
155                          int responseType, int serial, RIL_Errno e, void *response,
156                          size_t responselen);
157
158int setCallWaitingResponse(int slotId,
159                          int responseType, int serial, RIL_Errno e, void *response,
160                          size_t responselen);
161
162int acknowledgeLastIncomingGsmSmsResponse(int slotId,
163                                         int responseType, int serial, RIL_Errno e, void *response,
164                                         size_t responselen);
165
166int acceptCallResponse(int slotId,
167                      int responseType, int serial, RIL_Errno e, void *response,
168                      size_t responselen);
169
170int deactivateDataCallResponse(int slotId,
171                              int responseType, int serial, RIL_Errno e, void *response,
172                              size_t responselen);
173
174int getFacilityLockForAppResponse(int slotId,
175                                 int responseType, int serial, RIL_Errno e, void *response,
176                                 size_t responselen);
177
178int setFacilityLockForAppResponse(int slotId,
179                                 int responseType, int serial, RIL_Errno e, void *response,
180                                 size_t responselen);
181
182int setBarringPasswordResponse(int slotId,
183                              int responseType, int serial, RIL_Errno e, void *response,
184                              size_t responselen);
185
186int getNetworkSelectionModeResponse(int slotId,
187                                   int responseType, int serial, RIL_Errno e, void *response,
188                                   size_t responselen);
189
190int setNetworkSelectionModeAutomaticResponse(int slotId,
191                                            int responseType, int serial, RIL_Errno e,
192                                            void *response, size_t responselen);
193
194int setNetworkSelectionModeManualResponse(int slotId,
195                                         int responseType, int serial, RIL_Errno e, void *response,
196                                         size_t responselen);
197
198int getAvailableNetworksResponse(int slotId,
199                                int responseType, int serial, RIL_Errno e, void *response,
200                                size_t responselen);
201
202int 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
210int startDtmfResponse(int slotId,
211                     int responseType, int serial, RIL_Errno e, void *response,
212                     size_t responselen);
213
214int stopDtmfResponse(int slotId,
215                    int responseType, int serial, RIL_Errno e, void *response,
216                    size_t responselen);
217
218int getBasebandVersionResponse(int slotId,
219                              int responseType, int serial, RIL_Errno e, void *response,
220                              size_t responselen);
221
222int separateConnectionResponse(int slotId,
223                              int responseType, int serial, RIL_Errno e, void *response,
224                              size_t responselen);
225
226int setMuteResponse(int slotId,
227                   int responseType, int serial, RIL_Errno e, void *response,
228                   size_t responselen);
229
230int getMuteResponse(int slotId,
231                   int responseType, int serial, RIL_Errno e, void *response,
232                   size_t responselen);
233
234int getClipResponse(int slotId,
235                   int responseType, int serial, RIL_Errno e, void *response,
236                   size_t responselen);
237
238int getDataCallListResponse(int slotId,
239                            int responseType, int serial, RIL_Errno e,
240                            void *response, size_t responseLen);
241
242int setSuppServiceNotificationsResponse(int slotId,
243                                       int responseType, int serial, RIL_Errno e, void *response,
244                                       size_t responselen);
245
246int writeSmsToSimResponse(int slotId,
247                         int responseType, int serial, RIL_Errno e, void *response,
248                         size_t responselen);
249
250int deleteSmsOnSimResponse(int slotId,
251                          int responseType, int serial, RIL_Errno e, void *response,
252                          size_t responselen);
253
254int setBandModeResponse(int slotId,
255                       int responseType, int serial, RIL_Errno e, void *response,
256                       size_t responselen);
257
258int getAvailableBandModesResponse(int slotId,
259                                 int responseType, int serial, RIL_Errno e, void *response,
260                                 size_t responselen);
261
262int sendEnvelopeResponse(int slotId,
263                        int responseType, int serial, RIL_Errno e, void *response,
264                        size_t responselen);
265
266int sendTerminalResponseToSimResponse(int slotId,
267                                     int responseType, int serial, RIL_Errno e, void *response,
268                                     size_t responselen);
269
270int handleStkCallSetupRequestFromSimResponse(int slotId,
271                                            int responseType, int serial, RIL_Errno e,
272                                            void *response, size_t responselen);
273
274int explicitCallTransferResponse(int slotId,
275                                int responseType, int serial, RIL_Errno e, void *response,
276                                size_t responselen);
277
278int setPreferredNetworkTypeResponse(int slotId,
279                                   int responseType, int serial, RIL_Errno e, void *response,
280                                   size_t responselen);
281
282int getPreferredNetworkTypeResponse(int slotId,
283                                   int responseType, int serial, RIL_Errno e, void *response,
284                                   size_t responselen);
285
286int getNeighboringCidsResponse(int slotId,
287                              int responseType, int serial, RIL_Errno e, void *response,
288                              size_t responselen);
289
290int setLocationUpdatesResponse(int slotId,
291                              int responseType, int serial, RIL_Errno e, void *response,
292                              size_t responselen);
293
294int setCdmaSubscriptionSourceResponse(int slotId,
295                                     int responseType, int serial, RIL_Errno e, void *response,
296                                     size_t responselen);
297
298int setCdmaRoamingPreferenceResponse(int slotId,
299                                    int responseType, int serial, RIL_Errno e, void *response,
300                                    size_t responselen);
301
302int getCdmaRoamingPreferenceResponse(int slotId,
303                                    int responseType, int serial, RIL_Errno e, void *response,
304                                    size_t responselen);
305
306int setTTYModeResponse(int slotId,
307                      int responseType, int serial, RIL_Errno e, void *response,
308                      size_t responselen);
309
310int getTTYModeResponse(int slotId,
311                      int responseType, int serial, RIL_Errno e, void *response,
312                      size_t responselen);
313
314int setPreferredVoicePrivacyResponse(int slotId,
315                                    int responseType, int serial, RIL_Errno e, void *response,
316                                    size_t responselen);
317
318int getPreferredVoicePrivacyResponse(int slotId,
319                                    int responseType, int serial, RIL_Errno e, void *response,
320                                    size_t responselen);
321
322int sendCDMAFeatureCodeResponse(int slotId,
323                               int responseType, int serial, RIL_Errno e,
324                               void *response, size_t responselen);
325
326int sendBurstDtmfResponse(int slotId,
327                         int responseType, int serial, RIL_Errno e, void *response,
328                         size_t responselen);
329
330int sendCdmaSmsResponse(int slotId,
331                       int responseType, int serial, RIL_Errno e, void *response,
332                       size_t responselen);
333
334int acknowledgeLastIncomingCdmaSmsResponse(int slotId,
335                                          int responseType, int serial, RIL_Errno e, void *response,
336                                          size_t responselen);
337
338int getGsmBroadcastConfigResponse(int slotId,
339                                 int responseType, int serial, RIL_Errno e, void *response,
340                                 size_t responselen);
341
342int setGsmBroadcastConfigResponse(int slotId,
343                                 int responseType, int serial, RIL_Errno e, void *response,
344                                 size_t responselen);
345
346int setGsmBroadcastActivationResponse(int slotId,
347                                     int responseType, int serial, RIL_Errno e, void *response,
348                                     size_t responselen);
349
350int getCdmaBroadcastConfigResponse(int slotId,
351                                  int responseType, int serial, RIL_Errno e, void *response,
352                                  size_t responselen);
353
354int setCdmaBroadcastConfigResponse(int slotId,
355                                  int responseType, int serial, RIL_Errno e, void *response,
356                                  size_t responselen);
357
358int setCdmaBroadcastActivationResponse(int slotId,
359                                      int responseType, int serial, RIL_Errno e,
360                                      void *response, size_t responselen);
361
362int getCDMASubscriptionResponse(int slotId,
363                               int responseType, int serial, RIL_Errno e, void *response,
364                               size_t responselen);
365
366int writeSmsToRuimResponse(int slotId,
367                          int responseType, int serial, RIL_Errno e, void *response,
368                          size_t responselen);
369
370int deleteSmsOnRuimResponse(int slotId,
371                           int responseType, int serial, RIL_Errno e, void *response,
372                           size_t responselen);
373
374int getDeviceIdentityResponse(int slotId,
375                             int responseType, int serial, RIL_Errno e, void *response,
376                             size_t responselen);
377
378int exitEmergencyCallbackModeResponse(int slotId,
379                                     int responseType, int serial, RIL_Errno e, void *response,
380                                     size_t responselen);
381
382int getSmscAddressResponse(int slotId,
383                          int responseType, int serial, RIL_Errno e, void *response,
384                          size_t responselen);
385
386int setCdmaBroadcastActivationResponse(int slotId,
387                                      int responseType, int serial, RIL_Errno e,
388                                      void *response, size_t responselen);
389
390int setSmscAddressResponse(int slotId,
391                          int responseType, int serial, RIL_Errno e,
392                          void *response, size_t responselen);
393
394int reportSmsMemoryStatusResponse(int slotId,
395                                 int responseType, int serial, RIL_Errno e,
396                                 void *response, size_t responselen);
397
398int reportStkServiceIsRunningResponse(int slotId,
399                                      int responseType, int serial, RIL_Errno e,
400                                      void *response, size_t responseLen);
401
402int getCdmaSubscriptionSourceResponse(int slotId,
403                                     int responseType, int serial, RIL_Errno e, void *response,
404                                     size_t responselen);
405
406int requestIsimAuthenticationResponse(int slotId,
407                                     int responseType, int serial, RIL_Errno e, void *response,
408                                     size_t responselen);
409
410int acknowledgeIncomingGsmSmsWithPduResponse(int slotId,
411                                            int responseType, int serial, RIL_Errno e,
412                                            void *response, size_t responselen);
413
414int sendEnvelopeWithStatusResponse(int slotId,
415                                  int responseType, int serial, RIL_Errno e, void *response,
416                                  size_t responselen);
417
418int getVoiceRadioTechnologyResponse(int slotId,
419                                   int responseType, int serial, RIL_Errno e,
420                                   void *response, size_t responselen);
421
422int getCellInfoListResponse(int slotId,
423                            int responseType,
424                            int serial, RIL_Errno e, void *response,
425                            size_t responseLen);
426
427int setCellInfoListRateResponse(int slotId,
428                               int responseType, int serial, RIL_Errno e,
429                               void *response, size_t responselen);
430
431int setInitialAttachApnResponse(int slotId,
432                               int responseType, int serial, RIL_Errno e,
433                               void *response, size_t responselen);
434
435int getImsRegistrationStateResponse(int slotId,
436                                   int responseType, int serial, RIL_Errno e,
437                                   void *response, size_t responselen);
438
439int sendImsSmsResponse(int slotId, int responseType,
440                      int serial, RIL_Errno e, void *response, size_t responselen);
441
442int iccTransmitApduBasicChannelResponse(int slotId,
443                                       int responseType, int serial, RIL_Errno e,
444                                       void *response, size_t responselen);
445
446int iccOpenLogicalChannelResponse(int slotId,
447                                  int responseType, int serial, RIL_Errno e, void *response,
448                                  size_t responselen);
449
450
451int iccCloseLogicalChannelResponse(int slotId,
452                                  int responseType, int serial, RIL_Errno e,
453                                  void *response, size_t responselen);
454
455int iccTransmitApduLogicalChannelResponse(int slotId,
456                                         int responseType, int serial, RIL_Errno e,
457                                         void *response, size_t responselen);
458
459int nvReadItemResponse(int slotId,
460                      int responseType, int serial, RIL_Errno e,
461                      void *response, size_t responselen);
462
463
464int nvWriteItemResponse(int slotId,
465                       int responseType, int serial, RIL_Errno e,
466                       void *response, size_t responselen);
467
468int nvWriteCdmaPrlResponse(int slotId,
469                          int responseType, int serial, RIL_Errno e,
470                          void *response, size_t responselen);
471
472int nvResetConfigResponse(int slotId,
473                         int responseType, int serial, RIL_Errno e,
474                         void *response, size_t responselen);
475
476int setUiccSubscriptionResponse(int slotId,
477                               int responseType, int serial, RIL_Errno e,
478                               void *response, size_t responselen);
479
480int setDataAllowedResponse(int slotId,
481                          int responseType, int serial, RIL_Errno e,
482                          void *response, size_t responselen);
483
484int getHardwareConfigResponse(int slotId,
485                              int responseType, int serial, RIL_Errno e,
486                              void *response, size_t responseLen);
487
488int requestIccSimAuthenticationResponse(int slotId,
489                                       int responseType, int serial, RIL_Errno e,
490                                       void *response, size_t responselen);
491
492int setDataProfileResponse(int slotId,
493                          int responseType, int serial, RIL_Errno e,
494                          void *response, size_t responselen);
495
496int requestShutdownResponse(int slotId,
497                           int responseType, int serial, RIL_Errno e,
498                           void *response, size_t responselen);
499
500int getRadioCapabilityResponse(int slotId,
501                               int responseType, int serial, RIL_Errno e,
502                               void *response, size_t responseLen);
503
504int setRadioCapabilityResponse(int slotId,
505                               int responseType, int serial, RIL_Errno e,
506                               void *response, size_t responseLen);
507
508int startLceServiceResponse(int slotId,
509                           int responseType, int serial, RIL_Errno e,
510                           void *response, size_t responselen);
511
512int stopLceServiceResponse(int slotId,
513                          int responseType, int serial, RIL_Errno e,
514                          void *response, size_t responselen);
515
516int pullLceDataResponse(int slotId,
517                        int responseType, int serial, RIL_Errno e,
518                        void *response, size_t responseLen);
519
520int getModemActivityInfoResponse(int slotId,
521                                int responseType, int serial, RIL_Errno e,
522                                void *response, size_t responselen);
523
524int setAllowedCarriersResponse(int slotId,
525                              int responseType, int serial, RIL_Errno e,
526                              void *response, size_t responselen);
527
528int getAllowedCarriersResponse(int slotId,
529                              int responseType, int serial, RIL_Errno e,
530                              void *response, size_t responselen);
531
532int sendDeviceStateResponse(int slotId,
533                              int responseType, int serial, RIL_Errno e,
534                              void *response, size_t responselen);
535
536int setIndicationFilterResponse(int slotId,
537                              int responseType, int serial, RIL_Errno e,
538                              void *response, size_t responselen);
539
540int setSimCardPowerResponse(int slotId,
541                              int responseType, int serial, RIL_Errno e,
542                              void *response, size_t responselen);
543
544int 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
552void acknowledgeRequest(int slotId, int serial);
553
554int radioStateChangedInd(int slotId,
555                          int indicationType, int token, RIL_Errno e, void *response,
556                          size_t responseLen);
557
558int callStateChangedInd(int slotId, int indType, int token,
559                        RIL_Errno e, void *response, size_t responselen);
560
561int networkStateChangedInd(int slotId, int indType,
562                                int token, RIL_Errno e, void *response, size_t responselen);
563
564int newSmsInd(int slotId, int indicationType,
565              int token, RIL_Errno e, void *response, size_t responselen);
566
567int newSmsStatusReportInd(int slotId, int indicationType,
568                          int token, RIL_Errno e, void *response, size_t responselen);
569
570int newSmsOnSimInd(int slotId, int indicationType,
571                   int token, RIL_Errno e, void *response, size_t responselen);
572
573int onUssdInd(int slotId, int indicationType,
574              int token, RIL_Errno e, void *response, size_t responselen);
575
576int nitzTimeReceivedInd(int slotId, int indicationType,
577                        int token, RIL_Errno e, void *response, size_t responselen);
578
579int currentSignalStrengthInd(int slotId,
580                             int indicationType, int token, RIL_Errno e,
581                             void *response, size_t responselen);
582
583int dataCallListChangedInd(int slotId, int indicationType,
584                           int token, RIL_Errno e, void *response, size_t responselen);
585
586int suppSvcNotifyInd(int slotId, int indicationType,
587                     int token, RIL_Errno e, void *response, size_t responselen);
588
589int stkSessionEndInd(int slotId, int indicationType,
590                     int token, RIL_Errno e, void *response, size_t responselen);
591
592int stkProactiveCommandInd(int slotId, int indicationType,
593                           int token, RIL_Errno e, void *response, size_t responselen);
594
595int stkEventNotifyInd(int slotId, int indicationType,
596                      int token, RIL_Errno e, void *response, size_t responselen);
597
598int stkCallSetupInd(int slotId, int indicationType,
599                    int token, RIL_Errno e, void *response, size_t responselen);
600
601int simSmsStorageFullInd(int slotId, int indicationType,
602                         int token, RIL_Errno e, void *response, size_t responselen);
603
604int simRefreshInd(int slotId, int indicationType,
605                  int token, RIL_Errno e, void *response, size_t responselen);
606
607int callRingInd(int slotId, int indicationType,
608                int token, RIL_Errno e, void *response, size_t responselen);
609
610int simStatusChangedInd(int slotId, int indicationType,
611                        int token, RIL_Errno e, void *response, size_t responselen);
612
613int cdmaNewSmsInd(int slotId, int indicationType,
614                  int token, RIL_Errno e, void *response, size_t responselen);
615
616int newBroadcastSmsInd(int slotId,
617                       int indicationType, int token, RIL_Errno e, void *response,
618                       size_t responselen);
619
620int cdmaRuimSmsStorageFullInd(int slotId,
621                              int indicationType, int token, RIL_Errno e, void *response,
622                              size_t responselen);
623
624int restrictedStateChangedInd(int slotId,
625                              int indicationType, int token, RIL_Errno e, void *response,
626                              size_t responselen);
627
628int enterEmergencyCallbackModeInd(int slotId,
629                                  int indicationType, int token, RIL_Errno e, void *response,
630                                  size_t responselen);
631
632int cdmaCallWaitingInd(int slotId,
633                       int indicationType, int token, RIL_Errno e, void *response,
634                       size_t responselen);
635
636int cdmaOtaProvisionStatusInd(int slotId,
637                              int indicationType, int token, RIL_Errno e, void *response,
638                              size_t responselen);
639
640int cdmaInfoRecInd(int slotId,
641                   int indicationType, int token, RIL_Errno e, void *response,
642                   size_t responselen);
643
644int oemHookRawInd(int slotId,
645                  int indicationType, int token, RIL_Errno e, void *response,
646                  size_t responselen);
647
648int indicateRingbackToneInd(int slotId,
649                            int indicationType, int token, RIL_Errno e, void *response,
650                            size_t responselen);
651
652int resendIncallMuteInd(int slotId,
653                        int indicationType, int token, RIL_Errno e, void *response,
654                        size_t responselen);
655
656int cdmaSubscriptionSourceChangedInd(int slotId,
657                                     int indicationType, int token, RIL_Errno e,
658                                     void *response, size_t responselen);
659
660int cdmaPrlChangedInd(int slotId,
661                      int indicationType, int token, RIL_Errno e, void *response,
662                      size_t responselen);
663
664int exitEmergencyCallbackModeInd(int slotId,
665                                 int indicationType, int token, RIL_Errno e, void *response,
666                                 size_t responselen);
667
668int rilConnectedInd(int slotId,
669                    int indicationType, int token, RIL_Errno e, void *response,
670                    size_t responselen);
671
672int voiceRadioTechChangedInd(int slotId,
673                             int indicationType, int token, RIL_Errno e, void *response,
674                             size_t responselen);
675
676int cellInfoListInd(int slotId,
677                    int indicationType, int token, RIL_Errno e, void *response,
678                    size_t responselen);
679
680int imsNetworkStateChangedInd(int slotId,
681                              int indicationType, int token, RIL_Errno e, void *response,
682                              size_t responselen);
683
684int subscriptionStatusChangedInd(int slotId,
685                                 int indicationType, int token, RIL_Errno e, void *response,
686                                 size_t responselen);
687
688int srvccStateNotifyInd(int slotId,
689                        int indicationType, int token, RIL_Errno e, void *response,
690                        size_t responselen);
691
692int hardwareConfigChangedInd(int slotId,
693                             int indicationType, int token, RIL_Errno e, void *response,
694                             size_t responselen);
695
696int radioCapabilityIndicationInd(int slotId,
697                                 int indicationType, int token, RIL_Errno e, void *response,
698                                 size_t responselen);
699
700int onSupplementaryServiceIndicationInd(int slotId,
701                                        int indicationType, int token, RIL_Errno e,
702                                        void *response, size_t responselen);
703
704int stkCallControlAlphaNotifyInd(int slotId,
705                                 int indicationType, int token, RIL_Errno e, void *response,
706                                 size_t responselen);
707
708int lceDataInd(int slotId,
709               int indicationType, int token, RIL_Errno e, void *response,
710               size_t responselen);
711
712int pcoDataInd(int slotId,
713               int indicationType, int token, RIL_Errno e, void *response,
714               size_t responselen);
715
716int modemResetInd(int slotId,
717                  int indicationType, int token, RIL_Errno e, void *response,
718                  size_t responselen);
719
720int networkScanResultInd(int slotId,
721                         int indicationType, int token, RIL_Errno e, void *response,
722                         size_t responselen);
723
724int keepaliveStatusInd(int slotId,
725                       int indicationType, int token, RIL_Errno e, void *response,
726                       size_t responselen);
727
728int sendRequestRawResponse(int slotId,
729                           int responseType, int serial, RIL_Errno e,
730                           void *response, size_t responseLen);
731
732int sendRequestStringsResponse(int slotId,
733                               int responseType, int serial, RIL_Errno e,
734                               void *response, size_t responseLen);
735
736int 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
744pthread_rwlock_t * getRadioServiceRwlock(int slotId);
745
746}   // namespace radio
747
748#endif  // RIL_SERVICE_H
749