blob: 481239e6476f3a32e675ae996821fb8181ba8ff3 [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_messaging_utils.h"
18
Sarah Chin91997ac2021-12-29 00:35:12 -080019RadioMessagingIndication::RadioMessagingIndication(RadioServiceTest& parent)
Sarah Chind2a41192021-12-21 11:34:00 -080020 : 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
Sarah Chind2a41192021-12-21 11:34:00 -080051ndk::ScopedAStatus RadioMessagingIndication::simSmsStorageFull(RadioIndicationType /*type*/) {
52 return ndk::ScopedAStatus::ok();
53}