interfaces: hw: touchfeature: 1.0: Add
Change-Id: I8cbf499ad72a2333bd7cc392474a30c8a2af5a67 Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
This commit is contained in:
parent
8704be1ae1
commit
9838535a1f
14
interfaces/xiaomi/hw/touchfeature/1.0/Android.bp
Normal file
14
interfaces/xiaomi/hw/touchfeature/1.0/Android.bp
Normal file
@ -0,0 +1,14 @@
|
||||
// This file is autogenerated by hidl-gen -Landroidbp.
|
||||
|
||||
hidl_interface {
|
||||
name: "vendor.xiaomi.hw.touchfeature@1.0",
|
||||
root: "vendor.xiaomi",
|
||||
system_ext_specific: true,
|
||||
srcs: [
|
||||
"ITouchFeature.hal",
|
||||
],
|
||||
interfaces: [
|
||||
"android.hidl.base@1.0",
|
||||
],
|
||||
gen_java: true,
|
||||
}
|
18
interfaces/xiaomi/hw/touchfeature/1.0/ITouchFeature.hal
Normal file
18
interfaces/xiaomi/hw/touchfeature/1.0/ITouchFeature.hal
Normal file
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* Copyright (C) 2022 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
package vendor.xiaomi.hw.touchfeature@1.0;
|
||||
|
||||
interface ITouchFeature {
|
||||
getModeCurValue(int32_t touchId, int32_t ControlMode) generates (int32_t result);
|
||||
getModeDefaultValue(int32_t touchId, int32_t ControlMode) generates (int32_t result);
|
||||
getModeMaxValue(int32_t touchId, int32_t ControlMode) generates (int32_t result);
|
||||
getModeMinValue(int32_t touchId, int32_t ControlMode) generates (int32_t result);
|
||||
getModeValue(int32_t touchId, int32_t mode) generates (vec<int32_t> result);
|
||||
modeReset(int32_t touchId, int32_t ControlMode) generates (int32_t result);
|
||||
setModeLongValue(int32_t touchId, int32_t ControlMode, uint32_t ValueLen, vec<int32_t> ValueBuf) generates (int32_t result);
|
||||
setModeValue(int32_t touchId, int32_t ControlMode, int32_t ModeValue) generates (int32_t result);
|
||||
};
|
Loading…
Reference in New Issue
Block a user