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 
RadioIndication_v1_3(RadioHidlTest_v1_3 & parent)19 RadioIndication_v1_3::RadioIndication_v1_3(RadioHidlTest_v1_3& parent) : parent_v1_3(parent) {}
20 
21 /* 1.2 Apis */
networkScanResult_1_2(RadioIndicationType,const::android::hardware::radio::V1_2::NetworkScanResult &)22 Return<void> RadioIndication_v1_3::networkScanResult_1_2(
23         RadioIndicationType /*type*/,
24         const ::android::hardware::radio::V1_2::NetworkScanResult& /*result*/) {
25     return Void();
26 }
27 
cellInfoList_1_2(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::CellInfo> &)28 Return<void> RadioIndication_v1_3::cellInfoList_1_2(
29         RadioIndicationType /*type*/,
30         const ::android::hardware::hidl_vec<
31                 ::android::hardware::radio::V1_2::CellInfo>& /*records*/) {
32     return Void();
33 }
34 
currentLinkCapacityEstimate(RadioIndicationType,const::android::hardware::radio::V1_2::LinkCapacityEstimate &)35 Return<void> RadioIndication_v1_3::currentLinkCapacityEstimate(
36         RadioIndicationType /*type*/,
37         const ::android::hardware::radio::V1_2::LinkCapacityEstimate& /*lce*/) {
38     return Void();
39 }
40 
currentPhysicalChannelConfigs(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_2::PhysicalChannelConfig> &)41 Return<void> RadioIndication_v1_3::currentPhysicalChannelConfigs(
42         RadioIndicationType /*type*/,
43         const ::android::hardware::hidl_vec<
44                 ::android::hardware::radio::V1_2::PhysicalChannelConfig>& /*configs*/) {
45     return Void();
46 }
47 
currentSignalStrength_1_2(RadioIndicationType,const::android::hardware::radio::V1_2::SignalStrength &)48 Return<void> RadioIndication_v1_3::currentSignalStrength_1_2(
49         RadioIndicationType /*type*/,
50         const ::android::hardware::radio::V1_2::SignalStrength& /*signalStrength*/) {
51     return Void();
52 }
53 
54 /* 1.1 Apis */
carrierInfoForImsiEncryption(RadioIndicationType)55 Return<void> RadioIndication_v1_3::carrierInfoForImsiEncryption(RadioIndicationType /*info*/) {
56     return Void();
57 }
58 
networkScanResult(RadioIndicationType,const::android::hardware::radio::V1_1::NetworkScanResult &)59 Return<void> RadioIndication_v1_3::networkScanResult(
60         RadioIndicationType /*type*/,
61         const ::android::hardware::radio::V1_1::NetworkScanResult& /*result*/) {
62     return Void();
63 }
64 
keepaliveStatus(RadioIndicationType,const KeepaliveStatus &)65 Return<void> RadioIndication_v1_3::keepaliveStatus(RadioIndicationType /*type*/,
66                                                    const KeepaliveStatus& /*status*/) {
67     return Void();
68 }
69 
70 /* 1.0 Apis */
radioStateChanged(RadioIndicationType,RadioState)71 Return<void> RadioIndication_v1_3::radioStateChanged(RadioIndicationType /*type*/,
72                                                      RadioState /*radioState*/) {
73     return Void();
74 }
75 
callStateChanged(RadioIndicationType)76 Return<void> RadioIndication_v1_3::callStateChanged(RadioIndicationType /*type*/) {
77     return Void();
78 }
79 
networkStateChanged(RadioIndicationType)80 Return<void> RadioIndication_v1_3::networkStateChanged(RadioIndicationType /*type*/) {
81     return Void();
82 }
83 
newSms(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)84 Return<void> RadioIndication_v1_3::newSms(RadioIndicationType /*type*/,
85                                           const ::android::hardware::hidl_vec<uint8_t>& /*pdu*/) {
86     return Void();
87 }
88 
newSmsStatusReport(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)89 Return<void> RadioIndication_v1_3::newSmsStatusReport(
90         RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<uint8_t>& /*pdu*/) {
91     return Void();
92 }
93 
newSmsOnSim(RadioIndicationType,int32_t)94 Return<void> RadioIndication_v1_3::newSmsOnSim(RadioIndicationType /*type*/,
95                                                int32_t /*recordNumber*/) {
96     return Void();
97 }
98 
onUssd(RadioIndicationType,UssdModeType,const::android::hardware::hidl_string &)99 Return<void> RadioIndication_v1_3::onUssd(RadioIndicationType /*type*/, UssdModeType /*modeType*/,
100                                           const ::android::hardware::hidl_string& /*msg*/) {
101     return Void();
102 }
103 
nitzTimeReceived(RadioIndicationType,const::android::hardware::hidl_string &,uint64_t)104 Return<void> RadioIndication_v1_3::nitzTimeReceived(
105         RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*nitzTime*/,
106         uint64_t /*receivedTime*/) {
107     return Void();
108 }
109 
currentSignalStrength(RadioIndicationType,const::android::hardware::radio::V1_0::SignalStrength &)110 Return<void> RadioIndication_v1_3::currentSignalStrength(
111         RadioIndicationType /*type*/,
112         const ::android::hardware::radio::V1_0::SignalStrength& /*signalStrength*/) {
113     return Void();
114 }
115 
dataCallListChanged(RadioIndicationType,const::android::hardware::hidl_vec<SetupDataCallResult> &)116 Return<void> RadioIndication_v1_3::dataCallListChanged(
117         RadioIndicationType /*type*/,
118         const ::android::hardware::hidl_vec<SetupDataCallResult>& /*dcList*/) {
119     return Void();
120 }
121 
suppSvcNotify(RadioIndicationType,const SuppSvcNotification &)122 Return<void> RadioIndication_v1_3::suppSvcNotify(RadioIndicationType /*type*/,
123                                                  const SuppSvcNotification& /*suppSvc*/) {
124     return Void();
125 }
126 
stkSessionEnd(RadioIndicationType)127 Return<void> RadioIndication_v1_3::stkSessionEnd(RadioIndicationType /*type*/) {
128     return Void();
129 }
130 
stkProactiveCommand(RadioIndicationType,const::android::hardware::hidl_string &)131 Return<void> RadioIndication_v1_3::stkProactiveCommand(
132         RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*cmd*/) {
133     return Void();
134 }
135 
stkEventNotify(RadioIndicationType,const::android::hardware::hidl_string &)136 Return<void> RadioIndication_v1_3::stkEventNotify(RadioIndicationType /*type*/,
137                                                   const ::android::hardware::hidl_string& /*cmd*/) {
138     return Void();
139 }
140 
stkCallSetup(RadioIndicationType,int64_t)141 Return<void> RadioIndication_v1_3::stkCallSetup(RadioIndicationType /*type*/, int64_t /*timeout*/) {
142     return Void();
143 }
144 
simSmsStorageFull(RadioIndicationType)145 Return<void> RadioIndication_v1_3::simSmsStorageFull(RadioIndicationType /*type*/) {
146     return Void();
147 }
148 
simRefresh(RadioIndicationType,const SimRefreshResult &)149 Return<void> RadioIndication_v1_3::simRefresh(RadioIndicationType /*type*/,
150                                               const SimRefreshResult& /*refreshResult*/) {
151     return Void();
152 }
153 
callRing(RadioIndicationType,bool,const CdmaSignalInfoRecord &)154 Return<void> RadioIndication_v1_3::callRing(RadioIndicationType /*type*/, bool /*isGsm*/,
155                                             const CdmaSignalInfoRecord& /*record*/) {
156     return Void();
157 }
158 
simStatusChanged(RadioIndicationType)159 Return<void> RadioIndication_v1_3::simStatusChanged(RadioIndicationType /*type*/) {
160     return Void();
161 }
162 
cdmaNewSms(RadioIndicationType,const CdmaSmsMessage &)163 Return<void> RadioIndication_v1_3::cdmaNewSms(RadioIndicationType /*type*/,
164                                               const CdmaSmsMessage& /*msg*/) {
165     return Void();
166 }
167 
newBroadcastSms(RadioIndicationType,const::android::hardware::hidl_vec<uint8_t> &)168 Return<void> RadioIndication_v1_3::newBroadcastSms(
169         RadioIndicationType /*type*/, const ::android::hardware::hidl_vec<uint8_t>& /*data*/) {
170     return Void();
171 }
172 
cdmaRuimSmsStorageFull(RadioIndicationType)173 Return<void> RadioIndication_v1_3::cdmaRuimSmsStorageFull(RadioIndicationType /*type*/) {
174     return Void();
175 }
176 
restrictedStateChanged(RadioIndicationType,PhoneRestrictedState)177 Return<void> RadioIndication_v1_3::restrictedStateChanged(RadioIndicationType /*type*/,
178                                                           PhoneRestrictedState /*state*/) {
179     return Void();
180 }
181 
enterEmergencyCallbackMode(RadioIndicationType)182 Return<void> RadioIndication_v1_3::enterEmergencyCallbackMode(RadioIndicationType /*type*/) {
183     return Void();
184 }
185 
cdmaCallWaiting(RadioIndicationType,const CdmaCallWaiting &)186 Return<void> RadioIndication_v1_3::cdmaCallWaiting(RadioIndicationType /*type*/,
187                                                    const CdmaCallWaiting& /*callWaitingRecord*/) {
188     return Void();
189 }
190 
cdmaOtaProvisionStatus(RadioIndicationType,CdmaOtaProvisionStatus)191 Return<void> RadioIndication_v1_3::cdmaOtaProvisionStatus(RadioIndicationType /*type*/,
192                                                           CdmaOtaProvisionStatus /*status*/) {
193     return Void();
194 }
195 
cdmaInfoRec(RadioIndicationType,const CdmaInformationRecords &)196 Return<void> RadioIndication_v1_3::cdmaInfoRec(RadioIndicationType /*type*/,
197                                                const CdmaInformationRecords& /*records*/) {
198     return Void();
199 }
200 
indicateRingbackTone(RadioIndicationType,bool)201 Return<void> RadioIndication_v1_3::indicateRingbackTone(RadioIndicationType /*type*/,
202                                                         bool /*start*/) {
203     return Void();
204 }
205 
resendIncallMute(RadioIndicationType)206 Return<void> RadioIndication_v1_3::resendIncallMute(RadioIndicationType /*type*/) {
207     return Void();
208 }
209 
cdmaSubscriptionSourceChanged(RadioIndicationType,CdmaSubscriptionSource)210 Return<void> RadioIndication_v1_3::cdmaSubscriptionSourceChanged(
211         RadioIndicationType /*type*/, CdmaSubscriptionSource /*cdmaSource*/) {
212     return Void();
213 }
214 
cdmaPrlChanged(RadioIndicationType,int32_t)215 Return<void> RadioIndication_v1_3::cdmaPrlChanged(RadioIndicationType /*type*/,
216                                                   int32_t /*version*/) {
217     return Void();
218 }
219 
exitEmergencyCallbackMode(RadioIndicationType)220 Return<void> RadioIndication_v1_3::exitEmergencyCallbackMode(RadioIndicationType /*type*/) {
221     return Void();
222 }
223 
rilConnected(RadioIndicationType)224 Return<void> RadioIndication_v1_3::rilConnected(RadioIndicationType /*type*/) {
225     return Void();
226 }
227 
voiceRadioTechChanged(RadioIndicationType,RadioTechnology)228 Return<void> RadioIndication_v1_3::voiceRadioTechChanged(RadioIndicationType /*type*/,
229                                                          RadioTechnology /*rat*/) {
230     return Void();
231 }
232 
cellInfoList(RadioIndicationType,const::android::hardware::hidl_vec<::android::hardware::radio::V1_0::CellInfo> &)233 Return<void> RadioIndication_v1_3::cellInfoList(
234         RadioIndicationType /*type*/,
235         const ::android::hardware::hidl_vec<
236                 ::android::hardware::radio::V1_0::CellInfo>& /*records*/) {
237     return Void();
238 }
239 
imsNetworkStateChanged(RadioIndicationType)240 Return<void> RadioIndication_v1_3::imsNetworkStateChanged(RadioIndicationType /*type*/) {
241     return Void();
242 }
243 
subscriptionStatusChanged(RadioIndicationType,bool)244 Return<void> RadioIndication_v1_3::subscriptionStatusChanged(RadioIndicationType /*type*/,
245                                                              bool /*activate*/) {
246     return Void();
247 }
248 
srvccStateNotify(RadioIndicationType,SrvccState)249 Return<void> RadioIndication_v1_3::srvccStateNotify(RadioIndicationType /*type*/,
250                                                     SrvccState /*state*/) {
251     return Void();
252 }
253 
hardwareConfigChanged(RadioIndicationType,const::android::hardware::hidl_vec<HardwareConfig> &)254 Return<void> RadioIndication_v1_3::hardwareConfigChanged(
255         RadioIndicationType /*type*/,
256         const ::android::hardware::hidl_vec<HardwareConfig>& /*configs*/) {
257     return Void();
258 }
259 
radioCapabilityIndication(RadioIndicationType,const RadioCapability &)260 Return<void> RadioIndication_v1_3::radioCapabilityIndication(RadioIndicationType /*type*/,
261                                                              const RadioCapability& /*rc*/) {
262     return Void();
263 }
264 
onSupplementaryServiceIndication(RadioIndicationType,const StkCcUnsolSsResult &)265 Return<void> RadioIndication_v1_3::onSupplementaryServiceIndication(
266         RadioIndicationType /*type*/, const StkCcUnsolSsResult& /*ss*/) {
267     return Void();
268 }
269 
stkCallControlAlphaNotify(RadioIndicationType,const::android::hardware::hidl_string &)270 Return<void> RadioIndication_v1_3::stkCallControlAlphaNotify(
271         RadioIndicationType /*type*/, const ::android::hardware::hidl_string& /*alpha*/) {
272     return Void();
273 }
274 
lceData(RadioIndicationType,const LceDataInfo &)275 Return<void> RadioIndication_v1_3::lceData(RadioIndicationType /*type*/,
276                                            const LceDataInfo& /*lce*/) {
277     return Void();
278 }
279 
pcoData(RadioIndicationType,const PcoDataInfo &)280 Return<void> RadioIndication_v1_3::pcoData(RadioIndicationType /*type*/,
281                                            const PcoDataInfo& /*pco*/) {
282     return Void();
283 }
284 
modemReset(RadioIndicationType,const::android::hardware::hidl_string &)285 Return<void> RadioIndication_v1_3::modemReset(RadioIndicationType /*type*/,
286                                               const ::android::hardware::hidl_string& /*reason*/) {
287     return Void();
288 }