/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
H A D | call_manager3_gtest.cpp | 434 * @tc.name input slotId 0, CallRestrictionType RESTRICTION_TYPE_ALL_INCOMING, test GetCallRestriction() 446 SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F() 451 SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F() 458 * @tc.name input invalid slotId, CallRestrictionType RESTRICTION_TYPE_ALL_INCOMING, test GetCallRestriction() 470 INVALID_SLOT_ID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F() 476 * @tc.name input invalid was out of count, CallRestrictionType RESTRICTION_TYPE_ALL_INCOMING, 489 CallManagerGtest::clientPtr_->GetCallRestriction(slotId, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F() 495 * @tc.name input slotId 0, CallRestrictionType RESTRICTION_TYPE_ALL_OUTGOING, test GetCallRestriction() 507 SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING), in HWTEST_F() 512 SIM2_SLOTID, CallRestrictionType in HWTEST_F() [all...] |
/base/telephony/call_manager/services/call_setting/include/ |
H A D | call_setting_manager.h | 35 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type); 38 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword); 56 int32_t GetCallRestrictionPolicy(int32_t slotId, CallRestrictionType type);
|
/base/telephony/call_manager/services/call_setting/src/ |
H A D | call_setting_manager.cpp | 59 int32_t CallSettingManager::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction() 91 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) in SetCallRestrictionPassword() 261 int32_t CallSettingManager::GetCallRestrictionPolicy(int32_t slotId, CallRestrictionType type) in GetCallRestrictionPolicy() 267 if (type < CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING || in GetCallRestrictionPolicy() 268 type > CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES) { in GetCallRestrictionPolicy() 281 if (info.fac < CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING || in SetCallRestrictionPolicy() 282 info.fac > CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES) { in SetCallRestrictionPolicy()
|
/base/telephony/cellular_call/services/utils/include/ |
H A D | cellular_call_supplement.h | 161 * @param CallRestrictionType 164 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType); 176 * @param CallRestrictionType 182 int32_t slotId, CallRestrictionType facType, const char *oldPassword, const char *newPassword); 553 int32_t CheckCallRestrictionType(std::string &fac, const CallRestrictionType &facType);
|
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/ |
H A D | zero_branch7_test.cpp | 238 EXPECT_NE(callManagerService->GetCallRestriction(0, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F() 243 callManagerService->SetCallRestrictionPassword(0, CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS, "11", "22"), in HWTEST_F() 346 EXPECT_EQ(callManagerService->GetCallRestriction(0, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F() 351 callManagerService->SetCallRestrictionPassword(0, CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS, "11", "22"), in HWTEST_F() 436 EXPECT_EQ(callSettingManager->GetCallRestriction(SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F() 440 .fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING, in HWTEST_F() 444 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING; in HWTEST_F() 483 CallRestrictionType fac = CallRestrictionType in HWTEST_F() [all...] |
H A D | zero_branch4_test.cpp | 519 ASSERT_NE(callSettingManager->GetCallRestriction(SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), in HWTEST_F() 521 ASSERT_NE(callSettingManager->GetCallRestriction(INVALID_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS), in HWTEST_F() 526 .fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING, in HWTEST_F() 705 callManagerClient->GetCallRestriction(0, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING); in HWTEST_F()
|
H A D | zero_branch3_test.cpp | 687 CallRestrictionType callRestrictionType = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; in HWTEST_F() 743 CallRestrictionType callRestrictionType = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING; in HWTEST_F() 861 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; in HWTEST_F()
|
/base/telephony/call_manager/interfaces/innerkits/ |
H A D | call_manager_info.h | 659 enum class CallRestrictionType { class 721 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING;
|
H A D | cellular_call_proxy.h | 292 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) override; 301 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) override;
|
H A D | cellular_call_interface.h | 280 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) = 0; 289 virtual int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) = 0;
|
H A D | call_manager_client.h | 205 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type); 226 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
H A D | call.js | 140 CallRestrictionType: call.CallRestrictionType,
|
/base/telephony/call_manager/services/telephony_interaction/include/ |
H A D | cellular_call_connection.h | 254 int GetCallRestriction(CallRestrictionType facType, int32_t slotId); 267 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
|
/base/telephony/cellular_call/test/unittest/imstest/ |
H A D | zero_branch_test.cpp | 439 callSup.GetCallRestriction(SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING); in HWTEST_F() 440 callSup.GetCallRestriction(SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING); in HWTEST_F() 441 callSup.SetBarringPassword(SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING, "1111", "0000"); in HWTEST_F() 442 ASSERT_NE(callSup.SetBarringPassword(SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING, in HWTEST_F() 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() 618 CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME), TELEPHONY_SUCCESS); 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, CallRestrictionType in HWTEST_F() [all...] |
H A D | ims2_test.cpp | 376 CallRestrictionType facType = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING; in HWTEST_F() 381 CallRestrictionType facType = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING; in HWTEST_F()
|
/base/telephony/cellular_call/test/unittest/cstest/ |
H A D | cs_test.cpp | 402 info.fac = static_cast<CallRestrictionType>(fac); in SetCallRestriction() 421 return telephonyService->GetCallRestriction(slotId, static_cast<CallRestrictionType>(facType)); in GetCallRestriction() 433 CallRestrictionType facType = static_cast<CallRestrictionType>(fac); in SetCallRestrictionPassword()
|
/base/telephony/call_manager/frameworks/native/include/ |
H A D | call_manager_service_proxy.h | 264 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) override; 287 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) override;
|
H A D | i_call_manager_service.h | 66 virtual int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) = 0; 69 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) = 0;
|
H A D | call_manager_proxy.h | 68 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type); 71 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
|
/base/telephony/call_manager/services/call/include/ |
H A D | call_control_manager.h | 72 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type); 75 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
|
/base/telephony/cellular_call/services/manager/include/ |
H A D | cellular_call_service.h | 372 * @param CallRestrictionType 375 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) override; 387 int32_t slotId, CallRestrictionType facType, const char *oldPassword, const char *newPassword) override;
|
/base/telephony/call_manager/services/call_manager_service/include/ |
H A D | call_manager_service.h | 299 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) override; 322 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) override;
|
/base/telephony/cellular_call/services/utils/src/ |
H A D | cellular_call_supplement.cpp | 1054 int32_t CellularCallSupplement::GetCallRestriction(int32_t slotId, CallRestrictionType facType) in GetCallRestriction() 1091 int32_t slotId, CallRestrictionType facType, const char *oldPassword, const char *newPassword) in SetBarringPassword() 1119 int32_t CellularCallSupplement::CheckCallRestrictionType(std::string &fac, const CallRestrictionType &facType) in CheckCallRestrictionType() 1134 case CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING: in CheckCallRestrictionType() 1137 case CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL: in CheckCallRestrictionType() 1140 case CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME: in CheckCallRestrictionType() 1143 case CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING: in CheckCallRestrictionType() 1146 case CallRestrictionType::RESTRICTION_TYPE_ROAMING_INCOMING: in CheckCallRestrictionType() 1149 case CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS: in CheckCallRestrictionType() 1152 case CallRestrictionType in CheckCallRestrictionType() [all...] |
/base/telephony/call_manager/frameworks/native/src/ |
H A D | call_manager_client.cpp | 279 int32_t CallManagerClient::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction() 300 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) in SetCallRestrictionPassword()
|
/base/telephony/call_manager/test/unittest/ui_client/ |
H A D | ui_client_test.cpp | 533 CallRestrictionType type; in GetCallRestriction() 539 type = static_cast<CallRestrictionType>(tmpType); in GetCallRestriction() 559 info.fac = static_cast<CallRestrictionType>(tmpType); in SetCallRestriction() 579 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; in SetCallRestrictionPassword()
|