hardware/xiaomi: Import reversed aidl interface for ITouchFeature

Change-Id: Icc959b71ae4d90f81c5769de4ad16ba1a0984871
This commit is contained in:
raghavt20
2024-06-28 18:17:02 +05:30
committed by Joey
parent c12f2b7f19
commit 2407c73977
5 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
aidl_interface {
name: "vendor.xiaomi.hw.touchfeature",
vendor_available: true,
srcs: [
"vendor/xiaomi/hw/touchfeature/*.aidl",
],
stability: "vintf",
backend: {
java: {
sdk_version: "module_current",
min_sdk_version: "30",
lint: {
// Disable linter to avoid error about fixed size arrays.
// Interface will only be accessed on devices >= U.
enabled: false,
},
},
},
owner: "xiaomi",
versions_with_info: [
{
version: "1",
imports: [],
},
],
frozen: true,
}

View File

@@ -0,0 +1 @@
ce4800bd326f60275506c7297b6cbf34c4c9bc6b

View File

@@ -0,0 +1,14 @@
package vendor.xiaomi.hw.touchfeature;
@VintfStability
interface ITouchFeature {
int getModeCurValueString(int touchId, int mode);
int getModeValues(int touchId, int mode);
int getTouchModeCurValue(int touchId, int mode);
int getTouchModeDefValue(int touchId, int mode);
int getTouchModeMaxValue(int touchId, int mode);
int getTouchModeMinValue(int touchId, int mode);
boolean resetTouchMode(int touchId, int mode);
boolean setEdgeMode(int touchId, int mode, in int[] value, int length);
boolean setTouchMode(int touchId, int mode, int value);
}

View File

@@ -0,0 +1,14 @@
package vendor.xiaomi.hw.touchfeature;
@VintfStability
interface ITouchFeature {
int getModeCurValueString(int touchId, int mode);
int getModeValues(int touchId, int mode);
int getTouchModeCurValue(int touchId, int mode);
int getTouchModeDefValue(int touchId, int mode);
int getTouchModeMaxValue(int touchId, int mode);
int getTouchModeMinValue(int touchId, int mode);
boolean resetTouchMode(int touchId, int mode);
boolean setEdgeMode(int touchId, int mode, in int[] value, int length);
boolean setTouchMode(int touchId, int mode, int value);
}

View File

@@ -0,0 +1,14 @@
package vendor.xiaomi.hw.touchfeature;
@VintfStability
interface ITouchFeature {
int getModeCurValueString(int touchId, int mode);
int getModeValues(int touchId, int mode);
int getTouchModeCurValue(int touchId, int mode);
int getTouchModeDefValue(int touchId, int mode);
int getTouchModeMaxValue(int touchId, int mode);
int getTouchModeMinValue(int touchId, int mode);
boolean resetTouchMode(int touchId, int mode);
boolean setEdgeMode(int touchId, int mode, in int[] value, int length);
boolean setTouchMode(int touchId, int mode, int value);
}