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