1 /*
2 * Copyright (C) 2020 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_6.h>
18
RadioIndication_v1_6(RadioHidlTest_v1_6 & parent)19 RadioIndication_v1_6::RadioIndication_v1_6(RadioHidlTest_v1_6& parent) : parent_v1_6(parent) {}
20
21 /* 1.6 Apis */
dataCallListChanged_1_6(RadioIndicationType,const hidl_vec<android::hardware::radio::V1_6::SetupDataCallResult> &)22 Return<void> RadioIndication_v1_6::dataCallListChanged_1_6(
23 RadioIndicationType /*type*/,
24 const hidl_vec<android::hardware::radio::V1_6::SetupDataCallResult>& /*dcList*/) {
25 return Void();
26 }
27
unthrottleApn(RadioIndicationType,const::android::hardware::hidl_string &)28 Return<void> RadioIndication_v1_6::unthrottleApn(RadioIndicationType /*type*/,
29 const ::android::hardware::hidl_string& /*apn*/) {
30 return Void();
31 }
32
currentPhysicalChannelConfigs_1_6(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_6::PhysicalChannelConfig> &)33 Return<void> RadioIndication_v1_6::currentPhysicalChannelConfigs_1_6(
34 RadioIndicationType /*type*/,
35 const ::android::hardware::hidl_vec<
36 ::android::hardware::radio::V1_6::PhysicalChannelConfig>& /*configs*/) {
37 return Void();
38 }
39
40 /* 1.5 Apis */
uiccApplicationsEnablementChanged(RadioIndicationType,bool)41 Return<void> RadioIndication_v1_6::uiccApplicationsEnablementChanged(RadioIndicationType /*type*/,
42 bool /*enabled*/) {
43 return Void();
44 }
45
registrationFailed(RadioIndicationType,const::android::hardware::radio::V1_5::CellIdentity &,const hidl_string &,::android::hardware::hidl_bitfield<::android::hardware::radio::V1_5::Domain>,int32_t,int32_t)46 Return<void> RadioIndication_v1_6::registrationFailed(
47 RadioIndicationType /*type*/,
48 const ::android::hardware::radio::V1_5::CellIdentity& /*cellIdentity*/,
49 const hidl_string& /*chosenPlmn*/,
50 ::android::hardware::hidl_bitfield<::android::hardware::radio::V1_5::Domain> /*domain*/,
51 int32_t /*causeCode*/, int32_t /*additionalCauseCode*/) {
52 return Void();
53 }
54
barringInfoChanged(RadioIndicationType,const::android::hardware::radio::V1_5::CellIdentity &,const hidl_vec<::android::hardware::radio::V1_5::BarringInfo> &)55 Return<void> RadioIndication_v1_6::barringInfoChanged(
56 RadioIndicationType /*type*/,
57 const ::android::hardware::radio::V1_5::CellIdentity& /*cellIdentity*/,
58 const hidl_vec<::android::hardware::radio::V1_5::BarringInfo>& /*barringInfos*/) {
59 return Void();
60 }
61
networkScanResult_1_5(RadioIndicationType,const::android::hardware::radio::V1_5::NetworkScanResult &)62 Return<void> RadioIndication_v1_6::networkScanResult_1_5(
63 RadioIndicationType /*type*/,
64 const ::android::hardware::radio::V1_5::NetworkScanResult& /*result*/) {
65 return Void();
66 }
67
cellInfoList_1_5(RadioIndicationType,const hidl_vec<::android::hardware::radio::V1_5::CellInfo> &)68 Return<void> RadioIndication_v1_6::cellInfoList_1_5(
69 RadioIndicationType /*type*/,
70 const hidl_vec<::android::hardware::radio::V1_5::CellInfo>& /*records*/) {
71 return Void();
72 }
73
dataCallListChanged_1_5(RadioIndicationType,const hidl_vec<android::hardware::radio::V1_5::SetupDataCallResult> &)74 Return<void> RadioIndication_v1_6::dataCallListChanged_1_5(
75 RadioIndicationType /*type*/,
76 const hidl_vec<android::hardware::radio::V1_5::SetupDataCallResult>& /*dcList*/) {
77 return Void();
78 }
79
80 /* 1.4 Apis */
currentPhysicalChannelConfigs_1_4(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_4::PhysicalChannelConfig> &)81 Return<void> RadioIndication_v1_6::currentPhysicalChannelConfigs_1_4(
82 RadioIndicationType /*type*/,
83 const ::android::hardware::hidl_vec<
84 ::android::hardware::radio::V1_4::PhysicalChannelConfig>& /*configs*/) {
85 return Void();
86 }
87
networkScanResult_1_4(RadioIndicationType,const::android::hardware::radio::V1_4::NetworkScanResult &)88 Return<void> RadioIndication_v1_6::networkScanResult_1_4(
89 RadioIndicationType /*type*/,
90 const ::android::hardware::radio::V1_4::NetworkScanResult& /*result*/) {
91 return Void();
92 }
93
cellInfoList_1_4(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_4::CellInfo> &)94 Return<void> RadioIndication_v1_6::cellInfoList_1_4(
95 RadioIndicationType /*type*/,
96 const ::android::hardware::hidl_vec<
97 ::android::hardware::radio::V1_4::CellInfo>& /*records*/) {
98 return Void();
99 }
100
currentEmergencyNumberList(RadioIndicationType,const::android::hardware::hidl_vec<EmergencyNumber> &)101 Return<void> RadioIndication_v1_6::currentEmergencyNumberList(
102 RadioIndicationType /*type*/,
103 const ::android::hardware::hidl_vec<EmergencyNumber>& /*emergencyNumberList*/) {
104 return Void();
105 }
106
dataCallListChanged_1_4(RadioIndicationType,const::android::hardware::hidl_vec<android::hardware::radio::V1_4::SetupDataCallResult> &)107 Return<void> RadioIndication_v1_6::dataCallListChanged_1_4(
108 RadioIndicationType /*type*/,
109 const ::android::hardware::hidl_vec<android::hardware::radio::V1_4::SetupDataCallResult>&
110 /*dcList*/) {
111 return Void();
112 }
113
114 /* 1.2 Apis */
networkScanResult_1_2(RadioIndicationType,const::android::hardware::radio::V1_2::NetworkScanResult &)115 Return<void> RadioIndication_v1_6::networkScanResult_1_2(
116 RadioIndicationType /*type*/,
117 const ::android::hardware::radio::V1_2::NetworkScanResult& /*result*/) {
118 return Void();
119 }
120
cellInfoList_1_2(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::CellInfo> &)121 Return<void> RadioIndication_v1_6::cellInfoList_1_2(
122 RadioIndicationType /*type*/,
123 const ::android::hardware::hidl_vec<
124 ::android::hardware::radio::V1_2::CellInfo>& /*records*/) {
125 return Void();
126 }
127
currentLinkCapacityEstimate(RadioIndicationType,const::android::hardware::radio::V1_2::LinkCapacityEstimate &)128 Return<void> RadioIndication_v1_6::currentLinkCapacityEstimate(
129 RadioIndicationType /*type*/,
130 const ::android::hardware::radio::V1_2::LinkCapacityEstimate& /*lce*/) {
131 return Void();
132 }
133
currentLinkCapacityEstimate_1_6(RadioIndicationType,const::android::hardware::radio::V1_6::LinkCapacityEstimate &)134 Return<void> RadioIndication_v1_6::currentLinkCapacityEstimate_1_6(
135 RadioIndicationType /*type*/,
136 const ::android::hardware::radio::V1_6::LinkCapacityEstimate& /*lce*/) {
137 return Void();
138 }
139
currentPhysicalChannelConfigs(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::PhysicalChannelConfig> &)140 Return<void> RadioIndication_v1_6::currentPhysicalChannelConfigs(
141 RadioIndicationType /*type*/,
142 const ::android::hardware::hidl_vec<
143 ::android::hardware::radio::V1_2::PhysicalChannelConfig>& /*configs*/) {
144 return Void();
145 }
146
currentSignalStrength_1_2(RadioIndicationType,const::android::hardware::radio::V1_2::SignalStrength &)147 Return<void> RadioIndication_v1_6::currentSignalStrength_1_2(
148 RadioIndicationType /*type*/,
149 const ::android::hardware::radio::V1_2::SignalStrength& /*signalStrength*/) {
150 return Void();
151 }
152
currentSignalStrength_1_4(RadioIndicationType,const::android::hardware::radio::V1_4::SignalStrength &)153 Return<void> RadioIndication_v1_6::currentSignalStrength_1_4(
154 RadioIndicationType /*type*/,
155 const ::android::hardware::radio::V1_4::SignalStrength& /*signalStrength*/) {
156 return Void();
157 }
158
159 /* 1.1 Apis */
carrierInfoForImsiEncryption(RadioIndicationType)160 Return<void> RadioIndication_v1_6::carrierInfoForImsiEncryption(RadioIndicationType /*info*/) {
161 return Void();
162 }
163
networkScanResult(RadioIndicationType,const::android::hardware::radio::V1_1::NetworkScanResult &)164 Return<void> RadioIndication_v1_6::networkScanResult(
165 RadioIndicationType /*type*/,
166 const ::android::hardware::radio::V1_1::NetworkScanResult& /*result*/) {
167 return Void();
168 }
169
keepaliveStatus(RadioIndicationType,const KeepaliveStatus &)170 Return<void> RadioIndication_v1_6::keepaliveStatus(RadioIndicationType /*type*/,
171 const KeepaliveStatus& /*status*/) {
172 return Void();
173 }
174
175 /* 1.0 Apis */
radioStateChanged(RadioIndicationType,RadioState)176 Return<void> RadioIndication_v1_6::radioStateChanged(RadioIndicationType /*type*/,
177 RadioState /*radioState*/) {
178 return Void();
179 }
180
callStateChanged(RadioIndicationType)181 Return<void> RadioIndication_v1_6::callStateChanged(RadioIndicationType /*type*/) {
182 return Void();
183 }
184
networkStateChanged(RadioIndicationType)185 Return<void> RadioIndication_v1_6::networkStateChanged(RadioIndicationType /*type*/) {
186 return Void();
187 }
188
newSms(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)189 Return<void> RadioIndication_v1_6::newSms(RadioIndicationType /*type*/,
190 const ::android::hardware::hidl_vec<uint8_t>& /*pdu*/) {
191 return Void();
192 }
193
newSmsStatusReport(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)194 Return<void> RadioIndication_v1_6::newSmsStatusReport(
195 RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<uint8_t>& /*pdu*/) {
196 return Void();
197 }
198
newSmsOnSim(RadioIndicationType,int32_t)199 Return<void> RadioIndication_v1_6::newSmsOnSim(RadioIndicationType /*type*/,
200 int32_t /*recordNumber*/) {
201 return Void();
202 }
203
onUssd(RadioIndicationType,UssdModeType,const::android::hardware::hidl_string &)204 Return<void> RadioIndication_v1_6::onUssd(RadioIndicationType /*type*/, UssdModeType /*modeType*/,
205 const ::android::hardware::hidl_string& /*msg*/) {
206 return Void();
207 }
208
nitzTimeReceived(RadioIndicationType,const::android::hardware::hidl_string &,uint64_t)209 Return<void> RadioIndication_v1_6::nitzTimeReceived(
210 RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*nitzTime*/,
211 uint64_t /*receivedTime*/) {
212 return Void();
213 }
214
currentSignalStrength(RadioIndicationType,const::android::hardware::radio::V1_0::SignalStrength &)215 Return<void> RadioIndication_v1_6::currentSignalStrength(
216 RadioIndicationType /*type*/,
217 const ::android::hardware::radio::V1_0::SignalStrength& /*signalStrength*/) {
218 return Void();
219 }
220
dataCallListChanged(RadioIndicationType,const::android::hardware::hidl_vec<android::hardware::radio::V1_0::SetupDataCallResult> &)221 Return<void> RadioIndication_v1_6::dataCallListChanged(
222 RadioIndicationType /*type*/,
223 const ::android::hardware::hidl_vec<android::hardware::radio::V1_0::SetupDataCallResult>&
224 /*dcList*/) {
225 return Void();
226 }
227
suppSvcNotify(RadioIndicationType,const SuppSvcNotification &)228 Return<void> RadioIndication_v1_6::suppSvcNotify(RadioIndicationType /*type*/,
229 const SuppSvcNotification& /*suppSvc*/) {
230 return Void();
231 }
232
stkSessionEnd(RadioIndicationType)233 Return<void> RadioIndication_v1_6::stkSessionEnd(RadioIndicationType /*type*/) {
234 return Void();
235 }
236
stkProactiveCommand(RadioIndicationType,const::android::hardware::hidl_string &)237 Return<void> RadioIndication_v1_6::stkProactiveCommand(
238 RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*cmd*/) {
239 return Void();
240 }
241
stkEventNotify(RadioIndicationType,const::android::hardware::hidl_string &)242 Return<void> RadioIndication_v1_6::stkEventNotify(RadioIndicationType /*type*/,
243 const ::android::hardware::hidl_string& /*cmd*/) {
244 return Void();
245 }
246
stkCallSetup(RadioIndicationType,int64_t)247 Return<void> RadioIndication_v1_6::stkCallSetup(RadioIndicationType /*type*/, int64_t /*timeout*/) {
248 return Void();
249 }
250
simSmsStorageFull(RadioIndicationType)251 Return<void> RadioIndication_v1_6::simSmsStorageFull(RadioIndicationType /*type*/) {
252 return Void();
253 }
254
simRefresh(RadioIndicationType,const SimRefreshResult &)255 Return<void> RadioIndication_v1_6::simRefresh(RadioIndicationType /*type*/,
256 const SimRefreshResult& /*refreshResult*/) {
257 return Void();
258 }
259
callRing(RadioIndicationType,bool,const CdmaSignalInfoRecord &)260 Return<void> RadioIndication_v1_6::callRing(RadioIndicationType /*type*/, bool /*isGsm*/,
261 const CdmaSignalInfoRecord& /*record*/) {
262 return Void();
263 }
264
simStatusChanged(RadioIndicationType)265 Return<void> RadioIndication_v1_6::simStatusChanged(RadioIndicationType /*type*/) {
266 return Void();
267 }
268
cdmaNewSms(RadioIndicationType,const CdmaSmsMessage &)269 Return<void> RadioIndication_v1_6::cdmaNewSms(RadioIndicationType /*type*/,
270 const CdmaSmsMessage& /*msg*/) {
271 return Void();
272 }
273
newBroadcastSms(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)274 Return<void> RadioIndication_v1_6::newBroadcastSms(
275 RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<uint8_t>& /*data*/) {
276 return Void();
277 }
278
cdmaRuimSmsStorageFull(RadioIndicationType)279 Return<void> RadioIndication_v1_6::cdmaRuimSmsStorageFull(RadioIndicationType /*type*/) {
280 return Void();
281 }
282
restrictedStateChanged(RadioIndicationType,PhoneRestrictedState)283 Return<void> RadioIndication_v1_6::restrictedStateChanged(RadioIndicationType /*type*/,
284 PhoneRestrictedState /*state*/) {
285 return Void();
286 }
287
enterEmergencyCallbackMode(RadioIndicationType)288 Return<void> RadioIndication_v1_6::enterEmergencyCallbackMode(RadioIndicationType /*type*/) {
289 return Void();
290 }
291
cdmaCallWaiting(RadioIndicationType,const CdmaCallWaiting &)292 Return<void> RadioIndication_v1_6::cdmaCallWaiting(RadioIndicationType /*type*/,
293 const CdmaCallWaiting& /*callWaitingRecord*/) {
294 return Void();
295 }
296
cdmaOtaProvisionStatus(RadioIndicationType,CdmaOtaProvisionStatus)297 Return<void> RadioIndication_v1_6::cdmaOtaProvisionStatus(RadioIndicationType /*type*/,
298 CdmaOtaProvisionStatus /*status*/) {
299 return Void();
300 }
301
cdmaInfoRec(RadioIndicationType,const CdmaInformationRecords &)302 Return<void> RadioIndication_v1_6::cdmaInfoRec(RadioIndicationType /*type*/,
303 const CdmaInformationRecords& /*records*/) {
304 return Void();
305 }
306
indicateRingbackTone(RadioIndicationType,bool)307 Return<void> RadioIndication_v1_6::indicateRingbackTone(RadioIndicationType /*type*/,
308 bool /*start*/) {
309 return Void();
310 }
311
resendIncallMute(RadioIndicationType)312 Return<void> RadioIndication_v1_6::resendIncallMute(RadioIndicationType /*type*/) {
313 return Void();
314 }
315
cdmaSubscriptionSourceChanged(RadioIndicationType,CdmaSubscriptionSource)316 Return<void> RadioIndication_v1_6::cdmaSubscriptionSourceChanged(
317 RadioIndicationType /*type*/, CdmaSubscriptionSource /*cdmaSource*/) {
318 return Void();
319 }
320
cdmaPrlChanged(RadioIndicationType,int32_t)321 Return<void> RadioIndication_v1_6::cdmaPrlChanged(RadioIndicationType /*type*/,
322 int32_t /*version*/) {
323 return Void();
324 }
325
exitEmergencyCallbackMode(RadioIndicationType)326 Return<void> RadioIndication_v1_6::exitEmergencyCallbackMode(RadioIndicationType /*type*/) {
327 return Void();
328 }
329
rilConnected(RadioIndicationType)330 Return<void> RadioIndication_v1_6::rilConnected(RadioIndicationType /*type*/) {
331 return Void();
332 }
333
voiceRadioTechChanged(RadioIndicationType,::android::hardware::radio::V1_0::RadioTechnology)334 Return<void> RadioIndication_v1_6::voiceRadioTechChanged(
335 RadioIndicationType /*type*/, ::android::hardware::radio::V1_0::RadioTechnology /*rat*/) {
336 return Void();
337 }
338
cellInfoList(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_0::CellInfo> &)339 Return<void> RadioIndication_v1_6::cellInfoList(
340 RadioIndicationType /*type*/,
341 const ::android::hardware::hidl_vec<
342 ::android::hardware::radio::V1_0::CellInfo>& /*records*/) {
343 return Void();
344 }
345
imsNetworkStateChanged(RadioIndicationType)346 Return<void> RadioIndication_v1_6::imsNetworkStateChanged(RadioIndicationType /*type*/) {
347 return Void();
348 }
349
subscriptionStatusChanged(RadioIndicationType,bool)350 Return<void> RadioIndication_v1_6::subscriptionStatusChanged(RadioIndicationType /*type*/,
351 bool /*activate*/) {
352 return Void();
353 }
354
srvccStateNotify(RadioIndicationType,SrvccState)355 Return<void> RadioIndication_v1_6::srvccStateNotify(RadioIndicationType /*type*/,
356 SrvccState /*state*/) {
357 return Void();
358 }
359
hardwareConfigChanged(RadioIndicationType,const::android::hardware::hidl_vec<HardwareConfig> &)360 Return<void> RadioIndication_v1_6::hardwareConfigChanged(
361 RadioIndicationType /*type*/,
362 const ::android::hardware::hidl_vec<HardwareConfig>& /*configs*/) {
363 return Void();
364 }
365
radioCapabilityIndication(RadioIndicationType,const android::hardware::radio::V1_0::RadioCapability &)366 Return<void> RadioIndication_v1_6::radioCapabilityIndication(
367 RadioIndicationType /*type*/,
368 const android::hardware::radio::V1_0::RadioCapability& /*rc*/) {
369 return Void();
370 }
371
onSupplementaryServiceIndication(RadioIndicationType,const StkCcUnsolSsResult &)372 Return<void> RadioIndication_v1_6::onSupplementaryServiceIndication(
373 RadioIndicationType /*type*/, const StkCcUnsolSsResult& /*ss*/) {
374 return Void();
375 }
376
stkCallControlAlphaNotify(RadioIndicationType,const::android::hardware::hidl_string &)377 Return<void> RadioIndication_v1_6::stkCallControlAlphaNotify(
378 RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*alpha*/) {
379 return Void();
380 }
381
lceData(RadioIndicationType,const LceDataInfo &)382 Return<void> RadioIndication_v1_6::lceData(RadioIndicationType /*type*/,
383 const LceDataInfo& /*lce*/) {
384 return Void();
385 }
386
pcoData(RadioIndicationType,const PcoDataInfo &)387 Return<void> RadioIndication_v1_6::pcoData(RadioIndicationType /*type*/,
388 const PcoDataInfo& /*pco*/) {
389 return Void();
390 }
391
modemReset(RadioIndicationType,const::android::hardware::hidl_string &)392 Return<void> RadioIndication_v1_6::modemReset(RadioIndicationType /*type*/,
393 const ::android::hardware::hidl_string& /*reason*/) {
394 return Void();
395 }
396
currentSignalStrength_1_6(RadioIndicationType,const::android::hardware::radio::V1_6::SignalStrength &)397 Return<void> RadioIndication_v1_6::currentSignalStrength_1_6(
398 RadioIndicationType /*type*/,
399 const ::android::hardware::radio::V1_6::SignalStrength& /*signalStrength*/) {
400 return Void();
401 }
402
networkScanResult_1_6(RadioIndicationType,const::android::hardware::radio::V1_6::NetworkScanResult &)403 Return<void> RadioIndication_v1_6::networkScanResult_1_6(
404 RadioIndicationType /*type*/,
405 const ::android::hardware::radio::V1_6::NetworkScanResult& /*result*/) {
406 return Void();
407 }
408
cellInfoList_1_6(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_6::CellInfo> &)409 Return<void> RadioIndication_v1_6::cellInfoList_1_6(
410 RadioIndicationType /*type*/,
411 const ::android::hardware::hidl_vec<
412 ::android::hardware::radio::V1_6::CellInfo>& /*records*/) {
413 return Void();
414 }
415
simPhonebookChanged(RadioIndicationType)416 Return<void> RadioIndication_v1_6::simPhonebookChanged(
417 RadioIndicationType /*type*/) {
418 return Void();
419 }
420
simPhonebookRecordsReceived(RadioIndicationType,::android::hardware::radio::V1_6::PbReceivedStatus,const::android::hardware::hidl_vec<::android::hardware::radio::V1_6::PhonebookRecordInfo> &)421 Return<void> RadioIndication_v1_6::simPhonebookRecordsReceived(
422 RadioIndicationType /*type*/,
423 ::android::hardware::radio::V1_6::PbReceivedStatus /*status*/,
424 const ::android::hardware::hidl_vec<
425 ::android::hardware::radio::V1_6::PhonebookRecordInfo>& /*records*/) {
426 return Void();
427 }
428