/drivers/peripheral/bluetooth/audio/interfaces/include/ |
H A D | audio_adapter.h | 111 int32_t (*SetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port, member 121 * @see SetPassthroughMode
|
/drivers/peripheral/distributed_audio/interface/audio/v1_0/ |
H A D | i_audio_adapter.h | 49 virtual int32_t SetPassthroughMode(const AudioPortHAL &port, const AudioPortPassthroughModeHAL mode) = 0;
|
/drivers/peripheral/audio/interfaces/2.0/include/ |
H A D | audio_adapter.h | 140 int32_t (*SetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port, member 150 * @see SetPassthroughMode 162 * @see SetPassthroughMode 172 * @see SetPassthroughMode
|
/drivers/peripheral/audio/interfaces/include/ |
H A D | audio_adapter.h | 139 int32_t (*SetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port, member 149 * @see SetPassthroughMode 161 * @see SetPassthroughMode 171 * @see SetPassthroughMode
|
/drivers/peripheral/audio/interfaces/sound/v1_0/ |
H A D | iaudio_adapter_vdi.h | 43 int32_t (*SetPassthroughMode)(struct IAudioAdapterVdi *self, const struct AudioPortVdi *port, member
|
/drivers/peripheral/audio/test/unittest/common/adapter/ |
H A D | audio_adapter_common_test.cpp | 324 EXPECT_NE(HDF_SUCCESS, adapter_->SetPassthroughMode(nullptr, nullptr, mode));
in HWTEST_F() 331 EXPECT_NE(HDF_SUCCESS, adapter_->SetPassthroughMode(nullptr, &port, mode));
in HWTEST_F() 337 EXPECT_EQ(HDF_ERR_INVALID_PARAM, adapter_->SetPassthroughMode(adapter_, nullptr, mode));
in HWTEST_F() 347 int32_t ret = adapter_->SetPassthroughMode(adapter_, &port, mode);
in HWTEST_F()
|
/drivers/peripheral/audio/test/fuzztest/audio_hdi_fuzzer/audioadapter_fuzzer/ |
H A D | audioadapter_fuzzer.cpp | 101 adapter->SetPassthroughMode(adapter, &port, *(reinterpret_cast<const AudioPortPassthroughMode *>(rawData))); in AdapterFucSwitch()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | audio_manager.cpp | 59 hwAdapter->common.SetPassthroughMode = AudioAdapterSetPassthroughMode; in AudioManagerLoadAdapter()
|
/drivers/peripheral/audio/test/benchmarktest/adapter/ |
H A D | audio_adapter_benchmarktest.cpp | 238 BENCHMARK_F(AudioAdapterBenchmarkTest, SetPassthroughMode)(benchmark::State &state)
in BENCHMARK_F() 249 ret = adapter_->SetPassthroughMode(adapter_, &port, mode);
in BENCHMARK_F() 254 BENCHMARK_REGISTER_F(AudioAdapterBenchmarkTest, SetPassthroughMode)->
|
/drivers/peripheral/audio/test/systemtest/hdi_service/common/adapter/src/ |
H A D | audio_idlhdi_adapter_test.cpp | 266 ret = adapter->SetPassthroughMode(adapter, &audioPort, PORT_PASSTHROUGH_LPCM); in HWTEST_F() 295 ret = adapter->SetPassthroughMode(adapter, &audioPort, PORT_PASSTHROUGH_LPCM); in HWTEST_F() 320 ret = adapter->SetPassthroughMode(adapterNull, &audioPort, PORT_PASSTHROUGH_LPCM); in HWTEST_F() 347 ret = adapter->SetPassthroughMode(adapter, audioPortNull, mode); in HWTEST_F() 350 ret = adapter->SetPassthroughMode(adapter, &audioPortError, mode); in HWTEST_F() 374 ret = adapter->SetPassthroughMode(adapter, &audioPort, PORT_PASSTHROUGH_RAW); in HWTEST_F() 400 ret = adapter->SetPassthroughMode(adapter, &audioPort, PORT_PASSTHROUGH_LPCM); in HWTEST_F()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/proxy/src/ |
H A D | audio_proxy_manager.cpp | 107 hwAdapter->common.SetPassthroughMode = AudioProxyAdapterSetPassthroughMode; in AudioProxyManagerLoadAdapter()
|
/drivers/peripheral/audio/test/systemtest/hdi_service/hdiperformace/src/ |
H A D | audio_idlhdiadapter_performace_test.cpp | 133 * @tc.desc tests the performace of SetPassthroughMode interface by executing 1000 times, 149 ret = audiopara.adapter->SetPassthroughMode(audiopara.adapter, &audioPort, audiopara.mode); in HWTEST_F() 177 ret = audiopara.adapter->SetPassthroughMode(audiopara.adapter, &audioPort, audiopara.mode); in HWTEST_F()
|
/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/ |
H A D | audio_adapter_vdi.c | 358 CHECK_NULL_PTR_RETURN_VALUE(vdiAdapter->SetPassthroughMode, HDF_ERR_INVALID_PARAM); in AudioSetPassthroughModeVdi() 369 ret = vdiAdapter->SetPassthroughMode(vdiAdapter, &vdiPort, (enum AudioPortPassthroughModeVdi)mode); in AudioSetPassthroughModeVdi() 372 AUDIO_FUNC_LOGE("audio vdiAdapter call SetPassthroughMode fail, ret=%{public}d", ret); in AudioSetPassthroughModeVdi() 583 adapter->SetPassthroughMode = AudioSetPassthroughModeVdi; in AudioInitAdapterInstanceVdi()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_adapter_interface_impl.h | 83 int32_t SetPassthroughMode(const AudioPort &port, AudioPortPassthroughMode mode) override;
|
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
H A D | audio_manager.c | 349 hwAdapter->common.SetPassthroughMode = AudioAdapterSetPassthroughMode; in LoadAdapterImpl()
|
/drivers/peripheral/audio/test/systemtest/hdi_service/common/manager/src/ |
H A D | audio_idlhdi_manager_test.cpp | 177 adapter->SetPassthroughMode != nullptr && adapter->GetPassthroughMode != nullptr) { in HWTEST_F()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_server.cpp | 310 int ret = adapter->SetPassthroughMode(adapter, &port, mode); in HdiServiceSetPassthroughMode()
|
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_server_common.c | 976 if (adapter->SetPassthroughMode == NULL) { in HdiServiceSetPassthroughMode() 977 AUDIO_FUNC_LOGE("SetPassthroughMode is NULL"); in HdiServiceSetPassthroughMode() 980 int ret = adapter->SetPassthroughMode(adapter, &port, mode); in HdiServiceSetPassthroughMode()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_adapter_interface_impl.cpp | 378 int32_t AudioAdapterInterfaceImpl::SetPassthroughMode(const AudioPort &port, AudioPortPassthroughMode mode) in SetPassthroughMode() function in OHOS::HDI::DistributedAudio::Audio::V1_0::AudioAdapterInterfaceImpl
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_adapter_interface/src/ |
H A D | audio_adapter_interface_impl_test.cpp | 201 * @tc.desc: Verify the SetPassthroughMode function. 212 EXPECT_EQ(HDF_SUCCESS, AdapterTest_->SetPassthroughMode(port, mode)); in HWTEST_F()
|