Home
last modified time | relevance | path

Searched refs:SwitchDevice (Results 1 - 13 of 13) sorted by relevance

/base/telephony/call_manager/services/audio/include/
H A Daudio_device_manager.h45 bool SwitchDevice(AudioDeviceType device);
96 bool SwitchDevice(AudioEvent event);
/base/telephony/call_manager/services/distributed_call/src/
H A Ddistributed_call_proxy.cpp108 int32_t DistributedCallProxy::SwitchDevice(const std::string& devId, int32_t flag) in SwitchDevice() function in OHOS::Telephony::DistributedCallProxy
115 return dcallClient_->SwitchDevice(devId, flag); in SwitchDevice()
H A Ddistributed_call_manager.cpp317 int32_t ret = dcallProxy_->SwitchDevice(devId, DCALL_SWITCH_DEVICE_TYPE_SINK); in SwitchOnDCallDeviceSync()
373 int32_t ret = dcallProxy_->SwitchDevice(devId, DCALL_SWITCH_DEVICE_TYPE_SOURCE); in SwitchOffDCallDeviceSync()
/base/telephony/call_manager/services/distributed_call/include/distributed_communication/
H A Ddistributed_device_switch_controller.h34 bool SwitchDevice(const std::string &devId, int32_t direction);
/base/telephony/call_manager/services/distributed_call/include/
H A Ddistributed_call_proxy.h34 int32_t SwitchDevice(const std::string& devId, int32_t flag);
/base/telephony/call_manager/services/distributed_call/include/dcall/
H A Didcall_client.h35 virtual int32_t SwitchDevice(const std::string& devId, int32_t flag) = 0;
/base/telephony/call_manager/test/unittest/call_manager_zero_gtest/src/
H A Dzero_branch_test_call_state.cpp333 audioDeviceManager->SwitchDevice(AUDIO_DEACTIVATED); in HWTEST_F()
358 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_EARPIECE); in HWTEST_F()
359 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_SPEAKER); in HWTEST_F()
360 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_WIRED_HEADSET); in HWTEST_F()
361 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_BLUETOOTH_SCO); in HWTEST_F()
362 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_DISABLE); in HWTEST_F()
363 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_UNKNOWN); in HWTEST_F()
364 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_DISTRIBUTED_AUTOMOTIVE); in HWTEST_F()
365 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_DISTRIBUTED_PHONE); in HWTEST_F()
366 audioDeviceManager->SwitchDevice(AudioDeviceTyp in HWTEST_F()
[all...]
H A Dzero_branch6_test.cpp629 int32_t res3 = proxy->SwitchDevice(TEST_STR, 1); in HWTEST_F()
636 int32_t res6 = proxy->SwitchDevice(TEST_STR, 1); in HWTEST_F()
/base/telephony/call_manager/test/fuzztest/audiodevice_fuzzer/
H A Daudiodevice_fuzzer.cpp97 audioDeviceManager->SwitchDevice(event); in AudioDeviceManagerFunc()
98 audioDeviceManager->SwitchDevice(deviceType); in AudioDeviceManagerFunc()
/base/telephony/call_manager/services/distributed_call/src/distributed_communication/
H A Ddistributed_device_switch_controller.cpp91 bool DistributedDeviceSwitchController::SwitchDevice(const std::string &devId, int32_t direction) in SwitchDevice() function in OHOS::Telephony::DistributedDeviceSwitchController
H A Ddistributed_communication_manager.cpp199 return devSwitchController_->SwitchDevice(devId, static_cast<int32_t>(DistributedRole::SINK)); in SwitchToSinkDevice()
212 return devSwitchController_->SwitchDevice("", static_cast<int32_t>(DistributedRole::SOURCE)); in SwitchToSourceDevice()
/base/telephony/call_manager/services/audio/src/
H A Daudio_device_manager.cpp291 return SwitchDevice(device); in InitAudioDevice()
336 bool AudioDeviceManager::SwitchDevice(AudioEvent event) in SwitchDevice() function in OHOS::Telephony::AudioDeviceManager
346 bool AudioDeviceManager::SwitchDevice(AudioDeviceType device) in SwitchDevice() function in OHOS::Telephony::AudioDeviceManager
H A Daudio_control_manager.cpp499 if (DelayedSingleton<AudioDeviceManager>::GetInstance()->SwitchDevice(audioDeviceType)) { in SwitchAudioDevice()

Completed in 9 milliseconds