Home
last modified time | relevance | path

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

12

/base/telephony/call_manager/services/call_setting/src/
Dcall_setting_manager.cpp59 int32_t CallSettingManager::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction()
204 int32_t CallSettingManager::GetCallRestrictionPolicy(int32_t slotId, CallRestrictionType type) in GetCallRestrictionPolicy()
210 if (type < CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING || in GetCallRestrictionPolicy()
211 type > CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES) { in GetCallRestrictionPolicy()
224 if (info.fac < CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING || in SetCallRestrictionPolicy()
225 info.fac > CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES) { in SetCallRestrictionPolicy()
/base/telephony/cellular_call/services/control/src/
Dcellular_call_supplement.cpp571 case CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING: in SetCallRestriction()
574 case CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL: in SetCallRestriction()
577 case CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME: in SetCallRestriction()
580 case CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING: in SetCallRestriction()
583 case CallRestrictionType::RESTRICTION_TYPE_ROAMING_INCOMING: in SetCallRestriction()
586 case CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS: in SetCallRestriction()
589 case CallRestrictionType::RESTRICTION_TYPE_OUTGOING_SERVICES: in SetCallRestriction()
592 case CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES: in SetCallRestriction()
608 int32_t CellularCallSupplement::GetCallRestriction(int32_t slotId, CallRestrictionType facType) in GetCallRestriction()
616 case CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING: in GetCallRestriction()
[all …]
/base/telephony/call_manager/services/call_setting/include/
Dcall_setting_manager.h35 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type);
50 int32_t GetCallRestrictionPolicy(int32_t slotId, CallRestrictionType type);
/base/telephony/call_manager/interfaces/kits/js/
D@ohos.telephony.call.d.ts701 …function getCallRestrictionStatus(slotId: number, type: CallRestrictionType, callback: AsyncCallba…
702 …function getCallRestrictionStatus(slotId: number, type: CallRestrictionType): Promise<RestrictionS…
952 export enum CallRestrictionType { enum
1109 type: CallRestrictionType;
/base/telephony/cellular_call/services/control/include/
Dcellular_call_supplement.h131 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType);
/base/telephony/call_manager/interfaces/innerkits/
Dcall_manager_inner_type.h565 enum class CallRestrictionType { enum
584 CallRestrictionType fac;
Dcall_manager_client.h48 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type);
/base/telephony/call_manager/services/telephony_interaction/include/
Dcellular_call_connection.h231 int GetCallRestriction(CallRestrictionType facType, int32_t slotId);
Dcellular_call_proxy.h259 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) override;
Dcellular_call_interface.h303 virtual int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) = 0;
/base/telephony/call_manager/frameworks/native/include/
Dcall_manager_service_proxy.h244 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) override;
Dcall_manager_proxy.h63 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type);
Di_call_manager_service.h118 virtual int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) = 0;
/base/telephony/call_manager/services/call/include/
Dcall_control_manager.h69 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type);
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_manager.cpp300 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING))), in DeclareCallRestrictionEnum()
303 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL))), in DeclareCallRestrictionEnum()
306 … env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL_EXCLUDING_HOME))), in DeclareCallRestrictionEnum()
309 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING))), in DeclareCallRestrictionEnum()
312 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ROAMING_INCOMING))), in DeclareCallRestrictionEnum()
315 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ALL_CALLS))), in DeclareCallRestrictionEnum()
318 … env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_OUTGOING_SERVICES))), in DeclareCallRestrictionEnum()
321 … env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_INCOMING_SERVICES))), in DeclareCallRestrictionEnum()
590 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING))), in DeclareRestrictionTypeEnum()
593 env, static_cast<int32_t>(CallRestrictionType::RESTRICTION_TYPE_INTERNATIONAL))), in DeclareRestrictionTypeEnum()
[all …]
/base/telephony/call_manager/services/call_manager_service/include/
Dcall_manager_service.h281 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) override;
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp2212 SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING),
2217 SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING),
2236 INVALID_SLOT_ID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING),
2255 …CallManagerGtest::clientPtr_->GetCallRestriction(slotId, CallRestrictionType::RESTRICTION_TYPE_ALL…
2273 SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING),
2278 SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING),
2297 INVALID_SLOT_ID, CallRestrictionType::RESTRICTION_TYPE_ALL_OUTGOING),
2316 …CallManagerGtest::clientPtr_->GetCallRestriction(slotId, CallRestrictionType::RESTRICTION_TYPE_ALL…
2333 SIM1_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING),
2338 SIM2_SLOTID, CallRestrictionType::RESTRICTION_TYPE_ALL_INCOMING),
[all …]
/base/telephony/cellular_call/services/manager/include/
Dcellular_call_service.h335 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType facType) override;
/base/telephony/call_manager/frameworks/native/src/
Dcall_manager_client.cpp229 int32_t CallManagerClient::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction()
/base/telephony/call_manager/services/call_manager_service/src/
Dcall_manager_service_stub.cpp457 CallRestrictionType type = static_cast<CallRestrictionType>(data.ReadInt32()); in OnGetCallRestriction()
Dcall_manager_service.cpp425 int32_t CallManagerService::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction()
/base/telephony/call_manager/test/unittest/ui_client/
Dui_client_test.cpp459 CallRestrictionType type; in GetCallRestriction()
465 type = static_cast<CallRestrictionType>(tmpType); in GetCallRestriction()
485 info.fac = static_cast<CallRestrictionType>(tmpType); in SetCallRestriction()
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/
Dcall_manager_connect.h566 int32_t GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction()
/base/telephony/call_manager/services/telephony_interaction/src/
Dcellular_call_connection.cpp454 int CellularCallConnection::GetCallRestriction(CallRestrictionType facType, int32_t slotId) in GetCallRestriction()
/base/telephony/call_manager/services/call/src/
Dcall_control_manager.cpp487 int32_t CallControlManager::GetCallRestriction(int32_t slotId, CallRestrictionType type) in GetCallRestriction()

12