Home
last modified time | relevance | path

Searched refs:GetCallState (Results 1 – 25 of 72) sorted by relevance

123

/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsim_type_convert_test.cpp55 …EXPECT_EQ(GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_ACTIVE)), "CALL_STATUS…
56 …EXPECT_EQ(GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_HOLDING)), "CALL_STATU…
57 …EXPECT_EQ(GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_DIALING)), "CALL_STATU…
58 …EXPECT_EQ(GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_ALERTING)), "CALL_STAT…
59 …EXPECT_EQ(GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_INCOMING)), "CALL_STAT…
60 …EXPECT_EQ(GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_WAITING)), "CALL_STATU…
62GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_DISCONNECTED)), "CALL_STATUS_DIS…
64GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_DISCONNECTING)), "CALL_STATUS_DI…
65 …EXPECT_EQ(GetCallState(static_cast<int32_t>(TelephonyCallState::CALL_STATUS_IDLE)), "CALL_STATUS_I…
66 EXPECT_EQ(GetCallState(errorCallState), "CALL_STATUS_IDLE");
/ohos5.0/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
H A Dcall_manager8_gtest.cpp141 if (CallManagerGtest::clientPtr_->GetCallState() == targetState) { in LockCallState()
150 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); in LockCallState()
183 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
197 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
216 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
230 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
248 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
263 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
282 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
296 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
[all …]
H A Dcall_manager1_gtest.cpp141 if (CallManagerGtest::clientPtr_->GetCallState() == targetState) { in LockCallState()
150 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); in LockCallState()
335 EXPECT_EQ(CallManagerGtest::blueToothClientPtr_->GetCallState(), TELEPHONY_SUCCESS);
351 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
359 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
375 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
591 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
604 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
625 int32_t callState = CallManagerGtest::clientPtr_->GetCallState();
751 int32_t callState = CallManagerGtest::clientPtr_->GetCallState();
[all …]
H A Dcall_manager2_gtest.cpp141 if (CallManagerGtest::clientPtr_->GetCallState() == targetState) { in LockCallState()
150 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); in LockCallState()
187 ASSERT_EQ(client->GetCallState(), TELEPHONY_ERR_UNINIT);
303 ASSERT_GE(bluetoothCallClient->GetCallState(), TELEPHONY_SUCCESS);
339 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
350 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
410 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
420 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
821 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
874 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
[all …]
H A Dcall_manager4_gtest.cpp141 if (CallManagerGtest::clientPtr_->GetCallState() == targetState) { in LockCallState()
146 …while ((CallManagerGtest::clientPtr_->GetCallState() != targetState) && (usedTimeMs < timeoutMs)) { in LockCallState()
150 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); in LockCallState()
190 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
609 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
623 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
689 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
702 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
753 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
768 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
[all …]
H A Dcall_manager5_gtest.cpp141 if (CallManagerGtest::clientPtr_->GetCallState() == targetState) { in LockCallState()
146 …while ((CallManagerGtest::clientPtr_->GetCallState() != targetState) && (usedTimeMs < timeoutMs)) { in LockCallState()
150 int32_t callState = CallManagerGtest::clientPtr_->GetCallState(); in LockCallState()
947 if (clientPtr_->GetCallState() == static_cast<int>(CallStateToApp::CALL_STATE_OFFHOOK)) {
/ohos5.0/base/telephony/cellular_data/test/fuzztest/updateincalldatamachine_fuzzer/
H A Dupdateincalldatamachine_fuzzer.cpp54 machine->GetCallState(); in IdleStateMachineFuzz()
94 machine->GetCallState(); in ActivatingSecondaryStateMachineFuzz()
136 machine->GetCallState(); in ActivatedSecondaryStateMachineFuzz()
179 machine->GetCallState(); in DeactivatingSecondaryStateMachineFuzz()
/ohos5.0/base/telephony/call_manager/services/call/src/
H A Dcall_policy.cpp222 TelCallState state = GetCallState(callId); in AnswerCallPolicy()
236 TelCallState state = GetCallState(callId); in RejectCallPolicy()
278 TelCallState state = GetCallState(callId); in HangUpPolicy()
299 if (GetCallState(callId) != TelCallState::CALL_STATUS_HOLDING || in SwitchCallPolicy()
330 TelCallState state = GetCallState(callId); in StartRttPolicy()
349 TelCallState state = GetCallState(callId); in StopRttPolicy()
/ohos5.0/base/telephony/cellular_data/services/src/state_machine/
H A Dincall_data_state_machine.cpp30 int32_t IncallDataStateMachine::GetCallState() const in GetCallState() function in OHOS::Telephony::IncallDataStateMachine
167 if (stateMachine->GetCallState() == static_cast<int32_t>(TelCallStatus::CALL_STATUS_IDLE) || in StateBegin()
168 … stateMachine->GetCallState() == static_cast<int32_t>(TelCallStatus::CALL_STATUS_DISCONNECTED)) { in StateBegin()
323 if (stateMachine->GetCallState() == static_cast<int32_t>(TelCallStatus::CALL_STATUS_IDLE) || in ProcessCallEnded()
324 … stateMachine->GetCallState() == static_cast<int32_t>(TelCallStatus::CALL_STATUS_DISCONNECTED)) { in ProcessCallEnded()
/ohos5.0/base/telephony/state_registry/services/src/
H A Dtelephony_state_registry_dump_helper.cpp111 result.append(GetCallState(service->GetCallState(i))); in ShowTelephonyChangeState()
/ohos5.0/base/telephony/call_manager/frameworks/cj/src/
H A Dtelephony_call_impl.cpp153 int32_t TelephonyCallImpl::GetCallState() in GetCallState() function in OHOS::Telephony::TelephonyCallImpl
155 return DelayedSingleton<CallManagerClient>::GetInstance()->GetCallState(); in GetCallState()
H A Dtelephony_call_impl.h37 static int32_t GetCallState();
H A Dtelephony_call_ffi.cpp51 return TelephonyCallImpl::GetCallState(); in FfiOHOSTelephonyCallGetCallState()
/ohos5.0/base/telephony/call_manager/frameworks/native/src/
H A Dbluetooth_call_client.cpp129 int32_t BluetoothCallClient::GetCallState() in GetCallState() function in OHOS::Telephony::BluetoothCallClient
132 return g_bluetoothCallProxyPtr->GetCallState(); in GetCallState()
/ohos5.0/foundation/multimodalinput/input/service/device_state_manager/include/
H A Ddevice_event_monitor.h53 int32_t GetCallState();
/ohos5.0/base/telephony/call_manager/frameworks/native/include/
H A Di_bluetooth_call.h36 virtual int32_t GetCallState() = 0;
H A Dbluetooth_call_proxy.h73 int32_t GetCallState() override;
/ohos5.0/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_phone_state.h39 int GetCallState();
H A Dbluetooth_phone_state.cpp101 int BluetoothPhoneState::GetCallState() in GetCallState() function in OHOS::Bluetooth::BluetoothPhoneState
/ohos5.0/base/telephony/call_manager/services/bluetooth/include/
H A Dbluetooth_call_service.h61 int32_t GetCallState() override;
/ohos5.0/base/telephony/call_manager/test/unittest/ui_client/
H A Dbluetooth_call_test.h66 void GetCallState();
/ohos5.0/base/telephony/call_manager/interfaces/innerkits/
H A Dbluetooth_call_client.h82 int32_t GetCallState();
/ohos5.0/base/telephony/call_manager/services/hisysevent/src/
H A Dcall_manager_dump_helper.cpp82 …result.append(std::to_string(DelayedSingleton<CallManagerService>::GetInstance()->GetCallState())); in ShowCallManagerInfo()
/ohos5.0/base/telephony/core_service/utils/
H A Dlibtel_common.versionscript31 "OHOS::Telephony::GetCallState(int)";
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/
H A Dhfp_ag_profile.cpp545 __FUNCTION__, GetCallState(preCallState_).c_str(), preNumActiveCalls_, preNumHeldCalls_, in PhoneStateChange()
546 GetCallState(phoneState.callState).c_str(), phoneState.activeNum, phoneState.heldNum); in PhoneStateChange()
766 GetCallState(preCallState_).c_str(), numActive, numHeld); in ProcessCurrentCallStateIdle()
908 std::string HfpAgProfile::GetCallState(int state) in GetCallState() function in OHOS::bluetooth::HfpAgProfile

123