/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
H A D | ril_call_test.cpp | 647 CallRestrictionInfo callRestrictionInfo = {}; in HWTEST_F() local 648 callRestrictionInfo.fac = "AO"; in HWTEST_F() 649 callRestrictionInfo.mode = 1; in HWTEST_F() 650 callRestrictionInfo.password = "123456"; in HWTEST_F() 651 int32_t ret = g_rilInterface->SetCallRestriction(SLOTID_1, RilTestUtil::GetSerialId(), callRestrictionInfo); in HWTEST_F() 667 CallRestrictionInfo callRestrictionInfo = {}; in HWTEST_F() local 668 callRestrictionInfo.fac = "AO"; in HWTEST_F() 669 callRestrictionInfo.mode = 1; in HWTEST_F() 670 callRestrictionInfo.password = "123456"; in HWTEST_F() 671 int32_t ret = g_rilInterface->SetCallRestriction(SLOTID_2, RilTestUtil::GetSerialId(), callRestrictionInfo); in HWTEST_F() [all...] |
H A D | zero_branch_test.cpp | 102 OHOS::HDI::Ril::V1_1::CallRestrictionInfo callRestrictionInfo; in TestCallInterface() local 103 EXPECT_NE(HDF_SUCCESS, manager->SetCallRestriction(0, 0, callRestrictionInfo)); in TestCallInterface()
|
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/ |
H A D | zero_branch7_test.cpp | 240 CallRestrictionInfo callRestrictionInfo; in HWTEST_F() local 241 EXPECT_NE(callManagerService->SetCallRestriction(0, callRestrictionInfo), TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F() 348 CallRestrictionInfo callRestrictionInfo; in HWTEST_F() local 349 EXPECT_EQ(callManagerService->SetCallRestriction(0, callRestrictionInfo), TELEPHONY_ERR_ILLEGAL_USE_OF_SYSTEM_API); in HWTEST_F() 438 CallRestrictionInfo callRestrictionInfo = { in HWTEST_F() local 443 EXPECT_EQ(callSettingManager->SetCallRestriction(SIM1_SLOTID, callRestrictionInfo), TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F()
|
H A D | zero_branch4_test.cpp | 524 CallRestrictionInfo callRestrictionInfo = { in HWTEST_F() local 529 callSettingManager->SetCallRestriction(SIM1_SLOTID, callRestrictionInfo); in HWTEST_F() 530 callSettingManager->SetCallRestriction(INVALID_SLOTID, callRestrictionInfo); in HWTEST_F() 706 CallRestrictionInfo callRestrictionInfo; in HWTEST_F() local 707 callManagerClient->SetCallRestriction(0, callRestrictionInfo); in HWTEST_F()
|
H A D | zero_branch3_test.cpp | 690 CallRestrictionInfo callRestrictionInfo; in HWTEST_F() local 691 ASSERT_NE(callControlManager->SetCallRestriction(INVALID_CALLID, callRestrictionInfo), TELEPHONY_SUCCESS); in HWTEST_F() 692 ASSERT_NE(callControlManager->SetCallRestriction(slotId, callRestrictionInfo), TELEPHONY_SUCCESS); in HWTEST_F() 746 CallRestrictionInfo callRestrictionInfo; in HWTEST_F() local 747 ASSERT_NE(callControlManager->SetCallRestriction(INVALID_CALLID, callRestrictionInfo), TELEPHONY_SUCCESS); in HWTEST_F() 748 ASSERT_NE(callControlManager->SetCallRestriction(SIM1_SLOTID, callRestrictionInfo), TELEPHONY_SUCCESS); in HWTEST_F()
|
/base/telephony/core_service/services/tel_ril/src/ |
H A D | tel_ril_call.cpp | 445 HDI::Ril::V1_1::CallRestrictionInfo callRestrictionInfo = {}; in SetCallRestriction() local 446 callRestrictionInfo.fac = restrictionType; in SetCallRestriction() 447 callRestrictionInfo.mode = mode; in SetCallRestriction() 448 callRestrictionInfo.password = password; in SetCallRestriction() 449 return Request(TELEPHONY_LOG_FUNC_NAME, result, &HDI::Ril::V1_1::IRil::SetCallRestriction, callRestrictionInfo); in SetCallRestriction()
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
H A D | call_manager7_gtest.cpp | 198 CallRestrictionInfo callRestrictionInfo; in HWTEST_F() local 199 ASSERT_NE(callManagerService->SetCallRestriction(0, callRestrictionInfo), TELEPHONY_SUCCESS); in HWTEST_F() 646 CallRestrictionInfo callRestrictionInfo; in HWTEST_F() local 648 data.WriteRawData((const void *)&callRestrictionInfo, length); in HWTEST_F() 667 data2.WriteRawData((const void *)&callRestrictionInfo, length); in HWTEST_F()
|
H A D | call_manager2_gtest.cpp | 206 CallRestrictionInfo callRestrictionInfo; in HWTEST_F() local 207 ASSERT_EQ(client->SetCallRestriction(SIM1_SLOTID, callRestrictionInfo), TELEPHONY_ERR_UNINIT); in HWTEST_F()
|
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_call.cpp | 286 int32_t serialId, const OHOS::HDI::Ril::V1_1::CallRestrictionInfo &callRestrictionInfo) in SetCallRestriction() 289 info.fac = StringToCString(callRestrictionInfo.fac); in SetCallRestriction() 290 info.mode = callRestrictionInfo.mode; in SetCallRestriction() 291 info.password = StringToCString(callRestrictionInfo.password); in SetCallRestriction() 285 SetCallRestriction( int32_t serialId, const OHOS::HDI::Ril::V1_1::CallRestrictionInfo &callRestrictionInfo) SetCallRestriction() argument
|
H A D | hril_manager.cpp | 484 int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::CallRestrictionInfo &callRestrictionInfo) in SetCallRestriction() 487 MODULE_HRIL_CALL, hrilCall_[slotId], &HRilCall::SetCallRestriction, serialId, callRestrictionInfo); in SetCallRestriction() 483 SetCallRestriction( int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::CallRestrictionInfo &callRestrictionInfo) SetCallRestriction() argument
|
/base/telephony/ril_adapter/services/hril/include/ |
H A D | hril_call.h | 47 int32_t SetCallRestriction(int32_t serialId, const OHOS::HDI::Ril::V1_1::CallRestrictionInfo &callRestrictionInfo);
|
H A D | hril_manager.h | 92 int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::CallRestrictionInfo &callRestrictionInfo);
|