Home
last modified time | relevance | path

Searched refs:CallRestrictionType (Results 1 – 25 of 33) sorted by relevance

12

/base/telephony/call_manager/services/call_setting/include/
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/
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()
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/
Dcellular_call_supplement.h164 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/
Dcellular_call_connection.h253 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.ts1464 …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/
Dcellular_call_interface.h270 … int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) = 0;
279 virtual int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) = 0;
Dcall_manager_client.h189 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type);
210 int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword);
Dcellular_call_proxy.h283 …int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) overrid…
292 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) override;
Dcall_manager_inner_type.h1562 enum class CallRestrictionType { enum
1624 CallRestrictionType fac = CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING;
/base/telephony/call_manager/frameworks/native/include/
Dcall_manager_service_proxy.h247 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) override;
270 …int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) overrid…
Di_call_manager_service.h62 virtual int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) = 0;
65 … int32_t slotId, CallRestrictionType fac, const char *oldPassword, const char *newPassword) = 0;
Dcall_manager_proxy.h65 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/
Dcall_control_manager.h71 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/
Dcall_manager_service.h282 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/
Dcellular_call_supplement.cpp1082 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/
Dcellular_call_service.h348 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/
Dcall_manager_gtest.cpp2643 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 …]
Dzero_branch_test.cpp236 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/
Dcall_manager_client.cpp239 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/
Dnapi_call_manager.cpp311 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/
Dcall_manager_service_stub.cpp549 CallRestrictionType type = static_cast<CallRestrictionType>(data.ReadInt32()); in OnGetCallRestriction()
587 CallRestrictionType fac = static_cast<CallRestrictionType>(data.ReadInt32()); in OnSetCallRestrictionPassword()
Dcall_manager_service.cpp531 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/
Dcellular_call_connection.cpp477 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/
Dui_client_test.cpp532 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/
Dcall_control_manager.cpp506 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()

12