/base/telephony/call_manager/test/fuzztest/call_fuzzer/ |
D | call_fuzzer.cpp | 66 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/ |
D | incoming_call_notification.cpp | 34 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 …]
|
D | missed_call_notification.cpp | 35 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 …]
|
D | reject_call_sms.cpp | 25 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
|
D | incoming_call_wake_up.cpp | 27 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
|
D | status_bar.cpp | 62 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
|
D | proximity_sensor.cpp | 42 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
|
D | wired_headset.cpp | 71 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
|
D | call_records_manager.cpp | 41 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/ |
D | callnotification_fuzzer.cpp | 61 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/ |
D | call_state_listener.cpp | 64 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/ |
D | missed_call_notification.h | 29 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);
|
D | incoming_call_notification.h | 29 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);
|
D | status_bar.h | 29 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;
|
D | incoming_call_wake_up.h | 29 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…
|
D | proximity_sensor.h | 30 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;
|
D | reject_call_sms.h | 30 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…
|
D | wired_headset.h | 40 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/ |
D | audio_control_manager.cpp | 39 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/ |
D | audio_control_manager.h | 69 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/ |
D | call_state_listener_base.h | 32 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
|
D | call_state_listener.h | 32 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);
|
D | call_control_manager.h | 59 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/ |
D | audiodevice_fuzzer.cpp | 66 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/ |
D | call_state_report_proxy.cpp | 36 sptr<CallBase> &callObjectPtr, TelCallState priorState, TelCallState nextState) in CallStateUpdated() argument 38 if (callObjectPtr == nullptr) { in CallStateUpdated() 43 callObjectPtr->GetCallAttributeInfo(info); in CallStateUpdated()
|