1 /* 2 * Copyright (C) 2021 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 #ifndef OHOS_RIL_RADIO_INDICATION_TEST_H 17 #define OHOS_RIL_RADIO_INDICATION_TEST_H 18 19 #include <ipc_object_stub.h> 20 #include <securec.h> 21 #include "ril_manager_test.h" 22 23 namespace OHOS { 24 namespace Telephony { 25 class RilRadioIndicationTest : public OHOS::IPCObjectStub { 26 public: 27 RilRadioIndicationTest(RilManagerTest *mRilManager); 28 ~RilRadioIndicationTest(); 29 30 int32_t OnRemoteRequest( 31 uint32_t code, OHOS::MessageParcel &data, OHOS::MessageParcel &reply, OHOS::MessageOption &option) override; 32 void RadioStateChange(OHOS::MessageParcel &data); 33 void CallStateUpdated(OHOS::MessageParcel &data); 34 void CallCRingReport(OHOS::MessageParcel &data); 35 void CallRingbackVoiceReport(OHOS::MessageParcel &data); 36 void CallSrvccStatusReport(OHOS::MessageParcel &data); 37 void CallEmergencyNumberReport(OHOS::MessageParcel &data); 38 void NetworkStateNotify(OHOS::MessageParcel &data); 39 void NewSmsNotify(OHOS::MessageParcel &data); 40 void NewCdmaSmsNotify(OHOS::MessageParcel &data); 41 void SmsStatusReportNotify(OHOS::MessageParcel &data); 42 void NewSmsStoredOnSimNotify(OHOS::MessageParcel &data); 43 void GetSignalStrength(OHOS::MessageParcel &data); 44 void PdpContextListChangedNotify(OHOS::MessageParcel &data); 45 void UpdatedSimFile(OHOS::MessageParcel &data); 46 void SimStateChanged(OHOS::MessageParcel &data); 47 void ConnectedReturnRilVersion(OHOS::MessageParcel &data); 48 void ChangedImsNetworkState(OHOS::MessageParcel &data); 49 50 private: 51 RilManagerTest *mRilManager_; 52 }; 53 } // namespace Telephony 54 } // namespace OHOS 55 #endif // OHOS_RIL_RADIO_INDICATION_TEST_H