blob: 7eeb266f4aa9383bdd202cfc011f94ce6dadf551 [file] [log] [blame]
Sarah Chinfc5603b2021-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_messaging_utils.h"
18
19RadioMessagingIndication::RadioMessagingIndication(RadioMessagingTest& parent)
20 : parent_messaging(parent) {}
21
22ndk::ScopedAStatus RadioMessagingIndication::cdmaNewSms(RadioIndicationType /*type*/,
23 const CdmaSmsMessage& /*msg*/) {
24 return ndk::ScopedAStatus::ok();
25}
26
27ndk::ScopedAStatus RadioMessagingIndication::cdmaRuimSmsStorageFull(RadioIndicationType /*type*/) {
28 return ndk::ScopedAStatus::ok();
29}
30
31ndk::ScopedAStatus RadioMessagingIndication::newBroadcastSms(RadioIndicationType /*type*/,
32 const std::vector<uint8_t>& /*data*/) {
33 return ndk::ScopedAStatus::ok();
34}
35
36ndk::ScopedAStatus RadioMessagingIndication::newSms(RadioIndicationType /*type*/,
37 const std::vector<uint8_t>& /*pdu*/) {
38 return ndk::ScopedAStatus::ok();
39}
40
41ndk::ScopedAStatus RadioMessagingIndication::newSmsOnSim(RadioIndicationType /*type*/,
42 int32_t /*recordNumber*/) {
43 return ndk::ScopedAStatus::ok();
44}
45
46ndk::ScopedAStatus RadioMessagingIndication::newSmsStatusReport(
47 RadioIndicationType /*type*/, const std::vector<uint8_t>& /*pdu*/) {
48 return ndk::ScopedAStatus::ok();
49}
50
51ndk::ScopedAStatus RadioMessagingIndication::onUssd(RadioIndicationType /*type*/,
52 UssdModeType /*modeType*/,
53 const std::string& /*msg*/) {
54 return ndk::ScopedAStatus::ok();
55}
56
57ndk::ScopedAStatus RadioMessagingIndication::simSmsStorageFull(RadioIndicationType /*type*/) {
58 return ndk::ScopedAStatus::ok();
59}