common: Import goodix HAL definitions
Change-Id: I989ed3920057728192536eeddde94e964692a4b6
This commit is contained in:
parent
feecb1ae36
commit
b78b8dc49d
@ -2,3 +2,8 @@ hidl_package_root {
|
||||
name: "vendor.xiaomi",
|
||||
path: "device/xiaomi/common/interfaces",
|
||||
}
|
||||
|
||||
hidl_package_root {
|
||||
name: "vendor.goodix",
|
||||
path: "device/xiaomi/common/interfaces",
|
||||
}
|
||||
|
13
interfaces/hardware/biometrics/fingerprint/2.1/Android.bp
Normal file
13
interfaces/hardware/biometrics/fingerprint/2.1/Android.bp
Normal file
@ -0,0 +1,13 @@
|
||||
// This file is autogenerated by hidl-gen -Landroidbp.
|
||||
|
||||
hidl_interface {
|
||||
name: "vendor.goodix.hardware.biometrics.fingerprint@2.1",
|
||||
root: "vendor.goodix",
|
||||
srcs: [
|
||||
"IGoodixFingerprintDaemon.hal",
|
||||
"IGoodixFingerprintDaemonCallback.hal",
|
||||
],
|
||||
interfaces: [
|
||||
"android.hidl.base@1.0",
|
||||
],
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
/*
|
||||
* 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 vendor.goodix.hardware.biometrics.fingerprint@2.1;
|
||||
|
||||
import vendor.goodix.hardware.biometrics.fingerprint@2.1::IGoodixFingerprintDaemonCallback;
|
||||
|
||||
interface IGoodixFingerprintDaemon {
|
||||
setNotify(IGoodixFingerprintDaemonCallback Callback);
|
||||
sendCommand(int32_t cmd, vec<int8_t> data) generates (int32_t resultCode, vec<int8_t> data);
|
||||
};
|
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* 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 vendor.goodix.hardware.biometrics.fingerprint@2.1;
|
||||
|
||||
interface IGoodixFingerprintDaemonCallback {
|
||||
onDaemonMessage(int64_t devId, int32_t msgId, int32_t cmdId, vec<int8_t> msgData);
|
||||
};
|
Loading…
Reference in New Issue
Block a user