Home
last modified time | relevance | path

Searched refs:cRInfo (Results 1 - 4 of 4) sorted by relevance

/base/telephony/cellular_call/services/utils/src/
H A Dcellular_call_supplement.cpp988 int32_t CellularCallSupplement::SetCallRestriction(int32_t slotId, const CallRestrictionInfo &cRInfo) in SetCallRestriction() argument
993 int32_t result = CheckCallRestrictionType(fac, cRInfo.fac); in SetCallRestriction()
997 if (cRInfo.mode < CallRestrictionMode::RESTRICTION_MODE_DEACTIVATION || in SetCallRestriction()
998 cRInfo.mode > CallRestrictionMode::RESTRICTION_MODE_ACTIVATION) { in SetCallRestriction()
1007 std::string info(cRInfo.password); in SetCallRestriction()
1011 utCommand->enable = static_cast<int32_t>(cRInfo.mode); in SetCallRestriction()
1020 return SetCallRestrictionByIms(slotId, fac, static_cast<int32_t>(cRInfo.mode), info, utCommand); in SetCallRestriction()
1028 supplementRequestCs_.SetCallRestrictionRequest(slotId, fac, static_cast<int32_t>(cRInfo.mode), info, index); in SetCallRestriction()
/base/telephony/cellular_call/services/utils/include/
H A Dcellular_call_supplement.h149 int32_t SetCallRestriction(int32_t slotId, const CallRestrictionInfo &cRInfo);
/base/telephony/call_manager/interfaces/innerkits/
H A Dcellular_call_interface.h264 * @param cRInfo[in] contains the password, call restriction type and call restriction mode
268 virtual int32_t SetCallRestriction(int32_t slotId, const CallRestrictionInfo &cRInfo) = 0;
/base/telephony/cellular_call/test/unittest/imstest/
H A Dzero_branch_test.cpp673 CallRestrictionInfo cRInfo; in HWTEST_F() local
674 std::string info(cRInfo.password); in HWTEST_F()
677 ASSERT_EQ(callSup.SetCallRestrictionByIms(SIM1_SLOTID, fac, static_cast<int32_t>(cRInfo.mode), info, command), in HWTEST_F()
680 ASSERT_EQ(callSup.SetCallRestrictionByIms(SIM1_SLOTID, fac, static_cast<int32_t>(cRInfo.mode), info, command), in HWTEST_F()
687 ASSERT_EQ(callSup.SetCallRestriction(SIM1_SLOTID, cRInfo), CALL_ERR_UNSUPPORTED_NETWORK_TYPE); in HWTEST_F()

Completed in 7 milliseconds