/drivers/peripheral/audio/interfaces/2.0/include/ |
H A D | audio_adapter.h | 160 * @param routeHandle Indicates route handle. 164 int32_t (*UpdateAudioRoute)(struct AudioAdapter *adapter, const struct AudioRoute *route, int32_t *routeHandle); 170 * @param routeHandle Indicates route handle. 174 int32_t (*ReleaseAudioRoute)(struct AudioAdapter *adapter, int32_t routeHandle);
|
/drivers/peripheral/audio/interfaces/include/ |
H A D | audio_adapter.h | 159 * @param routeHandle Indicates route handle. 163 int32_t (*UpdateAudioRoute)(struct AudioAdapter *adapter, const struct AudioRoute *route, int32_t *routeHandle); 169 * @param routeHandle Indicates route handle. 173 int32_t (*ReleaseAudioRoute)(struct AudioAdapter *adapter, int32_t routeHandle);
|
/drivers/peripheral/audio/interfaces/sound/v1_0/ |
H A D | iaudio_adapter_vdi.h | 48 int32_t (*UpdateAudioRoute)(struct IAudioAdapterVdi *self, const struct AudioRouteVdi *route, int32_t *routeHandle); 49 int32_t (*ReleaseAudioRoute)(struct IAudioAdapterVdi *self, int32_t routeHandle);
|
/drivers/peripheral/audio/test/unittest/common/adapter/ |
H A D | audio_adapter_common_test.cpp | 499 int32_t routeHandle = 0;
in HWTEST_F() local 500 EXPECT_NE(HDF_SUCCESS, adapter_->UpdateAudioRoute(nullptr, &route, &routeHandle));
in HWTEST_F() 506 int32_t routeHandle = 0;
in HWTEST_F() local 507 int32_t ret = adapter_->UpdateAudioRoute(adapter_, &route, &routeHandle);
in HWTEST_F() 513 int32_t routeHandle = 0;
in HWTEST_F() local 514 EXPECT_NE(HDF_SUCCESS, adapter_->ReleaseAudioRoute(nullptr, routeHandle));
in HWTEST_F() 519 int32_t routeHandle = 0;
in HWTEST_F() local 520 int32_t ret = adapter_->ReleaseAudioRoute(adapter_, routeHandle);
in HWTEST_F()
|
/drivers/peripheral/audio/test/benchmarktest/adapter/ |
H A D | audio_adapter_benchmarktest.cpp | 361 int32_t routeHandle = 0;
in BENCHMARK_F() local 364 ret = adapter_->UpdateAudioRoute(adapter_, &route, &routeHandle);
in BENCHMARK_F() 376 int32_t routeHandle = 0;
in BENCHMARK_F() local 379 ret = adapter_->ReleaseAudioRoute(adapter_, routeHandle);
in BENCHMARK_F()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_adapter_interface_impl.h | 86 int32_t UpdateAudioRoute(const AudioRoute &route, int32_t &routeHandle) override; 87 int32_t ReleaseAudioRoute(int32_t routeHandle) override;
|
/drivers/peripheral/audio/hdi_service/primary_impl/vdi_src/ |
H A D | audio_adapter_vdi.c | 430 int32_t AudioUpdateAudioRouteVdi(struct IAudioAdapter *adapter, const struct AudioRoute *route, int32_t *routeHandle) in AudioUpdateAudioRouteVdi() argument 434 CHECK_NULL_PTR_RETURN_VALUE(routeHandle, HDF_ERR_INVALID_PARAM); in AudioUpdateAudioRouteVdi() 454 ret = vdiAdapter->UpdateAudioRoute(vdiAdapter, &vdiRoute, routeHandle); in AudioUpdateAudioRouteVdi() 464 int32_t AudioReleaseAudioRouteVdi(struct IAudioAdapter *adapter, int32_t routeHandle) in AudioReleaseAudioRouteVdi() argument 472 int32_t ret = vdiAdapter->ReleaseAudioRoute(vdiAdapter, routeHandle); in AudioReleaseAudioRouteVdi()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_adapter_interface_impl.cpp | 398 int32_t AudioAdapterInterfaceImpl::UpdateAudioRoute(const AudioRoute &route, int32_t &routeHandle) in UpdateAudioRoute() argument 401 (void) routeHandle; in UpdateAudioRoute() 405 int32_t AudioAdapterInterfaceImpl::ReleaseAudioRoute(int32_t routeHandle) in ReleaseAudioRoute() argument 407 (void) routeHandle; in ReleaseAudioRoute()
|
/drivers/peripheral/audio/hal/hdi_binder/server/src/ |
H A D | hdf_audio_server_common.c | 1341 int32_t routeHandle = 0; in HdiSerStubUpdateAudioRoute() local 1376 audioAdapterRet = adapter->UpdateAudioRoute(adapter, route, &routeHandle); in HdiSerStubUpdateAudioRoute() 1382 if (!HdfSbufWriteInt32(audioAdapterReply, routeHandle)) { in HdiSerStubUpdateAudioRoute() 1383 HDF_LOGE("%{public}s: write routeHandle failed!", __func__); in HdiSerStubUpdateAudioRoute() 1400 int32_t routeHandle = 0; in HdiSerStubReleaseAudioRoute() local 1409 if (!HdfSbufReadInt32(audioAdapterData, &routeHandle)) { in HdiSerStubReleaseAudioRoute() 1410 HDF_LOGE("%{public}s: read &routeHandle failed!", __func__); in HdiSerStubReleaseAudioRoute() 1423 audioAdapterRet = adapter->ReleaseAudioRoute(adapter, routeHandle); in HdiSerStubReleaseAudioRoute()
|
/drivers/peripheral/audio/hal/hdi_passthrough/include/ |
H A D | audio_internal.h | 445 int32_t *routeHandle); 446 int32_t AudioAdapterReleaseAudioRoute(struct AudioAdapter *adapter, int32_t routeHandle);
|
/drivers/peripheral/audio/test/sample/ |
H A D | idl_capture.c | 533 int routeHandle = 0; in UpdateAudioRoute() local 534 int32_t ret = g_adapter->UpdateAudioRoute(g_adapter, &route, &routeHandle); in UpdateAudioRoute()
|