/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/ |
H A D | fast_audio_render.cpp | 310 int32_t ashmemLength = realSize * static_cast<int32_t>(attr.channelCount) * attr.format;
in FastRenderReqMmapBuffer() local 311 if (ashmemLength < MIN_ASHMEM_LEN || ashmemLength > MAX_ASHMEM_LEN) {
in FastRenderReqMmapBuffer() 312 HDF_LOGE("reqMmapBuffer failed, length is illegal %{public}d", ashmemLength);
in FastRenderReqMmapBuffer() 315 int32_t fd = OHOS::Bluetooth::FastReqMmapBuffer(ashmemLength);
in FastRenderReqMmapBuffer()
|
H A D | audio_bluetooth_manager.cpp | 307 int FastReqMmapBuffer(int32_t ashmemLength)
in FastReqMmapBuffer() argument 309 return fastReqMmapBufferFunc(ashmemLength);
in FastReqMmapBuffer()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/src/ |
H A D | audio_capture_ext_impl.cpp | 50 int32_t AudioCaptureExtImpl::InitAshmem(int32_t ashmemLength) in InitAshmem() argument 53 if (ashmemLength < DAUDIO_MIN_ASHMEM_LEN || ashmemLength > DAUDIO_MAX_ASHMEM_LEN) { in InitAshmem() 57 ashmem_ = OHOS::Ashmem::CreateAshmem(memory_name.c_str(), ashmemLength); in InitAshmem() 67 DHLOGI("Init Ashmem success, fd: %{public}d, length: %{public}d", fd_, ashmemLength); in InitAshmem()
|
H A D | audio_render_ext_impl.cpp | 48 int32_t AudioRenderExtImpl::InitAshmem(int32_t ashmemLength) in InitAshmem() argument 51 if (ashmemLength < DAUDIO_MIN_ASHMEM_LEN || ashmemLength > DAUDIO_MAX_ASHMEM_LEN) { in InitAshmem() 55 ashmem_ = OHOS::Ashmem::CreateAshmem(memory_name.c_str(), ashmemLength); in InitAshmem() 66 DHLOGI("Init Ashmem success, fd: %{public}d, length: %{public}d", fd_, ashmemLength); in InitAshmem()
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_render_extension/src/ |
H A D | audio_render_ext_impl_test.cpp | 64 int32_t ashmemLength = 1024; in HWTEST_F() local 68 EXPECT_EQ(HDF_SUCCESS, audioRenderlatencyImpl_->InitAshmem(ashmemLength)); in HWTEST_F() 77 EXPECT_EQ(HDF_SUCCESS, audioRenderlatencyImpl_->AudioDevDump(ashmemLength, fd)); in HWTEST_F() 99 int32_t ashmemLength = -1; in HWTEST_F() local 115 EXPECT_EQ(HDF_FAILURE, audioRenderlatencyImpl_->InitAshmem(ashmemLength)); in HWTEST_F()
|
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/include/ |
H A D | bluetooth_audio_device.h | 40 typedef int32_t (*ReqMmapBufferFunc)(int32_t ashmemLength);
|
H A D | audio_bluetooth_manager.h | 54 int FastReqMmapBuffer(int32_t ashmemLength);
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_capture_extension/src/ |
H A D | audio_capture_ext_impl_test.cpp | 60 int32_t ashmemLength = 1024; in HWTEST_F() local 61 EXPECT_EQ(HDF_SUCCESS, audioCapturelatencyImpl_->InitAshmem(ashmemLength)); in HWTEST_F() 81 int32_t ashmemLength = -1; in HWTEST_F() local 82 EXPECT_EQ(HDF_FAILURE, audioCapturelatencyImpl_->InitAshmem(ashmemLength)); in HWTEST_F()
|
/drivers/peripheral/distributed_audio/hdi_service/audio_ext/v1_0/test/unittest/include/ |
H A D | daudio_test_utils.h | 65 int32_t RefreshAshmemInfo(int32_t streamId, int fd, int32_t ashmemLength, int32_t lengthPerTrans) override
|
/drivers/peripheral/distributed_audio/interface/audio_ext/v1_0/ |
H A D | i_daudio_hdf_callback.h | 35 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) = 0;
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/include/ |
H A D | audio_capture_ext_impl.h | 83 int32_t InitAshmem(int32_t ashmemLength);
|
H A D | audio_render_ext_impl.h | 98 int32_t InitAshmem(int32_t ashmemLength);
|
/drivers/peripheral/distributed_audio/hdi_service/audio/v1_0/test/unittest/audio_test_utils/ |
H A D | audio_test_utils.h | 80 int32_t RefreshAshmemInfo(int32_t streamId, int fd, int32_t ashmemLength, int32_t lengthPerTrans) override 522 int32_t RefreshAshmemInfo(int32_t streamId, int fd, int32_t ashmemLength, int32_t lengthPerTrans) override
|