interfaces: mtkpower: Add proper parameter names
Signed-off-by: bengris32 <bengris32@protonmail.ch> Change-Id: I824f5b2b66c1b5196fb98afc3ce64dea8e51770a
This commit is contained in:
committed by
Matsvei Niaverau
parent
5a8cfbff76
commit
5ec6df8a4e
@@ -1,10 +1,10 @@
|
||||
package vendor.mediatek.hardware.mtkpower@1.0;
|
||||
|
||||
interface IMtkPower {
|
||||
oneway mtkCusPowerHint(int32_t hint, int32_t param_2);
|
||||
oneway mtkPowerHint(int32_t hint, int32_t param_2);
|
||||
oneway notifyAppState(string param_1, string param_2, int32_t param_3, int32_t param_4, int32_t param_5);
|
||||
querySysInfo(int32_t param_1, int32_t param_2) generates (int32_t ret);
|
||||
setSysInfo(int32_t param1, string param_2) generates (int32_t ret);
|
||||
setSysInfoAsync(int32_t param1, string param_2) generates (int32_t ret);
|
||||
oneway mtkCusPowerHint(int32_t hint, int32_t data);
|
||||
oneway mtkPowerHint(int32_t hint, int32_t data);
|
||||
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);
|
||||
};
|
||||
|
||||
@@ -3,5 +3,5 @@ package vendor.mediatek.hardware.mtkpower@1.1;
|
||||
import @1.0::IMtkPerf;
|
||||
|
||||
interface IMtkPerf extends @1.0::IMtkPerf {
|
||||
perfCusLockHint(int32_t pl_handle, uint32_t duration) generates (int32_t ret);
|
||||
perfCusLockHint(int32_t hint, uint32_t duration) generates (int32_t ret);
|
||||
};
|
||||
@@ -2,5 +2,5 @@ package vendor.mediatek.hardware.mtkpower@1.1;
|
||||
|
||||
interface IMtkPowerCallback {
|
||||
oneway mtkPowerHint(int32_t hint, int32_t duration);
|
||||
oneway notifyAppState(string param_1, string param_2, int32_t param_3, int32_t param_4, int32_t param_5);
|
||||
oneway notifyAppState(string pack, string act, int32_t pid, int32_t state, int32_t uid);
|
||||
};
|
||||
@@ -3,5 +3,5 @@ package vendor.mediatek.hardware.mtkpower@1.2;
|
||||
import @1.1::IMtkPerf;
|
||||
|
||||
interface IMtkPerf extends @1.1::IMtkPerf {
|
||||
perfLockReleaseSync(int32_t param_1, int32_t param_2) generates (int32_t ret);
|
||||
perfLockReleaseSync(int32_t pl_handle, int32_t reserved) generates (int32_t ret);
|
||||
};
|
||||
@@ -4,5 +4,5 @@ import @1.1::IMtkPower;
|
||||
import IMtkPowerCallback;
|
||||
|
||||
interface IMtkPower extends @1.1::IMtkPower {
|
||||
setMtkScnUpdateCallback(int32_t clientId, IMtkPowerCallback callback) generates (int32_t ret);
|
||||
setMtkScnUpdateCallback(int32_t hint, IMtkPowerCallback callback) generates (int32_t ret);
|
||||
};
|
||||
@@ -3,5 +3,5 @@ package vendor.mediatek.hardware.mtkpower@1.2;
|
||||
import @1.1::IMtkPowerCallback;
|
||||
|
||||
interface IMtkPowerCallback extends @1.1::IMtkPowerCallback {
|
||||
oneway notifyScnUpdate(int32_t param_1, int32_t param_2);
|
||||
oneway notifyScnUpdate(int32_t hint, int32_t data);
|
||||
};
|
||||
Reference in New Issue
Block a user