Merge "Add powerHintAsync functionality" into oc-dr1-dev am: 8d99d9fce3

am: d55e9676b7

Change-Id: I463651059fe0eb5fecb730d8ad42b7dd05b2845a
This commit is contained in:
Philip Cuadra
2017-07-14 17:10:06 +00:00
committed by android-build-merger
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.