Home
last modified time | relevance | path

Searched refs:pw (Results 1 - 18 of 18) sorted by relevance

/base/telephony/cellular_call/services/common/include/
H A Dsupplement_request_cs.h98 * @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 Dsupplement_request_ims.h121 * @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 Dsupplement_request_ims.cpp116 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 Dsupplement_request_cs.cpp100 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 Dims_call_interface.h466 * @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 Dims_call_client.h514 * @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 Dims_call_proxy.h83 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 Dims_call.h406 * @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 Dcellular_call_supplement.h554 int32_t SetCallRestrictionByIms(int32_t slotId, std::string &fac, int32_t mode, std::string &pw,
/base/telephony/cellular_call/test/unittest/imstest/
H A Dzero_branch1_test.cpp754 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 Dcellular_call_hisysevent_test.cpp391 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 Dims_call_stub.cpp565 const std::string pw = data.ReadString(); in OnSetCallRestriction() local
566 reply.WriteInt32(SetCallRestriction(slotId, fac, mode, pw)); in OnSetCallRestriction()
H A Dims_call.cpp646 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 Dims_call_client.cpp632 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 Dims_call_proxy.cpp812 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 Dcellular_call_supplement.cpp1036 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 Dcs2_test.cpp809 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 Dnapi_call_manager.cpp3673 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()

Completed in 25 milliseconds