/ohos5.0/base/telephony/call_manager/services/audio/include/ |
H A D | audio_device_manager.h | 45 bool SwitchDevice(AudioDeviceType device); 96 bool SwitchDevice(AudioEvent event);
|
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/test/example/ |
H A D | audio_stream_playback_test.cpp | 84 int32_t SwitchDevice(DeviceRole deviceRole); 211 int32_t PlaybackTest::SwitchDevice(DeviceRole deviceRole) in SwitchDevice() function in OHOS::AudioStandard::PlaybackTest 528 int32_t ret = playTest->SwitchDevice(OUTPUT_DEVICE); in InitPlayback() 598 int32_t ret = playTest->SwitchDevice(OUTPUT_DEVICE); in SwitchPlayDevice() 615 int32_t ret = playTest->SwitchDevice(INPUT_DEVICE); in InitMic() 685 int32_t ret = playTest->SwitchDevice(INPUT_DEVICE); in SwitchCaptureDevice()
|
/ohos5.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); 359 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_EARPIECE); 360 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_SPEAKER); 361 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_WIRED_HEADSET); 362 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_BLUETOOTH_SCO); 363 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_DISABLE); 364 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_UNKNOWN); 365 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_DISTRIBUTED_AUTOMOTIVE); 366 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_DISTRIBUTED_PHONE); 367 audioDeviceManager->SwitchDevice(AudioDeviceType::DEVICE_DISTRIBUTED_PAD);
|
H A D | zero_branch6_test.cpp | 627 int32_t res3 = proxy->SwitchDevice(TEST_STR, 1); 633 int32_t res6 = proxy->SwitchDevice(TEST_STR, 1);
|
/ohos5.0/base/telephony/call_manager/services/distributed_call/src/ |
H A D | distributed_call_proxy.cpp | 109 int32_t DistributedCallProxy::SwitchDevice(const std::string& devId, int32_t flag) in SwitchDevice() function in OHOS::Telephony::DistributedCallProxy 116 return dcallClient_->SwitchDevice(devId, flag); in SwitchDevice()
|
H A D | distributed_call_manager.cpp | 315 int32_t ret = dcallProxy_->SwitchDevice(devId, DCALL_SWITCH_DEVICE_TYPE_SINK); in SwitchOnDCallDeviceSync() 363 int32_t ret = dcallProxy_->SwitchDevice(devId, DCALL_SWITCH_DEVICE_TYPE_SOURCE); in SwitchOffDCallDeviceSync()
|
/ohos5.0/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()
|
/ohos5.0/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;
|
/ohos5.0/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);
|
/ohos5.0/base/telephony/call_manager/services/audio/src/ |
H A D | audio_device_manager.cpp | 285 return SwitchDevice(device); in InitAudioDevice() 330 bool AudioDeviceManager::SwitchDevice(AudioEvent event) in SwitchDevice() function in OHOS::Telephony::AudioDeviceManager 340 bool AudioDeviceManager::SwitchDevice(AudioDeviceType device) in SwitchDevice() function in OHOS::Telephony::AudioDeviceManager
|
H A D | audio_control_manager.cpp | 486 if (DelayedSingleton<AudioDeviceManager>::GetInstance()->SwitchDevice(audioDeviceType)) { in SetAudioDevice()
|
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/ |
H A D | capture_session.h | 1768 bool SwitchDevice();
|
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | capture_session.cpp | 214 bool isSuccess = captureSession->SwitchDevice(); in OnFoldStatusChanged() 6039 bool CaptureSession::SwitchDevice() in SwitchDevice() function in OHOS::CameraStandard::CaptureSession
|