Home
last modified time | relevance | path

Searched refs:shouldSwitch (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/base/telephony/call_manager/services/audio/src/
H A Dcall_state_processor.cpp145 bool shouldSwitch = false; in ShouldSwitchState() local
148 shouldSwitch = (dialingCalls_.size() == EXIST_ONLY_ONE_CALL && activeCalls_.empty() && in ShouldSwitchState()
152 shouldSwitch = (alertingCalls_.size() == EXIST_ONLY_ONE_CALL && activeCalls_.empty() && in ShouldSwitchState()
156 shouldSwitch = (incomingCalls_.size() == EXIST_ONLY_ONE_CALL && activeCalls_.empty() && in ShouldSwitchState()
160 shouldSwitch = (activeCalls_.size() == EXIST_ONLY_ONE_CALL); in ShouldSwitchState()
165 return shouldSwitch; in ShouldSwitchState()