Home
last modified time | relevance | path

Searched refs:callObjectPtr (Results 1 – 25 of 30) sorted by relevance

12

/base/telephony/call_manager/test/fuzztest/call_fuzzer/
Dcall_fuzzer.cpp66 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in CSCallFunc() local
75 callObjectPtr->AnswerCall(videoState); in CSCallFunc()
76 callObjectPtr->SetMute(mute, slotId); in CSCallFunc()
77 callObjectPtr->StartDtmf(static_cast<char>(*data)); in CSCallFunc()
78 callObjectPtr->StopDtmf(); in CSCallFunc()
79 callObjectPtr->GetSlotId(); in CSCallFunc()
80 callObjectPtr->DialCallBase(); in CSCallFunc()
81 callObjectPtr->IncomingCallBase(); in CSCallFunc()
82 callObjectPtr->AnswerCallBase(); in CSCallFunc()
83 callObjectPtr->RejectCallBase(); in CSCallFunc()
[all …]
/base/telephony/call_manager/services/call/call_state_observer/src/
Dincoming_call_notification.cpp34 void IncomingCallNotification::NewCallCreated(sptr<CallBase> &callObjectPtr) in NewCallCreated() argument
36 …if (callObjectPtr != nullptr && callObjectPtr->GetTelCallState() == TelCallState::CALL_STATUS_INCO… in NewCallCreated()
37 !callObjectPtr->GetAccountNumber().empty()) { in NewCallCreated()
38 incomingCallNumber_ = callObjectPtr->GetAccountNumber(); in NewCallCreated()
39 PublishIncomingCallNotification(callObjectPtr); in NewCallCreated()
46 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument
48 if (callObjectPtr != nullptr && priorState == TelCallState::CALL_STATUS_INCOMING && in CallStateUpdated()
49 callObjectPtr->GetAccountNumber() == incomingCallNumber_) { in CallStateUpdated()
54 void IncomingCallNotification::IncomingCallActivated(sptr<CallBase> &callObjectPtr) in IncomingCallActivated() argument
56 if (callObjectPtr != nullptr && callObjectPtr->GetAccountNumber() == incomingCallNumber_) { in IncomingCallActivated()
[all …]
Dmissed_call_notification.cpp35 void MissedCallNotification::NewCallCreated(sptr<CallBase> &callObjectPtr) in NewCallCreated() argument
37 …if (callObjectPtr != nullptr && callObjectPtr->GetTelCallState() == TelCallState::CALL_STATUS_INCO… in NewCallCreated()
38 !callObjectPtr->GetAccountNumber().empty()) { in NewCallCreated()
39 incomingCallNumber_ = callObjectPtr->GetAccountNumber(); in NewCallCreated()
47 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument
49 if (callObjectPtr != nullptr && nextState == TelCallState::CALL_STATUS_DISCONNECTED && in CallStateUpdated()
50 callObjectPtr->GetAccountNumber() == incomingCallNumber_ && isIncomingCallMissed_) { in CallStateUpdated()
51 PublishMissedCallEvent(callObjectPtr); in CallStateUpdated()
52 PublishMissedCallNotification(callObjectPtr); in CallStateUpdated()
56 void MissedCallNotification::PublishMissedCallEvent(sptr<CallBase> &callObjectPtr) in PublishMissedCallEvent() argument
[all …]
Dreject_call_sms.cpp25 void RejectCallSms::IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string c… in IncomingCallHungUp() argument
27 …if (callObjectPtr == nullptr || !isSendSms || content.empty() || callObjectPtr->GetAccountNumber()… in IncomingCallHungUp()
31 std::string number = callObjectPtr->GetAccountNumber(); in IncomingCallHungUp()
32 SendMessage(callObjectPtr->GetSlotId(), ConvertToUtf16(number), ConvertToUtf16(content)); in IncomingCallHungUp()
54 void RejectCallSms::NewCallCreated(sptr<CallBase> &callObjectPtr) {} in NewCallCreated() argument
58 void RejectCallSms::IncomingCallActivated(sptr<CallBase> &callObjectPtr) {} in IncomingCallActivated() argument
60 void RejectCallSms::CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCal… in CallStateUpdated() argument
Dincoming_call_wake_up.cpp27 void IncomingCallWakeup::NewCallCreated(sptr<CallBase> &callObjectPtr) in NewCallCreated() argument
30 …if (callObjectPtr != nullptr && callObjectPtr->GetTelCallState() == TelCallState::CALL_STATUS_INCO… in NewCallCreated()
68 void IncomingCallWakeup::IncomingCallActivated(sptr<CallBase> &callObjectPtr) {} in IncomingCallActivated() argument
70 void IncomingCallWakeup::IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::str… in IncomingCallHungUp() argument
73 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument
Dstatus_bar.cpp62 void StatusBar::NewCallCreated(sptr<CallBase> &callObjectPtr) {} in NewCallCreated() argument
64 void StatusBar::CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallSta… in CallStateUpdated() argument
66 void StatusBar::IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string conte… in IncomingCallHungUp() argument
68 void StatusBar::IncomingCallActivated(sptr<CallBase> &callObjectPtr) {} in IncomingCallActivated() argument
Dproximity_sensor.cpp42 void ProximitySensor::NewCallCreated(sptr<CallBase> &callObjectPtr) {} in NewCallCreated() argument
44 void ProximitySensor::IncomingCallActivated(sptr<CallBase> &callObjectPtr) {} in IncomingCallActivated() argument
46 void ProximitySensor::IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string… in IncomingCallHungUp() argument
49 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument
Dwired_headset.cpp71 void WiredHeadset::NewCallCreated(sptr<CallBase> &callObjectPtr) in NewCallCreated() argument
85 void WiredHeadset::CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCall… in CallStateUpdated() argument
88 void WiredHeadset::IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string co… in IncomingCallHungUp() argument
90 void WiredHeadset::IncomingCallActivated(sptr<CallBase> &callObjectPtr) {} in IncomingCallActivated() argument
Dcall_records_manager.cpp41 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument
48 if (callObjectPtr == nullptr) { in CallStateUpdated()
53 callObjectPtr->GetCallAttributeBaseInfo(info); in CallStateUpdated()
/base/telephony/call_manager/test/fuzztest/callnotification_fuzzer/
Dcallnotification_fuzzer.cpp61 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in IncomingCallNotificationFunc() local
67 notification->NewCallCreated(callObjectPtr); in IncomingCallNotificationFunc()
68 notification->CallStateUpdated(callObjectPtr, priorState, nextState); in IncomingCallNotificationFunc()
69 notification->IncomingCallActivated(callObjectPtr); in IncomingCallNotificationFunc()
70 notification->IncomingCallHungUp(callObjectPtr, true, message); in IncomingCallNotificationFunc()
72 notification->PublishIncomingCallNotification(callObjectPtr); in IncomingCallNotificationFunc()
85 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in IncomingCallWakeupFunc() local
91 notification->NewCallCreated(callObjectPtr); in IncomingCallWakeupFunc()
96 notification->IncomingCallActivated(callObjectPtr); in IncomingCallWakeupFunc()
97 notification->IncomingCallHungUp(callObjectPtr, true, message); in IncomingCallWakeupFunc()
[all …]
/base/telephony/call_manager/services/call/src/
Dcall_state_listener.cpp64 void CallStateListener::NewCallCreated(sptr<CallBase> &callObjectPtr) in NewCallCreated() argument
66 if (callObjectPtr == nullptr) { in NewCallCreated()
72 observer->NewCallCreated(callObjectPtr); in NewCallCreated()
85 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument
87 if (callObjectPtr == nullptr) { in CallStateUpdated()
93 observer->CallStateUpdated(callObjectPtr, priorState, nextState); in CallStateUpdated()
97 void CallStateListener::IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::stri… in IncomingCallHungUp() argument
99 if (callObjectPtr == nullptr) { in IncomingCallHungUp()
105 observer->IncomingCallHungUp(callObjectPtr, isSendSms, content); in IncomingCallHungUp()
109 void CallStateListener::IncomingCallActivated(sptr<CallBase> &callObjectPtr) in IncomingCallActivated() argument
[all …]
/base/telephony/call_manager/services/call/call_state_observer/include/
Dmissed_call_notification.h29 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
31 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
32 …void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) overri…
33 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
42 void PublishMissedCallEvent(sptr<CallBase> &callObjectPtr);
43 void PublishMissedCallNotification(sptr<CallBase> &callObjectPtr);
Dincoming_call_notification.h29 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
31 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
32 …void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) overri…
33 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
40 void PublishIncomingCallNotification(sptr<CallBase> &callObjectPtr);
Dstatus_bar.h29 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
31 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
32 …void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) overri…
33 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
Dincoming_call_wake_up.h29 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
31 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
32 …void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) overri…
33 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
Dproximity_sensor.h30 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
32 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
33 …void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) overri…
34 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
Dreject_call_sms.h30 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
32 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
33 …void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) overri…
34 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
Dwired_headset.h40 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
42 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
43 …void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) overri…
44 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
/base/telephony/call_manager/services/audio/src/
Daudio_control_manager.cpp39 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument
41 if (callObjectPtr == nullptr) { in CallStateUpdated()
45 if (totalCalls_.count(callObjectPtr) == 0) { in CallStateUpdated()
46 int32_t callId = callObjectPtr->GetCallID(); in CallStateUpdated()
47 TelCallState callState = callObjectPtr->GetTelCallState(); in CallStateUpdated()
49 totalCalls_.insert(callObjectPtr); in CallStateUpdated()
51 HandleCallStateUpdated(callObjectPtr, priorState, nextState); in CallStateUpdated()
52 … if (nextState == TelCallState::CALL_STATUS_DISCONNECTED && totalCalls_.count(callObjectPtr) > 0) { in CallStateUpdated()
53 totalCalls_.erase(callObjectPtr); in CallStateUpdated()
57 void AudioControlManager::IncomingCallActivated(sptr<CallBase> &callObjectPtr) in IncomingCallActivated() argument
[all …]
/base/telephony/call_manager/services/audio/include/
Daudio_control_manager.h69 void NewCallCreated(sptr<CallBase> &callObjectPtr) override;
71 void IncomingCallActivated(sptr<CallBase> &callObjectPtr) override;
72 …void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content) overri…
73 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
77 void HandleNextState(sptr<CallBase> &callObjectPtr, TelCallState nextState);
78 void HandlePriorState(sptr<CallBase> &callObjectPtr, TelCallState priorState);
79 …void HandleCallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState n…
80 void HandleNewActiveCall(sptr<CallBase> &callObjectPtr);
/base/telephony/call_manager/services/call/include/
Dcall_state_listener_base.h32 virtual void NewCallCreated(sptr<CallBase> &callObjectPtr) {} in NewCallCreated() argument
34 …virtual void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState… in CallStateUpdated() argument
36 …virtual void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content… in IncomingCallHungUp() argument
37 virtual void IncomingCallActivated(sptr<CallBase> &callObjectPtr) {} in IncomingCallActivated() argument
Dcall_state_listener.h32 void NewCallCreated(sptr<CallBase> &callObjectPtr);
34 …void CallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextSta…
35 void IncomingCallHungUp(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content);
36 void IncomingCallActivated(sptr<CallBase> &callObjectPtr);
Dcall_control_manager.h59 bool NotifyNewCallCreated(sptr<CallBase> &callObjectPtr);
61 …bool NotifyCallStateUpdated(sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState n…
62 bool NotifyIncomingCallAnswered(sptr<CallBase> &callObjectPtr);
63 …bool NotifyIncomingCallRejected(sptr<CallBase> &callObjectPtr, bool isSendSms, std::string content…
/base/telephony/call_manager/test/fuzztest/audiodevice_fuzzer/
Daudiodevice_fuzzer.cpp66 sptr<CallBase> callObjectPtr = std::make_unique<CSCall>(paraInfo).release(); in AudioControlManagerFunc() local
79 audioControlManager->NewCallCreated(callObjectPtr); in AudioControlManagerFunc()
80 audioControlManager->IncomingCallActivated(callObjectPtr); in AudioControlManagerFunc()
81 audioControlManager->IncomingCallHungUp(callObjectPtr, true, message); in AudioControlManagerFunc()
82 audioControlManager->CallStateUpdated(callObjectPtr, priorState, nextState); in AudioControlManagerFunc()
83 audioControlManager->HandleCallStateUpdated(callObjectPtr, priorState, nextState); in AudioControlManagerFunc()
84 audioControlManager->HandleNextState(callObjectPtr, nextState); in AudioControlManagerFunc()
85 audioControlManager->HandleNextState(callObjectPtr, priorState); in AudioControlManagerFunc()
86 audioControlManager->HandleNewActiveCall(callObjectPtr); in AudioControlManagerFunc()
/base/telephony/call_manager/services/call_report/src/
Dcall_state_report_proxy.cpp36 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument
38 if (callObjectPtr == nullptr) { in CallStateUpdated()
43 callObjectPtr->GetCallAttributeInfo(info); in CallStateUpdated()

12