| /* |
| * Copyright (C) 2024 The LineageOS Project |
| * |
| * SPDX-License-Identifier: Apache-2.0 |
| */ |
| |
| #pragma once |
| |
| #include <aidl/android/hardware/biometrics/fingerprint/BnFingerprint.h> |
| |
| using ::aidl::android::hardware::biometrics::fingerprint::ISession; |
| using ::aidl::android::hardware::biometrics::fingerprint::ISessionCallback; |
| using ::aidl::android::hardware::biometrics::fingerprint::SensorProps; |
| |
| namespace aidl { |
| namespace android { |
| namespace hardware { |
| namespace biometrics { |
| namespace fingerprint { |
| |
| class Fingerprint : public BnFingerprint { |
| public: |
| ndk::ScopedAStatus getSensorProps(std::vector<SensorProps>* _aidl_return) override; |
| ndk::ScopedAStatus createSession(int32_t sensorId, int32_t userId, |
| const std::shared_ptr<ISessionCallback>& cb, |
| std::shared_ptr<ISession>* out) override; |
| }; |
| |
| } // namespace fingerprint |
| } // namespace biometrics |
| } // namespace hardware |
| } // namespace android |
| } // namespace aidl |