libaudiohal@aidl: Add dumping of the signal power log
Dumping of the signal power log for each HAL stream is done
in the HIDL wrapper but was missing in the AIDL wrapper.
Bug: 294962274
Test: adb shell dumpsys media.audio_flinger
Change-Id: I0170028111c7a6ad3f80d1efc85b8bda2ab460bb
diff --git a/media/libaudiohal/impl/StreamHalAidl.cpp b/media/libaudiohal/impl/StreamHalAidl.cpp
index c2d7ee1..5f525d7 100644
--- a/media/libaudiohal/impl/StreamHalAidl.cpp
+++ b/media/libaudiohal/impl/StreamHalAidl.cpp
@@ -234,7 +234,9 @@
ALOGD("%p %s::%s", this, getClassName().c_str(), __func__);
TIME_CHECK();
if (!mStream) return NO_INIT;
- return mStream->dump(fd, Args(args).args(), args.size());
+ status_t status = mStream->dump(fd, Args(args).args(), args.size());
+ mStreamPowerLog.dump(fd);
+ return status;
}
status_t StreamHalAidl::start() {