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