/base/telephony/call_manager/test/fuzztest/setaudiodevice_fuzzer/ |
D | setaudiodevice_fuzzer.cpp | 48 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/ |
D | audio_device_manager.cpp | 87 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/ |
D | audio_system_manager_adapter_impl.cpp | 215 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/ |
D | audiodevice_fuzzer.cpp | 70 AudioDevice audioDevice = { in AudioControlManagerFunc() local 75 audioControlManager->SetAudioDevice(audioDevice); in AudioControlManagerFunc()
|
/base/telephony/call_manager/services/call_report/src/ |
D | call_ability_callback_proxy.cpp | 251 for (auto &audioDevice : info.audioDeviceList) { in OnReportAudioDeviceChange() local 252 dataParcel.WriteRawData((const void *)&audioDevice, sizeof(AudioDevice)); in OnReportAudioDeviceChange()
|
/base/telephony/call_manager/interfaces/innerkits/ |
D | call_manager_client.h | 349 int32_t SetAudioDevice(const AudioDevice &audioDevice);
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/src/ |
D | call_manager_gtest.cpp | 4733 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 …]
|
D | zero_branch_test.cpp | 977 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/ |
D | call_control_manager.h | 102 int32_t SetAudioDevice(const AudioDevice &audioDevice);
|
/base/telephony/call_manager/frameworks/native/include/ |
D | i_call_manager_service.h | 54 virtual int32_t SetAudioDevice(const AudioDevice &audioDevice) = 0;
|
D | call_manager_service_proxy.h | 179 int32_t SetAudioDevice(const AudioDevice &audioDevice) override;
|
D | call_manager_proxy.h | 86 int32_t SetAudioDevice(const AudioDevice &audioDevice);
|
/base/telephony/call_manager/frameworks/native/src/ |
D | call_manager_client.cpp | 432 int32_t CallManagerClient::SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument 435 return g_callManagerProxy->SetAudioDevice(audioDevice); in SetAudioDevice()
|
D | call_manager_proxy.cpp | 795 int32_t CallManagerProxy::SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument 802 int32_t errCode = callManagerServicePtr_->SetAudioDevice(audioDevice); in SetAudioDevice()
|
D | call_manager_service_proxy.cpp | 361 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/ |
D | call_manager_service.h | 214 int32_t SetAudioDevice(const AudioDevice &audioDevice) override;
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/ |
D | call_manager_connect.h | 798 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/ |
D | call_manager_service_stub.cpp | 424 …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()
|
D | call_manager_service.cpp | 764 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/ |
D | ui_client_test.cpp | 852 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/ |
D | call_control_manager.cpp | 969 int32_t CallControlManager::SetAudioDevice(const AudioDevice &audioDevice) in SetAudioDevice() argument 971 return DelayedSingleton<AudioControlManager>::GetInstance()->SetAudioDevice(audioDevice); in SetAudioDevice()
|