interfaces: mtkpower: Add proper parameter names
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I824f5b2b66c1b5196fb98afc3ce64dea8e51770a
diff --git a/interfaces/mtkpower/1.0/IMtkPower.hal b/interfaces/mtkpower/1.0/IMtkPower.hal
index b392e05..caa5980 100644
--- a/interfaces/mtkpower/1.0/IMtkPower.hal
+++ b/interfaces/mtkpower/1.0/IMtkPower.hal
@@ -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);
};
diff --git a/interfaces/mtkpower/1.1/IMtkPerf.hal b/interfaces/mtkpower/1.1/IMtkPerf.hal
index 8d4ac7f..0b82391 100644
--- a/interfaces/mtkpower/1.1/IMtkPerf.hal
+++ b/interfaces/mtkpower/1.1/IMtkPerf.hal
@@ -3,5 +3,5 @@
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);
};
\ No newline at end of file
diff --git a/interfaces/mtkpower/1.1/IMtkPowerCallback.hal b/interfaces/mtkpower/1.1/IMtkPowerCallback.hal
index e4d4dbc..6f3c993 100644
--- a/interfaces/mtkpower/1.1/IMtkPowerCallback.hal
+++ b/interfaces/mtkpower/1.1/IMtkPowerCallback.hal
@@ -2,5 +2,5 @@
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);
};
\ No newline at end of file
diff --git a/interfaces/mtkpower/1.2/IMtkPerf.hal b/interfaces/mtkpower/1.2/IMtkPerf.hal
index 93c6046..1e607a7 100644
--- a/interfaces/mtkpower/1.2/IMtkPerf.hal
+++ b/interfaces/mtkpower/1.2/IMtkPerf.hal
@@ -3,5 +3,5 @@
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);
};
\ No newline at end of file
diff --git a/interfaces/mtkpower/1.2/IMtkPower.hal b/interfaces/mtkpower/1.2/IMtkPower.hal
index 6a5f45a..1b6ea73 100644
--- a/interfaces/mtkpower/1.2/IMtkPower.hal
+++ b/interfaces/mtkpower/1.2/IMtkPower.hal
@@ -4,5 +4,5 @@
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);
};
\ No newline at end of file
diff --git a/interfaces/mtkpower/1.2/IMtkPowerCallback.hal b/interfaces/mtkpower/1.2/IMtkPowerCallback.hal
index e795466..14910cd 100644
--- a/interfaces/mtkpower/1.2/IMtkPowerCallback.hal
+++ b/interfaces/mtkpower/1.2/IMtkPowerCallback.hal
@@ -3,5 +3,5 @@
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);
};
\ No newline at end of file