-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lmi: Import Xiaomi TouchFeature HAL definitions
Change-Id: I257a9e3b8187a9bb003a6e62b0e894e484230321 Signed-off-by: Carlos Ayrton Lopez Arroyo <[email protected]>
- Loading branch information
1 parent
d3d1ea3
commit e332d88
Showing
2 changed files
with
41 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// This file is autogenerated by hidl-gen -Landroidbp. | ||
|
||
hidl_interface { | ||
name: "[email protected]", | ||
root: "vendor.xiaomi", | ||
srcs: [ | ||
"ITouchFeature.hal", | ||
], | ||
interfaces: [ | ||
"[email protected]", | ||
], | ||
gen_java: true, | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright (C) 2019-2020 The LineageOS Project | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package [email protected]; | ||
|
||
interface ITouchFeature { | ||
setTouchMode(int32_t mode, int32_t value) generates (int32_t result); | ||
getTouchModeCurValue(int32_t mode) generates (int32_t result); | ||
getTouchModeMaxValue(int32_t mode) generates (int32_t result); | ||
getTouchModeMinValue(int32_t mode) generates (int32_t result); | ||
getTouchModeDefValue(int32_t mode) generates (int32_t result); | ||
resetTouchMode(int32_t mode) generates (int32_t result); | ||
getModeValues(int32_t mode) generates (vec<int32_t> result); | ||
}; |