1 /*
2  * Copyright (C) 2019 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 #include <radio_hidl_hal_utils_v1_3.h>
18 
19 ::android::hardware::radio::V1_2::CardStatus cardStatus;
20 
21 RadioResponse_v1_3::RadioResponse_v1_3(RadioHidlTest_v1_3& parent) : parent_v1_3(parent) {}
22 
23 /* 1.0 Apis */
24 Return<void> RadioResponse_v1_3::getIccCardStatusResponse(
25         const RadioResponseInfo& /*info*/,
26         const ::android::hardware::radio::V1_0::CardStatus& /*card_status*/) {
27     return Void();
28 }
29 
30 Return<void> RadioResponse_v1_3::supplyIccPinForAppResponse(const RadioResponseInfo& /*info*/,
31                                                             int32_t /*remainingRetries*/) {
32     return Void();
33 }
34 
35 Return<void> RadioResponse_v1_3::supplyIccPukForAppResponse(const RadioResponseInfo& /*info*/,
36                                                             int32_t /*remainingRetries*/) {
37     return Void();
38 }
39 
40 Return<void> RadioResponse_v1_3::supplyIccPin2ForAppResponse(const RadioResponseInfo& /*info*/,
41                                                              int32_t /*remainingRetries*/) {
42     return Void();
43 }
44 
45 Return<void> RadioResponse_v1_3::supplyIccPuk2ForAppResponse(const RadioResponseInfo& /*info*/,
46                                                              int32_t /*remainingRetries*/) {
47     return Void();
48 }
49 
50 Return<void> RadioResponse_v1_3::changeIccPinForAppResponse(const RadioResponseInfo& /*info*/,
51                                                             int32_t /*remainingRetries*/) {
52     return Void();
53 }
54 
55 Return<void> RadioResponse_v1_3::changeIccPin2ForAppResponse(const RadioResponseInfo& /*info*/,
56                                                              int32_t /*remainingRetries*/) {
57     return Void();
58 }
59 
60 Return<void> RadioResponse_v1_3::supplyNetworkDepersonalizationResponse(
61         const RadioResponseInfo& /*info*/, int32_t /*remainingRetries*/) {
62     return Void();
63 }
64 
65 Return<void> RadioResponse_v1_3::getCurrentCallsResponse(
66         const RadioResponseInfo& /*info*/,
67         const ::android::hardware::hidl_vec<::android::hardware::radio::V1_0::Call>& /*calls*/) {
68     return Void();
69 }
70 
71 Return<void> RadioResponse_v1_3::dialResponse(const RadioResponseInfo& /*info*/) {
72     return Void();
73 }
74 
75 Return<void> RadioResponse_v1_3::getIMSIForAppResponse(
76         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*imsi*/) {
77     return Void();
78 }
79 
80 Return<void> RadioResponse_v1_3::hangupConnectionResponse(const RadioResponseInfo& /*info*/) {
81     return Void();
82 }
83 
84 Return<void> RadioResponse_v1_3::hangupWaitingOrBackgroundResponse(
85         const RadioResponseInfo& /*info*/) {
86     return Void();
87 }
88 
89 Return<void> RadioResponse_v1_3::hangupForegroundResumeBackgroundResponse(
90         const RadioResponseInfo& /*info*/) {
91     return Void();
92 }
93 
94 Return<void> RadioResponse_v1_3::switchWaitingOrHoldingAndActiveResponse(
95         const RadioResponseInfo& /*info*/) {
96     return Void();
97 }
98 
99 Return<void> RadioResponse_v1_3::conferenceResponse(const RadioResponseInfo& /*info*/) {
100     return Void();
101 }
102 
103 Return<void> RadioResponse_v1_3::rejectCallResponse(const RadioResponseInfo& /*info*/) {
104     return Void();
105 }
106 
107 Return<void> RadioResponse_v1_3::getLastCallFailCauseResponse(
108         const RadioResponseInfo& /*info*/, const LastCallFailCauseInfo& /*failCauseInfo*/) {
109     return Void();
110 }
111 
112 Return<void> RadioResponse_v1_3::getSignalStrengthResponse(
113         const RadioResponseInfo& /*info*/,
114         const ::android::hardware::radio::V1_0::SignalStrength& /*sig_strength*/) {
115     return Void();
116 }
117 
118 Return<void> RadioResponse_v1_3::getVoiceRegistrationStateResponse(
119         const RadioResponseInfo& /*info*/,
120         const ::android::hardware::radio::V1_0::VoiceRegStateResult& /*voiceRegResponse*/) {
121     return Void();
122 }
123 
124 Return<void> RadioResponse_v1_3::getDataRegistrationStateResponse(
125         const RadioResponseInfo& /*info*/,
126         const ::android::hardware::radio::V1_0::DataRegStateResult& /*dataRegResponse*/) {
127     return Void();
128 }
129 
130 Return<void> RadioResponse_v1_3::getOperatorResponse(
131         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*longName*/,
132         const ::android::hardware::hidl_string& /*shortName*/,
133         const ::android::hardware::hidl_string& /*numeric*/) {
134     return Void();
135 }
136 
137 Return<void> RadioResponse_v1_3::setRadioPowerResponse(const RadioResponseInfo& /*info*/) {
138     return Void();
139 }
140 
141 Return<void> RadioResponse_v1_3::sendDtmfResponse(const RadioResponseInfo& /*info*/) {
142     return Void();
143 }
144 
145 Return<void> RadioResponse_v1_3::sendSmsResponse(const RadioResponseInfo& /*info*/,
146                                                  const SendSmsResult& /*sms*/) {
147     return Void();
148 }
149 
150 Return<void> RadioResponse_v1_3::sendSMSExpectMoreResponse(const RadioResponseInfo& /*info*/,
151                                                            const SendSmsResult& /*sms*/) {
152     return Void();
153 }
154 
155 Return<void> RadioResponse_v1_3::setupDataCallResponse(const RadioResponseInfo& info,
156                                                        const SetupDataCallResult& /*dcResponse*/) {
157     rspInfo = info;
158     parent_v1_3.notify(info.serial);
159     return Void();
160 }
161 
162 Return<void> RadioResponse_v1_3::iccIOForAppResponse(const RadioResponseInfo& /*info*/,
163                                                      const IccIoResult& /*iccIo*/) {
164     return Void();
165 }
166 
167 Return<void> RadioResponse_v1_3::sendUssdResponse(const RadioResponseInfo& /*info*/) {
168     return Void();
169 }
170 
171 Return<void> RadioResponse_v1_3::cancelPendingUssdResponse(const RadioResponseInfo& /*info*/) {
172     return Void();
173 }
174 
175 Return<void> RadioResponse_v1_3::getClirResponse(const RadioResponseInfo& /*info*/, int32_t /*n*/,
176                                                  int32_t /*m*/) {
177     return Void();
178 }
179 
180 Return<void> RadioResponse_v1_3::setClirResponse(const RadioResponseInfo& /*info*/) {
181     return Void();
182 }
183 
184 Return<void> RadioResponse_v1_3::getCallForwardStatusResponse(
185         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_vec<CallForwardInfo>&
186         /*callForwardInfos*/) {
187     return Void();
188 }
189 
190 Return<void> RadioResponse_v1_3::setCallForwardResponse(const RadioResponseInfo& /*info*/) {
191     return Void();
192 }
193 
194 Return<void> RadioResponse_v1_3::getCallWaitingResponse(const RadioResponseInfo& /*info*/,
195                                                         bool /*enable*/, int32_t /*serviceClass*/) {
196     return Void();
197 }
198 
199 Return<void> RadioResponse_v1_3::setCallWaitingResponse(const RadioResponseInfo& /*info*/) {
200     return Void();
201 }
202 
203 Return<void> RadioResponse_v1_3::acknowledgeLastIncomingGsmSmsResponse(
204         const RadioResponseInfo& /*info*/) {
205     return Void();
206 }
207 
208 Return<void> RadioResponse_v1_3::acceptCallResponse(const RadioResponseInfo& /*info*/) {
209     return Void();
210 }
211 
212 Return<void> RadioResponse_v1_3::deactivateDataCallResponse(const RadioResponseInfo& info) {
213     rspInfo = info;
214     parent_v1_3.notify(info.serial);
215     return Void();
216 }
217 
218 Return<void> RadioResponse_v1_3::getFacilityLockForAppResponse(const RadioResponseInfo& /*info*/,
219                                                                int32_t /*response*/) {
220     return Void();
221 }
222 
223 Return<void> RadioResponse_v1_3::setFacilityLockForAppResponse(const RadioResponseInfo& /*info*/,
224                                                                int32_t /*retry*/) {
225     return Void();
226 }
227 
228 Return<void> RadioResponse_v1_3::setBarringPasswordResponse(const RadioResponseInfo& /*info*/) {
229     return Void();
230 }
231 
232 Return<void> RadioResponse_v1_3::getNetworkSelectionModeResponse(const RadioResponseInfo& /*info*/,
233                                                                  bool /*manual*/) {
234     return Void();
235 }
236 
237 Return<void> RadioResponse_v1_3::setNetworkSelectionModeAutomaticResponse(
238         const RadioResponseInfo& /*info*/) {
239     return Void();
240 }
241 
242 Return<void> RadioResponse_v1_3::setNetworkSelectionModeManualResponse(
243         const RadioResponseInfo& /*info*/) {
244     return Void();
245 }
246 
247 Return<void> RadioResponse_v1_3::getAvailableNetworksResponse(
248         const RadioResponseInfo& /*info*/,
249         const ::android::hardware::hidl_vec<OperatorInfo>& /*networkInfos*/) {
250     return Void();
251 }
252 
253 Return<void> RadioResponse_v1_3::startDtmfResponse(const RadioResponseInfo& /*info*/) {
254     return Void();
255 }
256 
257 Return<void> RadioResponse_v1_3::stopDtmfResponse(const RadioResponseInfo& /*info*/) {
258     return Void();
259 }
260 
261 Return<void> RadioResponse_v1_3::getBasebandVersionResponse(
262         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*version*/) {
263     return Void();
264 }
265 
266 Return<void> RadioResponse_v1_3::separateConnectionResponse(const RadioResponseInfo& /*info*/) {
267     return Void();
268 }
269 
270 Return<void> RadioResponse_v1_3::setMuteResponse(const RadioResponseInfo& /*info*/) {
271     return Void();
272 }
273 
274 Return<void> RadioResponse_v1_3::getMuteResponse(const RadioResponseInfo& /*info*/,
275                                                  bool /*enable*/) {
276     return Void();
277 }
278 
279 Return<void> RadioResponse_v1_3::getClipResponse(const RadioResponseInfo& /*info*/,
280                                                  ClipStatus /*status*/) {
281     return Void();
282 }
283 
284 Return<void> RadioResponse_v1_3::getDataCallListResponse(
285         const RadioResponseInfo& /*info*/,
286         const ::android::hardware::hidl_vec<SetupDataCallResult>& /*dcResponse*/) {
287     return Void();
288 }
289 
290 Return<void> RadioResponse_v1_3::sendOemRilRequestRawResponse(
291         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_vec<uint8_t>& /*data*/) {
292     return Void();
293 }
294 
295 Return<void> RadioResponse_v1_3::sendOemRilRequestStringsResponse(
296         const RadioResponseInfo& /*info*/,
297         const ::android::hardware::hidl_vec<::android::hardware::hidl_string>& /*data*/) {
298     return Void();
299 }
300 
301 Return<void> RadioResponse_v1_3::setSuppServiceNotificationsResponse(
302         const RadioResponseInfo& /*info*/) {
303     return Void();
304 }
305 
306 Return<void> RadioResponse_v1_3::writeSmsToSimResponse(const RadioResponseInfo& /*info*/,
307                                                        int32_t /*index*/) {
308     return Void();
309 }
310 
311 Return<void> RadioResponse_v1_3::deleteSmsOnSimResponse(const RadioResponseInfo& /*info*/) {
312     return Void();
313 }
314 
315 Return<void> RadioResponse_v1_3::setBandModeResponse(const RadioResponseInfo& /*info*/) {
316     return Void();
317 }
318 
319 Return<void> RadioResponse_v1_3::getAvailableBandModesResponse(
320         const RadioResponseInfo& info,
321         const ::android::hardware::hidl_vec<RadioBandMode>& /* bandModes */) {
322     rspInfo = info;
323     parent_v1_3.notify(info.serial);
324     return Void();
325 }
326 
327 Return<void> RadioResponse_v1_3::sendEnvelopeResponse(
328         const RadioResponseInfo& /*info*/,
329         const ::android::hardware::hidl_string& /*commandResponse*/) {
330     return Void();
331 }
332 
333 Return<void> RadioResponse_v1_3::sendTerminalResponseToSimResponse(
334         const RadioResponseInfo& /*info*/) {
335     return Void();
336 }
337 
338 Return<void> RadioResponse_v1_3::handleStkCallSetupRequestFromSimResponse(
339         const RadioResponseInfo& /*info*/) {
340     return Void();
341 }
342 
343 Return<void> RadioResponse_v1_3::explicitCallTransferResponse(const RadioResponseInfo& /*info*/) {
344     return Void();
345 }
346 
347 Return<void> RadioResponse_v1_3::setPreferredNetworkTypeResponse(
348         const RadioResponseInfo& /*info*/) {
349     return Void();
350 }
351 
352 Return<void> RadioResponse_v1_3::getPreferredNetworkTypeResponse(const RadioResponseInfo& /*info*/,
353                                                                  PreferredNetworkType /*nw_type*/) {
354     return Void();
355 }
356 
357 Return<void> RadioResponse_v1_3::getNeighboringCidsResponse(
358         const RadioResponseInfo& /*info*/,
359         const ::android::hardware::hidl_vec<NeighboringCell>& /*cells*/) {
360     return Void();
361 }
362 
363 Return<void> RadioResponse_v1_3::setLocationUpdatesResponse(const RadioResponseInfo& /*info*/) {
364     return Void();
365 }
366 
367 Return<void> RadioResponse_v1_3::setCdmaSubscriptionSourceResponse(
368         const RadioResponseInfo& /*info*/) {
369     return Void();
370 }
371 
372 Return<void> RadioResponse_v1_3::setCdmaRoamingPreferenceResponse(
373         const RadioResponseInfo& /*info*/) {
374     return Void();
375 }
376 
377 Return<void> RadioResponse_v1_3::getCdmaRoamingPreferenceResponse(const RadioResponseInfo& /*info*/,
378                                                                   CdmaRoamingType /*type*/) {
379     return Void();
380 }
381 
382 Return<void> RadioResponse_v1_3::setTTYModeResponse(const RadioResponseInfo& /*info*/) {
383     return Void();
384 }
385 
386 Return<void> RadioResponse_v1_3::getTTYModeResponse(const RadioResponseInfo& /*info*/,
387                                                     TtyMode /*mode*/) {
388     return Void();
389 }
390 
391 Return<void> RadioResponse_v1_3::setPreferredVoicePrivacyResponse(
392         const RadioResponseInfo& /*info*/) {
393     return Void();
394 }
395 
396 Return<void> RadioResponse_v1_3::getPreferredVoicePrivacyResponse(const RadioResponseInfo& /*info*/,
397                                                                   bool /*enable*/) {
398     return Void();
399 }
400 
401 Return<void> RadioResponse_v1_3::sendCDMAFeatureCodeResponse(const RadioResponseInfo& /*info*/) {
402     return Void();
403 }
404 
405 Return<void> RadioResponse_v1_3::sendBurstDtmfResponse(const RadioResponseInfo& /*info*/) {
406     return Void();
407 }
408 
409 Return<void> RadioResponse_v1_3::sendCdmaSmsResponse(const RadioResponseInfo& /*info*/,
410                                                      const SendSmsResult& /*sms*/) {
411     return Void();
412 }
413 
414 Return<void> RadioResponse_v1_3::acknowledgeLastIncomingCdmaSmsResponse(
415         const RadioResponseInfo& /*info*/) {
416     return Void();
417 }
418 
419 Return<void> RadioResponse_v1_3::getGsmBroadcastConfigResponse(
420         const RadioResponseInfo& /*info*/,
421         const ::android::hardware::hidl_vec<GsmBroadcastSmsConfigInfo>& /*configs*/) {
422     return Void();
423 }
424 
425 Return<void> RadioResponse_v1_3::setGsmBroadcastConfigResponse(const RadioResponseInfo& /*info*/) {
426     return Void();
427 }
428 
429 Return<void> RadioResponse_v1_3::setGsmBroadcastActivationResponse(
430         const RadioResponseInfo& /*info*/) {
431     return Void();
432 }
433 
434 Return<void> RadioResponse_v1_3::getCdmaBroadcastConfigResponse(
435         const RadioResponseInfo& /*info*/,
436         const ::android::hardware::hidl_vec<CdmaBroadcastSmsConfigInfo>& /*configs*/) {
437     return Void();
438 }
439 
440 Return<void> RadioResponse_v1_3::setCdmaBroadcastConfigResponse(const RadioResponseInfo& /*info*/) {
441     return Void();
442 }
443 
444 Return<void> RadioResponse_v1_3::setCdmaBroadcastActivationResponse(
445         const RadioResponseInfo& /*info*/) {
446     return Void();
447 }
448 
449 Return<void> RadioResponse_v1_3::getCDMASubscriptionResponse(
450         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*mdn*/,
451         const ::android::hardware::hidl_string& /*hSid*/,
452         const ::android::hardware::hidl_string& /*hNid*/,
453         const ::android::hardware::hidl_string& /*min*/,
454         const ::android::hardware::hidl_string& /*prl*/) {
455     return Void();
456 }
457 
458 Return<void> RadioResponse_v1_3::writeSmsToRuimResponse(const RadioResponseInfo& /*info*/,
459                                                         uint32_t /*index*/) {
460     return Void();
461 }
462 
463 Return<void> RadioResponse_v1_3::deleteSmsOnRuimResponse(const RadioResponseInfo& /*info*/) {
464     return Void();
465 }
466 
467 Return<void> RadioResponse_v1_3::getDeviceIdentityResponse(
468         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*imei*/,
469         const ::android::hardware::hidl_string& /*imeisv*/,
470         const ::android::hardware::hidl_string& /*esn*/,
471         const ::android::hardware::hidl_string& /*meid*/) {
472     return Void();
473 }
474 
475 Return<void> RadioResponse_v1_3::exitEmergencyCallbackModeResponse(
476         const RadioResponseInfo& /*info*/) {
477     return Void();
478 }
479 
480 Return<void> RadioResponse_v1_3::getSmscAddressResponse(
481         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*smsc*/) {
482     return Void();
483 }
484 
485 Return<void> RadioResponse_v1_3::setSmscAddressResponse(const RadioResponseInfo& /*info*/) {
486     return Void();
487 }
488 
489 Return<void> RadioResponse_v1_3::reportSmsMemoryStatusResponse(const RadioResponseInfo& /*info*/) {
490     return Void();
491 }
492 
493 Return<void> RadioResponse_v1_3::reportStkServiceIsRunningResponse(
494         const RadioResponseInfo& /*info*/) {
495     return Void();
496 }
497 
498 Return<void> RadioResponse_v1_3::getCdmaSubscriptionSourceResponse(
499         const RadioResponseInfo& /*info*/, CdmaSubscriptionSource /*source*/) {
500     return Void();
501 }
502 
503 Return<void> RadioResponse_v1_3::requestIsimAuthenticationResponse(
504         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*response*/) {
505     return Void();
506 }
507 
508 Return<void> RadioResponse_v1_3::acknowledgeIncomingGsmSmsWithPduResponse(
509         const RadioResponseInfo& /*info*/) {
510     return Void();
511 }
512 
513 Return<void> RadioResponse_v1_3::sendEnvelopeWithStatusResponse(const RadioResponseInfo& /*info*/,
514                                                                 const IccIoResult& /*iccIo*/) {
515     return Void();
516 }
517 
518 Return<void> RadioResponse_v1_3::getVoiceRadioTechnologyResponse(const RadioResponseInfo& /*info*/,
519                                                                  RadioTechnology /*rat*/) {
520     return Void();
521 }
522 
523 Return<void> RadioResponse_v1_3::getCellInfoListResponse(
524         const RadioResponseInfo& /*info*/,
525         const ::android::hardware::hidl_vec<
526                 ::android::hardware::radio::V1_0::CellInfo>& /*cellInfo*/) {
527     return Void();
528 }
529 
530 Return<void> RadioResponse_v1_3::setCellInfoListRateResponse(const RadioResponseInfo& /*info*/) {
531     return Void();
532 }
533 
534 Return<void> RadioResponse_v1_3::setInitialAttachApnResponse(const RadioResponseInfo& /*info*/) {
535     return Void();
536 }
537 
538 Return<void> RadioResponse_v1_3::getImsRegistrationStateResponse(
539         const RadioResponseInfo& /*info*/, bool /*isRegistered*/,
540         RadioTechnologyFamily /*ratFamily*/) {
541     return Void();
542 }
543 
544 Return<void> RadioResponse_v1_3::sendImsSmsResponse(const RadioResponseInfo& /*info*/,
545                                                     const SendSmsResult& /*sms*/) {
546     return Void();
547 }
548 
549 Return<void> RadioResponse_v1_3::iccTransmitApduBasicChannelResponse(
550         const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
551     return Void();
552 }
553 
554 Return<void> RadioResponse_v1_3::iccOpenLogicalChannelResponse(
555         const RadioResponseInfo& /*info*/, int32_t /*channelId*/,
556         const ::android::hardware::hidl_vec<int8_t>& /*selectResponse*/) {
557     return Void();
558 }
559 
560 Return<void> RadioResponse_v1_3::iccCloseLogicalChannelResponse(const RadioResponseInfo& /*info*/) {
561     return Void();
562 }
563 
564 Return<void> RadioResponse_v1_3::iccTransmitApduLogicalChannelResponse(
565         const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
566     return Void();
567 }
568 
569 Return<void> RadioResponse_v1_3::nvReadItemResponse(
570         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*result*/) {
571     return Void();
572 }
573 
574 Return<void> RadioResponse_v1_3::nvWriteItemResponse(const RadioResponseInfo& /*info*/) {
575     return Void();
576 }
577 
578 Return<void> RadioResponse_v1_3::nvWriteCdmaPrlResponse(const RadioResponseInfo& /*info*/) {
579     return Void();
580 }
581 
582 Return<void> RadioResponse_v1_3::nvResetConfigResponse(const RadioResponseInfo& /*info*/) {
583     return Void();
584 }
585 
586 Return<void> RadioResponse_v1_3::setUiccSubscriptionResponse(const RadioResponseInfo& /*info*/) {
587     return Void();
588 }
589 
590 Return<void> RadioResponse_v1_3::setDataAllowedResponse(const RadioResponseInfo& /*info*/) {
591     return Void();
592 }
593 
594 Return<void> RadioResponse_v1_3::getHardwareConfigResponse(
595         const RadioResponseInfo& /*info*/,
596         const ::android::hardware::hidl_vec<HardwareConfig>& /*config*/) {
597     return Void();
598 }
599 
600 Return<void> RadioResponse_v1_3::requestIccSimAuthenticationResponse(
601         const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
602     return Void();
603 }
604 
605 Return<void> RadioResponse_v1_3::setDataProfileResponse(const RadioResponseInfo& /*info*/) {
606     return Void();
607 }
608 
609 Return<void> RadioResponse_v1_3::requestShutdownResponse(const RadioResponseInfo& /*info*/) {
610     return Void();
611 }
612 
613 Return<void> RadioResponse_v1_3::getRadioCapabilityResponse(const RadioResponseInfo& /*info*/,
614                                                             const RadioCapability& /*rc*/) {
615     return Void();
616 }
617 
618 Return<void> RadioResponse_v1_3::setRadioCapabilityResponse(const RadioResponseInfo& /*info*/,
619                                                             const RadioCapability& /*rc*/) {
620     return Void();
621 }
622 
623 Return<void> RadioResponse_v1_3::startLceServiceResponse(const RadioResponseInfo& /*info*/,
624                                                          const LceStatusInfo& /*statusInfo*/) {
625     return Void();
626 }
627 
628 Return<void> RadioResponse_v1_3::stopLceServiceResponse(const RadioResponseInfo& /*info*/,
629                                                         const LceStatusInfo& /*statusInfo*/) {
630     return Void();
631 }
632 
633 Return<void> RadioResponse_v1_3::pullLceDataResponse(const RadioResponseInfo& /*info*/,
634                                                      const LceDataInfo& /*lceInfo*/) {
635     return Void();
636 }
637 
638 Return<void> RadioResponse_v1_3::getModemActivityInfoResponse(
639         const RadioResponseInfo& /*info*/, const ActivityStatsInfo& /*activityInfo*/) {
640     return Void();
641 }
642 
643 Return<void> RadioResponse_v1_3::setAllowedCarriersResponse(const RadioResponseInfo& /*info*/,
644                                                             int32_t /*numAllowed*/) {
645     return Void();
646 }
647 
648 Return<void> RadioResponse_v1_3::getAllowedCarriersResponse(
649         const RadioResponseInfo& /*info*/, bool /*allAllowed*/,
650         const CarrierRestrictions& /*carriers*/) {
651     return Void();
652 }
653 
654 Return<void> RadioResponse_v1_3::sendDeviceStateResponse(const RadioResponseInfo& /*info*/) {
655     return Void();
656 }
657 
658 Return<void> RadioResponse_v1_3::setIndicationFilterResponse(const RadioResponseInfo& info) {
659     rspInfo = info;
660     parent_v1_3.notify(info.serial);
661     return Void();
662 }
663 
664 Return<void> RadioResponse_v1_3::setSimCardPowerResponse(const RadioResponseInfo& /*info*/) {
665     return Void();
666 }
667 
668 Return<void> RadioResponse_v1_3::acknowledgeRequest(int32_t /*serial*/) {
669     return Void();
670 }
671 
672 /* 1.1 Apis */
673 Return<void> RadioResponse_v1_3::setCarrierInfoForImsiEncryptionResponse(
674         const RadioResponseInfo& /*info*/) {
675     return Void();
676 }
677 
678 Return<void> RadioResponse_v1_3::setSimCardPowerResponse_1_1(const RadioResponseInfo& /*info*/) {
679     return Void();
680 }
681 
682 Return<void> RadioResponse_v1_3::startNetworkScanResponse(const RadioResponseInfo& info) {
683     rspInfo = info;
684     parent_v1_3.notify(info.serial);
685     return Void();
686 }
687 
688 Return<void> RadioResponse_v1_3::stopNetworkScanResponse(const RadioResponseInfo& info) {
689     rspInfo = info;
690     parent_v1_3.notify(info.serial);
691     return Void();
692 }
693 
694 Return<void> RadioResponse_v1_3::startKeepaliveResponse(const RadioResponseInfo& /*info*/,
695                                                         const KeepaliveStatus& /*status*/) {
696     return Void();
697 }
698 
699 Return<void> RadioResponse_v1_3::stopKeepaliveResponse(const RadioResponseInfo& /*info*/) {
700     return Void();
701 }
702 
703 /* 1.2 Apis */
704 Return<void> RadioResponse_v1_3::setSignalStrengthReportingCriteriaResponse(
705         const RadioResponseInfo& info) {
706     rspInfo = info;
707     parent_v1_3.notify(info.serial);
708     return Void();
709 }
710 
711 Return<void> RadioResponse_v1_3::setLinkCapacityReportingCriteriaResponse(
712         const RadioResponseInfo& info) {
713     rspInfo = info;
714     parent_v1_3.notify(info.serial);
715     return Void();
716 }
717 
718 Return<void> RadioResponse_v1_3::getIccCardStatusResponse_1_2(
719         const RadioResponseInfo& info,
720         const ::android::hardware::radio::V1_2::CardStatus& card_status) {
721     rspInfo = info;
722     cardStatus = card_status;
723     parent_v1_3.notify(info.serial);
724     return Void();
725 }
726 
727 Return<void> RadioResponse_v1_3::getCurrentCallsResponse_1_2(
728         const RadioResponseInfo& info,
729         const ::android::hardware::hidl_vec<::android::hardware::radio::V1_2::Call>& /*calls*/) {
730     rspInfo = info;
731     parent_v1_3.notify(info.serial);
732     return Void();
733 }
734 
735 Return<void> RadioResponse_v1_3::getSignalStrengthResponse_1_2(
736         const RadioResponseInfo& info,
737         const ::android::hardware::radio::V1_2::SignalStrength& /*sig_strength*/) {
738     rspInfo = info;
739     parent_v1_3.notify(info.serial);
740     return Void();
741 }
742 
743 Return<void> RadioResponse_v1_3::getCellInfoListResponse_1_2(
744         const RadioResponseInfo& info,
745         const ::android::hardware::hidl_vec<
746                 ::android::hardware::radio::V1_2::CellInfo>& /*cellInfo*/) {
747     rspInfo = info;
748     parent_v1_3.notify(info.serial);
749     return Void();
750 }
751 
752 Return<void> RadioResponse_v1_3::getVoiceRegistrationStateResponse_1_2(
753         const RadioResponseInfo& info,
754         const ::android::hardware::radio::V1_2::VoiceRegStateResult& /*voiceRegResponse*/) {
755     rspInfo = info;
756     parent_v1_3.notify(info.serial);
757     return Void();
758 }
759 
760 Return<void> RadioResponse_v1_3::getDataRegistrationStateResponse_1_2(
761         const RadioResponseInfo& info,
762         const ::android::hardware::radio::V1_2::DataRegStateResult& dataRegResponse) {
763     rspInfo = info;
764     dataRegResp = dataRegResponse;
765     parent_v1_3.notify(info.serial);
766     return Void();
767 }
768 
769 /* 1.3 Api */
770 Return<void> RadioResponse_v1_3::setSystemSelectionChannelsResponse(const RadioResponseInfo& info) {
771     rspInfo = info;
772     parent_v1_3.notify(info.serial);
773     return Void();
774 }
775 
776 Return<void> RadioResponse_v1_3::enableModemResponse(const RadioResponseInfo& info) {
777     rspInfo = info;
778     enableModemResponseToggle = !enableModemResponseToggle;
779     parent_v1_3.notify(info.serial);
780     return Void();
781 }
782 
783 Return<void> RadioResponse_v1_3::getModemStackStatusResponse(const RadioResponseInfo& info,
784                                                              const bool enabled) {
785     rspInfo = info;
786     isModemEnabled = enabled;
787     parent_v1_3.notify(info.serial);
788     return Void();
789 }
790