summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Poomarin Phloyphisut <poomarin@google.com>2023-09-14 04:06:32 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-09-14 04:06:32 +0000
commitdf1369ad33cba521ba41d9541e5ce5c306ac1dca (patch)
tree7a0fd1621cbe803b725c589fdbc9756e6b07273e
parentc6a2226546fbc59c1a8023e275a707967aea60a2 (diff)
parent37a37ff8c9bcf451c1266d9573894769b07b27b3 (diff)
downloadpixel-df1369ad33cba521ba41d9541e5ce5c306ac1dca.tar.gz
Merge "[Pixelstats] Reduce log when successfully uploading atoms." into udc-qpr-dev am: 37a37ff8c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/google/pixel/+/24581796 Change-Id: I3d5b65670847db6e07b2f16ce3629ce0bcb4e45e Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--pixelstats/SysfsCollector.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/pixelstats/SysfsCollector.cpp b/pixelstats/SysfsCollector.cpp
index 2a5882b4..4460ca1c 100644
--- a/pixelstats/SysfsCollector.cpp
+++ b/pixelstats/SysfsCollector.cpp
@@ -1246,7 +1246,6 @@ void SysfsCollector::logVendorAudioPdmStatsReported(const std::shared_ptr<IStats
VendorAtomValue tmp;
if (pdm_states[index] == 0) {
- ALOGD("Skipped VendorAudioPdmStatsReported at index %d", index);
continue;
}
@@ -1264,8 +1263,6 @@ void SysfsCollector::logVendorAudioPdmStatsReported(const std::shared_ptr<IStats
const ndk::ScopedAStatus ret = stats_client->reportVendorAtom(event);
if (!ret.isOk())
ALOGE("Unable to report VendorAudioPdmStatsReported at index %d", index);
- else
- ALOGD("Reported VendorAudioPdmStatsReported at index %d", index);
}
}
@@ -1336,7 +1333,6 @@ void SysfsCollector::logWavesStats(const std::shared_ptr<IStats> &stats_client)
}
}
if (!has_value) {
- ALOGD("Skipped VendorAudioThirdPartyEffectStatsReported at index %d", index);
continue;
}
@@ -1356,8 +1352,6 @@ void SysfsCollector::logWavesStats(const std::shared_ptr<IStats> &stats_client)
const ndk::ScopedAStatus ret = stats_client->reportVendorAtom(event);
if (!ret.isOk())
ALOGE("Unable to report VendorAudioThirdPartyEffectStatsReported at index %d", index);
- else
- ALOGD("Reported VendorAudioThirdPartyEffectStatsReported at index %d", index);
}
}
@@ -1419,7 +1413,6 @@ void SysfsCollector::logAdaptedInfoStats(const std::shared_ptr<IStats> &stats_cl
VendorAtomValue tmp;
if (count_per_feature[index] == 0 && duration_per_feature[index] == 0) {
- ALOGD("Skipped VendorAudioAdaptedInfoStatsReported at index %d", index);
continue;
}
@@ -1443,8 +1436,6 @@ void SysfsCollector::logAdaptedInfoStats(const std::shared_ptr<IStats> &stats_cl
const ndk::ScopedAStatus ret = stats_client->reportVendorAtom(event);
if (!ret.isOk())
ALOGE("Unable to report VendorAudioAdaptedInfoStatsReported at index %d", index);
- else
- ALOGD("Reported VendorAudioAdaptedInfoStatsReported at index %d", index);
}
}
@@ -1528,8 +1519,6 @@ void SysfsCollector::logPcmUsageStats(const std::shared_ptr<IStats> &stats_clien
const ndk::ScopedAStatus ret = stats_client->reportVendorAtom(event);
if (!ret.isOk())
ALOGE("Unable to report VendorAudioPcmStatsReported at index %d", index);
- else
- ALOGD("Reported VendorAudioPcmStatsReported at index %d successfully", index);
}
}