Home
last modified time | relevance | path

Searched refs:g_rilInterface (Results 1 – 8 of 8) sorted by relevance

/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
Dril_network_test.cpp24 sptr<IRil> g_rilInterface = nullptr; variable
31 g_rilInterface = RilTestUtil::GetRilInterface(); in SetUpTestCase()
50 int32_t ret = g_rilInterface->GetSignalStrength(SLOTID_1, RilTestUtil::GetSerialId());
66 int32_t ret = g_rilInterface->GetSignalStrength(SLOTID_2, RilTestUtil::GetSerialId());
82 int32_t ret = g_rilInterface->GetCsRegStatus(SLOTID_1, RilTestUtil::GetSerialId());
98 int32_t ret = g_rilInterface->GetCsRegStatus(SLOTID_2, RilTestUtil::GetSerialId());
114 int32_t ret = g_rilInterface->GetPsRegStatus(SLOTID_1, RilTestUtil::GetSerialId());
130 int32_t ret = g_rilInterface->GetPsRegStatus(SLOTID_2, RilTestUtil::GetSerialId());
146 int32_t ret = g_rilInterface->GetOperatorInfo(SLOTID_1, RilTestUtil::GetSerialId());
162 int32_t ret = g_rilInterface->GetOperatorInfo(SLOTID_2, RilTestUtil::GetSerialId());
[all …]
Dril_call_test.cpp25 sptr<IRil> g_rilInterface = nullptr; variable
32 g_rilInterface = RilTestUtil::GetRilInterface(); in SetUpTestCase()
48 if (g_rilInterface == nullptr) {
51 int32_t ret = g_rilInterface->SendRilAck();
65 int32_t ret = g_rilInterface->GetEmergencyCallList(SLOTID_1, RilTestUtil::GetSerialId());
81 int32_t ret = g_rilInterface->GetEmergencyCallList(SLOTID_2, RilTestUtil::GetSerialId());
107 …int32_t ret = g_rilInterface->SetEmergencyCallList(SLOTID_1, RilTestUtil::GetSerialId(), emergency…
133 …int32_t ret = g_rilInterface->SetEmergencyCallList(SLOTID_2, RilTestUtil::GetSerialId(), emergency…
149 int32_t ret = g_rilInterface->GetCallList(SLOTID_1, RilTestUtil::GetSerialId());
165 int32_t ret = g_rilInterface->GetCallList(SLOTID_2, RilTestUtil::GetSerialId());
[all …]
Dril_modem_test.cpp24 sptr<IRil> g_rilInterface = nullptr; variable
31 g_rilInterface = RilTestUtil::GetRilInterface(); in SetUpTestCase()
50 int32_t ret = g_rilInterface->ShutDown(SLOTID_1, RilTestUtil::GetSerialId());
66 int32_t ret = g_rilInterface->ShutDown(SLOTID_2, RilTestUtil::GetSerialId());
82 int32_t ret = g_rilInterface->SetRadioState(SLOTID_1, RilTestUtil::GetSerialId(), 1, 0);
98 int32_t ret = g_rilInterface->SetRadioState(SLOTID_1, RilTestUtil::GetSerialId(), 1, 0);
114 int32_t ret = g_rilInterface->GetRadioState(SLOTID_1, RilTestUtil::GetSerialId());
130 int32_t ret = g_rilInterface->GetRadioState(SLOTID_2, RilTestUtil::GetSerialId());
146 int32_t ret = g_rilInterface->GetImei(SLOTID_1, RilTestUtil::GetSerialId());
162 int32_t ret = g_rilInterface->GetImei(SLOTID_2, RilTestUtil::GetSerialId());
[all …]
Dril_sms_test.cpp24 sptr<IRil> g_rilInterface = nullptr; variable
31 g_rilInterface = RilTestUtil::GetRilInterface(); in SetUpTestCase()
54 int32_t ret = g_rilInterface->AddSimMessage(SLOTID_1, RilTestUtil::GetSerialId(), msgIoInfo);
74 int32_t ret = g_rilInterface->AddSimMessage(SLOTID_2, RilTestUtil::GetSerialId(), msgIoInfo);
95 int32_t ret = g_rilInterface->UpdateSimMessage(SLOTID_1, RilTestUtil::GetSerialId(), msgIoInfo);
116 int32_t ret = g_rilInterface->UpdateSimMessage(SLOTID_2, RilTestUtil::GetSerialId(), msgIoInfo);
133 int32_t ret = g_rilInterface->DelSimMessage(SLOTID_1, RilTestUtil::GetSerialId(), index);
150 int32_t ret = g_rilInterface->DelSimMessage(SLOTID_2, RilTestUtil::GetSerialId(), index);
170 … int32_t ret = g_rilInterface->AddCdmaSimMessage(SLOTID_1, RilTestUtil::GetSerialId(), msgIoInfo);
190 … int32_t ret = g_rilInterface->AddCdmaSimMessage(SLOTID_2, RilTestUtil::GetSerialId(), msgIoInfo);
[all …]
Dril_sim_test.cpp24 sptr<IRil> g_rilInterface = nullptr; variable
31 g_rilInterface = RilTestUtil::GetRilInterface(); in SetUpTestCase()
47 …if (g_rilInterface == nullptr || !RilTestUtil::HasVoiceCapability() || !RilTestUtil::IsValidSlotId…
50 int32_t ret = g_rilInterface->GetSimStatus(SLOTID_1, RilTestUtil::GetSerialId());
63 …if (g_rilInterface == nullptr || !RilTestUtil::HasVoiceCapability() || !RilTestUtil::IsValidSlotId…
66 int32_t ret = g_rilInterface->GetSimStatus(SLOTID_2, RilTestUtil::GetSerialId());
91 int32_t ret = g_rilInterface->GetSimIO(SLOTID_1, RilTestUtil::GetSerialId(), msg);
117 int32_t ret = g_rilInterface->GetSimIO(SLOTID_2, RilTestUtil::GetSerialId(), msg);
133 int32_t ret = g_rilInterface->GetImsi(SLOTID_1, RilTestUtil::GetSerialId());
149 int32_t ret = g_rilInterface->GetImsi(SLOTID_2, RilTestUtil::GetSerialId());
[all …]
Dril_data_test.cpp24 sptr<IRil> g_rilInterface = nullptr; variable
31 g_rilInterface = RilTestUtil::GetRilInterface(); in SetUpTestCase()
65 int32_t ret = g_rilInterface->ActivatePdpContext(SLOTID_1, serialId, dataCallInfo);
96 int32_t ret = g_rilInterface->ActivatePdpContext(SLOTID_2, serialId, dataCallInfo);
117 int32_t ret = g_rilInterface->DeactivatePdpContext(SLOTID_1, serialId, uniInfo);
138 int32_t ret = g_rilInterface->DeactivatePdpContext(SLOTID_2, serialId, uniInfo);
157 int32_t ret = g_rilInterface->GetPdpContextList(SLOTID_1, serialId, uniInfo);
176 int32_t ret = g_rilInterface->GetPdpContextList(SLOTID_2, serialId, uniInfo);
202 int32_t ret = g_rilInterface->SetInitApnInfo(SLOTID_1, serialId, dataProfileInfo);
228 int32_t ret = g_rilInterface->SetInitApnInfo(SLOTID_2, serialId, dataProfileInfo);
[all …]
Dril_callback_test.cpp74 auto g_rilInterface = IRil::Get(); in SimStateUpdated() local
75 if (g_rilInterface != nullptr) { in SimStateUpdated()
76 g_rilInterface->GetSimStatus(GetSerialId(), responseInfo.slotId); in SimStateUpdated()
/base/telephony/ril_adapter/test/unittest/
Dril_interface_test.cpp22 sptr<OHOS::HDI::Ril::V1_1::IRil> g_rilInterface = nullptr; variable
218 int32_t ret = g_rilInterface->GetCallList(slotId, GetSerialId()); in GetCallListTest()
229 int32_t ret = g_rilInterface->Dial(slotId, GetSerialId(), dialInfo); in RilCmDialTest()
242 ret = g_rilInterface->Dial(slotId, GetSerialId(), dialInfo); in RilCmDialStressTest()
251 int ret = g_rilInterface->Hangup(slotId, GetSerialId(), callIndex); in HangupTest()
258 int ret = g_rilInterface->Reject(slotId, GetSerialId()); in RejectTest()
265 int ret = g_rilInterface->Answer(slotId, GetSerialId()); in AnswerCallTest()
272 int ret = g_rilInterface->HoldCall(slotId, GetSerialId()); in HoldCallTest()
279 int ret = g_rilInterface->UnHoldCall(slotId, GetSerialId()); in UnHoldCallTest()
286 int ret = g_rilInterface->SwitchCall(slotId, GetSerialId()); in SwitchCallTest()
[all …]