Home
last modified time | relevance | path

Searched refs:callState (Results 1 – 25 of 53) sorted by relevance

123

/base/telephony/call_manager/services/call_report/src/
Dcall_state_report_proxy.cpp46 if (info.callState == TelCallState::CALL_STATUS_INCOMING) { in CallStateUpdated()
47 ReportCallState(info.accountId, static_cast<int32_t>(info.callState), accountNumber); in CallStateUpdated()
49 …ReportCallStateForCallId(info.accountId, info.callId, static_cast<int32_t>(info.callState), accoun… in CallStateUpdated()
53 int32_t CallStateReportProxy::ReportCallState(int32_t slotId, int32_t callState, std::u16string pho… in ReportCallState() argument
57 slotId, callState, phoneNumber); in ReportCallState()
62 TELEPHONY_LOGI("report call state:%{public}d", callState); in ReportCallState()
67 int32_t slotId, int32_t callId, int32_t callState, std::u16string incomingNumber) in ReportCallStateForCallId() argument
71 slotId, callId, callState, incomingNumber); in ReportCallStateForCallId()
76 TELEPHONY_LOGI("report call state:%{public}d, callId:%{public}d", callState, callId); in ReportCallStateForCallId()
/base/telephony/call_manager/services/call/src/
Dcall_ability_connect_callback.cpp57 TelCallState callState = info.callState; in ReConnectAbility() local
59 if (callState == TelCallState::CALL_STATUS_DISCONNECTING || in ReConnectAbility()
60 callState == TelCallState::CALL_STATUS_DISCONNECTED || in ReConnectAbility()
61callState == TelCallState::CALL_STATUS_UNKNOWN || callState == TelCallState::CALL_STATUS_IDLE) { in ReConnectAbility()
Dcall_object_manager.cpp313 sptr<CallBase> CallObjectManager::GetOneCallObject(CallRunningState callState) in GetOneCallObject() argument
318 if ((*it)->GetCallRunningState() == callState) { in GetOneCallObject()
337 bool CallObjectManager::IsCallExist(CallType callType, TelCallState callState) in IsCallExist() argument
342 if ((*it)->GetCallType() == callType && (*it)->GetTelCallState() == callState) { in IsCallExist()
350 bool CallObjectManager::IsCallExist(TelCallState callState) in IsCallExist() argument
355 if ((*it)->GetTelCallState() == callState) { in IsCallExist()
363 bool CallObjectManager::IsCallExist(TelCallState callState, int32_t &callId) in IsCallExist() argument
368 if ((*it)->GetTelCallState() == callState) { in IsCallExist()
391 int32_t CallObjectManager::GetCallNum(TelCallState callState) in GetCallNum() argument
397 if ((*it)->GetTelCallState() == callState) { in GetCallNum()
[all …]
/base/telephony/call_manager/services/call/include/
Dcall_object_manager.h57 static sptr<CallBase> GetOneCallObject(CallRunningState callState);
58 static bool IsCallExist(CallType type, TelCallState callState);
59 static bool IsCallExist(TelCallState callState);
60 static bool IsCallExist(TelCallState callState, int32_t &callId);
62 static int32_t GetCallNum(TelCallState callState);
63 static std::string GetCallNumber(TelCallState callState);
Dcommon_type.h37 callState(TelCallState::CALL_STATUS_IDLE), isDialing(false), isEcc(false) {} in DialParaInfo()
45 TelCallState callState = TelCallState::CALL_STATUS_UNKNOWN; member
/base/telephony/call_manager/services/bluetooth/src/
Dbluetooth_call_service.cpp113 int32_t callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState() local
116 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState()
120 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState()
124 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_DIALING); in GetCallState()
128 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_ALERTING); in GetCallState()
132 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_INCOMING); in GetCallState()
136 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState()
140 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState()
144 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState()
148 SendBtCallState(numActive, numHeld, callState, number); in GetCallState()
Dbluetooth_call_manager.cpp57 int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number) in SendBtCallState() argument
63 return btConnection_->SendBtCallState(numActive, numHeld, callState, number); in SendBtCallState()
Dbluetooth_connection.cpp208 int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number) in SendBtCallState() argument
218 profile->PhoneStateChanged(numActive, numHeld, callState, number, PHONE_NUMBER_TYPE, nickName); in SendBtCallState()
221 callState); in SendBtCallState()
/base/telephony/call_manager/services/call_report/include/
Dcall_state_report_proxy.h31 int32_t ReportCallState(int32_t slotId, int32_t callState, std::u16string phoneNumber);
33 int32_t slotId, int32_t callId, int32_t callState, std::u16string incomingNumber);
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_observer.h30 void OnCallStateUpdated(int32_t slotId, int32_t callState, const std::u16string &phoneNumber) in OnCallStateUpdated() argument
33 … "StateRegistryObserver%{public}d::OnCallStateUpdated callState is %{public}d", slotId, callState); in OnCallStateUpdated()
/base/telephony/state_registry/frameworks/js/napi/include/
Dupdate_contexts.h31 int32_t callState; member
35 callState = info.callState_;
Dnapi_telephony_observer.h30 …void OnCallStateUpdated(int32_t slotId, int32_t callState, const std::u16string &phoneNumber) over…
/base/telephony/state_registry/frameworks/js/napi/src/
Dnapi_telephony_observer.cpp24 void NapiTelephonyObserver::OnCallStateUpdated(int32_t slotId, int32_t callState, const std::u16str… in OnCallStateUpdated() argument
26 …ELEPHONY_LOGI("OnCallStateUpdated slotId = %{public}d, callState = %{public}d", slotId, callState); in OnCallStateUpdated()
28 std::make_unique<CallStateUpdateInfo>(slotId, callState, phoneNumber); in OnCallStateUpdated()
/base/telephony/call_manager/services/bluetooth/include/
Dbluetooth_call_manager.h33 …int32_t SendBtCallState(int32_t numActive, int32_t numHeld, int32_t callState, const std::string &…
Dbluetooth_connection.h56 …int32_t SendBtCallState(int32_t numActive, int32_t numHeld, int32_t callState, const std::string &…
/base/telephony/call_manager/services/audio/include/
Dcall_state_processor.h39 bool ShouldSwitchState(TelCallState callState);
/base/telephony/call_manager/test/fuzztest/call_fuzzer/
Dcall_fuzzer.cpp65 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in CSCallFunc()
107 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in DialingProcess()
146 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in GetCallerInfo()
192 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in IMSCallFunc()
248 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in OttCallFunc()
/base/telephony/state_registry/frameworks/native/observer/include/
Dtelephony_observer_proxy.h31 int32_t slotId, int32_t callState, const std::u16string &phoneNumber);
/base/telephony/call_manager/services/audio/src/
Dcall_state_processor.cpp139 bool CallStateProcessor::ShouldSwitchState(TelCallState callState) in ShouldSwitchState() argument
142 switch (callState) { in ShouldSwitchState()
/base/telephony/state_registry/test/fuzztest/telephonyobserver_fuzzer/
Dtelephonyobserver_fuzzer.cpp72 int32_t callState = static_cast<int32_t>(size); in CallStateUpdatedInner() local
76 dataMessageParcel.WriteInt32(callState); in CallStateUpdatedInner()
/base/telephony/core_service/interfaces/innerkits/include/
Dtelephony_observer_broker.h47 int32_t slotId, int32_t callState, const std::u16string &phoneNumber) = 0;
/base/telephony/state_registry/frameworks/native/observer/src/
Dtelephony_observer.cpp24 int32_t slotId, int32_t callState, const std::u16string &phoneNumber) {} in OnCallStateUpdated() argument
102 int32_t callState = data.ReadInt32(); in OnCallStateUpdatedInner() local
104 OnCallStateUpdated(slotId, callState, phoneNumber); in OnCallStateUpdatedInner()
/base/telephony/state_registry/services/include/
Dtelephony_state_registry_service.h50 …int32_t UpdateCallState(int32_t slotId, int32_t callState, const std::u16string &phoneNumber) over…
52 … int32_t slotId, int32_t callId, int32_t callState, const std::u16string &incomingNumber) override;
/base/telephony/cellular_call/services/manager/include/
Dcellular_call_register.h35 void ReportSingleCallInfo(const CallReportInfo &info, TelCallState callState);
/base/telephony/state_registry/services/src/
Dtelephony_state_registry_stub.cpp78 int32_t callState = data.ReadInt32(); in OnUpdateCallState() local
80 int32_t ret = UpdateCallState(slotId, callState, phoneNumber); in OnUpdateCallState()
102 int32_t callState = data.ReadInt32(); in OnUpdateCallStateForSlotId() local
104 int32_t ret = UpdateCallStateForSlotId(slotId, callId, callState, incomingNumber); in OnUpdateCallStateForSlotId()

123