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