diff options
author | Hangyu Kuang <hkuang@google.com> | 2019-05-02 17:30:31 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-05-02 17:30:31 +0000 |
commit | 28aeb9e1a83027199b4e406418c6dcb351a7765a (patch) | |
tree | 9fdea9b84031d5a8b4393dbcb3282aa6089ddc27 /media/eco/ECOSession.cpp | |
parent | af6ffacc42c667e3f23e7337583a73aa32a36a21 (diff) | |
parent | b8dc3b162832602c976629291f26d8a2374d6280 (diff) | |
download | av-28aeb9e1a83027199b4e406418c6dcb351a7765a.tar.gz |
Merge "[ECOService] Add debugString functionality to ECOData." into qt-dev
Diffstat (limited to 'media/eco/ECOSession.cpp')
-rw-r--r-- | media/eco/ECOSession.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/media/eco/ECOSession.cpp b/media/eco/ECOSession.cpp index e813e9d..3419d1d 100644 --- a/media/eco/ECOSession.cpp +++ b/media/eco/ECOSession.cpp @@ -125,6 +125,8 @@ void ECOSession::run() { } bool ECOSession::processStats(const ECOData& stats) { + ECOLOGV("%s: receive stats: %s", __FUNCTION__, stats.debugString().c_str()); + if (stats.getDataType() != ECOData::DATA_TYPE_STATS) { ECOLOGE("Invalid stats. ECOData with type: %s", stats.getDataTypeString().c_str()); return false; @@ -202,6 +204,7 @@ bool ECOSession::processSessionStats(const ECOData& stats) { } if (mListener != nullptr) { + ECOLOGV("%s: publish info: %s", __FUNCTION__, info.debugString().c_str()); mListener->onNewInfo(info); } |