interfaces: mtkpower: setSysInfoAsync returns void
Change-Id: I3f65ce06949947e71089904a35ca3c078fda3ff8 Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
@@ -84,10 +84,10 @@ Return<int32_t> MtkPower::setSysInfo(int32_t type, const hidl_string& data) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
Return<int32_t> MtkPower::setSysInfoAsync(int32_t type, const hidl_string& data) {
|
||||
Return<void> MtkPower::setSysInfoAsync(int32_t type, const hidl_string& data) {
|
||||
LOG(INFO) << "setSysInfoAsync type: " << type
|
||||
<< " data: " << data;
|
||||
return 0;
|
||||
return Void();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ struct MtkPower : public V1_2::IMtkPower {
|
||||
Return<void> notifyAppState(const hidl_string& pack, const hidl_string& act, int32_t pid, int32_t state, int32_t uid) override;
|
||||
Return<int32_t> querySysInfo(int32_t cmd, int32_t param) override;
|
||||
Return<int32_t> setSysInfo(int32_t type, const hidl_string& data) override;
|
||||
Return<int32_t> setSysInfoAsync(int32_t type, const hidl_string& data) override;
|
||||
Return<void> setSysInfoAsync(int32_t type, const hidl_string& data) override;
|
||||
|
||||
// Methods from ::vendor::mediatek::hardware::mtkpower::V1_1::IMtkPower follow.
|
||||
Return<int32_t> setMtkPowerCallback(const sp<::vendor::mediatek::hardware::mtkpower::V1_1::IMtkPowerCallback>& callback) override;
|
||||
|
||||
@@ -6,5 +6,5 @@ interface IMtkPower {
|
||||
oneway notifyAppState(string pack, string act, int32_t pid, int32_t state, int32_t uid);
|
||||
querySysInfo(int32_t cmd, int32_t param) generates (int32_t ret);
|
||||
setSysInfo(int32_t type, string data) generates (int32_t ret);
|
||||
setSysInfoAsync(int32_t type, string data) generates (int32_t ret);
|
||||
setSysInfoAsync(int32_t type, string data);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user