Home
last modified time | relevance | path

Searched refs:callState (Results 1 - 25 of 78) sorted by relevance

1234

/base/telephony/call_manager/services/call_report/src/
H A Dcall_state_report_proxy.cpp70 info.callState = TelCallState::CALL_STATUS_ANSWERED; in UpdateCallState()
74 info.callState = currentVoipCallState; in UpdateCallState()
78 info.callState = currentVoipCallState; in UpdateCallState()
80 if (info.callState == currentCallState_) { in UpdateCallState()
84 if (info.callState == TelCallState::CALL_STATUS_DISCONNECTING) { in UpdateCallState()
88 currentCallState_ = info.callState; in UpdateCallState()
91 ReportCallState(static_cast<int32_t>(info.callState), accountNumber); in UpdateCallState()
132 info.callState = TelCallState::CALL_STATUS_ANSWERED; in UpdateCallStateForSlotId()
134 if (info.callState == TelCallState::CALL_STATUS_DISCONNECTING) { in UpdateCallStateForSlotId()
138 ReportCallStateForCallId(info.accountId, static_cast<int32_t>(info.callState), accountNumbe in UpdateCallStateForSlotId()
141 ReportCallState(int32_t callState, std::u16string phoneNumber) ReportCallState() argument
154 ReportCallStateForCallId( int32_t slotId, int32_t callState, std::u16string incomingNumber) ReportCallStateForCallId() argument
[all...]
/base/telephony/call_manager/services/bluetooth/src/
H A Dbluetooth_call_manager.cpp32 int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number) in SendBtCallState()
38 return btConnection_->SendBtCallState(numActive, numHeld, callState, number); in SendBtCallState()
41 int32_t BluetoothCallManager::SendCallDetailsChange(int32_t callId, int32_t callState) in SendCallDetailsChange() argument
47 return btConnection_->SendCallDetailsChange(callId, callState); in SendCallDetailsChange()
31 SendBtCallState( int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number) SendBtCallState() argument
H A Dbluetooth_call_service.cpp132 int32_t callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState() local
135 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState()
139 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState()
143 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_DIALING); in GetCallState()
147 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_ALERTING); in GetCallState()
151 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_INCOMING); in GetCallState()
155 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_INCOMING); in GetCallState()
159 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_IDLE); in GetCallState()
163 callState = static_cast<int32_t>(TelCallState::CALL_STATUS_DISCONNECTED); in GetCallState()
167 SendBtCallState(numActive, numHeld, callState, numbe in GetCallState()
[all...]
H A Dbluetooth_connection.cpp101 int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number) in SendBtCallState()
111 profile->PhoneStateChanged(numActive, numHeld, callState, number, PHONE_NUMBER_TYPE, nickName); in SendBtCallState()
113 TELEPHONY_LOGI("PhoneStateChanged,numActive:%{public}d,numHeld:%{public}d,callState:%{public}d", numActive, numHeld, in SendBtCallState()
114 callState); in SendBtCallState()
118 int32_t BluetoothConnection::SendCallDetailsChange(int32_t callId, int32_t callState) in SendCallDetailsChange() argument
127 profile->CallDetailsChanged(callId, callState); in SendCallDetailsChange()
100 SendBtCallState( int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number) SendBtCallState() argument
/base/telephony/call_manager/services/call/src/
H A Dcall_ability_connect_callback.cpp76 TelCallState callState = info.callState; in ReConnectAbility() local
78 if (callState == TelCallState::CALL_STATUS_DISCONNECTING || in ReConnectAbility()
79 callState == TelCallState::CALL_STATUS_DISCONNECTED || in ReConnectAbility()
80 callState == TelCallState::CALL_STATUS_UNKNOWN || callState == TelCallState::CALL_STATUS_IDLE) { in ReConnectAbility()
H A Dcall_object_manager.cpp523 sptr<CallBase> CallObjectManager::GetOneCallObject(CallRunningState callState) in GetOneCallObject() argument
528 if ((*it)->GetCallRunningState() == callState) { in GetOneCallObject()
578 bool CallObjectManager::IsCallExist(CallType callType, TelCallState callState) in IsCallExist() argument
583 if ((*it)->GetCallType() == callType && (*it)->GetTelCallState() == callState) { in IsCallExist()
591 bool CallObjectManager::IsCallExist(TelCallState callState) in IsCallExist() argument
596 if ((*it)->GetTelCallState() == callState) { in IsCallExist()
604 bool CallObjectManager::IsCallExist(TelCallState callState, int32_t &callId) in IsCallExist() argument
609 if ((*it)->GetTelCallState() == callState) { in IsCallExist()
632 int32_t CallObjectManager::GetCallNum(TelCallState callState, bool isIncludeVoipCall) in GetCallNum() argument
638 if ((*it)->GetTelCallState() == callState) { in GetCallNum()
650 GetCallNumber(TelCallState callState, bool isIncludeVoipCall) GetCallNumber() argument
799 GetCallNumByRunningState(CallRunningState callState) GetCallNumByRunningState() argument
[all...]
H A Dcall_superprivacy_control_manager.cpp86 TELEPHONY_LOGE("OnSuperPrivacyModeChanged callState:%{public}d", info.callState); in CloseAllCall()
87 if (info.callState == TelCallState::CALL_STATUS_INCOMING || in CloseAllCall()
88 info.callState == TelCallState::CALL_STATUS_WAITING) { in CloseAllCall()
/base/telephony/call_manager/services/call/include/
H A Dcall_object_manager.h65 static sptr<CallBase> GetOneCallObject(CallRunningState callState);
66 static bool IsCallExist(CallType type, TelCallState callState);
67 static bool IsCallExist(TelCallState callState);
68 static bool IsCallExist(TelCallState callState, int32_t &callId);
70 static int32_t GetCallNum(TelCallState callState, bool isIncludeVoipCall = true);
71 static std::string GetCallNumber(TelCallState callState, bool isIncludeVoipCall = true);
85 static int32_t GetCallNumByRunningState(CallRunningState callState);
H A Dcommon_type.h39 callState(TelCallState::CALL_STATUS_IDLE), isDialing(false), isEcc(false) {} in DialParaInfo()
47 TelCallState callState = TelCallState::CALL_STATUS_UNKNOWN; member
/base/telephony/call_manager/services/bluetooth/include/
H A Dbluetooth_call_manager.h31 int32_t SendBtCallState(int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number);
32 int32_t SendCallDetailsChange(int32_t callId, int32_t callState);
H A Dbluetooth_connection.h51 int32_t SendBtCallState(int32_t numActive, int32_t numHeld, int32_t callState, const std::string &number);
52 int32_t SendCallDetailsChange(int32_t callId, int32_t callState);
/base/telephony/call_manager/services/call_report/include/
H A Dcall_state_report_proxy.h34 int32_t ReportCallState(int32_t callState, std::u16string phoneNumber);
36 int32_t slotId, int32_t callState, std::u16string incomingNumber);
/base/telephony/core_service/test/unittest/ui_client/
H A 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/test/unittest/state_test/
H A 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()
H A Dstate_registry_branch_test.cpp299 int32_t callState = 16; in HWTEST_F() local
302 result = proxy->UpdateCallState(callState, number); in HWTEST_F()
304 result = proxy->UpdateCallStateForSlotId(0, callState, number); in HWTEST_F()
/base/telephony/state_registry/frameworks/js/napi/include/
H A Dupdate_contexts.h31 int32_t callState; member
35 callState = info.callState_; in operator =()
H A Dnapi_telephony_observer.h30 void OnCallStateUpdated(int32_t slotId, int32_t callState, const std::u16string &phoneNumber) override;
/base/telephony/call_manager/test/fuzztest/call_fuzzer/
H A Dcall_fuzzer.cpp57 dialParaInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in CSCallFunc()
105 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in DialingProcess()
144 info.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in GetCallerInfo()
191 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in IMSCallFunc()
277 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in IMSVideoCallFunc()
319 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in IMSVideoCallWindowFunc()
349 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in OttCallFunc()
393 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in OttVideoCallFunc()
432 paraInfo.callState = static_cast<TelCallState>(size % TEL_CALL_STATE_NUM); in OttVideoCallWindowFunc()
462 paraInfo.callState in SatelliteCallFunc()
[all...]
/base/telephony/state_registry/frameworks/js/napi/src/
H A Dnapi_telephony_observer.cpp24 void NapiTelephonyObserver::OnCallStateUpdated(int32_t slotId, int32_t callState, const std::u16string &phoneNumber) in OnCallStateUpdated() argument
26 TELEPHONY_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/test/unittest/call_manager_gtest/src/
H A Dcall_manager1_gtest.cpp68 newCallState_ = (int32_t)updateCallInfo_.callState; in CallDetailsChange()
73 g_callStateMap[updateCallInfo_.callId].insert((int32_t)updateCallInfo_.callState); in CallDetailsChange()
95 bool CallInfoManager::HasState(int callId, int32_t callState) in HasState() argument
100 if (g_callStateMap[callId].find(callState) == g_callStateMap[callId].end()) { in HasState()
120 updateCallInfo_.callState = TelCallState::CALL_STATUS_IDLE; in Init()
151 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); in LockCallState() local
154 EXPECT_EQ(callState, targetState); in LockCallState()
620 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); in HWTEST_F() local
622 ASSERT_EQ(callState, idleState); in HWTEST_F()
744 int32_t callState in HWTEST_F() local
764 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); HWTEST_F() local
[all...]
H A Dcall_manager8_gtest.cpp68 newCallState_ = (int32_t)updateCallInfo_.callState; in CallDetailsChange()
73 g_callStateMap[updateCallInfo_.callId].insert((int32_t)updateCallInfo_.callState); in CallDetailsChange()
95 bool CallInfoManager::HasState(int callId, int32_t callState) in HasState() argument
100 if (g_callStateMap[callId].find(callState) == g_callStateMap[callId].end()) { in HasState()
120 updateCallInfo_.callState = TelCallState::CALL_STATUS_IDLE; in Init()
151 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); in LockCallState() local
154 EXPECT_EQ(callState, targetState); in LockCallState()
708 info.callState = TelCallState::CALL_STATUS_DIALING; in HWTEST_F()
/base/telephony/call_manager/services/audio/include/
H A Dcall_state_processor.h40 bool ShouldSwitchState(TelCallState callState);
/base/telephony/state_registry/frameworks/native/observer/include/
H A Dtelephony_observer_proxy.h31 int32_t slotId, int32_t callState, const std::u16string &phoneNumber);
/base/telephony/call_manager/services/call_voice_assistant/src/
H A Dcall_voice_assistant_manager.cpp447 TelCallState callState = callObjectPtr->GetTelCallState(); in CallStateUpdated() local
448 if (callState != TelCallState::CALL_STATUS_ACTIVE && callState != TelCallState::CALL_STATUS_DIALING && in CallStateUpdated()
449 callState != TelCallState::CALL_STATUS_INCOMING && callState != TelCallState::CALL_STATUS_DISCONNECTED) { in CallStateUpdated()
456 info->call_status = (int32_t)callState; in CallStateUpdated()
461 switch (callState) { in CallStateUpdated()
/base/telephony/state_registry/test/fuzztest/telephonyobserver_fuzzer/
H A Dtelephonyobserver_fuzzer.cpp72 int32_t callState = static_cast<int32_t>(size); in CallStateUpdatedInner() local
76 dataMessageParcel.WriteInt32(callState); in CallStateUpdatedInner()

Completed in 14 milliseconds

1234