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