Home
last modified time | relevance | path

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

12

/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/include/
Dcall_object_manager.h55 static sptr<CallBase> GetOneCallObject(CallRunningState callState);
56 static bool IsCallExist(CallType type, TelCallState callState);
57 static bool IsCallExist(TelCallState callState);
58 static bool IsCallExist(TelCallState callState, int32_t &callId);
60 static int32_t GetCallNum(TelCallState callState);
61 static std::string GetCallNumber(TelCallState callState);
Dcommon_type.h37 callState(TelCallState::CALL_STATUS_IDLE), isDialing(false), isEcc(false) {} in DialParaInfo()
45 TelCallState callState; 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.cpp190 int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number) in SendBtCallState() argument
200 profile->PhoneStateChanged(numActive, numHeld, callState, number, PHONE_NUMBER_TYPE, nickName); in SendBtCallState()
203 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/call_manager/services/call/src/
Dcall_object_manager.cpp300 sptr<CallBase> CallObjectManager::GetOneCallObject(CallRunningState callState) in GetOneCallObject() argument
305 if ((*it)->GetCallRunningState() == callState) { in GetOneCallObject()
312 bool CallObjectManager::IsCallExist(CallType callType, TelCallState callState) in IsCallExist() argument
317 if ((*it)->GetCallType() == callType && (*it)->GetTelCallState() == callState) { in IsCallExist()
325 bool CallObjectManager::IsCallExist(TelCallState callState) in IsCallExist() argument
330 if ((*it)->GetTelCallState() == callState) { in IsCallExist()
338 bool CallObjectManager::IsCallExist(TelCallState callState, int32_t &callId) in IsCallExist() argument
343 if ((*it)->GetTelCallState() == callState) { in IsCallExist()
366 int32_t CallObjectManager::GetCallNum(TelCallState callState) in GetCallNum() argument
372 if ((*it)->GetTelCallState() == callState) { in GetCallNum()
[all …]
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_observer.h29 void OnCallStateUpdated(int32_t slotId, int32_t callState, const std::u16string &phoneNumber) in OnCallStateUpdated() argument
32 … "StateRegistryObserver%{public}d::OnCallStateUpdated callState is %{public}d", slotId, callState); in OnCallStateUpdated()
/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/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/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.h52 …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()
144 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in GetCallerInfo()
190 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in IMSCallFunc()
244 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/state_registry/frameworks/native/observer/src/
Dtelephony_observer.cpp24 int32_t slotId, int32_t callState, const std::u16string &phoneNumber) {} in OnCallStateUpdated() argument
92 int32_t callState = data.ReadInt32(); in OnCallStateUpdatedInner() local
94 OnCallStateUpdated(slotId, callState, phoneNumber); in OnCallStateUpdatedInner()
/base/telephony/call_manager/services/audio/src/
Dcall_state_processor.cpp136 bool CallStateProcessor::ShouldSwitchState(TelCallState callState) in ShouldSwitchState() argument
139 switch (callState) { in ShouldSwitchState()
/base/telephony/core_service/interfaces/innerkits/include/
Dtelephony_observer_broker.h44 int32_t slotId, int32_t callState, const std::u16string &phoneNumber) = 0;
/base/telephony/state_registry/service/src/
Dtelephony_state_registry_stub.cpp72 int32_t callState = data.ReadInt32(); in OnUpdateCallState() local
74 int32_t ret = UpdateCallState(slotId, callState, phoneNumber); in OnUpdateCallState()
96 int32_t callState = data.ReadInt32(); in OnUpdateCallStateForSlotId() local
98 int32_t ret = UpdateCallStateForSlotId(slotId, callId, callState, incomingNumber); in OnUpdateCallStateForSlotId()
Dtelephony_state_registry_service.cpp140 int32_t slotId, int32_t callState, const std::u16string &number) in UpdateCallState() argument
163 record.telephonyObserver_->OnCallStateUpdated(slotId, callState, phoneNumberStr); in UpdateCallState()
167 SendCallStateChanged(slotId, callState, number); in UpdateCallState()
172 int32_t slotId, int32_t callId, int32_t callState, const std::u16string &incomingNumber) in UpdateCallStateForSlotId() argument
184 callState_[slotId] = callState; in UpdateCallStateForSlotId()
193 record.telephonyObserver_->OnCallStateUpdated(slotId, callState, incomingNumberStr); in UpdateCallStateForSlotId()
197 SendCallStateChanged(slotId, callState, incomingNumberStr); in UpdateCallStateForSlotId()
/base/telephony/state_registry/service/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.h34 void ReportSingleCallInfo(const CallReportInfo &info, TelCallState callState);
/base/telephony/call_manager/frameworks/js/napi/src/
Dnapi_call_manager_callback.cpp31 TELEPHONY_LOGI("UpdateCallStateInfoHandler success! state:%{public}d", info.callState); in OnCallDetailsChange()

12