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