Home
last modified time | relevance | path

Searched refs:fac (Results 1 - 25 of 76) sorted by relevance

1234

/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
H A Dcall_manager3_gtest.cpp592 info.fac = CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING; in HWTEST_F()
621 info.fac = CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING; in HWTEST_F()
645 info.fac = CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING; in HWTEST_F()
667 info.fac = CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING; in HWTEST_F()
697 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; in HWTEST_F() local
700 EXPECT_EQ(CallManagerGtest::clientPtr_->SetCallRestrictionPassword(SIM1_SLOTID, fac, oldPassword, newPassword), in HWTEST_F()
704 EXPECT_EQ(CallManagerGtest::clientPtr_->SetCallRestrictionPassword(SIM2_SLOTID, fac, oldPassword, newPassword), in HWTEST_F()
723 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; in HWTEST_F() local
725 EXPECT_EQ(CallManagerGtest::clientPtr_->SetCallRestrictionPassword(INVALID_SLOT_ID, fac, oldPassword, newPassword), in HWTEST_F()
743 CallRestrictionType fac in HWTEST_F() local
763 CallRestrictionType fac = (CallRestrictionType)FALSE_DEFAULT; HWTEST_F() local
789 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; HWTEST_F() local
813 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; HWTEST_F() local
[all...]
/base/telephony/call_manager/services/call_setting/src/
H A Dcall_setting_manager.cpp77 slotId, info.mode, info.fac); in SetCallRestriction()
91 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) in SetCallRestrictionPassword()
93 TELEPHONY_LOGI("slotId = %{public}d, fac = %{public}d", slotId, fac); in SetCallRestrictionPassword()
94 int32_t ret = GetCallRestrictionPolicy(slotId, fac); in SetCallRestrictionPassword()
103 return cellularCallConnectionPtr_->SetCallRestrictionPassword(slotId, fac, oldPassword, newPassword); in SetCallRestrictionPassword()
281 if (info.fac < CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING || in SetCallRestrictionPolicy()
282 info.fac > CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES) { in SetCallRestrictionPolicy()
90 SetCallRestrictionPassword( int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) SetCallRestrictionPassword() argument
/base/telephony/cellular_call/services/common/include/
H A Dsupplement_request_cs.h85 * @param fac Indicates the facility of the get call restriction.
89 int32_t GetCallRestrictionRequest(int32_t slotId, const std::string &fac, int32_t index);
96 * @param fac Indicates the facility of the set call restriction.
103 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index);
H A Dsupplement_request_ims.h108 * @param fac Indicates the facility of the get call restriction.
112 int32_t GetCallRestrictionRequest(int32_t slotId, const std::string &fac, int32_t index);
119 * @param fac Indicates the facility of the set call restriction.
125 int32_t SetCallRestrictionRequest(int32_t slotId, std::string &fac, int32_t mode, std::string &pw, int32_t index);
/base/telephony/core_service/interfaces/innerkits/include/
H A Dtel_ril_sim_parcel.h173 std::string fac = ""; member
177 * 0: deactivation (When fac is set to PN, PU, or PP, the operation is equivalent to unlocking.)
178 * 1: activation (When fac is set to PN, PU, or PP, activation is not supported.)
185 * It indicates the activation status of the first three layers of locks when fac is set to PN, PU, or PP.
227 std::string fac = ""; member
H A Dtelephony_types.h340 std::string fac = ""; member
460 std::string fac = ""; member
463 *- 0: deactivation (When fac is set to PN, PU, or PP, the operation is equivalent to unlocking.)
464 *- 1: activation (When fac is set to PN, PU, or PP, activation is not supported.)
497 std::string fac = ""; member
/base/telephony/cellular_call/services/common/src/
H A Dsupplement_request_ims.cpp104 int32_t SupplementRequestIms::GetCallRestrictionRequest(int32_t slotId, const std::string &fac, int32_t index) in GetCallRestrictionRequest() argument
112 return imsCallClient->GetCallRestriction(slotId, fac, index); in GetCallRestrictionRequest()
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 Dsupplement_request_cs.cpp86 int32_t SupplementRequestCs::GetCallRestrictionRequest(int32_t slotId, const std::string &fac, int32_t index) in GetCallRestrictionRequest() argument
96 return CoreManagerInner::GetInstance().GetCallRestriction(slotId, fac, response); in GetCallRestrictionRequest()
100 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index) in SetCallRestrictionRequest()
105 callRestrictionParam.fac = fac; 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/ril_adapter/interfaces/innerkits/include/
H A Dhril_vendor_call_defs.h174 const char *fac; member
192 const char *fac; member
643 * @param fac Object for call restriction.
646 void (*GetCallRestriction)(const ReqDataInfo *requestInfo, const char *fac);
H A Dhril_vendor_sim_defs.h183 char *fac; member
219 char *fac; member
/base/telephony/core_service/test/fuzztest/sendsmsmoremode_fuzzer/
H A Dsendsmsmoremode_fuzzer.cpp89 std::string fac(reinterpret_cast<const char *>(data), size); in GetCallList()
113 telRilCall->GetCallRestriction(fac, result); in GetCallList()
114 telRilCall->SetCallRestriction(fac, index, password, result); in GetCallList()
120 telRilCall->SetBarringPassword(fac, oldPassword.c_str(), newPassword.c_str(), result); in GetCallList()
234 std::string fac(reinterpret_cast<const char *>(data), size); in GetSimStatus()
253 telRilSim->GetSimLockStatus(fac, result); in GetSimStatus()
254 telRilSim->SetSimLock(fac, serial, password, result); in GetSimStatus()
/base/telephony/cellular_call/services/utils/src/
H A Dcellular_call_supplement.cpp992 std::string fac; in SetCallRestriction() local
993 int32_t result = CheckCallRestrictionType(fac, cRInfo.fac); in SetCallRestriction()
1010 utCommand->facility = fac; 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()
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()
1056 std::string fac; in GetCallRestriction() local
1057 int32_t result = CheckCallRestrictionType(fac, facTyp in GetCallRestriction()
1035 SetCallRestrictionByIms( int32_t slotId, std::string &fac, int32_t mode, std::string &pw, const std::shared_ptr<SsRequestCommand> &command) SetCallRestrictionByIms() argument
1093 std::string fac; SetBarringPassword() local
1119 CheckCallRestrictionType(std::string &fac, const CallRestrictionType &facType) CheckCallRestrictionType() argument
[all...]
/base/telephony/cellular_call/test/unittest/cstest/
H A Dcs_test.cpp399 std::cout << "please enter the fac(0 - 4):"; in SetCallRestriction()
400 int32_t fac = 0; in SetCallRestriction() local
401 std::cin >> fac; in SetCallRestriction() local
402 info.fac = static_cast<CallRestrictionType>(fac); in SetCallRestriction()
418 std::cout << "please enter the fac(0 - 4):"; in GetCallRestriction()
430 std::cout << "please enter the fac(0 - 4):"; in SetCallRestrictionPassword()
431 int32_t fac = 0; in SetCallRestrictionPassword() local
432 std::cin >> fac; in SetCallRestrictionPassword() local
433 CallRestrictionType facType = static_cast<CallRestrictionType>(fac); in SetCallRestrictionPassword()
[all...]
/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_sim.cpp336 int32_t TelRilSim::GetSimLockStatus(std::string fac, const AppExecFwk::InnerEvent::Pointer &response) in GetSimLockStatus() argument
340 simLockInfo.fac = fac; in GetSimLockStatus()
347 std::string fac, int32_t mode, std::string passwd, const AppExecFwk::InnerEvent::Pointer &response) in SetSimLock()
350 simLockInfo.fac = fac; in SetSimLock()
357 int32_t TelRilSim::ChangeSimPassword(std::string fac, std::string oldPassword, std::string newPassword, in ChangeSimPassword() argument
361 simPwdInfo.fac = fac; in ChangeSimPassword()
346 SetSimLock( std::string fac, int32_t mode, std::string passwd, const AppExecFwk::InnerEvent::Pointer &response) SetSimLock() argument
/base/telephony/core_service/services/tel_ril/include/
H A Dtel_ril_sim.h43 int32_t GetSimLockStatus(std::string fac, const AppExecFwk::InnerEvent::Pointer &response);
45 std::string fac, int32_t mode, std::string passwd, const AppExecFwk::InnerEvent::Pointer &response);
46 int32_t ChangeSimPassword(std::string fac, std::string oldPassword, std::string newPassword,
/base/telephony/call_manager/services/call_setting/include/
H A Dcall_setting_manager.h38 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
/base/telephony/cellular_call/interfaces/innerkits/ims/
H A Dims_call_interface.h464 * @param fac Indicates the facility of the set call restriction.
471 int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw, int32_t index) = 0;
478 * @param fac Indicates the facility of the get call restriction.
482 virtual int32_t GetCallRestriction(int32_t slotId, const std::string &fac, int32_t index) = 0;
/base/telephony/cellular_call/vendor/ims/services/ims_call/include/
H A Dims_call.h404 * @param fac
409 int32_t SetCallRestriction(int32_t slotId, const std::string &fac, int32_t mode, const std::string &pw) override;
415 * @param fac
418 int32_t GetCallRestriction(int32_t slotId, const std::string &fac) override;
/base/telephony/cellular_call/services/utils/include/
H A Dcellular_call_supplement.h553 int32_t CheckCallRestrictionType(std::string &fac, const CallRestrictionType &facType);
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 Dzero_branch_test.cpp436 std::string fac("AO"); in HWTEST_F()
437 callSup.SetCallRestrictionByIms(SIM1_SLOTID, fac, static_cast<int32_t>(crInfo.mode), info, crCommand); in HWTEST_F()
438 callSup.SetCallRestrictionByIms(SIM2_SLOTID, fac, static_cast<int32_t>(crInfo.mode), info, crCommand); in HWTEST_F()
612 std::string fac; in HWTEST_F() local
613 ASSERT_EQ(callSup.CheckCallRestrictionType(fac, CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING), in HWTEST_F()
615 ASSERT_EQ(callSup.CheckCallRestrictionType(fac, CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL), in HWTEST_F()
617 ASSERT_EQ(callSup.CheckCallRestrictionType(fac, in HWTEST_F()
619 ASSERT_EQ(callSup.CheckCallRestrictionType(fac, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F()
621 ASSERT_EQ(callSup.CheckCallRestrictionType(fac, CallRestrictionType::RESTRICTION_TYPE_ROAMING_INCOMING), in HWTEST_F()
623 ASSERT_EQ(callSup.CheckCallRestrictionType(fac, CallRestrictionTyp in HWTEST_F()
[all...]
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch7_test.cpp440 .fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING, in HWTEST_F()
444 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING; in HWTEST_F() local
447 EXPECT_EQ(callSettingManager->SetCallRestrictionPassword(INVALID_SLOTID, fac, oldPassword, newPassword), in HWTEST_F()
449 EXPECT_EQ(callSettingManager->SetCallRestrictionPassword(SIM1_SLOTID, fac, oldPassword, newPassword), in HWTEST_F()
483 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING; in HWTEST_F() local
486 EXPECT_NE(callSettingManager->SetCallRestrictionPassword(SIM1_SLOTID, fac, oldPassword, newPassword), in HWTEST_F()
/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/
H A Dril_sim_test.cpp577 simLockInfo.fac = "SC"; // FAC_PIN_LOCK in HWTEST_F()
601 simLockInfo.fac = "SC"; // FAC_PIN_LOCK in HWTEST_F()
667 simLockInfo.fac = "SC"; // FAC_PIN_LOCK in HWTEST_F()
692 simLockInfo.fac = "SC"; // FAC_PIN_LOCK in HWTEST_F()
717 simPassword.fac = "SC"; // FAC_PIN_LOCK in HWTEST_F()
741 simPassword.fac = "SC"; // FAC_PIN_LOCK in HWTEST_F()
H A Dril_call_test.cpp613 std::string fac = "AO"; in HWTEST_F() local
614 int32_t ret = g_rilInterface->GetCallRestriction(SLOTID_1, RilTestUtil::GetSerialId(), fac); in HWTEST_F()
630 std::string fac = "AO"; in HWTEST_F() local
631 int32_t ret = g_rilInterface->GetCallRestriction(SLOTID_2, RilTestUtil::GetSerialId(), fac); in HWTEST_F()
648 callRestrictionInfo.fac = "AO"; in HWTEST_F()
668 callRestrictionInfo.fac = "AO"; in HWTEST_F()
1192 setBarringInfo.fac = "AB"; in HWTEST_F()
1212 setBarringInfo.fac = "AB"; in HWTEST_F()
/base/telephony/ril_adapter/test/unittest/
H A Dril_interface_test.cpp423 setBarringInfo.fac = "AB"; in SetBarringPasswordTest()
1302 std::string fac; in ChangeSimPasswordTest() local
1303 cout << "please enter the fac, SC for pin1, FD for pin2:"; in ChangeSimPasswordTest()
1304 cin >> fac; in ChangeSimPasswordTest() local
1312 simPassword.fac = fac; in ChangeSimPasswordTest()
1323 std::string fac; in SetSimLockTest() local
1324 cout << "please enter the fac, SC for pin1, FD for pin2:"; in SetSimLockTest()
1325 cin >> fac; in SetSimLockTest() local
1333 simLockInfo.fac in SetSimLockTest()
1344 std::string fac; GetSimLockStatusTest() local
1346 cin >> fac; GetSimLockStatusTest() local
[all...]
/base/telephony/ril_adapter/services/vendor/include/
H A Dat_call.h55 void ReqGetCallRestriction(const ReqDataInfo *requestInfo, const char *fac);

Completed in 26 milliseconds

1234