Home
last modified time | relevance | path

Searched refs:audioDevice (Results 1 – 21 of 21) sorted by relevance

/base/telephony/call_manager/test/fuzztest/setaudiodevice_fuzzer/
Dsetaudiodevice_fuzzer.cpp48 AudioDevice audioDevice; in SetAudioDevice() local
49 if (memset_s(&audioDevice, sizeof(AudioDevice), 0, sizeof(AudioDevice)) != EOK) { in SetAudioDevice()
53 audioDevice.deviceType = static_cast<AudioDeviceType>(size % AUDIO_DEVICE_NUM); in SetAudioDevice()
58 if (memcpy_s(audioDevice.address, kMaxAddressLen, address.c_str(), address.length()) != EOK) { in SetAudioDevice()
62 dataParcel.WriteRawData((const void *)&audioDevice, sizeof(AudioDevice)); in SetAudioDevice()
/base/telephony/call_manager/services/audio/src/
Daudio_device_manager.cpp87 AudioDevice audioDevice; in AddAudioDeviceList() local
88 if (memset_s(&audioDevice, sizeof(AudioDevice), 0, sizeof(AudioDevice)) != EOK) { in AddAudioDeviceList()
92 audioDevice.deviceType = deviceType; in AddAudioDeviceList()
97 if (memcpy_s(audioDevice.address, kMaxAddressLen, address.c_str(), address.length()) != EOK) { in AddAudioDeviceList()
101 info_.audioDeviceList.push_back(audioDevice); in AddAudioDeviceList()
145 AudioDevice audioDevice = { in RemoveAudioDeviceList() local
149 info_.audioDeviceList.push_back(audioDevice); in RemoveAudioDeviceList()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_system_manager_adapter_impl.cpp215 for (auto audioDevice : audioDeviceList) { in GetDevices() local
217 desc.deviceId = audioDevice->deviceId_; in GetDevices()
218 auto deviceTypeKey = DEVICE_TYPE_MAP.find(audioDevice->deviceType_); in GetDevices()
/base/telephony/call_manager/test/fuzztest/audiodevice_fuzzer/
Daudiodevice_fuzzer.cpp70 AudioDevice audioDevice = { in AudioControlManagerFunc() local
75 audioControlManager->SetAudioDevice(audioDevice); in AudioControlManagerFunc()
/base/telephony/call_manager/services/call_report/src/
Dcall_ability_callback_proxy.cpp251 for (auto &audioDevice : info.audioDeviceList) { in OnReportAudioDeviceChange() local
252 dataParcel.WriteRawData((const void *)&audioDevice, sizeof(AudioDevice)); in OnReportAudioDeviceChange()
/base/telephony/call_manager/interfaces/innerkits/
Dcall_manager_client.h349 int32_t SetAudioDevice(const AudioDevice &audioDevice);
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/
Dcall_manager_gtest.cpp4733 AudioDevice audioDevice; variable
4734 if (memset_s(&audioDevice, sizeof(AudioDevice), 0, sizeof(AudioDevice)) != EOK) {
4738 audioDevice.deviceType = AudioDeviceType::DEVICE_BLUETOOTH_SCO;
4743 if (memcpy_s(audioDevice.address, kMaxAddressLen, address.c_str(), address.length()) != EOK) {
4749 EXPECT_NE(clientPtr_->SetAudioDevice(audioDevice), RETURN_VALUE_IS_ZERO);
4778 AudioDevice audioDevice = { variable
4783 EXPECT_NE(clientPtr_->SetAudioDevice(audioDevice), RETURN_VALUE_IS_ZERO);
4812 AudioDevice audioDevice = { variable
4817 EXPECT_EQ(clientPtr_->SetAudioDevice(audioDevice), RETURN_VALUE_IS_ZERO);
4846 AudioDevice audioDevice = { variable
[all …]
Dzero_branch_test.cpp977 AudioDevice audioDevice = { variable
981 callManagerClient->SetAudioDevice(audioDevice);
1811 AudioDevice audioDevice = { variable
1815 callControlManager->SetAudioDevice(audioDevice);
1816 audioDevice.deviceType = AudioDeviceType::DEVICE_SPEAKER;
1817 callControlManager->SetAudioDevice(audioDevice);
/base/telephony/call_manager/services/call/include/
Dcall_control_manager.h102 int32_t SetAudioDevice(const AudioDevice &audioDevice);
/base/telephony/call_manager/frameworks/native/include/
Di_call_manager_service.h54 virtual int32_t SetAudioDevice(const AudioDevice &audioDevice) = 0;
Dcall_manager_service_proxy.h179 int32_t SetAudioDevice(const AudioDevice &audioDevice) override;
Dcall_manager_proxy.h86 int32_t SetAudioDevice(const AudioDevice &audioDevice);
/base/telephony/call_manager/frameworks/native/src/
Dcall_manager_client.cpp432 int32_t CallManagerClient::SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument
435 return g_callManagerProxy->SetAudioDevice(audioDevice); in SetAudioDevice()
Dcall_manager_proxy.cpp795 int32_t CallManagerProxy::SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument
802 int32_t errCode = callManagerServicePtr_->SetAudioDevice(audioDevice); in SetAudioDevice()
Dcall_manager_service_proxy.cpp361 int32_t CallManagerServiceProxy::SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument
370 dataParcel.WriteRawData((const void *)&audioDevice, sizeof(AudioDevice)); in SetAudioDevice()
/base/telephony/call_manager/services/call_manager_service/include/
Dcall_manager_service.h214 int32_t SetAudioDevice(const AudioDevice &audioDevice) override;
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/
Dcall_manager_connect.h798 int32_t SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument
804 return callManagerServicePtr_->SetAudioDevice(audioDevice); in SetAudioDevice()
/base/telephony/call_manager/services/call_manager_service/src/
Dcall_manager_service_stub.cpp424 …AudioDevice *audioDevice = static_cast<AudioDevice *>(const_cast<void *>(data.ReadRawData(sizeof(A… in OnSetAudioDevice() local
425 if (audioDevice == nullptr) { in OnSetAudioDevice()
429 int32_t result = SetAudioDevice(*audioDevice); in OnSetAudioDevice()
Dcall_manager_service.cpp764 int32_t CallManagerService::SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument
775 if (callControlManagerPtr_->SetAudioDevice(audioDevice) == TELEPHONY_SUCCESS) { in SetAudioDevice()
/base/telephony/call_manager/test/unittest/ui_client/
Dui_client_test.cpp852 AudioDevice audioDevice; in SetAudioDevice() local
858 std::cin >> audioDevice.address; in SetAudioDevice()
860 audioDevice.deviceType = static_cast<AudioDeviceType>(deviceType); in SetAudioDevice()
865 int32_t ret = g_clientPtr->SetAudioDevice(audioDevice); in SetAudioDevice()
/base/telephony/call_manager/services/call/src/
Dcall_control_manager.cpp969 int32_t CallControlManager::SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument
971 return DelayedSingleton<AudioControlManager>::GetInstance()->SetAudioDevice(audioDevice); in SetAudioDevice()