/base/telephony/cellular_call/services/common/include/ |
H A D | supplement_request_cs.h | 98 * @param pw Indicates password or "" if not required. 103 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index);
|
H A D | supplement_request_ims.h | 121 * @param pw Indicates password or "" if not required. 125 int32_t SetCallRestrictionRequest(int32_t slotId, std::string &fac, int32_t mode, std::string &pw, int32_t index);
|
/base/telephony/cellular_call/services/common/src/ |
H A D | supplement_request_ims.cpp | 116 int32_t slotId, std::string &fac, int32_t mode, std::string &pw, int32_t index) in SetCallRestrictionRequest() 124 return imsCallClient->SetCallRestriction(slotId, fac, mode, pw, index); in SetCallRestrictionRequest() 115 SetCallRestrictionRequest( int32_t slotId, std::string &fac, int32_t mode, std::string &pw, int32_t index) SetCallRestrictionRequest() argument
|
H A D | supplement_request_cs.cpp | 100 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index) in SetCallRestrictionRequest() 106 size_t cpyLen = strlen(pw.c_str()) + 1; in SetCallRestrictionRequest() 108 if (strcpy_s(callRestrictionParam.password, cpyLen > maxCpyLen ? maxCpyLen : cpyLen, pw.c_str()) != EOK) { in SetCallRestrictionRequest() 99 SetCallRestrictionRequest( int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index) SetCallRestrictionRequest() argument
|
/base/telephony/cellular_call/interfaces/innerkits/ims/ |
H A D | ims_call_interface.h | 466 * @param pw Indicates password or "" if not required.
471 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index) = 0;
|
H A D | ims_call_client.h | 514 * @param pw Indicates password or "" if not required.
519 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index);
|
H A D | ims_call_proxy.h | 83 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index) override;
|
/base/telephony/cellular_call/vendor/ims/services/ims_call/include/ |
H A D | ims_call.h | 406 * @param pw 409 int32_t SetCallRestriction(int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw) override;
|
/base/telephony/cellular_call/services/utils/include/ |
H A D | cellular_call_supplement.h | 554 int32_t SetCallRestrictionByIms(int32_t slotId, std::string &fac, int32_t mode, std::string &pw,
|
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | zero_branch1_test.cpp | 754 std::string pw = ""; in HWTEST_F() local 755 SRequestIms.SetCallRestrictionRequest(SIM1_SLOTID, fac, 0, pw, 0); in HWTEST_F() 910 std::string pw = ""; in HWTEST_F() local 924 ASSERT_EQ(supplementRequestCs.SetCallRestrictionRequest(SIM1_SLOTID, fac, 0, pw, 0), TELEPHONY_ERR_LOCAL_PTR_NULL); in HWTEST_F()
|
H A D | cellular_call_hisysevent_test.cpp | 391 std::string pw; in HWTEST_F() local 393 int32_t ret = supplementRequestIms.SetCallRestrictionRequest(slotId, fac, mode, pw, index); in HWTEST_F()
|
/base/telephony/cellular_call/vendor/ims/services/ims_call/src/ |
H A D | ims_call_stub.cpp | 565 const std::string pw = data.ReadString(); in OnSetCallRestriction() local 566 reply.WriteInt32(SetCallRestriction(slotId, fac, mode, pw)); in OnSetCallRestriction()
|
H A D | ims_call.cpp | 646 int32_t ImsCall::SetCallRestriction(int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw) in SetCallRestriction() argument
|
/base/telephony/cellular_call/services/ims_service_interaction/src/ |
H A D | ims_call_client.cpp | 632 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index)
in SetCallRestriction() 639 return imsCallProxy_->SetCallRestriction(slotId, fac, mode, pw, index);
in SetCallRestriction() 631 SetCallRestriction( int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index) SetCallRestriction() argument
|
H A D | ims_call_proxy.cpp | 812 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index)
in SetCallRestriction() 827 if (!in.WriteString(pw)) {
in SetCallRestriction() 828 TELEPHONY_LOGE("[slot%{public}d]Write pw fail!", slotId);
in SetCallRestriction() 811 SetCallRestriction( int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index) SetCallRestriction() argument
|
/base/telephony/cellular_call/services/utils/src/ |
H A D | cellular_call_supplement.cpp | 1036 int32_t slotId, std::string &fac, int32_t mode, std::string &pw, const std::shared_ptr<SsRequestCommand> &command) in SetCallRestrictionByIms() 1047 int32_t result = supplementRequestIms_.SetCallRestrictionRequest(slotId, fac, mode, pw, index); in SetCallRestrictionByIms() 1035 SetCallRestrictionByIms( int32_t slotId, std::string &fac, int32_t mode, std::string &pw, const std::shared_ptr<SsRequestCommand> &command) SetCallRestrictionByIms() argument
|
/base/telephony/cellular_call/test/unittest/cstest/ |
H A D | cs2_test.cpp | 809 std::string pw = "test"; in HWTEST_F() local 818 EXPECT_NE(request.SetCallRestrictionRequest(slotId, fac, mode, pw, index), TELEPHONY_SUCCESS); in HWTEST_F()
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
H A D | napi_call_manager.cpp | 3673 std::string pw = ""; in GetRestrictionInfo() local 3676 !NapiCallManagerUtils::GetUssdStringProperty(env, objValue, "password", pw)) { in GetRestrictionInfo() 3680 if (pw.length() > static_cast<size_t>(kMaxNumberLen)) { in GetRestrictionInfo() 3684 if (memcpy_s(asyncContext.info.password, kMaxNumberLen, pw.c_str(), pw.length()) != EOK) { in GetRestrictionInfo()
|