-
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.
Signed-off-by: Carlos Ayrton Lopez Arroyo <[email protected]>
- Loading branch information
1 parent
87685a8
commit bede8e9
Showing
10 changed files
with
94 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 |
---|---|---|
@@ -1,2 +1,7 @@ | ||
soong_namespace { | ||
} | ||
|
||
hidl_package_root { | ||
name: "vendor.xiaomi", | ||
path: "device/xiaomi/lmi/interfaces", | ||
} |
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: [ | ||
"IDisplayFeature.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,6 @@ | ||
package [email protected]; | ||
|
||
interface IDisplayFeature { | ||
setFeature(uint32_t displayId, uint32_t mode, uint32_t value, uint32_t cookie); | ||
}; | ||
|
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: [ | ||
"IXiaomiFingerprint.hal", | ||
], | ||
interfaces: [ | ||
"[email protected]", | ||
], | ||
gen_java: true, | ||
} | ||
|
5 changes: 5 additions & 0 deletions
5
interfaces/hardware/fingerprintextension/1.0/IXiaomiFingerprint.hal
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,5 @@ | ||
package [email protected]; | ||
|
||
interface IXiaomiFingerprint { | ||
extCmd(int32_t cmd, int32_t param) generates (int32_t result); | ||
}; |
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,19 @@ | ||
// This file is autogenerated by hidl-gen -Landroidbp. | ||
|
||
hidl_interface { | ||
name: "[email protected]", | ||
root: "vendor.xiaomi", | ||
srcs: [ | ||
"types.hal", | ||
"IMotor.hal", | ||
"IMotorCallback.hal", | ||
], | ||
interfaces: [ | ||
"[email protected]", | ||
], | ||
types: [ | ||
"MotorEvent", | ||
], | ||
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,14 @@ | ||
package [email protected]; | ||
|
||
import [email protected]::IMotorCallback; | ||
|
||
interface IMotor { | ||
popupMotor(int32_t cookie); | ||
takebackMotor(int32_t cookie); | ||
setMotorCallback(IMotorCallback motorcallback); | ||
init(); | ||
release(); | ||
getMotorStatus() generates (int32_t result); | ||
calibration(); | ||
takebackMotorShortly(); | ||
}; |
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,5 @@ | ||
package [email protected]; | ||
|
||
interface IMotorCallback { | ||
oneway onNotify(MotorEvent event); | ||
}; |
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,6 @@ | ||
package [email protected]; | ||
|
||
struct MotorEvent { | ||
int32_t vaalue; | ||
int32_t cookie; | ||
}; |
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,6 @@ | ||
#!/bin/bash | ||
|
||
source $ANDROID_BUILD_TOP/system/tools/hidl/update-makefiles-helper.sh | ||
|
||
do_makefiles_update \ | ||
"vendor.xiaomi:device/xiaomi/lmi/interfaces" |