power: ADPF: log clean up
Remove ALOGD logs.
Bug: 230205812
Test: adb shell logcat -b all | grep libperf
Change-Id: I4125afec526b76e3905e75c22fc2bfb555810fa8
diff --git a/aidl/power-libperfmgr/PowerHintSession.cpp b/aidl/power-libperfmgr/PowerHintSession.cpp
index b7685f6..deb5ebd 100644
--- a/aidl/power-libperfmgr/PowerHintSession.cpp
+++ b/aidl/power-libperfmgr/PowerHintSession.cpp
@@ -458,13 +458,11 @@
if (actualDurations.size() >= 2) {
const WorkDuration &last = actualDurations[actualDurations.size() - 2];
mSession->mDescriptor->last_start = last.timeStampNanos - last.durationNanos;
- ALOGD("last_start initialized by previous.");
}
const WorkDuration ¤t = actualDurations.back();
int64_t curr_start = current.timeStampNanos - current.durationNanos;
if (!mSession->mDescriptor->last_start) {
mSession->mDescriptor->last_start = curr_start;
- ALOGD("last_start initialized by current.");
updateHintTimer(current.durationNanos);
return;
}
diff --git a/aidl/power-libperfmgr/PowerHintSession.h b/aidl/power-libperfmgr/PowerHintSession.h
index 847dc8d..bd5882c 100644
--- a/aidl/power-libperfmgr/PowerHintSession.h
+++ b/aidl/power-libperfmgr/PowerHintSession.h
@@ -49,6 +49,7 @@
threadIds(std::move(threadIds)),
duration(0LL),
current_min(0),
+ transitioanl_min(0),
is_active(true),
update_count(0),
integral_error(0),