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_2.h>
18
19 ::android::hardware::radio::V1_2::CardStatus cardStatus;
20
RadioResponse_v1_2(RadioHidlTest_v1_2 & parent)21 RadioResponse_v1_2::RadioResponse_v1_2(RadioHidlTest_v1_2& parent) : parent_v1_2(parent) {}
22
23 /* 1.0 Apis */
getIccCardStatusResponse(const RadioResponseInfo &,const::android::hardware::radio::V1_0::CardStatus &)24 Return<void> RadioResponse_v1_2::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_2::supplyIccPinForAppResponse(const RadioResponseInfo& /*info*/,
31 int32_t /*remainingRetries*/) {
32 return Void();
33 }
34
supplyIccPukForAppResponse(const RadioResponseInfo &,int32_t)35 Return<void> RadioResponse_v1_2::supplyIccPukForAppResponse(const RadioResponseInfo& /*info*/,
36 int32_t /*remainingRetries*/) {
37 return Void();
38 }
39
supplyIccPin2ForAppResponse(const RadioResponseInfo &,int32_t)40 Return<void> RadioResponse_v1_2::supplyIccPin2ForAppResponse(const RadioResponseInfo& /*info*/,
41 int32_t /*remainingRetries*/) {
42 return Void();
43 }
44
supplyIccPuk2ForAppResponse(const RadioResponseInfo &,int32_t)45 Return<void> RadioResponse_v1_2::supplyIccPuk2ForAppResponse(const RadioResponseInfo& /*info*/,
46 int32_t /*remainingRetries*/) {
47 return Void();
48 }
49
changeIccPinForAppResponse(const RadioResponseInfo &,int32_t)50 Return<void> RadioResponse_v1_2::changeIccPinForAppResponse(const RadioResponseInfo& /*info*/,
51 int32_t /*remainingRetries*/) {
52 return Void();
53 }
54
changeIccPin2ForAppResponse(const RadioResponseInfo &,int32_t)55 Return<void> RadioResponse_v1_2::changeIccPin2ForAppResponse(const RadioResponseInfo& /*info*/,
56 int32_t /*remainingRetries*/) {
57 return Void();
58 }
59
supplyNetworkDepersonalizationResponse(const RadioResponseInfo &,int32_t)60 Return<void> RadioResponse_v1_2::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_2::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_2::dialResponse(const RadioResponseInfo& /*info*/) {
72 return Void();
73 }
74
getIMSIForAppResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)75 Return<void> RadioResponse_v1_2::getIMSIForAppResponse(
76 const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*imsi*/) {
77 return Void();
78 }
79
hangupConnectionResponse(const RadioResponseInfo &)80 Return<void> RadioResponse_v1_2::hangupConnectionResponse(const RadioResponseInfo& /*info*/) {
81 return Void();
82 }
83
hangupWaitingOrBackgroundResponse(const RadioResponseInfo &)84 Return<void> RadioResponse_v1_2::hangupWaitingOrBackgroundResponse(
85 const RadioResponseInfo& /*info*/) {
86 return Void();
87 }
88
hangupForegroundResumeBackgroundResponse(const RadioResponseInfo &)89 Return<void> RadioResponse_v1_2::hangupForegroundResumeBackgroundResponse(
90 const RadioResponseInfo& /*info*/) {
91 return Void();
92 }
93
switchWaitingOrHoldingAndActiveResponse(const RadioResponseInfo &)94 Return<void> RadioResponse_v1_2::switchWaitingOrHoldingAndActiveResponse(
95 const RadioResponseInfo& /*info*/) {
96 return Void();
97 }
98
conferenceResponse(const RadioResponseInfo &)99 Return<void> RadioResponse_v1_2::conferenceResponse(const RadioResponseInfo& /*info*/) {
100 return Void();
101 }
102
rejectCallResponse(const RadioResponseInfo &)103 Return<void> RadioResponse_v1_2::rejectCallResponse(const RadioResponseInfo& /*info*/) {
104 return Void();
105 }
106
getLastCallFailCauseResponse(const RadioResponseInfo &,const LastCallFailCauseInfo &)107 Return<void> RadioResponse_v1_2::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_2::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_2::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_2::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_2::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_2::setRadioPowerResponse(const RadioResponseInfo& /*info*/) {
138 return Void();
139 }
140
sendDtmfResponse(const RadioResponseInfo &)141 Return<void> RadioResponse_v1_2::sendDtmfResponse(const RadioResponseInfo& /*info*/) {
142 return Void();
143 }
144
sendSmsResponse(const RadioResponseInfo &,const SendSmsResult &)145 Return<void> RadioResponse_v1_2::sendSmsResponse(const RadioResponseInfo& /*info*/,
146 const SendSmsResult& /*sms*/) {
147 return Void();
148 }
149
sendSMSExpectMoreResponse(const RadioResponseInfo &,const SendSmsResult &)150 Return<void> RadioResponse_v1_2::sendSMSExpectMoreResponse(const RadioResponseInfo& /*info*/,
151 const SendSmsResult& /*sms*/) {
152 return Void();
153 }
154
setupDataCallResponse(const RadioResponseInfo & info,const SetupDataCallResult &)155 Return<void> RadioResponse_v1_2::setupDataCallResponse(const RadioResponseInfo& info,
156 const SetupDataCallResult& /*dcResponse*/) {
157 rspInfo = info;
158 parent_v1_2.notify(info.serial);
159 return Void();
160 }
161
iccIOForAppResponse(const RadioResponseInfo &,const IccIoResult &)162 Return<void> RadioResponse_v1_2::iccIOForAppResponse(const RadioResponseInfo& /*info*/,
163 const IccIoResult& /*iccIo*/) {
164 return Void();
165 }
166
sendUssdResponse(const RadioResponseInfo &)167 Return<void> RadioResponse_v1_2::sendUssdResponse(const RadioResponseInfo& /*info*/) {
168 return Void();
169 }
170
cancelPendingUssdResponse(const RadioResponseInfo &)171 Return<void> RadioResponse_v1_2::cancelPendingUssdResponse(const RadioResponseInfo& /*info*/) {
172 return Void();
173 }
174
getClirResponse(const RadioResponseInfo &,int32_t,int32_t)175 Return<void> RadioResponse_v1_2::getClirResponse(const RadioResponseInfo& /*info*/, int32_t /*n*/,
176 int32_t /*m*/) {
177 return Void();
178 }
179
setClirResponse(const RadioResponseInfo &)180 Return<void> RadioResponse_v1_2::setClirResponse(const RadioResponseInfo& /*info*/) {
181 return Void();
182 }
183
getCallForwardStatusResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<CallForwardInfo> &)184 Return<void> RadioResponse_v1_2::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_2::setCallForwardResponse(const RadioResponseInfo& /*info*/) {
191 return Void();
192 }
193
getCallWaitingResponse(const RadioResponseInfo &,bool,int32_t)194 Return<void> RadioResponse_v1_2::getCallWaitingResponse(const RadioResponseInfo& /*info*/,
195 bool /*enable*/, int32_t /*serviceClass*/) {
196 return Void();
197 }
198
setCallWaitingResponse(const RadioResponseInfo &)199 Return<void> RadioResponse_v1_2::setCallWaitingResponse(const RadioResponseInfo& /*info*/) {
200 return Void();
201 }
202
acknowledgeLastIncomingGsmSmsResponse(const RadioResponseInfo &)203 Return<void> RadioResponse_v1_2::acknowledgeLastIncomingGsmSmsResponse(
204 const RadioResponseInfo& /*info*/) {
205 return Void();
206 }
207
acceptCallResponse(const RadioResponseInfo &)208 Return<void> RadioResponse_v1_2::acceptCallResponse(const RadioResponseInfo& /*info*/) {
209 return Void();
210 }
211
deactivateDataCallResponse(const RadioResponseInfo & info)212 Return<void> RadioResponse_v1_2::deactivateDataCallResponse(const RadioResponseInfo& info) {
213 rspInfo = info;
214 parent_v1_2.notify(info.serial);
215 return Void();
216 }
217
getFacilityLockForAppResponse(const RadioResponseInfo &,int32_t)218 Return<void> RadioResponse_v1_2::getFacilityLockForAppResponse(const RadioResponseInfo& /*info*/,
219 int32_t /*response*/) {
220 return Void();
221 }
222
setFacilityLockForAppResponse(const RadioResponseInfo &,int32_t)223 Return<void> RadioResponse_v1_2::setFacilityLockForAppResponse(const RadioResponseInfo& /*info*/,
224 int32_t /*retry*/) {
225 return Void();
226 }
227
setBarringPasswordResponse(const RadioResponseInfo &)228 Return<void> RadioResponse_v1_2::setBarringPasswordResponse(const RadioResponseInfo& /*info*/) {
229 return Void();
230 }
231
getNetworkSelectionModeResponse(const RadioResponseInfo &,bool)232 Return<void> RadioResponse_v1_2::getNetworkSelectionModeResponse(const RadioResponseInfo& /*info*/,
233 bool /*manual*/) {
234 return Void();
235 }
236
setNetworkSelectionModeAutomaticResponse(const RadioResponseInfo &)237 Return<void> RadioResponse_v1_2::setNetworkSelectionModeAutomaticResponse(
238 const RadioResponseInfo& /*info*/) {
239 return Void();
240 }
241
setNetworkSelectionModeManualResponse(const RadioResponseInfo &)242 Return<void> RadioResponse_v1_2::setNetworkSelectionModeManualResponse(
243 const RadioResponseInfo& /*info*/) {
244 return Void();
245 }
246
getAvailableNetworksResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<OperatorInfo> &)247 Return<void> RadioResponse_v1_2::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_2::startDtmfResponse(const RadioResponseInfo& /*info*/) {
254 return Void();
255 }
256
stopDtmfResponse(const RadioResponseInfo &)257 Return<void> RadioResponse_v1_2::stopDtmfResponse(const RadioResponseInfo& /*info*/) {
258 return Void();
259 }
260
getBasebandVersionResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)261 Return<void> RadioResponse_v1_2::getBasebandVersionResponse(
262 const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*version*/) {
263 return Void();
264 }
265
separateConnectionResponse(const RadioResponseInfo &)266 Return<void> RadioResponse_v1_2::separateConnectionResponse(const RadioResponseInfo& /*info*/) {
267 return Void();
268 }
269
setMuteResponse(const RadioResponseInfo &)270 Return<void> RadioResponse_v1_2::setMuteResponse(const RadioResponseInfo& /*info*/) {
271 return Void();
272 }
273
getMuteResponse(const RadioResponseInfo &,bool)274 Return<void> RadioResponse_v1_2::getMuteResponse(const RadioResponseInfo& /*info*/,
275 bool /*enable*/) {
276 return Void();
277 }
278
getClipResponse(const RadioResponseInfo &,ClipStatus)279 Return<void> RadioResponse_v1_2::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_2::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_2::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_2::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_2::setSuppServiceNotificationsResponse(
302 const RadioResponseInfo& /*info*/) {
303 return Void();
304 }
305
writeSmsToSimResponse(const RadioResponseInfo &,int32_t)306 Return<void> RadioResponse_v1_2::writeSmsToSimResponse(const RadioResponseInfo& /*info*/,
307 int32_t /*index*/) {
308 return Void();
309 }
310
deleteSmsOnSimResponse(const RadioResponseInfo &)311 Return<void> RadioResponse_v1_2::deleteSmsOnSimResponse(const RadioResponseInfo& /*info*/) {
312 return Void();
313 }
314
setBandModeResponse(const RadioResponseInfo &)315 Return<void> RadioResponse_v1_2::setBandModeResponse(const RadioResponseInfo& /*info*/) {
316 return Void();
317 }
318
getAvailableBandModesResponse(const RadioResponseInfo & info,const::android::hardware::hidl_vec<RadioBandMode> & bandModes)319 Return<void> RadioResponse_v1_2::getAvailableBandModesResponse(
320 const RadioResponseInfo& info, const ::android::hardware::hidl_vec<RadioBandMode>& bandModes) {
321 rspInfo = info;
322 radioBandModes = bandModes;
323 parent_v1_2.notify(info.serial);
324 return Void();
325 }
326
sendEnvelopeResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)327 Return<void> RadioResponse_v1_2::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_2::sendTerminalResponseToSimResponse(
334 const RadioResponseInfo& /*info*/) {
335 return Void();
336 }
337
handleStkCallSetupRequestFromSimResponse(const RadioResponseInfo &)338 Return<void> RadioResponse_v1_2::handleStkCallSetupRequestFromSimResponse(
339 const RadioResponseInfo& /*info*/) {
340 return Void();
341 }
342
explicitCallTransferResponse(const RadioResponseInfo &)343 Return<void> RadioResponse_v1_2::explicitCallTransferResponse(const RadioResponseInfo& /*info*/) {
344 return Void();
345 }
346
setPreferredNetworkTypeResponse(const RadioResponseInfo &)347 Return<void> RadioResponse_v1_2::setPreferredNetworkTypeResponse(
348 const RadioResponseInfo& /*info*/) {
349 return Void();
350 }
351
getPreferredNetworkTypeResponse(const RadioResponseInfo &,PreferredNetworkType)352 Return<void> RadioResponse_v1_2::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_2::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_2::setLocationUpdatesResponse(const RadioResponseInfo& /*info*/) {
364 return Void();
365 }
366
setCdmaSubscriptionSourceResponse(const RadioResponseInfo &)367 Return<void> RadioResponse_v1_2::setCdmaSubscriptionSourceResponse(
368 const RadioResponseInfo& /*info*/) {
369 return Void();
370 }
371
setCdmaRoamingPreferenceResponse(const RadioResponseInfo &)372 Return<void> RadioResponse_v1_2::setCdmaRoamingPreferenceResponse(
373 const RadioResponseInfo& /*info*/) {
374 return Void();
375 }
376
getCdmaRoamingPreferenceResponse(const RadioResponseInfo &,CdmaRoamingType)377 Return<void> RadioResponse_v1_2::getCdmaRoamingPreferenceResponse(const RadioResponseInfo& /*info*/,
378 CdmaRoamingType /*type*/) {
379 return Void();
380 }
381
setTTYModeResponse(const RadioResponseInfo &)382 Return<void> RadioResponse_v1_2::setTTYModeResponse(const RadioResponseInfo& /*info*/) {
383 return Void();
384 }
385
getTTYModeResponse(const RadioResponseInfo &,TtyMode)386 Return<void> RadioResponse_v1_2::getTTYModeResponse(const RadioResponseInfo& /*info*/,
387 TtyMode /*mode*/) {
388 return Void();
389 }
390
setPreferredVoicePrivacyResponse(const RadioResponseInfo &)391 Return<void> RadioResponse_v1_2::setPreferredVoicePrivacyResponse(
392 const RadioResponseInfo& /*info*/) {
393 return Void();
394 }
395
getPreferredVoicePrivacyResponse(const RadioResponseInfo &,bool)396 Return<void> RadioResponse_v1_2::getPreferredVoicePrivacyResponse(const RadioResponseInfo& /*info*/,
397 bool /*enable*/) {
398 return Void();
399 }
400
sendCDMAFeatureCodeResponse(const RadioResponseInfo &)401 Return<void> RadioResponse_v1_2::sendCDMAFeatureCodeResponse(const RadioResponseInfo& /*info*/) {
402 return Void();
403 }
404
sendBurstDtmfResponse(const RadioResponseInfo &)405 Return<void> RadioResponse_v1_2::sendBurstDtmfResponse(const RadioResponseInfo& /*info*/) {
406 return Void();
407 }
408
sendCdmaSmsResponse(const RadioResponseInfo &,const SendSmsResult &)409 Return<void> RadioResponse_v1_2::sendCdmaSmsResponse(const RadioResponseInfo& /*info*/,
410 const SendSmsResult& /*sms*/) {
411 return Void();
412 }
413
acknowledgeLastIncomingCdmaSmsResponse(const RadioResponseInfo &)414 Return<void> RadioResponse_v1_2::acknowledgeLastIncomingCdmaSmsResponse(
415 const RadioResponseInfo& /*info*/) {
416 return Void();
417 }
418
getGsmBroadcastConfigResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<GsmBroadcastSmsConfigInfo> &)419 Return<void> RadioResponse_v1_2::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_2::setGsmBroadcastConfigResponse(const RadioResponseInfo& /*info*/) {
426 return Void();
427 }
428
setGsmBroadcastActivationResponse(const RadioResponseInfo &)429 Return<void> RadioResponse_v1_2::setGsmBroadcastActivationResponse(
430 const RadioResponseInfo& /*info*/) {
431 return Void();
432 }
433
getCdmaBroadcastConfigResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<CdmaBroadcastSmsConfigInfo> &)434 Return<void> RadioResponse_v1_2::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_2::setCdmaBroadcastConfigResponse(const RadioResponseInfo& /*info*/) {
441 return Void();
442 }
443
setCdmaBroadcastActivationResponse(const RadioResponseInfo &)444 Return<void> RadioResponse_v1_2::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_2::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_2::writeSmsToRuimResponse(const RadioResponseInfo& /*info*/,
459 uint32_t /*index*/) {
460 return Void();
461 }
462
deleteSmsOnRuimResponse(const RadioResponseInfo &)463 Return<void> RadioResponse_v1_2::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_2::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_2::exitEmergencyCallbackModeResponse(
476 const RadioResponseInfo& /*info*/) {
477 return Void();
478 }
479
getSmscAddressResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)480 Return<void> RadioResponse_v1_2::getSmscAddressResponse(
481 const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*smsc*/) {
482 return Void();
483 }
484
setSmscAddressResponse(const RadioResponseInfo &)485 Return<void> RadioResponse_v1_2::setSmscAddressResponse(const RadioResponseInfo& /*info*/) {
486 return Void();
487 }
488
reportSmsMemoryStatusResponse(const RadioResponseInfo &)489 Return<void> RadioResponse_v1_2::reportSmsMemoryStatusResponse(const RadioResponseInfo& /*info*/) {
490 return Void();
491 }
492
reportStkServiceIsRunningResponse(const RadioResponseInfo &)493 Return<void> RadioResponse_v1_2::reportStkServiceIsRunningResponse(
494 const RadioResponseInfo& /*info*/) {
495 return Void();
496 }
497
getCdmaSubscriptionSourceResponse(const RadioResponseInfo &,CdmaSubscriptionSource)498 Return<void> RadioResponse_v1_2::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_2::requestIsimAuthenticationResponse(
504 const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*response*/) {
505 return Void();
506 }
507
acknowledgeIncomingGsmSmsWithPduResponse(const RadioResponseInfo &)508 Return<void> RadioResponse_v1_2::acknowledgeIncomingGsmSmsWithPduResponse(
509 const RadioResponseInfo& /*info*/) {
510 return Void();
511 }
512
sendEnvelopeWithStatusResponse(const RadioResponseInfo &,const IccIoResult &)513 Return<void> RadioResponse_v1_2::sendEnvelopeWithStatusResponse(const RadioResponseInfo& /*info*/,
514 const IccIoResult& /*iccIo*/) {
515 return Void();
516 }
517
getVoiceRadioTechnologyResponse(const RadioResponseInfo &,RadioTechnology)518 Return<void> RadioResponse_v1_2::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_2::getCellInfoListResponse(
524 const RadioResponseInfo& /*info*/,
525 const ::android::hardware::hidl_vec<::android::hardware::radio::V1_0::CellInfo>& /*cellInfo*/) {
526 return Void();
527 }
528
setCellInfoListRateResponse(const RadioResponseInfo &)529 Return<void> RadioResponse_v1_2::setCellInfoListRateResponse(const RadioResponseInfo& /*info*/) {
530 return Void();
531 }
532
setInitialAttachApnResponse(const RadioResponseInfo &)533 Return<void> RadioResponse_v1_2::setInitialAttachApnResponse(const RadioResponseInfo& /*info*/) {
534 return Void();
535 }
536
getImsRegistrationStateResponse(const RadioResponseInfo &,bool,RadioTechnologyFamily)537 Return<void> RadioResponse_v1_2::getImsRegistrationStateResponse(
538 const RadioResponseInfo& /*info*/, bool /*isRegistered*/, RadioTechnologyFamily /*ratFamily*/) {
539 return Void();
540 }
541
sendImsSmsResponse(const RadioResponseInfo &,const SendSmsResult &)542 Return<void> RadioResponse_v1_2::sendImsSmsResponse(const RadioResponseInfo& /*info*/,
543 const SendSmsResult& /*sms*/) {
544 return Void();
545 }
546
iccTransmitApduBasicChannelResponse(const RadioResponseInfo &,const IccIoResult &)547 Return<void> RadioResponse_v1_2::iccTransmitApduBasicChannelResponse(
548 const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
549 return Void();
550 }
551
iccOpenLogicalChannelResponse(const RadioResponseInfo &,int32_t,const::android::hardware::hidl_vec<int8_t> &)552 Return<void> RadioResponse_v1_2::iccOpenLogicalChannelResponse(
553 const RadioResponseInfo& /*info*/, int32_t /*channelId*/,
554 const ::android::hardware::hidl_vec<int8_t>& /*selectResponse*/) {
555 return Void();
556 }
557
iccCloseLogicalChannelResponse(const RadioResponseInfo &)558 Return<void> RadioResponse_v1_2::iccCloseLogicalChannelResponse(const RadioResponseInfo& /*info*/) {
559 return Void();
560 }
561
iccTransmitApduLogicalChannelResponse(const RadioResponseInfo &,const IccIoResult &)562 Return<void> RadioResponse_v1_2::iccTransmitApduLogicalChannelResponse(
563 const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
564 return Void();
565 }
566
nvReadItemResponse(const RadioResponseInfo &,const::android::hardware::hidl_string &)567 Return<void> RadioResponse_v1_2::nvReadItemResponse(
568 const RadioResponseInfo& /*info*/, const ::android::hardware::hidl_string& /*result*/) {
569 return Void();
570 }
571
nvWriteItemResponse(const RadioResponseInfo &)572 Return<void> RadioResponse_v1_2::nvWriteItemResponse(const RadioResponseInfo& /*info*/) {
573 return Void();
574 }
575
nvWriteCdmaPrlResponse(const RadioResponseInfo &)576 Return<void> RadioResponse_v1_2::nvWriteCdmaPrlResponse(const RadioResponseInfo& /*info*/) {
577 return Void();
578 }
579
nvResetConfigResponse(const RadioResponseInfo &)580 Return<void> RadioResponse_v1_2::nvResetConfigResponse(const RadioResponseInfo& /*info*/) {
581 return Void();
582 }
583
setUiccSubscriptionResponse(const RadioResponseInfo &)584 Return<void> RadioResponse_v1_2::setUiccSubscriptionResponse(const RadioResponseInfo& /*info*/) {
585 return Void();
586 }
587
setDataAllowedResponse(const RadioResponseInfo &)588 Return<void> RadioResponse_v1_2::setDataAllowedResponse(const RadioResponseInfo& /*info*/) {
589 return Void();
590 }
591
getHardwareConfigResponse(const RadioResponseInfo &,const::android::hardware::hidl_vec<HardwareConfig> &)592 Return<void> RadioResponse_v1_2::getHardwareConfigResponse(
593 const RadioResponseInfo& /*info*/,
594 const ::android::hardware::hidl_vec<HardwareConfig>& /*config*/) {
595 return Void();
596 }
597
requestIccSimAuthenticationResponse(const RadioResponseInfo &,const IccIoResult &)598 Return<void> RadioResponse_v1_2::requestIccSimAuthenticationResponse(
599 const RadioResponseInfo& /*info*/, const IccIoResult& /*result*/) {
600 return Void();
601 }
602
setDataProfileResponse(const RadioResponseInfo &)603 Return<void> RadioResponse_v1_2::setDataProfileResponse(const RadioResponseInfo& /*info*/) {
604 return Void();
605 }
606
requestShutdownResponse(const RadioResponseInfo &)607 Return<void> RadioResponse_v1_2::requestShutdownResponse(const RadioResponseInfo& /*info*/) {
608 return Void();
609 }
610
getRadioCapabilityResponse(const RadioResponseInfo &,const RadioCapability &)611 Return<void> RadioResponse_v1_2::getRadioCapabilityResponse(const RadioResponseInfo& /*info*/,
612 const RadioCapability& /*rc*/) {
613 return Void();
614 }
615
setRadioCapabilityResponse(const RadioResponseInfo &,const RadioCapability &)616 Return<void> RadioResponse_v1_2::setRadioCapabilityResponse(const RadioResponseInfo& /*info*/,
617 const RadioCapability& /*rc*/) {
618 return Void();
619 }
620
startLceServiceResponse(const RadioResponseInfo &,const LceStatusInfo &)621 Return<void> RadioResponse_v1_2::startLceServiceResponse(const RadioResponseInfo& /*info*/,
622 const LceStatusInfo& /*statusInfo*/) {
623 return Void();
624 }
625
stopLceServiceResponse(const RadioResponseInfo &,const LceStatusInfo &)626 Return<void> RadioResponse_v1_2::stopLceServiceResponse(const RadioResponseInfo& /*info*/,
627 const LceStatusInfo& /*statusInfo*/) {
628 return Void();
629 }
630
pullLceDataResponse(const RadioResponseInfo &,const LceDataInfo &)631 Return<void> RadioResponse_v1_2::pullLceDataResponse(const RadioResponseInfo& /*info*/,
632 const LceDataInfo& /*lceInfo*/) {
633 return Void();
634 }
635
getModemActivityInfoResponse(const RadioResponseInfo &,const ActivityStatsInfo &)636 Return<void> RadioResponse_v1_2::getModemActivityInfoResponse(
637 const RadioResponseInfo& /*info*/, const ActivityStatsInfo& /*activityInfo*/) {
638 return Void();
639 }
640
setAllowedCarriersResponse(const RadioResponseInfo &,int32_t)641 Return<void> RadioResponse_v1_2::setAllowedCarriersResponse(const RadioResponseInfo& /*info*/,
642 int32_t /*numAllowed*/) {
643 return Void();
644 }
645
getAllowedCarriersResponse(const RadioResponseInfo &,bool,const CarrierRestrictions &)646 Return<void> RadioResponse_v1_2::getAllowedCarriersResponse(
647 const RadioResponseInfo& /*info*/, bool /*allAllowed*/,
648 const CarrierRestrictions& /*carriers*/) {
649 return Void();
650 }
651
sendDeviceStateResponse(const RadioResponseInfo &)652 Return<void> RadioResponse_v1_2::sendDeviceStateResponse(const RadioResponseInfo& /*info*/) {
653 return Void();
654 }
655
setIndicationFilterResponse(const RadioResponseInfo & info)656 Return<void> RadioResponse_v1_2::setIndicationFilterResponse(const RadioResponseInfo& info) {
657 rspInfo = info;
658 parent_v1_2.notify(info.serial);
659 return Void();
660 }
661
setSimCardPowerResponse(const RadioResponseInfo &)662 Return<void> RadioResponse_v1_2::setSimCardPowerResponse(const RadioResponseInfo& /*info*/) {
663 return Void();
664 }
665
acknowledgeRequest(int32_t)666 Return<void> RadioResponse_v1_2::acknowledgeRequest(int32_t /*serial*/) {
667 return Void();
668 }
669
670 /* 1.1 Apis */
setCarrierInfoForImsiEncryptionResponse(const RadioResponseInfo &)671 Return<void> RadioResponse_v1_2::setCarrierInfoForImsiEncryptionResponse(
672 const RadioResponseInfo& /*info*/) {
673 return Void();
674 }
675
setSimCardPowerResponse_1_1(const RadioResponseInfo &)676 Return<void> RadioResponse_v1_2::setSimCardPowerResponse_1_1(const RadioResponseInfo& /*info*/) {
677 return Void();
678 }
679
startNetworkScanResponse(const RadioResponseInfo & info)680 Return<void> RadioResponse_v1_2::startNetworkScanResponse(const RadioResponseInfo& info) {
681 rspInfo = info;
682 parent_v1_2.notify(info.serial);
683 return Void();
684 }
685
stopNetworkScanResponse(const RadioResponseInfo & info)686 Return<void> RadioResponse_v1_2::stopNetworkScanResponse(const RadioResponseInfo& info) {
687 rspInfo = info;
688 parent_v1_2.notify(info.serial);
689 return Void();
690 }
691
startKeepaliveResponse(const RadioResponseInfo &,const KeepaliveStatus &)692 Return<void> RadioResponse_v1_2::startKeepaliveResponse(const RadioResponseInfo& /*info*/,
693 const KeepaliveStatus& /*status*/) {
694 return Void();
695 }
696
stopKeepaliveResponse(const RadioResponseInfo &)697 Return<void> RadioResponse_v1_2::stopKeepaliveResponse(const RadioResponseInfo& /*info*/) {
698 return Void();
699 }
700
701 /* 1.2 Apis */
setSignalStrengthReportingCriteriaResponse(const RadioResponseInfo & info)702 Return<void> RadioResponse_v1_2::setSignalStrengthReportingCriteriaResponse(
703 const RadioResponseInfo& info) {
704 rspInfo = info;
705 parent_v1_2.notify(info.serial);
706 return Void();
707 }
708
setLinkCapacityReportingCriteriaResponse(const RadioResponseInfo & info)709 Return<void> RadioResponse_v1_2::setLinkCapacityReportingCriteriaResponse(
710 const RadioResponseInfo& info) {
711 rspInfo = info;
712 parent_v1_2.notify(info.serial);
713 return Void();
714 }
715
getIccCardStatusResponse_1_2(const RadioResponseInfo & info,const::android::hardware::radio::V1_2::CardStatus & card_status)716 Return<void> RadioResponse_v1_2::getIccCardStatusResponse_1_2(
717 const RadioResponseInfo& info,
718 const ::android::hardware::radio::V1_2::CardStatus& card_status) {
719 rspInfo = info;
720 cardStatus = card_status;
721 parent_v1_2.notify(info.serial);
722 return Void();
723 }
724
getCurrentCallsResponse_1_2(const RadioResponseInfo & info,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::Call> &)725 Return<void> RadioResponse_v1_2::getCurrentCallsResponse_1_2(
726 const RadioResponseInfo& info,
727 const ::android::hardware::hidl_vec<::android::hardware::radio::V1_2::Call>& /*calls*/) {
728 rspInfo = info;
729 parent_v1_2.notify(info.serial);
730 return Void();
731 }
732
getSignalStrengthResponse_1_2(const RadioResponseInfo & info,const::android::hardware::radio::V1_2::SignalStrength &)733 Return<void> RadioResponse_v1_2::getSignalStrengthResponse_1_2(
734 const RadioResponseInfo& info,
735 const ::android::hardware::radio::V1_2::SignalStrength& /*sig_strength*/) {
736 rspInfo = info;
737 parent_v1_2.notify(info.serial);
738 return Void();
739 }
740
getCellInfoListResponse_1_2(const RadioResponseInfo & info,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::CellInfo> &)741 Return<void> RadioResponse_v1_2::getCellInfoListResponse_1_2(
742 const RadioResponseInfo& info,
743 const ::android::hardware::hidl_vec<::android::hardware::radio::V1_2::CellInfo>& /*cellInfo*/) {
744 rspInfo = info;
745 parent_v1_2.notify(info.serial);
746 return Void();
747 }
748
getVoiceRegistrationStateResponse_1_2(const RadioResponseInfo & info,const::android::hardware::radio::V1_2::VoiceRegStateResult &)749 Return<void> RadioResponse_v1_2::getVoiceRegistrationStateResponse_1_2(
750 const RadioResponseInfo& info,
751 const ::android::hardware::radio::V1_2::VoiceRegStateResult& /*voiceRegResponse*/) {
752 rspInfo = info;
753 parent_v1_2.notify(info.serial);
754 return Void();
755 }
756
getDataRegistrationStateResponse_1_2(const RadioResponseInfo & info,const::android::hardware::radio::V1_2::DataRegStateResult & dataRegResponse)757 Return<void> RadioResponse_v1_2::getDataRegistrationStateResponse_1_2(
758 const RadioResponseInfo& info,
759 const ::android::hardware::radio::V1_2::DataRegStateResult& dataRegResponse) {
760 rspInfo = info;
761 dataRegResp = dataRegResponse;
762 parent_v1_2.notify(info.serial);
763 return Void();
764 }
765