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