hardware/xiaomi: Import reversed aidl interface for ITouchFeature
Change-Id: Icc959b71ae4d90f81c5769de4ad16ba1a0984871
This commit is contained in:
27
interfaces/xiaomi/hw/touchfeature/aidl/Android.bp
Normal file
27
interfaces/xiaomi/hw/touchfeature/aidl/Android.bp
Normal 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,
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
ce4800bd326f60275506c7297b6cbf34c4c9bc6b
|
||||
@@ -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);
|
||||
}
|
||||
@@ -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);
|
||||
}
|
||||
14
interfaces/xiaomi/hw/touchfeature/aidl/vendor/xiaomi/hw/touchfeature/ITouchFeature.aidl
vendored
Normal file
14
interfaces/xiaomi/hw/touchfeature/aidl/vendor/xiaomi/hw/touchfeature/ITouchFeature.aidl
vendored
Normal 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);
|
||||
}
|
||||
Reference in New Issue
Block a user