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