power: update the AIDL client ver 3

The AIDL client is updated to use version 3.

Change-Id: I6b7e559809629cf59e1359787d5e99fb151ef960
This commit is contained in:
Shashank Sivakumar
2022-08-23 17:22:47 -07:00
committed by Gerrit - the friendly Code Review server
parent fa0129aabd
commit 8e3745115f
3 changed files with 17 additions and 2 deletions

View File

@@ -116,9 +116,19 @@ ndk::ScopedAStatus Power::isBoostSupported(Boost type, bool* _aidl_return) {
*_aidl_return = false;
return ndk::ScopedAStatus::ok();
}
ndk::ScopedAStatus Power::createHintSession(int32_t, int32_t, const std::vector<int32_t>&, int64_t,
std::shared_ptr<IPowerHintSession>* _aidl_return) {
*_aidl_return = nullptr;
return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION);
}
ndk::ScopedAStatus Power::getHintSessionPreferredRate(int64_t* outNanoseconds) {
*outNanoseconds = -1;
return ndk::ScopedAStatus::fromExceptionCode(EX_UNSUPPORTED_OPERATION);
}
} // namespace impl
} // namespace power
} // namespace hardware
} // namespace android
} // namespace aidl
} // namespace aidl