forked from donjohanliebert/hardware_xiaomi
power: reduce log spam and refine trace title
Add bunch of TODO for team as well. Test: build Bug: 177492680 Bug: 185368789 Signed-off-by: Wei Wang <wvw@google.com> Change-Id: Ic1d5ecea10a60b23343866cd62519fda37bd6ec5
This commit is contained in:
parent
3a50977117
commit
9fd3926d5f
@ -212,6 +212,7 @@ binder_status_t Power::dump(int fd, const char **, uint32_t) {
|
||||
if (!::android::base::WriteStringToFd(buf, fd)) {
|
||||
PLOG(ERROR) << "Failed to dump state to fd";
|
||||
}
|
||||
// TODO(jimmyshiu@): dump weak_ptr of PowerHintSession
|
||||
fsync(fd);
|
||||
return STATUS_OK;
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ class Power : public ::aidl::android::hardware::power::BnPower {
|
||||
std::unique_ptr<InteractionHandler> mInteractionHandler;
|
||||
std::atomic<bool> mSustainedPerfModeOn;
|
||||
const int64_t mAdpfRate;
|
||||
// TODO(jimmyshiu@): hold weak_ptr of PowerHintSession
|
||||
};
|
||||
|
||||
} // namespace pixel
|
||||
|
Loading…
Reference in New Issue
Block a user