xref: /aosp_15_r20/hardware/interfaces/radio/aidl/vts/radio_modem_indication.cpp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1 /*
2  * Copyright (C) 2021 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_modem_utils.h"
18 
RadioModemIndication(RadioServiceTest & parent)19 RadioModemIndication::RadioModemIndication(RadioServiceTest& parent) : parent_modem(parent) {}
20 
hardwareConfigChanged(RadioIndicationType,const std::vector<HardwareConfig> &)21 ndk::ScopedAStatus RadioModemIndication::hardwareConfigChanged(
22         RadioIndicationType /*type*/, const std::vector<HardwareConfig>& /*configs*/) {
23     return ndk::ScopedAStatus::ok();
24 }
25 
modemReset(RadioIndicationType,const std::string &)26 ndk::ScopedAStatus RadioModemIndication::modemReset(RadioIndicationType /*type*/,
27                                                     const std::string& /*reason*/) {
28     return ndk::ScopedAStatus::ok();
29 }
30 
radioCapabilityIndication(RadioIndicationType,const RadioCapability &)31 ndk::ScopedAStatus RadioModemIndication::radioCapabilityIndication(RadioIndicationType /*type*/,
32                                                                    const RadioCapability& /*rc*/) {
33     return ndk::ScopedAStatus::ok();
34 }
35 
radioStateChanged(RadioIndicationType,RadioState)36 ndk::ScopedAStatus RadioModemIndication::radioStateChanged(RadioIndicationType /*type*/,
37                                                            RadioState /*radioState*/) {
38     return ndk::ScopedAStatus::ok();
39 }
40 
rilConnected(RadioIndicationType)41 ndk::ScopedAStatus RadioModemIndication::rilConnected(RadioIndicationType /*type*/) {
42     return ndk::ScopedAStatus::ok();
43 }
44 
onImeiMappingChanged(RadioIndicationType,const::aidl::android::hardware::radio::modem::ImeiInfo &)45 ndk::ScopedAStatus RadioModemIndication::onImeiMappingChanged(RadioIndicationType /*type*/,
46      const ::aidl::android::hardware::radio::modem::ImeiInfo& /*imeiInfo*/) {
47     return ndk::ScopedAStatus::ok();
48 }
49