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