/base/telephony/call_manager/services/audio/include/ |
H A D | audio_device_manager.h | 45 bool SwitchDevice(AudioDeviceType device); 96 bool SwitchDevice(AudioEvent event);
|
/base/telephony/call_manager/services/distributed_call/src/ |
H A D | distributed_call_proxy.cpp | 108 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 D | distributed_call_manager.cpp | 317 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 D | distributed_device_switch_controller.h | 34 bool SwitchDevice(const std::string &devId, int32_t direction);
|
/base/telephony/call_manager/services/distributed_call/include/ |
H A D | distributed_call_proxy.h | 34 int32_t SwitchDevice(const std::string& devId, int32_t flag);
|
/base/telephony/call_manager/services/distributed_call/include/dcall/ |
H A D | idcall_client.h | 35 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 D | zero_branch_test_call_state.cpp | 333 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 D | zero_branch6_test.cpp | 629 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 D | audiodevice_fuzzer.cpp | 97 audioDeviceManager->SwitchDevice(event); in AudioDeviceManagerFunc() 98 audioDeviceManager->SwitchDevice(deviceType); in AudioDeviceManagerFunc()
|
/base/telephony/call_manager/services/distributed_call/src/distributed_communication/ |
H A D | distributed_device_switch_controller.cpp | 91 bool DistributedDeviceSwitchController::SwitchDevice(const std::string &devId, int32_t direction) in SwitchDevice() function in OHOS::Telephony::DistributedDeviceSwitchController
|
H A D | distributed_communication_manager.cpp | 199 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 D | audio_device_manager.cpp | 291 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 D | audio_control_manager.cpp | 499 if (DelayedSingleton<AudioDeviceManager>::GetInstance()->SwitchDevice(audioDeviceType)) { in SwitchAudioDevice()
|