Home
last modified time | relevance | path

Searched refs:CallRestrictionType (Results 1 - 25 of 41) sorted by relevance

12

/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
H A Dcall_manager3_gtest.cpp434 * @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 Dcall_setting_manager.h35 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 Dcall_setting_manager.cpp59 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 Dcellular_call_supplement.h161 * @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 Dzero_branch7_test.cpp238 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 Dzero_branch4_test.cpp519 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 Dzero_branch3_test.cpp687 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 Dcall_manager_info.h659 enum class CallRestrictionType { class
721 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING;
H A Dcellular_call_proxy.h292 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) override;
301 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) override;
H A Dcellular_call_interface.h280 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 Dcall_manager_client.h205 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 Dcall.js140 CallRestrictionType: call.CallRestrictionType,
/base/telephony/call_manager/services/telephony_interaction/include/
H A Dcellular_call_connection.h254 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 Dzero_branch_test.cpp439 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 Dims2_test.cpp376 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 Dcs_test.cpp402 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 Dcall_manager_service_proxy.h264 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) override;
287 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) override;
H A Di_call_manager_service.h66 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 Dcall_manager_proxy.h68 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 Dcall_control_manager.h72 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 Dcellular_call_service.h372 * @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 Dcall_manager_service.h299 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 Dcellular_call_supplement.cpp1054 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 Dcall_manager_client.cpp279 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 Dui_client_test.cpp533 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()

Completed in 34 milliseconds

12