Home
last modified time | relevance | path

Searched refs:callRestrictionInfo (Results 1 - 12 of 12) sorted by relevance

/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_call_test.cpp647 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 Dzero_branch_test.cpp102 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 Dzero_branch7_test.cpp240 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 Dzero_branch4_test.cpp524 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 Dzero_branch3_test.cpp690 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 Dtel_ril_call.cpp445 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 Dcall_manager7_gtest.cpp198 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 Dcall_manager2_gtest.cpp206 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 Dhril_call.cpp286 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 Dhril_manager.cpp484 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 Dhril_call.h47 int32_t SetCallRestriction(int32_t serialId, const OHOS::HDI::Ril::V1_1::CallRestrictionInfo &callRestrictionInfo);
H A Dhril_manager.h92 int32_t slotId, int32_t serialId, const OHOS::HDI::Ril::V1_1::CallRestrictionInfo &callRestrictionInfo);

Completed in 20 milliseconds