/base/telephony/call_manager/services/call_report/src/ |
H A D | call_state_report_proxy.cpp | 70 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 D | bluetooth_call_manager.cpp | 32 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 D | bluetooth_call_service.cpp | 132 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 D | bluetooth_connection.cpp | 101 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 D | call_ability_connect_callback.cpp | 76 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 D | call_object_manager.cpp | 523 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 D | call_superprivacy_control_manager.cpp | 86 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 D | call_object_manager.h | 65 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 D | common_type.h | 39 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 D | bluetooth_call_manager.h | 31 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 D | bluetooth_connection.h | 51 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 D | call_state_report_proxy.h | 34 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 D | state_registry_observer.h | 30 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 D | state_registry_observer.h | 30 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 D | state_registry_branch_test.cpp | 299 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 D | update_contexts.h | 31 int32_t callState; member 35 callState = info.callState_; in operator =()
|
H A D | napi_telephony_observer.h | 30 void OnCallStateUpdated(int32_t slotId, int32_t callState, const std::u16string &phoneNumber) override;
|
/base/telephony/call_manager/test/fuzztest/call_fuzzer/ |
H A D | call_fuzzer.cpp | 57 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 D | napi_telephony_observer.cpp | 24 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 D | call_manager1_gtest.cpp | 68 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 D | call_manager8_gtest.cpp | 68 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 D | call_state_processor.h | 40 bool ShouldSwitchState(TelCallState callState);
|
/base/telephony/state_registry/frameworks/native/observer/include/ |
H A D | telephony_observer_proxy.h | 31 int32_t slotId, int32_t callState, const std::u16string &phoneNumber);
|
/base/telephony/call_manager/services/call_voice_assistant/src/ |
H A D | call_voice_assistant_manager.cpp | 447 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 D | telephonyobserver_fuzzer.cpp | 72 int32_t callState = static_cast<int32_t>(size); in CallStateUpdatedInner() local 76 dataMessageParcel.WriteInt32(callState); in CallStateUpdatedInner()
|