Home
last modified time | relevance | path

Searched refs:SetPassthroughMode (Results 1 - 20 of 20) sorted by relevance

/drivers/peripheral/bluetooth/audio/interfaces/include/
H A Daudio_adapter.h111 int32_t (*SetPassthroughMode)(struct AudioAdapter *adapter, const struct AudioPort *port, member
121 * @see SetPassthroughMode
/drivers/peripheral/distributed_audio/interface/audio/v1_0/
H A Di_audio_adapter.h49 virtual int32_t SetPassthroughMode(const AudioPortHAL &port, const AudioPortPassthroughModeHAL mode) = 0;
/drivers/peripheral/audio/interfaces/2.0/include/
H A Daudio_adapter.h140 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 Daudio_adapter.h139 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 Diaudio_adapter_vdi.h43 int32_t (*SetPassthroughMode)(struct IAudioAdapterVdi *self, const struct AudioPortVdi *port, member
/drivers/peripheral/audio/test/unittest/common/adapter/
H A Daudio_adapter_common_test.cpp324 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 Daudioadapter_fuzzer.cpp101 adapter->SetPassthroughMode(adapter, &port, *(reinterpret_cast<const AudioPortPassthroughMode *>(rawData))); in AdapterFucSwitch()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_manager.cpp59 hwAdapter->common.SetPassthroughMode = AudioAdapterSetPassthroughMode; in AudioManagerLoadAdapter()
/drivers/peripheral/audio/test/benchmarktest/adapter/
H A Daudio_adapter_benchmarktest.cpp238 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 Daudio_idlhdi_adapter_test.cpp266 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 Daudio_proxy_manager.cpp107 hwAdapter->common.SetPassthroughMode = AudioProxyAdapterSetPassthroughMode; in AudioProxyManagerLoadAdapter()
/drivers/peripheral/audio/test/systemtest/hdi_service/hdiperformace/src/
H A Daudio_idlhdiadapter_performace_test.cpp133 * @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 Daudio_adapter_vdi.c358 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 Daudio_adapter_interface_impl.h83 int32_t SetPassthroughMode(const AudioPort &port, AudioPortPassthroughMode mode) override;
/drivers/peripheral/audio/hdi_service/primary_impl/src/
H A Daudio_manager.c349 hwAdapter->common.SetPassthroughMode = AudioAdapterSetPassthroughMode; in LoadAdapterImpl()
/drivers/peripheral/audio/test/systemtest/hdi_service/common/manager/src/
H A Daudio_idlhdi_manager_test.cpp177 adapter->SetPassthroughMode != nullptr && adapter->GetPassthroughMode != nullptr) { in HWTEST_F()
/drivers/peripheral/bluetooth/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_server.cpp310 int ret = adapter->SetPassthroughMode(adapter, &port, mode); in HdiServiceSetPassthroughMode()
/drivers/peripheral/audio/hal/hdi_binder/server/src/
H A Dhdf_audio_server_common.c976 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 Daudio_adapter_interface_impl.cpp378 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 Daudio_adapter_interface_impl_test.cpp201 * @tc.desc: Verify the SetPassthroughMode function.
212 EXPECT_EQ(HDF_SUCCESS, AdapterTest_->SetPassthroughMode(port, mode)); in HWTEST_F()

Completed in 17 milliseconds