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_5.h>
18 
19 ::android::hardware::radio::V1_5::CardStatus cardStatus;
20 
RadioResponse_v1_5(RadioHidlTest_v1_5 & parent)21 RadioResponse_v1_5::RadioResponse_v1_5(RadioHidlTest_v1_5& parent) : parent_v1_5(parent) {}
22 
23 /* 1.0 Apis */
getIccCardStatusResponse(const RadioResponseInfo &,const::android::hardware::radio::V1_0::CardStatus &)24 Return<void> RadioResponse_v1_5::getIccCardStatusResponse(
25         const RadioResponseInfo& /*info*/,
26         const ::android::hardware::radio::V1_0::CardStatus& /*card_status*/) {
27     return Void();
28 }
29 
supplyIccPinForAppResponse(const RadioResponseInfo &,int32_t)30 Return<void> RadioResponse_v1_5::supplyIccPinForAppResponse(const RadioResponseInfo& /*info*/,
31                                                             int32_t /*remainingRetries*/) {
32     return Void();
33 }
34 
supplyIccPukForAppResponse(const RadioResponseInfo &,int32_t)35 Return<void> RadioResponse_v1_5::supplyIccPukForAppResponse(const RadioResponseInfo& /*info*/,
36                                                             int32_t /*remainingRetries*/) {
37     return Void();
38 }
39 
supplyIccPin2ForAppResponse(const RadioResponseInfo &,int32_t)40 Return<void> RadioResponse_v1_5::supplyIccPin2ForAppResponse(const RadioResponseInfo& /*info*/,
41                                                              int32_t /*remainingRetries*/) {
42     return Void();
43 }
44 
supplyIccPuk2ForAppResponse(const RadioResponseInfo &,int32_t)45 Return<void> RadioResponse_v1_5::supplyIccPuk2ForAppResponse(const RadioResponseInfo& /*info*/,
46                                                              int32_t /*remainingRetries*/) {
47     return Void();
48 }
49 
changeIccPinForAppResponse(const RadioResponseInfo &,int32_t)50 Return<void> RadioResponse_v1_5::changeIccPinForAppResponse(const RadioResponseInfo& /*info*/,
51                                                             int32_t /*remainingRetries*/) {
52     return Void();
53 }
54 
changeIccPin2ForAppResponse(const RadioResponseInfo &,int32_t)55 Return<void> RadioResponse_v1_5::changeIccPin2ForAppResponse(const RadioResponseInfo& /*info*/,
56                                                              int32_t /*remainingRetries*/) {
57     return Void();
58 }
59 
supplyNetworkDepersonalizationResponse(const RadioResponseInfo &,int32_t)60 Return<void> RadioResponse_v1_5::supplyNetworkDepersonalizationResponse(
61         const RadioResponseInfo& /*info*/, int32_t /*remainingRetries*/) {
62     return Void();
63 }
64 
getCurrentCallsResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<::android::hardware::radio::V1_0::Call> &)65 Return<void> RadioResponse_v1_5::getCurrentCallsResponse(
66         const RadioResponseInfo& /*info*/,
67         const ::android::hardware::hidl_vec<::android::hardware::radio::V1_0::Call>& /*calls*/) {
68     return Void();
69 }
70 
dialResponse(const RadioResponseInfo &)71 Return<void> RadioResponse_v1_5::dialResponse(const RadioResponseInfo& /*info*/) {
72     return Void();
73 }
74 
getIMSIForAppResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)75 Return<void> RadioResponse_v1_5::getIMSIForAppResponse(
76         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*imsi*/) {
77     return Void();
78 }
79 
hangupConnectionResponse(const RadioResponseInfo & info)80 Return<void> RadioResponse_v1_5::hangupConnectionResponse(const RadioResponseInfo& info) {
81     rspInfo = info;
82     parent_v1_5.notify(info.serial);
83     return Void();
84 }
85 
hangupWaitingOrBackgroundResponse(const RadioResponseInfo &)86 Return<void> RadioResponse_v1_5::hangupWaitingOrBackgroundResponse(
87         const RadioResponseInfo& /*info*/) {
88     return Void();
89 }
90 
hangupForegroundResumeBackgroundResponse(const RadioResponseInfo &)91 Return<void> RadioResponse_v1_5::hangupForegroundResumeBackgroundResponse(
92         const RadioResponseInfo& /*info*/) {
93     return Void();
94 }
95 
switchWaitingOrHoldingAndActiveResponse(const RadioResponseInfo &)96 Return<void> RadioResponse_v1_5::switchWaitingOrHoldingAndActiveResponse(
97         const RadioResponseInfo& /*info*/) {
98     return Void();
99 }
100 
conferenceResponse(const RadioResponseInfo &)101 Return<void> RadioResponse_v1_5::conferenceResponse(const RadioResponseInfo& /*info*/) {
102     return Void();
103 }
104 
rejectCallResponse(const RadioResponseInfo &)105 Return<void> RadioResponse_v1_5::rejectCallResponse(const RadioResponseInfo& /*info*/) {
106     return Void();
107 }
108 
getLastCallFailCauseResponse(const RadioResponseInfo &,const LastCallFailCauseInfo &)109 Return<void> RadioResponse_v1_5::getLastCallFailCauseResponse(
110         const RadioResponseInfo& /*info*/, const LastCallFailCauseInfo& /*failCauseInfo*/) {
111     return Void();
112 }
113 
getSignalStrengthResponse(const RadioResponseInfo &,const::android::hardware::radio::V1_0::SignalStrength &)114 Return<void> RadioResponse_v1_5::getSignalStrengthResponse(
115         const RadioResponseInfo& /*info*/,
116         const ::android::hardware::radio::V1_0::SignalStrength& /*sig_strength*/) {
117     return Void();
118 }
119 
getVoiceRegistrationStateResponse(const RadioResponseInfo &,const::android::hardware::radio::V1_0::VoiceRegStateResult &)120 Return<void> RadioResponse_v1_5::getVoiceRegistrationStateResponse(
121         const RadioResponseInfo& /*info*/,
122         const ::android::hardware::radio::V1_0::VoiceRegStateResult& /*voiceRegResponse*/) {
123     return Void();
124 }
125 
getDataRegistrationStateResponse(const RadioResponseInfo &,const::android::hardware::radio::V1_0::DataRegStateResult &)126 Return<void> RadioResponse_v1_5::getDataRegistrationStateResponse(
127         const RadioResponseInfo& /*info*/,
128         const ::android::hardware::radio::V1_0::DataRegStateResult& /*dataRegResponse*/) {
129     return Void();
130 }
131 
getOperatorResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &)132 Return<void> RadioResponse_v1_5::getOperatorResponse(
133         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*longName*/,
134         const ::android::hardware::hidl_string& /*shortName*/,
135         const ::android::hardware::hidl_string& /*numeric*/) {
136     return Void();
137 }
138 
setRadioPowerResponse(const RadioResponseInfo &)139 Return<void> RadioResponse_v1_5::setRadioPowerResponse(const RadioResponseInfo& /*info*/) {
140     return Void();
141 }
142 
sendDtmfResponse(const RadioResponseInfo &)143 Return<void> RadioResponse_v1_5::sendDtmfResponse(const RadioResponseInfo& /*info*/) {
144     return Void();
145 }
146 
sendSmsResponse(const RadioResponseInfo &,const SendSmsResult &)147 Return<void> RadioResponse_v1_5::sendSmsResponse(const RadioResponseInfo& /*info*/,
148                                                  const SendSmsResult& /*sms*/) {
149     return Void();
150 }
151 
sendSMSExpectMoreResponse(const RadioResponseInfo &,const SendSmsResult &)152 Return<void> RadioResponse_v1_5::sendSMSExpectMoreResponse(const RadioResponseInfo& /*info*/,
153                                                            const SendSmsResult& /*sms*/) {
154     return Void();
155 }
156 
setupDataCallResponse(const RadioResponseInfo &,const android::hardware::radio::V1_0::SetupDataCallResult &)157 Return<void> RadioResponse_v1_5::setupDataCallResponse(
158         const RadioResponseInfo& /*info*/,
159         const android::hardware::radio::V1_0::SetupDataCallResult& /*dcResponse*/) {
160     return Void();
161 }
162 
iccIOForAppResponse(const RadioResponseInfo &,const IccIoResult &)163 Return<void> RadioResponse_v1_5::iccIOForAppResponse(const RadioResponseInfo& /*info*/,
164                                                      const IccIoResult& /*iccIo*/) {
165     return Void();
166 }
167 
sendUssdResponse(const RadioResponseInfo &)168 Return<void> RadioResponse_v1_5::sendUssdResponse(const RadioResponseInfo& /*info*/) {
169     return Void();
170 }
171 
cancelPendingUssdResponse(const RadioResponseInfo &)172 Return<void> RadioResponse_v1_5::cancelPendingUssdResponse(const RadioResponseInfo& /*info*/) {
173     return Void();
174 }
175 
getClirResponse(const RadioResponseInfo &,int32_t,int32_t)176 Return<void> RadioResponse_v1_5::getClirResponse(const RadioResponseInfo& /*info*/, int32_t /*n*/,
177                                                  int32_t /*m*/) {
178     return Void();
179 }
180 
setClirResponse(const RadioResponseInfo &)181 Return<void> RadioResponse_v1_5::setClirResponse(const RadioResponseInfo& /*info*/) {
182     return Void();
183 }
184 
getCallForwardStatusResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<CallForwardInfo> &)185 Return<void> RadioResponse_v1_5::getCallForwardStatusResponse(
186         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_vec<CallForwardInfo>&
187         /*callForwardInfos*/) {
188     return Void();
189 }
190 
setCallForwardResponse(const RadioResponseInfo &)191 Return<void> RadioResponse_v1_5::setCallForwardResponse(const RadioResponseInfo& /*info*/) {
192     return Void();
193 }
194 
getCallWaitingResponse(const RadioResponseInfo &,bool,int32_t)195 Return<void> RadioResponse_v1_5::getCallWaitingResponse(const RadioResponseInfo& /*info*/,
196                                                         bool /*enable*/, int32_t /*serviceClass*/) {
197     return Void();
198 }
199 
setCallWaitingResponse(const RadioResponseInfo &)200 Return<void> RadioResponse_v1_5::setCallWaitingResponse(const RadioResponseInfo& /*info*/) {
201     return Void();
202 }
203 
acknowledgeLastIncomingGsmSmsResponse(const RadioResponseInfo &)204 Return<void> RadioResponse_v1_5::acknowledgeLastIncomingGsmSmsResponse(
205         const RadioResponseInfo& /*info*/) {
206     return Void();
207 }
208 
acceptCallResponse(const RadioResponseInfo &)209 Return<void> RadioResponse_v1_5::acceptCallResponse(const RadioResponseInfo& /*info*/) {
210     return Void();
211 }
212 
deactivateDataCallResponse(const RadioResponseInfo & info)213 Return<void> RadioResponse_v1_5::deactivateDataCallResponse(const RadioResponseInfo& info) {
214     rspInfo = info;
215     parent_v1_5.notify(info.serial);
216     return Void();
217 }
218 
getFacilityLockForAppResponse(const RadioResponseInfo &,int32_t)219 Return<void> RadioResponse_v1_5::getFacilityLockForAppResponse(const RadioResponseInfo& /*info*/,
220                                                                int32_t /*response*/) {
221     return Void();
222 }
223 
setFacilityLockForAppResponse(const RadioResponseInfo &,int32_t)224 Return<void> RadioResponse_v1_5::setFacilityLockForAppResponse(const RadioResponseInfo& /*info*/,
225                                                                int32_t /*retry*/) {
226     return Void();
227 }
228 
setBarringPasswordResponse(const RadioResponseInfo &)229 Return<void> RadioResponse_v1_5::setBarringPasswordResponse(const RadioResponseInfo& /*info*/) {
230     return Void();
231 }
232 
getNetworkSelectionModeResponse(const RadioResponseInfo &,bool)233 Return<void> RadioResponse_v1_5::getNetworkSelectionModeResponse(const RadioResponseInfo& /*info*/,
234                                                                  bool /*manual*/) {
235     return Void();
236 }
237 
setNetworkSelectionModeAutomaticResponse(const RadioResponseInfo &)238 Return<void> RadioResponse_v1_5::setNetworkSelectionModeAutomaticResponse(
239         const RadioResponseInfo& /*info*/) {
240     return Void();
241 }
242 
setNetworkSelectionModeManualResponse(const RadioResponseInfo &)243 Return<void> RadioResponse_v1_5::setNetworkSelectionModeManualResponse(
244         const RadioResponseInfo& /*info*/) {
245     return Void();
246 }
247 
getAvailableNetworksResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<OperatorInfo> &)248 Return<void> RadioResponse_v1_5::getAvailableNetworksResponse(
249         const RadioResponseInfo& /*info*/,
250         const ::android::hardware::hidl_vec<OperatorInfo>& /*networkInfos*/) {
251     return Void();
252 }
253 
startDtmfResponse(const RadioResponseInfo &)254 Return<void> RadioResponse_v1_5::startDtmfResponse(const RadioResponseInfo& /*info*/) {
255     return Void();
256 }
257 
stopDtmfResponse(const RadioResponseInfo &)258 Return<void> RadioResponse_v1_5::stopDtmfResponse(const RadioResponseInfo& /*info*/) {
259     return Void();
260 }
261 
getBasebandVersionResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)262 Return<void> RadioResponse_v1_5::getBasebandVersionResponse(
263         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*version*/) {
264     return Void();
265 }
266 
separateConnectionResponse(const RadioResponseInfo &)267 Return<void> RadioResponse_v1_5::separateConnectionResponse(const RadioResponseInfo& /*info*/) {
268     return Void();
269 }
270 
setMuteResponse(const RadioResponseInfo &)271 Return<void> RadioResponse_v1_5::setMuteResponse(const RadioResponseInfo& /*info*/) {
272     return Void();
273 }
274 
getMuteResponse(const RadioResponseInfo &,bool)275 Return<void> RadioResponse_v1_5::getMuteResponse(const RadioResponseInfo& /*info*/,
276                                                  bool /*enable*/) {
277     return Void();
278 }
279 
getClipResponse(const RadioResponseInfo &,ClipStatus)280 Return<void> RadioResponse_v1_5::getClipResponse(const RadioResponseInfo& /*info*/,
281                                                  ClipStatus /*status*/) {
282     return Void();
283 }
284 
getDataCallListResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<android::hardware::radio::V1_0::SetupDataCallResult> &)285 Return<void> RadioResponse_v1_5::getDataCallListResponse(
286         const RadioResponseInfo& /*info*/,
287         const ::android::hardware::hidl_vec<android::hardware::radio::V1_0::SetupDataCallResult>&
288         /*dcResponse*/) {
289     return Void();
290 }
291 
sendOemRilRequestRawResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<uint8_t> &)292 Return<void> RadioResponse_v1_5::sendOemRilRequestRawResponse(
293         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_vec<uint8_t>& /*data*/) {
294     return Void();
295 }
296 
sendOemRilRequestStringsResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<::android::hardware::hidl_string> &)297 Return<void> RadioResponse_v1_5::sendOemRilRequestStringsResponse(
298         const RadioResponseInfo& /*info*/,
299         const ::android::hardware::hidl_vec<::android::hardware::hidl_string>& /*data*/) {
300     return Void();
301 }
302 
setSuppServiceNotificationsResponse(const RadioResponseInfo &)303 Return<void> RadioResponse_v1_5::setSuppServiceNotificationsResponse(
304         const RadioResponseInfo& /*info*/) {
305     return Void();
306 }
307 
writeSmsToSimResponse(const RadioResponseInfo &,int32_t)308 Return<void> RadioResponse_v1_5::writeSmsToSimResponse(const RadioResponseInfo& /*info*/,
309                                                        int32_t /*index*/) {
310     return Void();
311 }
312 
deleteSmsOnSimResponse(const RadioResponseInfo &)313 Return<void> RadioResponse_v1_5::deleteSmsOnSimResponse(const RadioResponseInfo& /*info*/) {
314     return Void();
315 }
316 
setBandModeResponse(const RadioResponseInfo &)317 Return<void> RadioResponse_v1_5::setBandModeResponse(const RadioResponseInfo& /*info*/) {
318     return Void();
319 }
320 
getAvailableBandModesResponse(const RadioResponseInfo & info,const::android::hardware::hidl_vec<RadioBandMode> & bandModes)321 Return<void> RadioResponse_v1_5::getAvailableBandModesResponse(
322         const RadioResponseInfo& info,
323         const ::android::hardware::hidl_vec<RadioBandMode>& bandModes) {
324     rspInfo = info;
325     radioBandModes = bandModes;
326     parent_v1_5.notify(info.serial);
327     return Void();
328 }
329 
sendEnvelopeResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)330 Return<void> RadioResponse_v1_5::sendEnvelopeResponse(
331         const RadioResponseInfo& /*info*/,
332         const ::android::hardware::hidl_string& /*commandResponse*/) {
333     return Void();
334 }
335 
sendTerminalResponseToSimResponse(const RadioResponseInfo &)336 Return<void> RadioResponse_v1_5::sendTerminalResponseToSimResponse(
337         const RadioResponseInfo& /*info*/) {
338     return Void();
339 }
340 
handleStkCallSetupRequestFromSimResponse(const RadioResponseInfo &)341 Return<void> RadioResponse_v1_5::handleStkCallSetupRequestFromSimResponse(
342         const RadioResponseInfo& /*info*/) {
343     return Void();
344 }
345 
explicitCallTransferResponse(const RadioResponseInfo &)346 Return<void> RadioResponse_v1_5::explicitCallTransferResponse(const RadioResponseInfo& /*info*/) {
347     return Void();
348 }
349 
setPreferredNetworkTypeResponse(const RadioResponseInfo &)350 Return<void> RadioResponse_v1_5::setPreferredNetworkTypeResponse(
351         const RadioResponseInfo& /*info*/) {
352     return Void();
353 }
354 
getPreferredNetworkTypeResponse(const RadioResponseInfo &,PreferredNetworkType)355 Return<void> RadioResponse_v1_5::getPreferredNetworkTypeResponse(const RadioResponseInfo& /*info*/,
356                                                                  PreferredNetworkType /*nw_type*/) {
357     return Void();
358 }
359 
getNeighboringCidsResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<NeighboringCell> &)360 Return<void> RadioResponse_v1_5::getNeighboringCidsResponse(
361         const RadioResponseInfo& /*info*/,
362         const ::android::hardware::hidl_vec<NeighboringCell>& /*cells*/) {
363     return Void();
364 }
365 
setLocationUpdatesResponse(const RadioResponseInfo &)366 Return<void> RadioResponse_v1_5::setLocationUpdatesResponse(const RadioResponseInfo& /*info*/) {
367     return Void();
368 }
369 
setCdmaSubscriptionSourceResponse(const RadioResponseInfo &)370 Return<void> RadioResponse_v1_5::setCdmaSubscriptionSourceResponse(
371         const RadioResponseInfo& /*info*/) {
372     return Void();
373 }
374 
setCdmaRoamingPreferenceResponse(const RadioResponseInfo &)375 Return<void> RadioResponse_v1_5::setCdmaRoamingPreferenceResponse(
376         const RadioResponseInfo& /*info*/) {
377     return Void();
378 }
379 
getCdmaRoamingPreferenceResponse(const RadioResponseInfo &,CdmaRoamingType)380 Return<void> RadioResponse_v1_5::getCdmaRoamingPreferenceResponse(const RadioResponseInfo& /*info*/,
381                                                                   CdmaRoamingType /*type*/) {
382     return Void();
383 }
384 
setTTYModeResponse(const RadioResponseInfo &)385 Return<void> RadioResponse_v1_5::setTTYModeResponse(const RadioResponseInfo& /*info*/) {
386     return Void();
387 }
388 
getTTYModeResponse(const RadioResponseInfo &,TtyMode)389 Return<void> RadioResponse_v1_5::getTTYModeResponse(const RadioResponseInfo& /*info*/,
390                                                     TtyMode /*mode*/) {
391     return Void();
392 }
393 
setPreferredVoicePrivacyResponse(const RadioResponseInfo &)394 Return<void> RadioResponse_v1_5::setPreferredVoicePrivacyResponse(
395         const RadioResponseInfo& /*info*/) {
396     return Void();
397 }
398 
getPreferredVoicePrivacyResponse(const RadioResponseInfo &,bool)399 Return<void> RadioResponse_v1_5::getPreferredVoicePrivacyResponse(const RadioResponseInfo& /*info*/,
400                                                                   bool /*enable*/) {
401     return Void();
402 }
403 
sendCDMAFeatureCodeResponse(const RadioResponseInfo &)404 Return<void> RadioResponse_v1_5::sendCDMAFeatureCodeResponse(const RadioResponseInfo& /*info*/) {
405     return Void();
406 }
407 
sendBurstDtmfResponse(const RadioResponseInfo &)408 Return<void> RadioResponse_v1_5::sendBurstDtmfResponse(const RadioResponseInfo& /*info*/) {
409     return Void();
410 }
411 
sendCdmaSmsResponse(const RadioResponseInfo &,const SendSmsResult &)412 Return<void> RadioResponse_v1_5::sendCdmaSmsResponse(const RadioResponseInfo& /*info*/,
413                                                      const SendSmsResult& /*sms*/) {
414     return Void();
415 }
416 
acknowledgeLastIncomingCdmaSmsResponse(const RadioResponseInfo &)417 Return<void> RadioResponse_v1_5::acknowledgeLastIncomingCdmaSmsResponse(
418         const RadioResponseInfo& /*info*/) {
419     return Void();
420 }
421 
getGsmBroadcastConfigResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<GsmBroadcastSmsConfigInfo> &)422 Return<void> RadioResponse_v1_5::getGsmBroadcastConfigResponse(
423         const RadioResponseInfo& /*info*/,
424         const ::android::hardware::hidl_vec<GsmBroadcastSmsConfigInfo>& /*configs*/) {
425     return Void();
426 }
427 
setGsmBroadcastConfigResponse(const RadioResponseInfo &)428 Return<void> RadioResponse_v1_5::setGsmBroadcastConfigResponse(const RadioResponseInfo& /*info*/) {
429     return Void();
430 }
431 
setGsmBroadcastActivationResponse(const RadioResponseInfo &)432 Return<void> RadioResponse_v1_5::setGsmBroadcastActivationResponse(
433         const RadioResponseInfo& /*info*/) {
434     return Void();
435 }
436 
getCdmaBroadcastConfigResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<CdmaBroadcastSmsConfigInfo> &)437 Return<void> RadioResponse_v1_5::getCdmaBroadcastConfigResponse(
438         const RadioResponseInfo& /*info*/,
439         const ::android::hardware::hidl_vec<CdmaBroadcastSmsConfigInfo>& /*configs*/) {
440     return Void();
441 }
442 
setCdmaBroadcastConfigResponse(const RadioResponseInfo &)443 Return<void> RadioResponse_v1_5::setCdmaBroadcastConfigResponse(const RadioResponseInfo& /*info*/) {
444     return Void();
445 }
446 
setCdmaBroadcastActivationResponse(const RadioResponseInfo &)447 Return<void> RadioResponse_v1_5::setCdmaBroadcastActivationResponse(
448         const RadioResponseInfo& /*info*/) {
449     return Void();
450 }
451 
getCDMASubscriptionResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &)452 Return<void> RadioResponse_v1_5::getCDMASubscriptionResponse(
453         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*mdn*/,
454         const ::android::hardware::hidl_string& /*hSid*/,
455         const ::android::hardware::hidl_string& /*hNid*/,
456         const ::android::hardware::hidl_string& /*min*/,
457         const ::android::hardware::hidl_string& /*prl*/) {
458     return Void();
459 }
460 
writeSmsToRuimResponse(const RadioResponseInfo &,uint32_t)461 Return<void> RadioResponse_v1_5::writeSmsToRuimResponse(const RadioResponseInfo& /*info*/,
462                                                         uint32_t /*index*/) {
463     return Void();
464 }
465 
deleteSmsOnRuimResponse(const RadioResponseInfo &)466 Return<void> RadioResponse_v1_5::deleteSmsOnRuimResponse(const RadioResponseInfo& /*info*/) {
467     return Void();
468 }
469 
getDeviceIdentityResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &,const::android::hardware::hidl_string &)470 Return<void> RadioResponse_v1_5::getDeviceIdentityResponse(
471         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*imei*/,
472         const ::android::hardware::hidl_string& /*imeisv*/,
473         const ::android::hardware::hidl_string& /*esn*/,
474         const ::android::hardware::hidl_string& /*meid*/) {
475     return Void();
476 }
477 
exitEmergencyCallbackModeResponse(const RadioResponseInfo &)478 Return<void> RadioResponse_v1_5::exitEmergencyCallbackModeResponse(
479         const RadioResponseInfo& /*info*/) {
480     return Void();
481 }
482 
getSmscAddressResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)483 Return<void> RadioResponse_v1_5::getSmscAddressResponse(
484         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*smsc*/) {
485     return Void();
486 }
487 
setSmscAddressResponse(const RadioResponseInfo &)488 Return<void> RadioResponse_v1_5::setSmscAddressResponse(const RadioResponseInfo& /*info*/) {
489     return Void();
490 }
491 
reportSmsMemoryStatusResponse(const RadioResponseInfo &)492 Return<void> RadioResponse_v1_5::reportSmsMemoryStatusResponse(const RadioResponseInfo& /*info*/) {
493     return Void();
494 }
495 
reportStkServiceIsRunningResponse(const RadioResponseInfo &)496 Return<void> RadioResponse_v1_5::reportStkServiceIsRunningResponse(
497         const RadioResponseInfo& /*info*/) {
498     return Void();
499 }
500 
getCdmaSubscriptionSourceResponse(const RadioResponseInfo &,CdmaSubscriptionSource)501 Return<void> RadioResponse_v1_5::getCdmaSubscriptionSourceResponse(
502         const RadioResponseInfo& /*info*/, CdmaSubscriptionSource /*source*/) {
503     return Void();
504 }
505 
requestIsimAuthenticationResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)506 Return<void> RadioResponse_v1_5::requestIsimAuthenticationResponse(
507         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*response*/) {
508     return Void();
509 }
510 
acknowledgeIncomingGsmSmsWithPduResponse(const RadioResponseInfo &)511 Return<void> RadioResponse_v1_5::acknowledgeIncomingGsmSmsWithPduResponse(
512         const RadioResponseInfo& /*info*/) {
513     return Void();
514 }
515 
sendEnvelopeWithStatusResponse(const RadioResponseInfo &,const IccIoResult &)516 Return<void> RadioResponse_v1_5::sendEnvelopeWithStatusResponse(const RadioResponseInfo& /*info*/,
517                                                                 const IccIoResult& /*iccIo*/) {
518     return Void();
519 }
520 
getVoiceRadioTechnologyResponse(const RadioResponseInfo &,::android::hardware::radio::V1_0::RadioTechnology)521 Return<void> RadioResponse_v1_5::getVoiceRadioTechnologyResponse(
522         const RadioResponseInfo& /*info*/,
523         ::android::hardware::radio::V1_0::RadioTechnology /*rat*/) {
524     return Void();
525 }
526 
getCellInfoListResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<::android::hardware::radio::V1_0::CellInfo> &)527 Return<void> RadioResponse_v1_5::getCellInfoListResponse(
528         const RadioResponseInfo& /*info*/,
529         const ::android::hardware::hidl_vec<
530                 ::android::hardware::radio::V1_0::CellInfo>& /*cellInfo*/) {
531     return Void();
532 }
533 
setCellInfoListRateResponse(const RadioResponseInfo &)534 Return<void> RadioResponse_v1_5::setCellInfoListRateResponse(const RadioResponseInfo& /*info*/) {
535     return Void();
536 }
537 
setInitialAttachApnResponse(const RadioResponseInfo & info)538 Return<void> RadioResponse_v1_5::setInitialAttachApnResponse(const RadioResponseInfo& info) {
539     rspInfo = info;
540     parent_v1_5.notify(info.serial);
541     return Void();
542 }
543 
getImsRegistrationStateResponse(const RadioResponseInfo &,bool,RadioTechnologyFamily)544 Return<void> RadioResponse_v1_5::getImsRegistrationStateResponse(
545         const RadioResponseInfo& /*info*/, bool /*isRegistered*/,
546         RadioTechnologyFamily /*ratFamily*/) {
547     return Void();
548 }
549 
sendImsSmsResponse(const RadioResponseInfo &,const SendSmsResult &)550 Return<void> RadioResponse_v1_5::sendImsSmsResponse(const RadioResponseInfo& /*info*/,
551                                                     const SendSmsResult& /*sms*/) {
552     return Void();
553 }
554 
iccTransmitApduBasicChannelResponse(const RadioResponseInfo &,const IccIoResult &)555 Return<void> RadioResponse_v1_5::iccTransmitApduBasicChannelResponse(
556         const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
557     return Void();
558 }
559 
iccOpenLogicalChannelResponse(const RadioResponseInfo &,int32_t,const::android::hardware::hidl_vec<int8_t> &)560 Return<void> RadioResponse_v1_5::iccOpenLogicalChannelResponse(
561         const RadioResponseInfo& /*info*/, int32_t /*channelId*/,
562         const ::android::hardware::hidl_vec<int8_t>& /*selectResponse*/) {
563     return Void();
564 }
565 
iccCloseLogicalChannelResponse(const RadioResponseInfo &)566 Return<void> RadioResponse_v1_5::iccCloseLogicalChannelResponse(const RadioResponseInfo& /*info*/) {
567     return Void();
568 }
569 
iccTransmitApduLogicalChannelResponse(const RadioResponseInfo &,const IccIoResult &)570 Return<void> RadioResponse_v1_5::iccTransmitApduLogicalChannelResponse(
571         const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
572     return Void();
573 }
574 
nvReadItemResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)575 Return<void> RadioResponse_v1_5::nvReadItemResponse(
576         const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*result*/) {
577     return Void();
578 }
579 
nvWriteItemResponse(const RadioResponseInfo &)580 Return<void> RadioResponse_v1_5::nvWriteItemResponse(const RadioResponseInfo& /*info*/) {
581     return Void();
582 }
583 
nvWriteCdmaPrlResponse(const RadioResponseInfo &)584 Return<void> RadioResponse_v1_5::nvWriteCdmaPrlResponse(const RadioResponseInfo& /*info*/) {
585     return Void();
586 }
587 
nvResetConfigResponse(const RadioResponseInfo &)588 Return<void> RadioResponse_v1_5::nvResetConfigResponse(const RadioResponseInfo& /*info*/) {
589     return Void();
590 }
591 
setUiccSubscriptionResponse(const RadioResponseInfo &)592 Return<void> RadioResponse_v1_5::setUiccSubscriptionResponse(const RadioResponseInfo& /*info*/) {
593     return Void();
594 }
595 
setDataAllowedResponse(const RadioResponseInfo &)596 Return<void> RadioResponse_v1_5::setDataAllowedResponse(const RadioResponseInfo& /*info*/) {
597     return Void();
598 }
599 
getHardwareConfigResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<HardwareConfig> &)600 Return<void> RadioResponse_v1_5::getHardwareConfigResponse(
601         const RadioResponseInfo& /*info*/,
602         const ::android::hardware::hidl_vec<HardwareConfig>& /*config*/) {
603     return Void();
604 }
605 
requestIccSimAuthenticationResponse(const RadioResponseInfo &,const IccIoResult &)606 Return<void> RadioResponse_v1_5::requestIccSimAuthenticationResponse(
607         const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
608     return Void();
609 }
610 
setDataProfileResponse(const RadioResponseInfo & info)611 Return<void> RadioResponse_v1_5::setDataProfileResponse(const RadioResponseInfo& info) {
612     rspInfo = info;
613     parent_v1_5.notify(info.serial);
614     return Void();
615 }
616 
requestShutdownResponse(const RadioResponseInfo &)617 Return<void> RadioResponse_v1_5::requestShutdownResponse(const RadioResponseInfo& /*info*/) {
618     return Void();
619 }
620 
getRadioCapabilityResponse(const RadioResponseInfo &,const android::hardware::radio::V1_0::RadioCapability &)621 Return<void> RadioResponse_v1_5::getRadioCapabilityResponse(
622         const RadioResponseInfo& /*info*/,
623         const android::hardware::radio::V1_0::RadioCapability& /*rc*/) {
624     return Void();
625 }
626 
setRadioCapabilityResponse(const RadioResponseInfo &,const android::hardware::radio::V1_0::RadioCapability &)627 Return<void> RadioResponse_v1_5::setRadioCapabilityResponse(
628         const RadioResponseInfo& /*info*/,
629         const android::hardware::radio::V1_0::RadioCapability& /*rc*/) {
630     return Void();
631 }
632 
startLceServiceResponse(const RadioResponseInfo &,const LceStatusInfo &)633 Return<void> RadioResponse_v1_5::startLceServiceResponse(const RadioResponseInfo& /*info*/,
634                                                          const LceStatusInfo& /*statusInfo*/) {
635     return Void();
636 }
637 
stopLceServiceResponse(const RadioResponseInfo &,const LceStatusInfo &)638 Return<void> RadioResponse_v1_5::stopLceServiceResponse(const RadioResponseInfo& /*info*/,
639                                                         const LceStatusInfo& /*statusInfo*/) {
640     return Void();
641 }
642 
pullLceDataResponse(const RadioResponseInfo &,const LceDataInfo &)643 Return<void> RadioResponse_v1_5::pullLceDataResponse(const RadioResponseInfo& /*info*/,
644                                                      const LceDataInfo& /*lceInfo*/) {
645     return Void();
646 }
647 
getModemActivityInfoResponse(const RadioResponseInfo &,const ActivityStatsInfo &)648 Return<void> RadioResponse_v1_5::getModemActivityInfoResponse(
649         const RadioResponseInfo& /*info*/, const ActivityStatsInfo& /*activityInfo*/) {
650     return Void();
651 }
652 
setAllowedCarriersResponse(const RadioResponseInfo &,int32_t)653 Return<void> RadioResponse_v1_5::setAllowedCarriersResponse(const RadioResponseInfo& /*info*/,
654                                                             int32_t /*numAllowed*/) {
655     return Void();
656 }
657 
getAllowedCarriersResponse(const RadioResponseInfo &,bool,const CarrierRestrictions &)658 Return<void> RadioResponse_v1_5::getAllowedCarriersResponse(
659         const RadioResponseInfo& /*info*/, bool /*allAllowed*/,
660         const CarrierRestrictions& /*carriers*/) {
661     return Void();
662 }
663 
sendDeviceStateResponse(const RadioResponseInfo &)664 Return<void> RadioResponse_v1_5::sendDeviceStateResponse(const RadioResponseInfo& /*info*/) {
665     return Void();
666 }
667 
setIndicationFilterResponse(const RadioResponseInfo & info)668 Return<void> RadioResponse_v1_5::setIndicationFilterResponse(const RadioResponseInfo& info) {
669     rspInfo = info;
670     parent_v1_5.notify(info.serial);
671     return Void();
672 }
673 
setSimCardPowerResponse(const RadioResponseInfo &)674 Return<void> RadioResponse_v1_5::setSimCardPowerResponse(const RadioResponseInfo& /*info*/) {
675     return Void();
676 }
677 
acknowledgeRequest(int32_t)678 Return<void> RadioResponse_v1_5::acknowledgeRequest(int32_t /*serial*/) {
679     return Void();
680 }
681 
682 /* 1.1 Apis */
setCarrierInfoForImsiEncryptionResponse(const RadioResponseInfo &)683 Return<void> RadioResponse_v1_5::setCarrierInfoForImsiEncryptionResponse(
684         const RadioResponseInfo& /*info*/) {
685     return Void();
686 }
687 
setSimCardPowerResponse_1_1(const RadioResponseInfo &)688 Return<void> RadioResponse_v1_5::setSimCardPowerResponse_1_1(const RadioResponseInfo& /*info*/) {
689     return Void();
690 }
691 
startNetworkScanResponse(const RadioResponseInfo &)692 Return<void> RadioResponse_v1_5::startNetworkScanResponse(const RadioResponseInfo& /*info*/) {
693     return Void();
694 }
695 
stopNetworkScanResponse(const RadioResponseInfo & info)696 Return<void> RadioResponse_v1_5::stopNetworkScanResponse(const RadioResponseInfo& info) {
697     rspInfo = info;
698     parent_v1_5.notify(info.serial);
699     return Void();
700 }
701 
startKeepaliveResponse(const RadioResponseInfo &,const KeepaliveStatus &)702 Return<void> RadioResponse_v1_5::startKeepaliveResponse(const RadioResponseInfo& /*info*/,
703                                                         const KeepaliveStatus& /*status*/) {
704     return Void();
705 }
706 
stopKeepaliveResponse(const RadioResponseInfo &)707 Return<void> RadioResponse_v1_5::stopKeepaliveResponse(const RadioResponseInfo& /*info*/) {
708     return Void();
709 }
710 
711 /* 1.2 Apis */
setSignalStrengthReportingCriteriaResponse(const RadioResponseInfo & info)712 Return<void> RadioResponse_v1_5::setSignalStrengthReportingCriteriaResponse(
713         const RadioResponseInfo& info) {
714     rspInfo = info;
715     parent_v1_5.notify(info.serial);
716     return Void();
717 }
718 
setLinkCapacityReportingCriteriaResponse(const RadioResponseInfo & info)719 Return<void> RadioResponse_v1_5::setLinkCapacityReportingCriteriaResponse(
720         const RadioResponseInfo& info) {
721     rspInfo = info;
722     parent_v1_5.notify(info.serial);
723     return Void();
724 }
725 
getIccCardStatusResponse_1_2(const RadioResponseInfo &,const::android::hardware::radio::V1_2::CardStatus &)726 Return<void> RadioResponse_v1_5::getIccCardStatusResponse_1_2(
727         const RadioResponseInfo& /*info*/,
728         const ::android::hardware::radio::V1_2::CardStatus& /*card_status*/) {
729     return Void();
730 }
731 
getCurrentCallsResponse_1_2(const RadioResponseInfo & info,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::Call> & calls)732 Return<void> RadioResponse_v1_5::getCurrentCallsResponse_1_2(
733         const RadioResponseInfo& info,
734         const ::android::hardware::hidl_vec<::android::hardware::radio::V1_2::Call>& calls) {
735     rspInfo = info;
736     currentCalls = calls;
737     parent_v1_5.notify(info.serial);
738     return Void();
739 }
740 
getSignalStrengthResponse_1_2(const RadioResponseInfo & info,const::android::hardware::radio::V1_2::SignalStrength &)741 Return<void> RadioResponse_v1_5::getSignalStrengthResponse_1_2(
742         const RadioResponseInfo& info,
743         const ::android::hardware::radio::V1_2::SignalStrength& /*sig_strength*/) {
744     rspInfo = info;
745     parent_v1_5.notify(info.serial);
746     return Void();
747 }
748 
getSignalStrengthResponse_1_4(const RadioResponseInfo & info,const::android::hardware::radio::V1_4::SignalStrength &)749 Return<void> RadioResponse_v1_5::getSignalStrengthResponse_1_4(
750         const RadioResponseInfo& info,
751         const ::android::hardware::radio::V1_4::SignalStrength& /*sig_strength*/) {
752     rspInfo = info;
753     parent_v1_5.notify(info.serial);
754     return Void();
755 }
756 
getCellInfoListResponse_1_2(const RadioResponseInfo &,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::CellInfo> &)757 Return<void> RadioResponse_v1_5::getCellInfoListResponse_1_2(
758         const RadioResponseInfo& /*info*/,
759         const ::android::hardware::hidl_vec<
760                 ::android::hardware::radio::V1_2::CellInfo>& /*cellInfo*/) {
761     return Void();
762 }
763 
getVoiceRegistrationStateResponse_1_2(const RadioResponseInfo & info,const::android::hardware::radio::V1_2::VoiceRegStateResult & voiceRegResponse)764 Return<void> RadioResponse_v1_5::getVoiceRegistrationStateResponse_1_2(
765         const RadioResponseInfo& info,
766         const ::android::hardware::radio::V1_2::VoiceRegStateResult& voiceRegResponse) {
767     rspInfo = info;
768     voiceRegResp = voiceRegResponse;
769     parent_v1_5.notify(info.serial);
770     return Void();
771 }
772 
getDataRegistrationStateResponse_1_2(const RadioResponseInfo &,const::android::hardware::radio::V1_2::DataRegStateResult &)773 Return<void> RadioResponse_v1_5::getDataRegistrationStateResponse_1_2(
774         const RadioResponseInfo& /*info*/,
775         const ::android::hardware::radio::V1_2::DataRegStateResult& /*dataRegResponse*/) {
776     return Void();
777 }
778 
779 /* 1.3 Apis */
setSystemSelectionChannelsResponse(const RadioResponseInfo & info)780 Return<void> RadioResponse_v1_5::setSystemSelectionChannelsResponse(const RadioResponseInfo& info) {
781     rspInfo = info;
782     parent_v1_5.notify(info.serial);
783     return Void();
784 }
785 
enableModemResponse(const RadioResponseInfo & info)786 Return<void> RadioResponse_v1_5::enableModemResponse(const RadioResponseInfo& info) {
787     rspInfo = info;
788     parent_v1_5.notify(info.serial);
789     return Void();
790 }
791 
getModemStackStatusResponse(const RadioResponseInfo & info,const bool enabled)792 Return<void> RadioResponse_v1_5::getModemStackStatusResponse(const RadioResponseInfo& info,
793                                                              const bool enabled) {
794     rspInfo = info;
795     isModemEnabled = enabled;
796     parent_v1_5.notify(info.serial);
797     return Void();
798 }
799 
800 /* 1.4 Apis */
emergencyDialResponse(const RadioResponseInfo & info)801 Return<void> RadioResponse_v1_5::emergencyDialResponse(const RadioResponseInfo& info) {
802     rspInfo = info;
803     parent_v1_5.notify(info.serial);
804     return Void();
805 }
806 
startNetworkScanResponse_1_4(const RadioResponseInfo & info)807 Return<void> RadioResponse_v1_5::startNetworkScanResponse_1_4(const RadioResponseInfo& info) {
808     rspInfo = info;
809     parent_v1_5.notify(info.serial);
810     return Void();
811 }
812 
getDataRegistrationStateResponse_1_4(const RadioResponseInfo & info,const::android::hardware::radio::V1_4::DataRegStateResult & dataRegResponse)813 Return<void> RadioResponse_v1_5::getDataRegistrationStateResponse_1_4(
814         const RadioResponseInfo& info,
815         const ::android::hardware::radio::V1_4::DataRegStateResult& dataRegResponse) {
816     rspInfo = info;
817     dataRegResp = dataRegResponse;
818     parent_v1_5.notify(info.serial);
819     return Void();
820 }
821 
getCellInfoListResponse_1_4(const RadioResponseInfo & info,const::android::hardware::hidl_vec<::android::hardware::radio::V1_4::CellInfo> &)822 Return<void> RadioResponse_v1_5::getCellInfoListResponse_1_4(
823         const RadioResponseInfo& info,
824         const ::android::hardware::hidl_vec<
825                 ::android::hardware::radio::V1_4::CellInfo>& /*cellInfo*/) {
826     rspInfo = info;
827     parent_v1_5.notify(info.serial);
828     return Void();
829 }
830 
getIccCardStatusResponse_1_4(const RadioResponseInfo & info,const::android::hardware::radio::V1_4::CardStatus &)831 Return<void> RadioResponse_v1_5::getIccCardStatusResponse_1_4(
832         const RadioResponseInfo& info,
833         const ::android::hardware::radio::V1_4::CardStatus& /*card_status*/) {
834     rspInfo = info;
835     parent_v1_5.notify(info.serial);
836     return Void();
837 }
838 
getPreferredNetworkTypeBitmapResponse(const RadioResponseInfo & info,const::android::hardware::hidl_bitfield<::android::hardware::radio::V1_4::RadioAccessFamily> networkTypeBitmap)839 Return<void> RadioResponse_v1_5::getPreferredNetworkTypeBitmapResponse(
840         const RadioResponseInfo& info, const ::android::hardware::hidl_bitfield<
841                                                ::android::hardware::radio::V1_4::RadioAccessFamily>
842                                                networkTypeBitmap) {
843     rspInfo = info;
844     networkTypeBitmapResponse = networkTypeBitmap;
845     parent_v1_5.notify(info.serial);
846     return Void();
847 }
848 
setPreferredNetworkTypeBitmapResponse(const RadioResponseInfo & info)849 Return<void> RadioResponse_v1_5::setPreferredNetworkTypeBitmapResponse(
850         const RadioResponseInfo& info) {
851     rspInfo = info;
852     parent_v1_5.notify(info.serial);
853     return Void();
854 }
855 
getDataCallListResponse_1_4(const RadioResponseInfo & info,const::android::hardware::hidl_vec<::android::hardware::radio::V1_4::SetupDataCallResult> &)856 Return<void> RadioResponse_v1_5::getDataCallListResponse_1_4(
857         const RadioResponseInfo& info,
858         const ::android::hardware::hidl_vec<::android::hardware::radio::V1_4::SetupDataCallResult>&
859         /*dcResponse*/) {
860     rspInfo = info;
861     parent_v1_5.notify(info.serial);
862     return Void();
863 }
864 
setupDataCallResponse_1_4(const RadioResponseInfo & info,const android::hardware::radio::V1_4::SetupDataCallResult &)865 Return<void> RadioResponse_v1_5::setupDataCallResponse_1_4(
866         const RadioResponseInfo& info,
867         const android::hardware::radio::V1_4::SetupDataCallResult& /*dcResponse*/) {
868     rspInfo = info;
869     parent_v1_5.notify(info.serial);
870     return Void();
871 }
872 
setAllowedCarriersResponse_1_4(const RadioResponseInfo & info)873 Return<void> RadioResponse_v1_5::setAllowedCarriersResponse_1_4(const RadioResponseInfo& info) {
874     rspInfo = info;
875     parent_v1_5.notify(info.serial);
876     return Void();
877 }
878 
getAllowedCarriersResponse_1_4(const RadioResponseInfo & info,const CarrierRestrictionsWithPriority & carriers,SimLockMultiSimPolicy multiSimPolicy)879 Return<void> RadioResponse_v1_5::getAllowedCarriersResponse_1_4(
880         const RadioResponseInfo& info, const CarrierRestrictionsWithPriority& carriers,
881         SimLockMultiSimPolicy multiSimPolicy) {
882     rspInfo = info;
883     carrierRestrictionsResp = carriers;
884     multiSimPolicyResp = multiSimPolicy;
885     parent_v1_5.notify(info.serial);
886     return Void();
887 }
888 
889 /* 1.5 Apis */
setSignalStrengthReportingCriteriaResponse_1_5(const RadioResponseInfo & info)890 Return<void> RadioResponse_v1_5::setSignalStrengthReportingCriteriaResponse_1_5(
891         const RadioResponseInfo& info) {
892     rspInfo = info;
893     parent_v1_5.notify(info.serial);
894     return Void();
895 }
896 
setLinkCapacityReportingCriteriaResponse_1_5(const RadioResponseInfo & info)897 Return<void> RadioResponse_v1_5::setLinkCapacityReportingCriteriaResponse_1_5(
898         const RadioResponseInfo& info) {
899     rspInfo = info;
900     parent_v1_5.notify(info.serial);
901     return Void();
902 }
903 
enableUiccApplicationsResponse(const RadioResponseInfo & info)904 Return<void> RadioResponse_v1_5::enableUiccApplicationsResponse(const RadioResponseInfo& info) {
905     rspInfo = info;
906     parent_v1_5.notify(info.serial);
907     return Void();
908 }
909 
areUiccApplicationsEnabledResponse(const RadioResponseInfo & info,bool enabled)910 Return<void> RadioResponse_v1_5::areUiccApplicationsEnabledResponse(const RadioResponseInfo& info,
911                                                                     bool enabled) {
912     rspInfo = info;
913     areUiccApplicationsEnabled = enabled;
914     parent_v1_5.notify(info.serial);
915     return Void();
916 }
917 
canToggleUiccApplicationsEnablementResponse(const RadioResponseInfo & info,bool canToggle)918 Return<void> RadioResponse_v1_5::canToggleUiccApplicationsEnablementResponse(
919         const RadioResponseInfo& info, bool canToggle) {
920     rspInfo = info;
921     canToggleUiccApplicationsEnablement = canToggle;
922     parent_v1_5.notify(info.serial);
923     return Void();
924 }
925 
setSystemSelectionChannelsResponse_1_5(const RadioResponseInfo & info)926 Return<void> RadioResponse_v1_5::setSystemSelectionChannelsResponse_1_5(
927         const RadioResponseInfo& info) {
928     rspInfo = info;
929     parent_v1_5.notify(info.serial);
930     return Void();
931 }
932 
startNetworkScanResponse_1_5(const RadioResponseInfo & info)933 Return<void> RadioResponse_v1_5::startNetworkScanResponse_1_5(const RadioResponseInfo& info) {
934     rspInfo = info;
935     parent_v1_5.notify(info.serial);
936     return Void();
937 }
938 
setupDataCallResponse_1_5(const RadioResponseInfo & info,const android::hardware::radio::V1_5::SetupDataCallResult &)939 Return<void> RadioResponse_v1_5::setupDataCallResponse_1_5(
940         const RadioResponseInfo& info,
941         const android::hardware::radio::V1_5::SetupDataCallResult& /* dcResponse */) {
942     rspInfo = info;
943     parent_v1_5.notify(info.serial);
944     return Void();
945 }
946 
getDataCallListResponse_1_5(const RadioResponseInfo & info,const hidl_vec<::android::hardware::radio::V1_5::SetupDataCallResult> &)947 Return<void> RadioResponse_v1_5::getDataCallListResponse_1_5(
948         const RadioResponseInfo& info,
949         const hidl_vec<::android::hardware::radio::V1_5::SetupDataCallResult>& /* dcResponse */) {
950     rspInfo = info;
951     parent_v1_5.notify(info.serial);
952     return Void();
953 }
954 
setInitialAttachApnResponse_1_5(const RadioResponseInfo & info)955 Return<void> RadioResponse_v1_5::setInitialAttachApnResponse_1_5(const RadioResponseInfo& info) {
956     rspInfo = info;
957     parent_v1_5.notify(info.serial);
958     return Void();
959 }
960 
setDataProfileResponse_1_5(const RadioResponseInfo & info)961 Return<void> RadioResponse_v1_5::setDataProfileResponse_1_5(const RadioResponseInfo& info) {
962     rspInfo = info;
963     parent_v1_5.notify(info.serial);
964     return Void();
965 }
966 
setRadioPowerResponse_1_5(const RadioResponseInfo & info)967 Return<void> RadioResponse_v1_5::setRadioPowerResponse_1_5(const RadioResponseInfo& info) {
968     rspInfo = info;
969     parent_v1_5.notify(info.serial);
970     return Void();
971 }
972 
setIndicationFilterResponse_1_5(const RadioResponseInfo & info)973 Return<void> RadioResponse_v1_5::setIndicationFilterResponse_1_5(const RadioResponseInfo& info) {
974     rspInfo = info;
975     parent_v1_5.notify(info.serial);
976     return Void();
977 }
978 
getBarringInfoResponse(const RadioResponseInfo & info,const::android::hardware::radio::V1_5::CellIdentity & cellIdentity,const::android::hardware::hidl_vec<::android::hardware::radio::V1_5::BarringInfo> & barringInfos)979 Return<void> RadioResponse_v1_5::getBarringInfoResponse(
980         const RadioResponseInfo& info,
981         const ::android::hardware::radio::V1_5::CellIdentity& cellIdentity,
982         const ::android::hardware::hidl_vec<::android::hardware::radio::V1_5::BarringInfo>&
983                 barringInfos) {
984     this->barringCellIdentity = cellIdentity;
985     this->barringInfos = barringInfos;
986     rspInfo = info;
987     parent_v1_5.notify(info.serial);
988     return Void();
989 }
990 
getVoiceRegistrationStateResponse_1_5(const RadioResponseInfo & info,const::android::hardware::radio::V1_5::RegStateResult & regResponse)991 Return<void> RadioResponse_v1_5::getVoiceRegistrationStateResponse_1_5(
992         const RadioResponseInfo& info,
993         const ::android::hardware::radio::V1_5::RegStateResult& regResponse) {
994     rspInfo = info;
995     voiceRegResp.regState = regResponse.regState;
996     parent_v1_5.notify(info.serial);
997     return Void();
998 }
999 
getDataRegistrationStateResponse_1_5(const RadioResponseInfo & info,const::android::hardware::radio::V1_5::RegStateResult &)1000 Return<void> RadioResponse_v1_5::getDataRegistrationStateResponse_1_5(
1001         const RadioResponseInfo& info,
1002         const ::android::hardware::radio::V1_5::RegStateResult& /*regResponse*/) {
1003     rspInfo = info;
1004     parent_v1_5.notify(info.serial);
1005     return Void();
1006 }
1007 
getCellInfoListResponse_1_5(const RadioResponseInfo &,const::android::hardware::hidl_vec<::android::hardware::radio::V1_5::CellInfo> &)1008 Return<void> RadioResponse_v1_5::getCellInfoListResponse_1_5(
1009         const RadioResponseInfo& /*info*/,
1010         const ::android::hardware::hidl_vec<
1011                 ::android::hardware::radio::V1_5::CellInfo>& /*cellInfo*/) {
1012     return Void();
1013 }
1014 
setNetworkSelectionModeManualResponse_1_5(const RadioResponseInfo & info)1015 Return<void> RadioResponse_v1_5::setNetworkSelectionModeManualResponse_1_5(
1016         const RadioResponseInfo& info) {
1017     rspInfo = info;
1018     parent_v1_5.notify(info.serial);
1019     return Void();
1020 }
1021 
sendCdmaSmsExpectMoreResponse(const RadioResponseInfo & info,const SendSmsResult &)1022 Return<void> RadioResponse_v1_5::sendCdmaSmsExpectMoreResponse(const RadioResponseInfo& info,
1023                                                                const SendSmsResult& /*sms*/) {
1024     rspInfo = info;
1025     parent_v1_5.notify(info.serial);
1026     return Void();
1027 }
1028 
supplySimDepersonalizationResponse(const RadioResponseInfo &,::android::hardware::radio::V1_5::PersoSubstate,int32_t)1029 Return<void> RadioResponse_v1_5::supplySimDepersonalizationResponse(
1030         const RadioResponseInfo& /*info*/,
1031         ::android::hardware::radio::V1_5::PersoSubstate /*persoType*/,
1032         int32_t /*remainingRetries*/) {
1033     return Void();
1034 }
1035 
getIccCardStatusResponse_1_5(const RadioResponseInfo & info,const::android::hardware::radio::V1_5::CardStatus & card_status)1036 Return<void> RadioResponse_v1_5::getIccCardStatusResponse_1_5(
1037         const RadioResponseInfo& info,
1038         const ::android::hardware::radio::V1_5::CardStatus& card_status) {
1039     rspInfo = info;
1040     cardStatus = card_status;
1041     parent_v1_5.notify(info.serial);
1042     return Void();
1043 }
1044