Home
last modified time | relevance | path

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

/ohos5.0/base/telephony/call_manager/services/audio/include/
H A Daudio_device_manager.h45 bool SwitchDevice(AudioDeviceType device);
96 bool SwitchDevice(AudioEvent event);
/ohos5.0/foundation/multimedia/audio_framework/services/audio_service/test/example/
H A Daudio_stream_playback_test.cpp84 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 Dzero_branch_test_call_state.cpp333 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 Dzero_branch6_test.cpp627 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 Ddistributed_call_proxy.cpp109 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 Ddistributed_call_manager.cpp315 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 Daudiodevice_fuzzer.cpp97 audioDeviceManager->SwitchDevice(event); in AudioDeviceManagerFunc()
98 audioDeviceManager->SwitchDevice(deviceType); in AudioDeviceManagerFunc()
/ohos5.0/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;
/ohos5.0/base/telephony/call_manager/services/distributed_call/include/
H A Ddistributed_call_proxy.h34 int32_t SwitchDevice(const std::string& devId, int32_t flag);
/ohos5.0/base/telephony/call_manager/services/audio/src/
H A Daudio_device_manager.cpp285 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 Daudio_control_manager.cpp486 if (DelayedSingleton<AudioDeviceManager>::GetInstance()->SwitchDevice(audioDeviceType)) { in SetAudioDevice()
/ohos5.0/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/session/
H A Dcapture_session.h1768 bool SwitchDevice();
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/
H A Dcapture_session.cpp214 bool isSuccess = captureSession->SwitchDevice(); in OnFoldStatusChanged()
6039 bool CaptureSession::SwitchDevice() in SwitchDevice() function in OHOS::CameraStandard::CaptureSession