Merge "Add powerHintAsync functionality" into oc-dr1-dev

This commit is contained in:
Philip Cuadra
2017-07-14 17:02:21 +00:00
committed by Android (Google) Code Review
2 changed files with 6 additions and 0 deletions

View File

@@ -191,6 +191,11 @@ bool Power::isSupportedGovernor() {
}
}
Return<void> Power::powerHintAsync(PowerHint hint, int32_t data) {
// just call the normal power hint in this oneway function
return powerHint(hint, data);
}
} // namespace implementation
} // namespace V1_1
} // namespace power

View File

@@ -49,6 +49,7 @@ struct Power : public IPower {
// Methods from ::android::hardware::power::V1_1::IPower follow.
Return<void> getSubsystemLowPowerStats(getSubsystemLowPowerStats_cb _hidl_cb) override;
Return<void> powerHintAsync(PowerHint hint, int32_t data) override;
// Methods from ::android::hidl::base::V1_0::IBase follow.