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_voice_utils.h"
18
RadioVoiceIndication(RadioServiceTest & parent)19 RadioVoiceIndication::RadioVoiceIndication(RadioServiceTest& parent) : parent_voice(parent) {}
20
callRing(RadioIndicationType,bool,const CdmaSignalInfoRecord &)21 ndk::ScopedAStatus RadioVoiceIndication::callRing(RadioIndicationType /*type*/, bool /*isGsm*/,
22 const CdmaSignalInfoRecord& /*record*/) {
23 return ndk::ScopedAStatus::ok();
24 }
25
callStateChanged(RadioIndicationType)26 ndk::ScopedAStatus RadioVoiceIndication::callStateChanged(RadioIndicationType /*type*/) {
27 return ndk::ScopedAStatus::ok();
28 }
29
cdmaCallWaiting(RadioIndicationType,const CdmaCallWaiting &)30 ndk::ScopedAStatus RadioVoiceIndication::cdmaCallWaiting(
31 RadioIndicationType /*type*/, const CdmaCallWaiting& /*callWaitingRecord*/) {
32 return ndk::ScopedAStatus::ok();
33 }
34
cdmaInfoRec(RadioIndicationType,const std::vector<CdmaInformationRecord> &)35 ndk::ScopedAStatus RadioVoiceIndication::cdmaInfoRec(
36 RadioIndicationType /*type*/, const std::vector<CdmaInformationRecord>& /*records*/) {
37 return ndk::ScopedAStatus::ok();
38 }
39
cdmaOtaProvisionStatus(RadioIndicationType,CdmaOtaProvisionStatus)40 ndk::ScopedAStatus RadioVoiceIndication::cdmaOtaProvisionStatus(RadioIndicationType /*type*/,
41 CdmaOtaProvisionStatus /*status*/) {
42 return ndk::ScopedAStatus::ok();
43 }
44
currentEmergencyNumberList(RadioIndicationType,const std::vector<EmergencyNumber> &)45 ndk::ScopedAStatus RadioVoiceIndication::currentEmergencyNumberList(
46 RadioIndicationType /*type*/, const std::vector<EmergencyNumber>& /*emergencyNumberList*/) {
47 return ndk::ScopedAStatus::ok();
48 }
49
enterEmergencyCallbackMode(RadioIndicationType)50 ndk::ScopedAStatus RadioVoiceIndication::enterEmergencyCallbackMode(RadioIndicationType /*type*/) {
51 return ndk::ScopedAStatus::ok();
52 }
53
exitEmergencyCallbackMode(RadioIndicationType)54 ndk::ScopedAStatus RadioVoiceIndication::exitEmergencyCallbackMode(RadioIndicationType /*type*/) {
55 return ndk::ScopedAStatus::ok();
56 }
57
indicateRingbackTone(RadioIndicationType,bool)58 ndk::ScopedAStatus RadioVoiceIndication::indicateRingbackTone(RadioIndicationType /*type*/,
59 bool /*start*/) {
60 return ndk::ScopedAStatus::ok();
61 }
62
onSupplementaryServiceIndication(RadioIndicationType,const StkCcUnsolSsResult &)63 ndk::ScopedAStatus RadioVoiceIndication::onSupplementaryServiceIndication(
64 RadioIndicationType /*type*/, const StkCcUnsolSsResult& /*ss*/) {
65 return ndk::ScopedAStatus::ok();
66 }
67
onUssd(RadioIndicationType,UssdModeType,const std::string &)68 ndk::ScopedAStatus RadioVoiceIndication::onUssd(RadioIndicationType /*type*/,
69 UssdModeType /*modeType*/,
70 const std::string& /*msg*/) {
71 return ndk::ScopedAStatus::ok();
72 }
73
resendIncallMute(RadioIndicationType)74 ndk::ScopedAStatus RadioVoiceIndication::resendIncallMute(RadioIndicationType /*type*/) {
75 return ndk::ScopedAStatus::ok();
76 }
77
srvccStateNotify(RadioIndicationType,SrvccState)78 ndk::ScopedAStatus RadioVoiceIndication::srvccStateNotify(RadioIndicationType /*type*/,
79 SrvccState /*state*/) {
80 return ndk::ScopedAStatus::ok();
81 }
82
stkCallControlAlphaNotify(RadioIndicationType,const std::string &)83 ndk::ScopedAStatus RadioVoiceIndication::stkCallControlAlphaNotify(RadioIndicationType /*type*/,
84 const std::string& /*alpha*/) {
85 return ndk::ScopedAStatus::ok();
86 }
87
stkCallSetup(RadioIndicationType,int64_t)88 ndk::ScopedAStatus RadioVoiceIndication::stkCallSetup(RadioIndicationType /*type*/,
89 int64_t /*timeout*/) {
90 return ndk::ScopedAStatus::ok();
91 }
92