/base/telephony/call_manager/services/call_setting/include/ |
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/ |
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() 262 int32_t CallSettingManager::GetCallRestrictionPolicy(int32_t slotId, CallRestrictionType type) in GetCallRestrictionPolicy() 268 if (type < CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING || in GetCallRestrictionPolicy() 269 type > CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES) { in GetCallRestrictionPolicy() 282 if (info.fac < CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING || in SetCallRestrictionPolicy() 283 info.fac > CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES) { in SetCallRestrictionPolicy()
|
/base/telephony/cellular_call/services/control/include/ |
D | cellular_call_supplement.h | 164 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType); 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/services/telephony_interaction/include/ |
D | cellular_call_connection.h | 253 int GetCallRestriction(CallRestrictionType facType, int32_t slotId); 266 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
|
/base/telephony/call_manager/interfaces/kits/js/ |
D | @ohos.telephony.call.d.ts | 1464 …function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallba… 1485 …function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise<RestrictionS… 2554 export enum CallRestrictionType { enum 3138 type: CallRestrictionType;
|
/base/telephony/call_manager/interfaces/innerkits/ |
D | cellular_call_interface.h | 270 … int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) = 0; 279 virtual int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) = 0;
|
D | call_manager_client.h | 189 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type); 210 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
|
D | cellular_call_proxy.h | 283 …int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) overrid… 292 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) override;
|
D | call_manager_inner_type.h | 1562 enum class CallRestrictionType { enum 1624 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING;
|
/base/telephony/call_manager/frameworks/native/include/ |
D | call_manager_service_proxy.h | 247 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) override; 270 …int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) overrid…
|
D | i_call_manager_service.h | 62 virtual int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) = 0; 65 … int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) = 0;
|
D | call_manager_proxy.h | 65 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type); 68 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
|
/base/telephony/call_manager/services/call/include/ |
D | call_control_manager.h | 71 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type); 74 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
|
/base/telephony/call_manager/services/call_manager_service/include/ |
D | call_manager_service.h | 282 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) override; 305 …int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) overrid…
|
/base/telephony/cellular_call/services/control/src/ |
D | cellular_call_supplement.cpp | 1082 int32_t CellularCallSupplement::GetCallRestriction(int32_t slotId, CallRestrictionType facType) in GetCallRestriction() 1119 int32_t slotId, CallRestrictionType facType, const char *oldPassword, const char *newPassword) in SetBarringPassword() 1147 …lularCallSupplement::CheckCallRestrictionType(std::string &fac, const CallRestrictionType &facType) in CheckCallRestrictionType() 1162 case CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING: in CheckCallRestrictionType() 1165 case CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL: in CheckCallRestrictionType() 1168 case CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME: in CheckCallRestrictionType() 1171 case CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING: in CheckCallRestrictionType() 1174 case CallRestrictionType::RESTRICTION_TYPE_ROAMING_INCOMING: in CheckCallRestrictionType() 1177 case CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS: in CheckCallRestrictionType() 1180 case CallRestrictionType::RESTRICTION_TYPE_OUTGOING_SERVICES: in CheckCallRestrictionType() [all …]
|
/base/telephony/cellular_call/services/manager/include/ |
D | cellular_call_service.h | 348 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) override; 360 …int32_t slotId, CallRestrictionType facType, const char *oldPassword, const char *newPassword) ove…
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
D | call_manager_gtest.cpp | 2643 SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), 2648 SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), 2667 INVALID_SLOT_ID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), 2686 …CallManagerGtest::clientPtr_->GetCallRestriction(slotId, CallRestrictionType::RESTRICTION_TYPE_ALL… 2704 SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING), 2709 SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING), 2728 INVALID_SLOT_ID, CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING), 2747 …CallManagerGtest::clientPtr_->GetCallRestriction(slotId, CallRestrictionType::RESTRICTION_TYPE_ALL… 2764 SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), 2769 SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING), [all …]
|
D | zero_branch_test.cpp | 236 CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING, 0), TELEPHONY_ERR_SUCCESS); 811 …ASSERT_NE(callSettingManager->GetCallRestriction(SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYP… 813 …ASSERT_NE(callSettingManager->GetCallRestriction(INVALID_SLOTID, CallRestrictionType::RESTRICTION_… 818 .fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING, 939 callManagerClient->GetCallRestriction(0, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING); 1698 CallRestrictionType callRestrictionType = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; 1757 CallRestrictionType callRestrictionType = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING;
|
/base/telephony/call_manager/frameworks/native/src/ |
D | call_manager_client.cpp | 239 int32_t CallManagerClient::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction() 260 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) in SetCallRestrictionPassword()
|
/base/telephony/call_manager/frameworks/js/napi/src/ |
D | napi_call_manager.cpp | 311 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING))), in DeclareCallRestrictionEnum() 314 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL))), in DeclareCallRestrictionEnum() 317 … env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME))), in DeclareCallRestrictionEnum() 320 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING))), in DeclareCallRestrictionEnum() 323 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ROAMING_INCOMING))), in DeclareCallRestrictionEnum() 326 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS))), in DeclareCallRestrictionEnum() 329 … env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_OUTGOING_SERVICES))), in DeclareCallRestrictionEnum() 332 … env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES))), in DeclareCallRestrictionEnum() 616 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING))), in DeclareRestrictionTypeEnum() 619 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL))), in DeclareRestrictionTypeEnum() [all …]
|
/base/telephony/call_manager/services/call_manager_service/src/ |
D | call_manager_service_stub.cpp | 549 CallRestrictionType type = static_cast<CallRestrictionType>(data.ReadInt32()); in OnGetCallRestriction() 587 CallRestrictionType fac = static_cast<CallRestrictionType>(data.ReadInt32()); in OnSetCallRestrictionPassword()
|
D | call_manager_service.cpp | 531 int32_t CallManagerService::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction() 568 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) in SetCallRestrictionPassword()
|
/base/telephony/call_manager/services/telephony_interaction/src/ |
D | cellular_call_connection.cpp | 477 int CellularCallConnection::GetCallRestriction(CallRestrictionType facType, int32_t slotId) in GetCallRestriction() 487 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) in SetCallRestrictionPassword()
|
/base/telephony/call_manager/test/unittest/ui_client/ |
D | ui_client_test.cpp | 532 CallRestrictionType type; in GetCallRestriction() 538 type = static_cast<CallRestrictionType>(tmpType); in GetCallRestriction() 558 info.fac = static_cast<CallRestrictionType>(tmpType); in SetCallRestriction() 578 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS; in SetCallRestrictionPassword()
|
/base/telephony/call_manager/services/call/src/ |
D | call_control_manager.cpp | 506 int32_t CallControlManager::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction() 537 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) in SetCallRestrictionPassword()
|