Home
last modified time | relevance | path

Searched refs:ashmemLength (Results 1 - 11 of 11) sorted by relevance

/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/include/
H A Didaudio_hdi_callback.h44 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) = 0;
H A Ddaudio_manager_callback.h50 int32_t RefreshAshmemInfo(int32_t streamId, int fd, int32_t ashmemLength, int32_t lengthPerTrans) override;
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/src/
H A Ddspeaker_dev.cpp331 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) in RefreshAshmemInfo()
333 DHLOGD("RefreshAshmemInfo: fd:%{public}d, ashmemLength: %{public}d, lengthPerTrans: %{public}d", in RefreshAshmemInfo()
334 fd, ashmemLength, lengthPerTrans); in RefreshAshmemInfo()
340 if (ashmemLength < ASHMEM_MAX_LEN) { in RefreshAshmemInfo()
341 ashmem_ = sptr<Ashmem>(new Ashmem(fd, ashmemLength)); in RefreshAshmemInfo()
342 ashmemLength_ = ashmemLength; in RefreshAshmemInfo()
330 RefreshAshmemInfo(const int32_t streamId, int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) RefreshAshmemInfo() argument
H A Ddmic_dev.cpp394 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) in RefreshAshmemInfo()
396 DHLOGD("RefreshAshmemInfo: fd:%{public}d, ashmemLength: %{public}d, lengthPerTrans: %{public}d", in RefreshAshmemInfo()
397 fd, ashmemLength, lengthPerTrans); in RefreshAshmemInfo()
403 if (ashmemLength < ASHMEM_MAX_LEN) { in RefreshAshmemInfo()
404 ashmem_ = sptr<Ashmem>(new Ashmem(fd, ashmemLength)); in RefreshAshmemInfo()
405 ashmemLength_ = ashmemLength; in RefreshAshmemInfo()
393 RefreshAshmemInfo(const int32_t streamId, int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) RefreshAshmemInfo() argument
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_manager_callback/include/
H A Daudio_test_utils.h66 int32_t RefreshAshmemInfo(const int32_t streamId, int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) in RefreshAshmemInfo() argument
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_hdi_handler/include/
H A Daudio_test_utils.h93 int32_t RefreshAshmemInfo(const int32_t streamId, int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) in RefreshAshmemInfo() argument
/foundation/distributedhardware/distributed_audio/services/audiomanager/test/unittest/sourcedevice/src/
H A Ddspeaker_dev_test.cpp334 int32_t ashmemLength = 10; in HWTEST_F() local
337 EXPECT_EQ(DH_SUCCESS, spk_->RefreshAshmemInfo(streamId, fd, ashmemLength, lengthPerTrans)); in HWTEST_F()
339 EXPECT_EQ(ERR_DH_AUDIO_NULLPTR, spk_->RefreshAshmemInfo(streamId, fd, ashmemLength, lengthPerTrans)); in HWTEST_F()
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/test/unittest/daudio_manager_callback/src/
H A Ddaudio_manager_callback_test.cpp340 int32_t ashmemLength = 240; in HWTEST_F() local
342 EXPECT_EQ(HDF_SUCCESS, manCallback_->RefreshAshmemInfo(streamId, fd, ashmemLength, lengthPerTrans)); in HWTEST_F()
344 EXPECT_EQ(HDF_SUCCESS, manCallback_->RefreshAshmemInfo(streamId, fd, ashmemLength, lengthPerTrans)); in HWTEST_F()
/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/src/
H A Ddaudio_manager_callback.cpp228 int32_t DAudioManagerCallback::RefreshAshmemInfo(int32_t streamId, int fd, int32_t ashmemLength, in RefreshAshmemInfo() argument
233 if (callback_->RefreshAshmemInfo(streamId, fd, ashmemLength, lengthPerTrans) != DH_SUCCESS) { in RefreshAshmemInfo()
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersource/include/
H A Ddspeaker_dev.h62 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) override;
H A Ddmic_dev.h67 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) override;

Completed in 6 milliseconds