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_sim_utils.h"
18
RadioSimIndication(RadioServiceTest & parent)19 RadioSimIndication::RadioSimIndication(RadioServiceTest& parent) : parent_sim(parent) {}
20
carrierInfoForImsiEncryption(RadioIndicationType)21 ndk::ScopedAStatus RadioSimIndication::carrierInfoForImsiEncryption(RadioIndicationType /*info*/) {
22 return ndk::ScopedAStatus::ok();
23 }
24
cdmaSubscriptionSourceChanged(RadioIndicationType,CdmaSubscriptionSource)25 ndk::ScopedAStatus RadioSimIndication::cdmaSubscriptionSourceChanged(
26 RadioIndicationType /*type*/, CdmaSubscriptionSource /*cdmaSource*/) {
27 return ndk::ScopedAStatus::ok();
28 }
29
simPhonebookChanged(RadioIndicationType)30 ndk::ScopedAStatus RadioSimIndication::simPhonebookChanged(RadioIndicationType /*type*/) {
31 return ndk::ScopedAStatus::ok();
32 }
33
simPhonebookRecordsReceived(RadioIndicationType,PbReceivedStatus,const std::vector<PhonebookRecordInfo> &)34 ndk::ScopedAStatus RadioSimIndication::simPhonebookRecordsReceived(
35 RadioIndicationType /*type*/, PbReceivedStatus /*status*/,
36 const std::vector<PhonebookRecordInfo>& /*records*/) {
37 return ndk::ScopedAStatus::ok();
38 }
39
simRefresh(RadioIndicationType,const SimRefreshResult &)40 ndk::ScopedAStatus RadioSimIndication::simRefresh(RadioIndicationType /*type*/,
41 const SimRefreshResult& /*refreshResult*/) {
42 return ndk::ScopedAStatus::ok();
43 }
44
simStatusChanged(RadioIndicationType)45 ndk::ScopedAStatus RadioSimIndication::simStatusChanged(RadioIndicationType /*type*/) {
46 return ndk::ScopedAStatus::ok();
47 }
48
stkEventNotify(RadioIndicationType,const std::string &)49 ndk::ScopedAStatus RadioSimIndication::stkEventNotify(RadioIndicationType /*type*/,
50 const std::string& /*cmd*/) {
51 return ndk::ScopedAStatus::ok();
52 }
53
stkProactiveCommand(RadioIndicationType,const std::string &)54 ndk::ScopedAStatus RadioSimIndication::stkProactiveCommand(RadioIndicationType /*type*/,
55 const std::string& /*cmd*/) {
56 return ndk::ScopedAStatus::ok();
57 }
58
stkSessionEnd(RadioIndicationType)59 ndk::ScopedAStatus RadioSimIndication::stkSessionEnd(RadioIndicationType /*type*/) {
60 return ndk::ScopedAStatus::ok();
61 }
62
subscriptionStatusChanged(RadioIndicationType,bool)63 ndk::ScopedAStatus RadioSimIndication::subscriptionStatusChanged(RadioIndicationType /*type*/,
64 bool /*activate*/) {
65 return ndk::ScopedAStatus::ok();
66 }
67
uiccApplicationsEnablementChanged(RadioIndicationType,bool)68 ndk::ScopedAStatus RadioSimIndication::uiccApplicationsEnablementChanged(
69 RadioIndicationType /*type*/, bool /*enabled*/) {
70 return ndk::ScopedAStatus::ok();
71 }
72