/foundation/distributedhardware/distributed_audio/services/audiohdiproxy/include/ |
H A D | idaudio_hdi_callback.h | 44 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) = 0;
|
H A D | daudio_manager_callback.h | 50 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 D | dspeaker_dev.cpp | 331 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 D | dmic_dev.cpp | 394 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 D | audio_test_utils.h | 66 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 D | audio_test_utils.h | 93 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 D | dspeaker_dev_test.cpp | 334 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 D | daudio_manager_callback_test.cpp | 340 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 D | daudio_manager_callback.cpp | 228 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 D | dspeaker_dev.h | 62 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) override;
|
H A D | dmic_dev.h | 67 int32_t fd, int32_t ashmemLength, int32_t lengthPerTrans) override;
|