blob: ded9776c208f3d6bce4da0a9aaa0221c9108be31 [file] [log] [blame]
paulye91d34712019-02-07 19:02:02 -08001/*
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 <guest/hals/ril/libril/ril.h>
21#include <ril_internal.h>
22
Malcolm Chen6b9984e2019-10-10 14:44:58 -070023namespace radio_1_5 {
paulye91d34712019-02-07 19:02:02 -080024void 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
paulye91d34712019-02-07 19:02:02 -0800206int 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
paulyeff378952019-02-25 12:40:45 -0800286int setPreferredNetworkTypeBitmapResponse(int slotId,
287 int responseType, int serial, RIL_Errno e, void *response,
288 size_t responselen);
289
290int getPreferredNetworkTypeBitmapResponse(int slotId,
291 int responseType, int serial, RIL_Errno e, void *response,
292 size_t responselen);
293
paulye91d34712019-02-07 19:02:02 -0800294int getNeighboringCidsResponse(int slotId,
295 int responseType, int serial, RIL_Errno e, void *response,
296 size_t responselen);
297
298int setLocationUpdatesResponse(int slotId,
299 int responseType, int serial, RIL_Errno e, void *response,
300 size_t responselen);
301
302int setCdmaSubscriptionSourceResponse(int slotId,
303 int responseType, int serial, RIL_Errno e, void *response,
304 size_t responselen);
305
306int setCdmaRoamingPreferenceResponse(int slotId,
307 int responseType, int serial, RIL_Errno e, void *response,
308 size_t responselen);
309
310int getCdmaRoamingPreferenceResponse(int slotId,
311 int responseType, int serial, RIL_Errno e, void *response,
312 size_t responselen);
313
314int setTTYModeResponse(int slotId,
315 int responseType, int serial, RIL_Errno e, void *response,
316 size_t responselen);
317
318int getTTYModeResponse(int slotId,
319 int responseType, int serial, RIL_Errno e, void *response,
320 size_t responselen);
321
322int setPreferredVoicePrivacyResponse(int slotId,
323 int responseType, int serial, RIL_Errno e, void *response,
324 size_t responselen);
325
326int getPreferredVoicePrivacyResponse(int slotId,
327 int responseType, int serial, RIL_Errno e, void *response,
328 size_t responselen);
329
330int sendCDMAFeatureCodeResponse(int slotId,
331 int responseType, int serial, RIL_Errno e,
332 void *response, size_t responselen);
333
334int sendBurstDtmfResponse(int slotId,
335 int responseType, int serial, RIL_Errno e, void *response,
336 size_t responselen);
337
338int sendCdmaSmsResponse(int slotId,
339 int responseType, int serial, RIL_Errno e, void *response,
340 size_t responselen);
341
342int acknowledgeLastIncomingCdmaSmsResponse(int slotId,
343 int responseType, int serial, RIL_Errno e, void *response,
344 size_t responselen);
345
346int getGsmBroadcastConfigResponse(int slotId,
347 int responseType, int serial, RIL_Errno e, void *response,
348 size_t responselen);
349
350int setGsmBroadcastConfigResponse(int slotId,
351 int responseType, int serial, RIL_Errno e, void *response,
352 size_t responselen);
353
354int setGsmBroadcastActivationResponse(int slotId,
355 int responseType, int serial, RIL_Errno e, void *response,
356 size_t responselen);
357
358int getCdmaBroadcastConfigResponse(int slotId,
359 int responseType, int serial, RIL_Errno e, void *response,
360 size_t responselen);
361
362int setCdmaBroadcastConfigResponse(int slotId,
363 int responseType, int serial, RIL_Errno e, void *response,
364 size_t responselen);
365
366int setCdmaBroadcastActivationResponse(int slotId,
367 int responseType, int serial, RIL_Errno e,
368 void *response, size_t responselen);
369
370int getCDMASubscriptionResponse(int slotId,
371 int responseType, int serial, RIL_Errno e, void *response,
372 size_t responselen);
373
374int writeSmsToRuimResponse(int slotId,
375 int responseType, int serial, RIL_Errno e, void *response,
376 size_t responselen);
377
378int deleteSmsOnRuimResponse(int slotId,
379 int responseType, int serial, RIL_Errno e, void *response,
380 size_t responselen);
381
382int getDeviceIdentityResponse(int slotId,
383 int responseType, int serial, RIL_Errno e, void *response,
384 size_t responselen);
385
386int exitEmergencyCallbackModeResponse(int slotId,
387 int responseType, int serial, RIL_Errno e, void *response,
388 size_t responselen);
389
390int getSmscAddressResponse(int slotId,
391 int responseType, int serial, RIL_Errno e, void *response,
392 size_t responselen);
393
394int setCdmaBroadcastActivationResponse(int slotId,
395 int responseType, int serial, RIL_Errno e,
396 void *response, size_t responselen);
397
398int setSmscAddressResponse(int slotId,
399 int responseType, int serial, RIL_Errno e,
400 void *response, size_t responselen);
401
402int reportSmsMemoryStatusResponse(int slotId,
403 int responseType, int serial, RIL_Errno e,
404 void *response, size_t responselen);
405
406int reportStkServiceIsRunningResponse(int slotId,
407 int responseType, int serial, RIL_Errno e,
408 void *response, size_t responseLen);
409
410int getCdmaSubscriptionSourceResponse(int slotId,
411 int responseType, int serial, RIL_Errno e, void *response,
412 size_t responselen);
413
414int requestIsimAuthenticationResponse(int slotId,
415 int responseType, int serial, RIL_Errno e, void *response,
416 size_t responselen);
417
418int acknowledgeIncomingGsmSmsWithPduResponse(int slotId,
419 int responseType, int serial, RIL_Errno e,
420 void *response, size_t responselen);
421
422int sendEnvelopeWithStatusResponse(int slotId,
423 int responseType, int serial, RIL_Errno e, void *response,
424 size_t responselen);
425
426int getVoiceRadioTechnologyResponse(int slotId,
427 int responseType, int serial, RIL_Errno e,
428 void *response, size_t responselen);
429
430int getCellInfoListResponse(int slotId,
431 int responseType,
432 int serial, RIL_Errno e, void *response,
433 size_t responseLen);
434
435int setCellInfoListRateResponse(int slotId,
436 int responseType, int serial, RIL_Errno e,
437 void *response, size_t responselen);
438
439int setInitialAttachApnResponse(int slotId,
440 int responseType, int serial, RIL_Errno e,
441 void *response, size_t responselen);
442
443int getImsRegistrationStateResponse(int slotId,
444 int responseType, int serial, RIL_Errno e,
445 void *response, size_t responselen);
446
447int sendImsSmsResponse(int slotId, int responseType,
448 int serial, RIL_Errno e, void *response, size_t responselen);
449
450int iccTransmitApduBasicChannelResponse(int slotId,
451 int responseType, int serial, RIL_Errno e,
452 void *response, size_t responselen);
453
454int iccOpenLogicalChannelResponse(int slotId,
455 int responseType, int serial, RIL_Errno e, void *response,
456 size_t responselen);
457
458
459int iccCloseLogicalChannelResponse(int slotId,
460 int responseType, int serial, RIL_Errno e,
461 void *response, size_t responselen);
462
463int iccTransmitApduLogicalChannelResponse(int slotId,
464 int responseType, int serial, RIL_Errno e,
465 void *response, size_t responselen);
466
467int nvReadItemResponse(int slotId,
468 int responseType, int serial, RIL_Errno e,
469 void *response, size_t responselen);
470
471
472int nvWriteItemResponse(int slotId,
473 int responseType, int serial, RIL_Errno e,
474 void *response, size_t responselen);
475
476int nvWriteCdmaPrlResponse(int slotId,
477 int responseType, int serial, RIL_Errno e,
478 void *response, size_t responselen);
479
480int nvResetConfigResponse(int slotId,
481 int responseType, int serial, RIL_Errno e,
482 void *response, size_t responselen);
483
484int setUiccSubscriptionResponse(int slotId,
485 int responseType, int serial, RIL_Errno e,
486 void *response, size_t responselen);
487
488int setDataAllowedResponse(int slotId,
489 int responseType, int serial, RIL_Errno e,
490 void *response, size_t responselen);
491
492int getHardwareConfigResponse(int slotId,
493 int responseType, int serial, RIL_Errno e,
494 void *response, size_t responseLen);
495
496int requestIccSimAuthenticationResponse(int slotId,
497 int responseType, int serial, RIL_Errno e,
498 void *response, size_t responselen);
499
500int setDataProfileResponse(int slotId,
501 int responseType, int serial, RIL_Errno e,
502 void *response, size_t responselen);
503
504int requestShutdownResponse(int slotId,
505 int responseType, int serial, RIL_Errno e,
506 void *response, size_t responselen);
507
508int getRadioCapabilityResponse(int slotId,
509 int responseType, int serial, RIL_Errno e,
510 void *response, size_t responseLen);
511
512int setRadioCapabilityResponse(int slotId,
513 int responseType, int serial, RIL_Errno e,
514 void *response, size_t responseLen);
515
516int startLceServiceResponse(int slotId,
517 int responseType, int serial, RIL_Errno e,
518 void *response, size_t responselen);
519
520int stopLceServiceResponse(int slotId,
521 int responseType, int serial, RIL_Errno e,
522 void *response, size_t responselen);
523
524int pullLceDataResponse(int slotId,
525 int responseType, int serial, RIL_Errno e,
526 void *response, size_t responseLen);
527
528int getModemActivityInfoResponse(int slotId,
529 int responseType, int serial, RIL_Errno e,
530 void *response, size_t responselen);
531
Nazanin Bakhshi25443002019-02-21 16:52:32 -0800532int getModemStackStatusResponse(int slotId,
533 int responseType, int serial, RIL_Errno e,
534 void *response, size_t responselen);
535
Nazanin Bakhshi42acd932019-02-27 15:05:39 -0800536int enableModemResponse(int slotId, int responseType, int serial, RIL_Errno e,
537 void *response, size_t responselen);
538
paulye91d34712019-02-07 19:02:02 -0800539int setAllowedCarriersResponse(int slotId,
540 int responseType, int serial, RIL_Errno e,
541 void *response, size_t responselen);
542
543int getAllowedCarriersResponse(int slotId,
544 int responseType, int serial, RIL_Errno e,
545 void *response, size_t responselen);
546
547int sendDeviceStateResponse(int slotId,
548 int responseType, int serial, RIL_Errno e,
549 void *response, size_t responselen);
550
551int setIndicationFilterResponse(int slotId,
552 int responseType, int serial, RIL_Errno e,
553 void *response, size_t responselen);
554
555int setSimCardPowerResponse(int slotId,
556 int responseType, int serial, RIL_Errno e,
557 void *response, size_t responselen);
558
559int startKeepaliveResponse(int slotId,
560 int responseType, int serial, RIL_Errno e,
561 void *response, size_t responselen);
562
563int stopKeepaliveResponse(int slotId,
564 int responseType, int serial, RIL_Errno e,
565 void *response, size_t responselen);
566
567void acknowledgeRequest(int slotId, int serial);
568
569int radioStateChangedInd(int slotId,
570 int indicationType, int token, RIL_Errno e, void *response,
571 size_t responseLen);
572
573int callStateChangedInd(int slotId, int indType, int token,
574 RIL_Errno e, void *response, size_t responselen);
575
576int networkStateChangedInd(int slotId, int indType,
577 int token, RIL_Errno e, void *response, size_t responselen);
578
579int newSmsInd(int slotId, int indicationType,
580 int token, RIL_Errno e, void *response, size_t responselen);
581
582int newSmsStatusReportInd(int slotId, int indicationType,
583 int token, RIL_Errno e, void *response, size_t responselen);
584
585int newSmsOnSimInd(int slotId, int indicationType,
586 int token, RIL_Errno e, void *response, size_t responselen);
587
588int onUssdInd(int slotId, int indicationType,
589 int token, RIL_Errno e, void *response, size_t responselen);
590
591int nitzTimeReceivedInd(int slotId, int indicationType,
592 int token, RIL_Errno e, void *response, size_t responselen);
593
594int currentSignalStrengthInd(int slotId,
595 int indicationType, int token, RIL_Errno e,
596 void *response, size_t responselen);
597
598int dataCallListChangedInd(int slotId, int indicationType,
599 int token, RIL_Errno e, void *response, size_t responselen);
600
601int suppSvcNotifyInd(int slotId, int indicationType,
602 int token, RIL_Errno e, void *response, size_t responselen);
603
604int stkSessionEndInd(int slotId, int indicationType,
605 int token, RIL_Errno e, void *response, size_t responselen);
606
607int stkProactiveCommandInd(int slotId, int indicationType,
608 int token, RIL_Errno e, void *response, size_t responselen);
609
610int stkEventNotifyInd(int slotId, int indicationType,
611 int token, RIL_Errno e, void *response, size_t responselen);
612
613int stkCallSetupInd(int slotId, int indicationType,
614 int token, RIL_Errno e, void *response, size_t responselen);
615
616int simSmsStorageFullInd(int slotId, int indicationType,
617 int token, RIL_Errno e, void *response, size_t responselen);
618
619int simRefreshInd(int slotId, int indicationType,
620 int token, RIL_Errno e, void *response, size_t responselen);
621
622int callRingInd(int slotId, int indicationType,
623 int token, RIL_Errno e, void *response, size_t responselen);
624
625int simStatusChangedInd(int slotId, int indicationType,
626 int token, RIL_Errno e, void *response, size_t responselen);
627
628int cdmaNewSmsInd(int slotId, int indicationType,
629 int token, RIL_Errno e, void *response, size_t responselen);
630
631int newBroadcastSmsInd(int slotId,
632 int indicationType, int token, RIL_Errno e, void *response,
633 size_t responselen);
634
635int cdmaRuimSmsStorageFullInd(int slotId,
636 int indicationType, int token, RIL_Errno e, void *response,
637 size_t responselen);
638
639int restrictedStateChangedInd(int slotId,
640 int indicationType, int token, RIL_Errno e, void *response,
641 size_t responselen);
642
643int enterEmergencyCallbackModeInd(int slotId,
644 int indicationType, int token, RIL_Errno e, void *response,
645 size_t responselen);
646
647int cdmaCallWaitingInd(int slotId,
648 int indicationType, int token, RIL_Errno e, void *response,
649 size_t responselen);
650
651int cdmaOtaProvisionStatusInd(int slotId,
652 int indicationType, int token, RIL_Errno e, void *response,
653 size_t responselen);
654
655int cdmaInfoRecInd(int slotId,
656 int indicationType, int token, RIL_Errno e, void *response,
657 size_t responselen);
658
659int oemHookRawInd(int slotId,
660 int indicationType, int token, RIL_Errno e, void *response,
661 size_t responselen);
662
663int indicateRingbackToneInd(int slotId,
664 int indicationType, int token, RIL_Errno e, void *response,
665 size_t responselen);
666
667int resendIncallMuteInd(int slotId,
668 int indicationType, int token, RIL_Errno e, void *response,
669 size_t responselen);
670
671int cdmaSubscriptionSourceChangedInd(int slotId,
672 int indicationType, int token, RIL_Errno e,
673 void *response, size_t responselen);
674
675int cdmaPrlChangedInd(int slotId,
676 int indicationType, int token, RIL_Errno e, void *response,
677 size_t responselen);
678
679int exitEmergencyCallbackModeInd(int slotId,
680 int indicationType, int token, RIL_Errno e, void *response,
681 size_t responselen);
682
683int rilConnectedInd(int slotId,
684 int indicationType, int token, RIL_Errno e, void *response,
685 size_t responselen);
686
687int voiceRadioTechChangedInd(int slotId,
688 int indicationType, int token, RIL_Errno e, void *response,
689 size_t responselen);
690
691int cellInfoListInd(int slotId,
692 int indicationType, int token, RIL_Errno e, void *response,
693 size_t responselen);
694
695int imsNetworkStateChangedInd(int slotId,
696 int indicationType, int token, RIL_Errno e, void *response,
697 size_t responselen);
698
699int subscriptionStatusChangedInd(int slotId,
700 int indicationType, int token, RIL_Errno e, void *response,
701 size_t responselen);
702
703int srvccStateNotifyInd(int slotId,
704 int indicationType, int token, RIL_Errno e, void *response,
705 size_t responselen);
706
707int hardwareConfigChangedInd(int slotId,
708 int indicationType, int token, RIL_Errno e, void *response,
709 size_t responselen);
710
711int radioCapabilityIndicationInd(int slotId,
712 int indicationType, int token, RIL_Errno e, void *response,
713 size_t responselen);
714
715int onSupplementaryServiceIndicationInd(int slotId,
716 int indicationType, int token, RIL_Errno e,
717 void *response, size_t responselen);
718
719int stkCallControlAlphaNotifyInd(int slotId,
720 int indicationType, int token, RIL_Errno e, void *response,
721 size_t responselen);
722
723int lceDataInd(int slotId,
724 int indicationType, int token, RIL_Errno e, void *response,
725 size_t responselen);
726
727int pcoDataInd(int slotId,
728 int indicationType, int token, RIL_Errno e, void *response,
729 size_t responselen);
730
731int modemResetInd(int slotId,
732 int indicationType, int token, RIL_Errno e, void *response,
733 size_t responselen);
734
735int networkScanResultInd(int slotId,
736 int indicationType, int token, RIL_Errno e, void *response,
737 size_t responselen);
738
739int keepaliveStatusInd(int slotId,
740 int indicationType, int token, RIL_Errno e, void *response,
741 size_t responselen);
742
743int sendRequestRawResponse(int slotId,
744 int responseType, int serial, RIL_Errno e,
745 void *response, size_t responseLen);
746
747int sendRequestStringsResponse(int slotId,
748 int responseType, int serial, RIL_Errno e,
749 void *response, size_t responseLen);
750
751int setCarrierInfoForImsiEncryptionResponse(int slotId,
752 int responseType, int serial, RIL_Errno e,
753 void *response, size_t responseLen);
754
sqian2e6e6c62019-02-26 16:55:02 -0800755int emergencyDialResponse(int slotId,
756 int responseType, int serial, RIL_Errno e,
757 void *response, size_t responselen);
758
paulye91d34712019-02-07 19:02:02 -0800759int carrierInfoForImsiEncryption(int slotId,
760 int responseType, int serial, RIL_Errno e,
761 void *response, size_t responseLen);
762
Malcolm Chen4bb42072019-02-22 18:21:48 -0800763int setSystemSelectionChannelsResponse(int slotId,
764 int responseType, int serial, RIL_Errno e,
765 void *response, size_t responseLen);
766
Sarah Chin1b8d9222020-01-30 10:37:08 -0800767int setSignalStrengthReportingCriteriaResponse(int slotId, int responseType, int serial,
768 RIL_Errno e, void *response, size_t responselen);
Shuo Qian4fffb032019-11-08 17:59:42 -0800769
Sarah Chinb8a870b2020-02-11 12:07:56 -0800770int setLinkCapacityReportingCriteriaResponse(int slotId, int responseType, int serial,
771 RIL_Errno e, void *response, size_t responselen);
772
Malcolm Chenc2008a22019-11-12 18:43:09 -0800773int enableUiccApplicationsResponse(int slotId,
774 int responseType, int serial, RIL_Errno e,
775 void *response, size_t responselen);
776
777int areUiccApplicationsEnabledResponse(int slotId,
778 int responseType, int serial, RIL_Errno e,
779 void *response, size_t responselen);
780
Sarah Chin1b8d9222020-01-30 10:37:08 -0800781int setRadioPowerResponse(int slotId, int responseType, int serial, RIL_Errno e, void *response,
782 size_t responselen);
Malcolm Chenad6b0972019-12-17 15:52:16 -0800783
Sarah Chin1b8d9222020-01-30 10:37:08 -0800784int getBarringInfoResponse(int slotId, int responseType, int serial, RIL_Errno e, void *response,
785 size_t responselen);
Malcolm Chenad6b0972019-12-17 15:52:16 -0800786
Sarah Chin1b8d9222020-01-30 10:37:08 -0800787int sendCdmaSmsExpectMoreResponse(int slotId, int responseType, int serial, RIL_Errno e,
788 void *response, size_t responselen);
789
790int supplySimDepersonalizationResponse(int slotId, int responseType, int serial, RIL_Errno e,
791 void *response, size_t responselen);
Nathan Harold8a9283c2020-01-02 15:31:41 -0800792
paulye91d34712019-02-07 19:02:02 -0800793pthread_rwlock_t * getRadioServiceRwlock(int slotId);
794
795void setNitzTimeReceived(int slotId, long timeReceived);
796
797} // namespace radio
798
799#endif // RIL_SERVICE_H